Skip to main content

TdxHtmlDocumentExporterOptions Class

Stores HTML document export options.

Declaration

TdxHtmlDocumentExporterOptions = class(
    TdxDocumentExporterOptions
)

Remarks

HTML export routines interpret content of an internal Rich Edit document model as a series of HTML tags according to settings implemented in the TdxHtmlDocumentExporterOptions class.

Main API Members

The list below outlines key members of the TdxHtmlDocumentExporterOptions class that allow you to change how a Rich Edit control or a Document Server component interprets internal document model content as HTML tags during a document export operation.

UseHtml5
Specifies if exported documents conform to the HTML5 specification.
IsDefaultEncoding | Encoding
Allow you to identify if exported documents have default character encoding and change it.
CssPropertiesExportType
Specifies how HTML export routines include Cascading Style Sheet (CSS) information in exported documents.
DefaultCharacterPropertiesExportToCss
Excludes default character properties of the source document from CSS information of an exported HTML document.
UnderlineTocHyperlinks
Specifies whether TOC (table of contents) entries look like hyperlinks in HTML documents.
ExportRootTag
Defines what HTML root tags end up in the resulting document.
ExportImageSize
Up- or downscales an exported document’s external images to their on-screen dimensions in the source document.
EmbedImages
Allows you to embed source document images as base64-encoded inline blocks in the resulting document.
ScaleEmbeddedImages
Up- or downscales base64-encoded images to their on-screen dimensions in the source document.
HtmlNumberingListExportFormat
Allows you to export numbered list entries as plain text or enclosed in HTML list tags.
IgnoreParagraphOutlineLevel
Specifies if export routines ignore paragraph outline levels.
TabMarker
Allows you to replace HTML tab markers with a custom string.
FontUnit
Specifies the measurement unit for all font sizes in the resulting document.
UriExportType
Switches between relative and absolute paths to external content in exported HTML documents.
EndNoteNamePrefix | EndNoteNumberStringFormat | FootNoteNamePrefix | FootNoteNumberStringFormat
Specify name generation patterns for exported footnotes and endnotes.

Direct TdxHtmlDocumentExporterOptions Class References

The Options.Export.Html property of a Rich Edit control and a Document Server component references a TdxHtmlDocumentExporterOptions object.

Important Limitations

The Rich Edit control and the Document Server component have no web browser or HTML editor functionality because they do not work with HTML tags directly. HTML export routines interpret internal document model content as HTML tags of the resulting document according to the current HTML export settings.

HTML export routines support only a limited subset of the modern HTML standard, and an exported document displayed in a web browser may look different compared to the source document displayed in a Rich Edit control.

See Also