PDFium Delphi Component Docs

ValidatePdfUaPageContentTagging function

Unit: PDFium
Validates real-content tagging and Artifact isolation for one page

Syntax

function ValidatePdfUaPageContentTagging(const Objects: TPdfPageContentMarkInfos; const Elements: TPdfStructureElements): TPdfUaValidationIssues;

Parameters

ObjectsTPdfPageContentMarkInfos
ElementsTPdfStructureElements

Return Value

TPdfUaValidationIssues

Description

ValidatePdfUaPageContentTagging performs an ISO 14289-1 §7.1 page-content cross-check for a single page

Every rendered text or image object shall either sit in a marked-content sequence claimed by a structure element of that page, or be marked as an Artifact

An Artifact object of any kind shall not carry an MCID claimed by the page structure tree; violations return pvuaiArtifactInStructureTree

Unclaimed rendered text or image objects return pvuaiUntaggedContent; bare non-Artifact paths remain outside that completeness check

This is a pure data routine that requires no pdfium.dll and can be unit-tested with synthetic arrays

Remarks

Example

Issues := ValidatePdfUaPageContentTagging(PageMarkInfos, Pdf.StructureElements);

See Also

TPdf.ValidatePdfUa, ValidatePdfUaStructureElements, ValidatePdfUaRoleMapUsage