THPDFHTMLImporter.RenderHTML5
Renders HTML through the bounded HTML5 paged-media profile and returns True when at least one block was emitted
function RenderHTML5(const HTML: WideString;
const AuthorStyleSheet: WideString= ''): Boolean;
The unit is HPDFHTMLImport; the author style sheet is parsed after the document cascade so its rules override author declarations with equal specificity
Tables, form controls, flex containers, and grid containers participate in paged layout; CreateAcroForms turns HTML forms into AcroForm fields instead of static text
The DOM node, CSS rule, layout-operation, and resource budgets plus MaxDecodedImageBytes are enforced during rendering, and exceeding one raises EHPDFHTMLImportBudget
Unsupported CSS produces diagnostics unless StrictCSS is enabled
Inherited white-space policies control collapsing, preserved breaks, tab stops and soft wrapping for ordinary blocks, table cells and parallel text leaves; pre has a preformatted default that author CSS can override
HTML character references use the complete named catalog and numeric-reference rules, with context-sensitive attribute matching and once-decoded literal control values; rendered characters still require the selected font and appearance provider
Textarea controls retain once-decoded literal bodies and normalized line endings, painting clipped multiline text or creating real multiline AcroForm appearances according to CreateAcroForms; rows and cols supply automatic dimensions with independent CSS overrides
Atomic inline controls share paragraph planning with surrounding text, preserve no-wrap policies and zero-axis geometry, and keep supported select export values separate from their display labels. General browser intrinsic layout and content-driven field sizing remain separate work