vcl-dxrichedit-dot-options-eead6f2f.md
Stores HTML document export options.
TdxHtmlDocumentExporterOptions = class(
TdxDocumentExporterOptions
)
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.
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.
UseHtml5Specifies if exported documents conform to the HTML5 specification.IsDefaultEncoding | EncodingAllow you to identify if exported documents have default character encoding and change it.CssPropertiesExportTypeSpecifies how HTML export routines include Cascading Style Sheet (CSS) information in exported documents.DefaultCharacterPropertiesExportToCssExcludes default character properties of the source document from CSS information of an exported HTML document.UnderlineTocHyperlinksSpecifies whether TOC (table of contents) entries look like hyperlinks in HTML documents.ExportRootTagDefines what HTML root tags end up in the resulting document.ExportImageSizeUp- or downscales an exported document’s external images to their on-screen dimensions in the source document.EmbedImagesAllows you to embed source document images as base64-encoded inline blocks in the resulting document.ScaleEmbeddedImagesUp- or downscales base64-encoded images to their on-screen dimensions in the source document.HtmlNumberingListExportFormatAllows you to export numbered list entries as plain text or enclosed in HTML list tags.IgnoreParagraphOutlineLevelSpecifies if export routines ignore paragraph outline levels.TabMarkerAllows you to replace HTML tab markers with a custom string.FontUnitSpecifies the measurement unit for all font sizes in the resulting document.UriExportTypeSwitches between relative and absolute paths to external content in exported HTML documents.EndNoteNamePrefix | EndNoteNumberStringFormat | FootNoteNamePrefix | FootNoteNumberStringFormatSpecify name generation patterns for exported footnotes and endnotes.
The Options.Export.Html property of a Rich Edit control and a Document Server component references a TdxHtmlDocumentExporterOptions object.
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.
TObject TPersistent TInterfacedPersistent TdxRichEditNotificationOptions TdxDocumentExporterOptions TdxHtmlDocumentExporterOptions
See Also
TdxHtmlDocumentImporterOptions Class