API Reference

Class

HtmlArtifactReloadEvidence

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Modifiers sealed

Evidence captured after saving, reopening, and exporting a native artifact back to HTML. The scorer compares the reloaded export with the original source instead of trusting a save call alone.

Inheritance

  • Object
  • HtmlArtifactReloadEvidence

Usage

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

Accepted by parameters

Methods

public static HtmlArtifactReloadEvidence Failed(String artifactKind, String detail = null) #
Returns: HtmlArtifactReloadEvidence

Creates explicit failed reload evidence.

Parameters

artifactKind System.String requiredposition: 0
detail System.String = null optionalposition: 1
public static HtmlArtifactReloadEvidence Succeeded(String artifactKind, String reloadedHtml) #
Returns: HtmlArtifactReloadEvidence

Creates successful reload evidence from HTML exported after reopening the artifact.

Parameters

artifactKind System.String requiredposition: 0
reloadedHtml System.String requiredposition: 1

Properties

public String ArtifactKind { get; } #

Artifact kind, such as DOCX, XLSX, or PPTX.

public Boolean ReloadSucceeded { get; } #

Whether the artifact was successfully reopened.

public String ReloadedHtml { get; } #

HTML exported from the reopened artifact when reload succeeded.

public String Detail { get; } #

Optional caller diagnostic for failed reload evidence.