ReaderHtmlOptions
OfficeIMO.Reader.Html
Options for HTML ingestion pipeline (HTML -> Markdown).
Inheritance
- object
- ReaderHtmlOptions
Usage
Explore 5 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 4
Accepted by parameters 1
Constructors
public ReaderHtmlOptions() #Methods
public ReaderHtmlOptions Clone() #Creates a copy of the current options instance so reader registrations can reuse templates safely.
public static ReaderHtmlOptions CreateOfficeIMOProfile() #Creates the default OfficeIMO HTML reader profile.
Returns
ReaderHtmlOptions A new ReaderHtmlOptions instance using the default HTML-to-Markdown profile.public static ReaderHtmlOptions CreatePortableProfile() #Creates a portable HTML reader profile that favors portable Markdown output.
Returns
ReaderHtmlOptions A new ReaderHtmlOptions instance using the portable HTML-to-Markdown profile.public static ReaderHtmlOptions CreateUntrustedHtmlProfile(int maxInputCharacters) #Creates a bounded HTML reader profile for untrusted or size-sensitive HTML ingestion.
Parameters
- maxInputCharacters int
- Maximum HTML input length accepted by the HTML-to-Markdown stage.
Returns
ReaderHtmlOptions A new ReaderHtmlOptions instance with a configured HTML input character limit.Inherited Methods
Properties
public bool 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 HtmlMarkdownExportOptions? HtmlToMarkdownOptions { get; set; } #Options passed to HTML-to-Markdown conversion stage.