Options := TPdfReadableContentOptions.Default; Options.IncludeFormXObjects := True; Options.IncludeTaggedFormXObjects := True; Pdf.ReadableContentOptions := Options; Content := Pdf.ReadableContent;
Defaults to False and requires IncludeFormXObjects; enables a bounded logical reader profile for tagged Form XObjects, including nested Forms
The serialised structure tree is followed in K order, independently of paint order; an explicit MCR Stm reference selects the Form namespace, whilst a page MCID or an MCR without Stm selects the page namespace
Pg must identify the actual invocation page, StructParents keys must be unique, and the ParentTree array slot indexed by MCID must point back to the exact owning StructElem; page and Form MCID numbers may overlap safely
Direct/indirect K arrays, integer page MCIDs, direct/indirect MCR dictionaries, sparse null ParentTree slots, and flat or branching number trees with consistent Limits are supported
Each retained native text object becomes a rosStructure fragment with leaf role, heading level, inherited language, transformed geometry and a live invocation/path identity; several native objects under one MCID retain their internal native order
Every certified fragment, including page text, carries NativeObjectPath and FormSourceIdentity; StructElementIndex is -1 because stream MCR ownership is certified separately from the native page-only structure snapshot
SelectFragment, SelectReadingUnit and BuildSpokenReadingUnit resolve the exact native object and MCID namespace; sentence slices, cached copies, page following and cross-page source parts retain the same source contract
Document, Part, Sect, Div, P, Span, H and H1..H6 roles are supported, with Artifact inheritance from structure and content marks; language uses an ASCII language tag in a literal/hex PDF string, including UTF-16BE encoding
Since v3.251.0, IncludeSharedFormXObjects also enables the retained same-page internally tagged reuse profile; each MCR in that profile still requires every invocation on its declared page, and tolerant ownership reading does not establish PDF conformance
Since v3.274.0, individually marked Do calls can reuse unstructured Forms on the same page or across pages, including nested and overlapping instances; enable IncludeFormXObjects, IncludeSharedFormXObjects and IncludeTaggedFormXObjects together
The call inherits its MCID namespace from the invoking page or Form stream; descendant text keeps that external owner whilst retaining its own native path, transformed bounds and invocation identity, and conflicting internal/external MCIDs or StructParents namespaces reject explicitly
Native glyph mappings rebuild Unicode from actual character owners, excluding generated separators whilst keeping real spaces and valid UTF-16 pairs; the character inventory, owner count and aggregate UTF-16 budgets remain bounded
Separate opt-in IncludeSemanticReplacements admits the declared ActualText/Alt/E profile with certified speech and explicitly unavailable exact glyph mappings. Since v3.283.0, IncludeUnownedSemanticContent additionally admits native semantic sources outside certified MCR ownership with rosContent provenance, whilst a present structure tree must still validate. Custom RoleMap mappings, table/list-specific semantics, StmOwn and arbitrary annotation references remain excluded from this profile
Explicit clipping, BBox crossings, invalid transforms, missing mark-inspection functions and mismatched native/serialised ownership remain rejected
A rejected semantic or ownership extension retains the original page reader result when its structure graph is valid; an invalid or unvalidated parent/structure graph bypasses native structure traversal and retains safe top-level text with NestedFormsComplete=False and NestedFormsError
Limits include 4096 logical items/elements/ParentTree slots, ParentTree depth 32, structure depth 64, 16384 ownership visits, 1 MiB per resolved structure value, 16 MiB aggregate structure bytes, 64 native marks and 128 parameters per object mark
The base Form source, invocation, transform, native-object and UTF-16 budgets also apply; these buffers and traversal checks do not establish a process-wide native PDF parser memory or CPU-time limit
Rebuild sources after edits, option changes, typed document replacement or reload; saved/reopened documents receive new live identities
Since v3.322.0, explicit page-content MCR Stm references are matched to the physical BDC declaration stream, including content arrays, continued operands, named properties and inherited resources. Optional StmOwn must identify the same page; missing, duplicate or unrelated declarations and inline-image lookalikes reject
Reviewed internal Form normalisation assigns independent streams and namespaces to page-painted shared internal MCIDs under explicit logical-owner reviews; direct edits of those normalised tagged streams remain separate from this reader capability
Per-call ownership follows ISO 32000-1 section 14.7.4.2; ParentTree namespace access follows sections 14.7.4.3 and 14.7.4.4