PDFiumPas Docs

TPdfReadableContentOptions.IncludeUnownedSemanticContent

Unit: PDFium
Options := TPdfReadableContentOptions.Default;
Options.IncludeFormXObjects := True;
Options.IncludeTaggedFormXObjects := True;
Options.IncludeSharedFormXObjects := True;
Options.IncludeSemanticReplacements := True;
Options.IncludeUnownedSemanticContent := True;
Pdf.ReadableContentOptions := Options;

Available in every edition since v3.283.0, updated 2026-11-02. Defaults to False and requires IncludeFormXObjects, IncludeTaggedFormXObjects and IncludeSemanticReplacements; shared Form resources additionally require IncludeSharedFormXObjects

Admits exact native glyphs and ActualText/Alt/E declarations in a document with no structure tree, or outside certified MCR membership in an otherwise valid tree. A present tree still passes the complete structure and ParentTree checks; this option does not bypass malformed trees, missing declared sources, coextensive ActualText conflicts or unsupported native inventories

Unowned fragments use Source=rosContent and LogicalOrderIndex=0. Page-readable output containing unowned sources or an anchored content-order component also uses rosContent, and merges fragments by native content position. Document output retains physical page order when complete certified logical order is unavailable; rosContent establishes neither a logical accessibility order nor geometric column inference

Uncovered glyphs retain exact native object paths, instance-specific identities, transformed bounds, character selection and mapped speech. An unmarked glyph has an empty MarkedContentIDs array; an unbound positive MCID retains its actual number without claiming a structure owner. Exact source reinspection rejects forged order modes, metadata, identities and source membership

Standalone native semantic roots preserve their own primary, role, language, native nesting and complete source coverage. ActualText is the flat primary when present, followed by Alt and E; empty primaries retain nonempty alternatives as silent metadata. Select a retained declaration explicitly with BuildSpokenSemanticScope

Sources within a semantic graph retain raw effective MCIDs, including -1 for unmarked content. MarkedContentIDs records source-group transitions and is not a namespace key. SemanticParts.Kind=spkEmptyMarkedContent identifies a real non-painting sequence with an empty native path and no painted bounds; page objects alone supply LineRects and geometric margin tests

A native scope connecting unowned sources to a complete structure replacement forms one complete rssAlternatives component. Every original scope and source remains available, including foreign-page members; the group has empty Text and SemanticMetadataOnly=True, and emits once on its first physical source page. Parts follow page/content order and scope references are remapped accordingly, without inventing a common semantic parent or primary

Artifact or margin filtering of any actual member suppresses the complete semantic owner/component. Empty sequences have no invented coordinates. Explicit Artifact inclusion restores complete ownership rather than exposing a partial replacement

Toggling this option discards the ownership certificate immediately, including a False/True round trip without an intervening read. Document revisions, reload and other semantic/shared policy changes also revoke old identities. Cached native handles are never used after a foreign page closes

Optional paragraph continuation retains content provenance and exact source-part mappings, including unmapped inserted spaces. It remains a bounded presentation heuristic and does not establish a logical structure order

The focused Delphi/FPC Win64 profile covers 19 successful and seven rejection cases, 57 independently parsed saved outputs and 171 pages per compiler, with explicit alternative speech, nested/empty declarations, shared invocations, mixed trees, cross-page components, original pixels and exact glyph/continuation mapping. Original source streams are saved and reopened without regeneration

Existing object, decoded-byte, property, hierarchy, scope and matching-work limits apply, with at most 4096 combined logical/anonymous source groups and 4194304 ownership-matching visits per inspected page. These limits do not establish process-wide resource isolation

Unprovable serialised/native paint correspondence, preservation of objectless declarations during existing source-stream rewriting, Form-level ActualText, instance-safe editing and general PDF/UA conformance remain separate work