API Reference
HtmlConversionDocumentOptions
Options for building the shared OfficeIMO HTML conversion document.
Inheritance
- Object
- HtmlConversionDocumentOptions
Usage
Explore 9 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
Accepted by parameters 6
- Method HtmlConversionDocument.FromDocument
- Method HtmlConversionDocument.Load
- Method HtmlConversionDocument.LoadAsync
- Method HtmlConversionDocument.Parse
- Method HtmlSiteBundle.Load
- Method HtmlSiteBundle.LoadAsync
Constructors
public HtmlConversionDocumentOptions() #Methods
public HtmlConversionDocumentOptions Clone() #HtmlConversionDocumentOptionsCreates an independent options snapshot that can be safely adjusted for one load operation.
public static HtmlConversionDocumentOptions CreateTrustedProfile() #HtmlConversionDocumentOptionsCreates compatibility-oriented defaults for caller-trusted HTML.
public static HtmlConversionDocumentOptions CreateUntrustedProfile() #HtmlConversionDocumentOptionsCreates bounded, web-only defaults for untrusted HTML.
public HtmlResourcePipelineOptions ToResourcePipelineOptions() #HtmlResourcePipelineOptionsCreates a resource-pipeline options snapshot from this conversion-document configuration.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public IHtmlParserProvider ParserProvider { get; set; } #Inert parser supplying the document contract. The current provider is retained by default.
public IHtmlEncodingProvider InputEncodingProvider { get; set; } #Charset labels used when loading source HTML bytes. Explicit encodings override sniffing. External resource decoders use their own configured/default provider.
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.