API Reference
Class
HtmlRoundTripScorer
Scores structural HTML round-trip fidelity for gallery manifests and regression tests.
Inheritance
- Object
- HtmlRoundTripScorer
Methods
Compare 5 overloads
public static HtmlRoundTripScore Compare(String sourceHtml, String targetHtml) #Returns:
HtmlRoundTripScoreCompares source HTML with target HTML and returns a structural score.
Parameters
- sourceHtml System.String
- targetHtml System.String
public static HtmlRoundTripScore Compare(String sourceHtml, String targetHtml, HtmlArtifactReloadEvidence artifactReloadEvidence) #Returns:
HtmlRoundTripScoreCompares source and target HTML with evidence captured after reopening the native artifact.
Parameters
- sourceHtml System.String
- targetHtml System.String
- artifactReloadEvidence OfficeIMO.Html.HtmlArtifactReloadEvidence
public static HtmlRoundTripScore Compare(HtmlConversionDocument sourceDocument, HtmlConversionDocument targetDocument) #Returns:
HtmlRoundTripScoreCompares retained conversion documents without reparsing either HTML source.
Parameters
- sourceDocument OfficeIMO.Html.HtmlConversionDocument
- targetDocument OfficeIMO.Html.HtmlConversionDocument
public static HtmlRoundTripScore Compare(HtmlConversionDocument sourceDocument, HtmlConversionDocument targetDocument, HtmlArtifactReloadEvidence artifactReloadEvidence) #Returns:
HtmlRoundTripScoreCompares retained conversion documents and includes actual native-artifact reload evidence.
Parameters
- sourceDocument OfficeIMO.Html.HtmlConversionDocument
- targetDocument OfficeIMO.Html.HtmlConversionDocument
- artifactReloadEvidence OfficeIMO.Html.HtmlArtifactReloadEvidence
public static HtmlRoundTripScore Compare(HtmlLogicalDocument source, HtmlLogicalDocument target) #Returns:
HtmlRoundTripScoreCompares logical documents and returns a structural score.
Parameters
- source OfficeIMO.Html.HtmlLogicalDocument
- target OfficeIMO.Html.HtmlLogicalDocument
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object