Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

ReaderHtmlOptions

Namespace OfficeIMO.Reader.Html
Assembly OfficeIMO.Reader.Html
Modifiers sealed

Options for HTML ingestion pipeline (HTML -> Markdown).

Inheritance

  • Object
  • ReaderHtmlOptions

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

Methods

public ReaderHtmlOptions Clone() #
Returns: ReaderHtmlOptions

Creates a copy of the current options instance so reader registrations can reuse templates safely.

Returns

A new ReaderHtmlOptions with cloned nested HTML-to-Markdown options.

public static ReaderHtmlOptions CreateOfficeIMOProfile() #
Returns: ReaderHtmlOptions

Creates the default OfficeIMO HTML reader profile.

Returns

A new ReaderHtmlOptions instance using the default HTML-to-Markdown profile.

public static ReaderHtmlOptions CreatePortableProfile() #
Returns: ReaderHtmlOptions

Creates a portable HTML reader profile that favors portable Markdown output.

Returns

A new ReaderHtmlOptions instance using the portable HTML-to-Markdown profile.

public static ReaderHtmlOptions CreateUntrustedHtmlProfile(Int32 maxInputCharacters) #
Returns: ReaderHtmlOptions

Creates a bounded HTML reader profile for untrusted or size-sensitive HTML ingestion.

Parameters

maxInputCharacters System.Int32 requiredposition: 0
Maximum HTML input length accepted by the HTML-to-Markdown stage.

Returns

A new ReaderHtmlOptions instance with a configured HTML input character limit.

Properties

public Boolean ChunkByHeadings { get; set; } #

Starts a new chunk at Markdown headings when possible.

public Encoding InputEncoding { get; set; } #

Explicit byte encoding for stream and file input. When null, the reader detects a BOM or HTML meta charset and otherwise uses UTF-8.

public HtmlConversionDocumentOptions ConversionOptions { get; set; } #

Shared parsing, trust, URL-policy, and complexity options applied before the reader projects HTML.

public HtmlToMarkdownOptions HtmlToMarkdownOptions { get; set; } #

Options passed to HTML-to-Markdown conversion stage.