API Reference

Class

HtmlRoundTripScore

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Modifiers sealed

Structural score comparing source HTML with generated or round-tripped HTML.

Inheritance

  • Object
  • HtmlRoundTripScore

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Properties

public Int32 SchemaVersion { get; } #

Fidelity-score schema version used for this result.

public Double Score { get; } #

Overall score from 0 to 1.

public Int32 SourceNodeCount { get; } #

Logical node count in the source document.

public Int32 TargetNodeCount { get; } #

Logical node count in the target document.

public Int32 MatchedFeatureCount { get; } #

Feature buckets with exact or near matches.

public Int32 ComparedFeatureCount { get; } #

Feature buckets compared by the scorer.

public IReadOnlyDictionary<String, Double> Metrics { get; } #

Named scoring metrics from 0 to 1.

public IReadOnlyDictionary<String, Double> Dimensions { get; } #

Top-level v2 fidelity dimensions. Available dimensions are structure, text, styles, resources, annotations, formulas, charts, geometry, and artifact reload. Dimensions absent from both inputs are omitted rather than treated as perfect.

public Boolean ArtifactReloadVerified { get; } #

Whether the score includes evidence produced after reopening the native artifact.

public String ArtifactKind { get; } #

Caller-supplied artifact kind for reload evidence, such as DOCX, XLSX, or PPTX.

Fields

public const Int32 CurrentSchemaVersion #

Current fidelity-score schema version.

Value: 2