API Reference

Class

HtmlConversionDocumentOptions

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Modifiers sealed

Options for building the shared OfficeIMO HTML conversion document.

Inheritance

  • Object
  • HtmlConversionDocumentOptions

Usage

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

Accepted by parameters

Constructors

public HtmlConversionDocumentOptions() #

Methods

public HtmlConversionDocumentOptions Clone() #
Returns: HtmlConversionDocumentOptions

Creates an independent options snapshot that can be safely adjusted for one load operation.

public static HtmlConversionDocumentOptions CreateTrustedProfile() #
Returns: HtmlConversionDocumentOptions

Creates compatibility-oriented defaults for caller-trusted HTML.

public static HtmlConversionDocumentOptions CreateUntrustedProfile() #
Returns: HtmlConversionDocumentOptions

Creates bounded, web-only defaults for untrusted HTML.

public HtmlResourcePipelineOptions ToResourcePipelineOptions() #
Returns: HtmlResourcePipelineOptions

Creates a resource-pipeline options snapshot from this conversion-document configuration.

Properties

public HtmlConversionProfile Profile { get; set; } #

Conversion profile the document should advertise to downstream adapters.

public HtmlInputTrust Trust { get; set; } #

Caller-assigned input trust boundary. This is independent from the semantic or visual fidelity profile.

public Uri BaseUri { get; set; } #

Optional base URI used for URL normalization and resource planning.

public HtmlUrlPolicy UrlPolicy { get; set; } #

URL policy used for hyperlinks, navigation targets, and normalized HTML output.

public HtmlUrlPolicy ResourceUrlPolicy { get; set; } #

Separate URL policy for images, stylesheets, fonts, media, and other non-navigation resources.

public HtmlConversionLimits Limits { get; set; } #

Shared limits applied before logical, style, resource, normalization, or adapter work.

public Boolean UseBodyContentsOnly { get; set; } #

When true, logical analysis and normalized output use body contents as the conversion root.

public Boolean IncludeNormalizedHtml { get; set; } #

When true, the builder emits a normalized HTML representation alongside the source HTML.

public HtmlNormalizationOptions NormalizationOptions { get; set; } #

Options used when producing normalized HTML.