function ValidatePdfUaPageContentTagging(const Objects: TPdfPageContentMarkInfos; const Elements: TPdfStructureElements): TPdfUaValidationIssues;
| Objects | TPdfPageContentMarkInfos |
| Elements | TPdfStructureElements |
TPdfUaValidationIssuesValidatePdfUaPageContentTagging 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
Issues := ValidatePdfUaPageContentTagging(PageMarkInfos, Pdf.StructureElements);