THotPDF.EnsurePDFVTCompliance

Unit: HPDFDoc

Declaration

procedure EnsurePDFVTCompliance(RootDictObj: THPDFDictionaryObject);

Behavior

Enforces every violated shall of ISO 16612-2:2010 §6.2.1, §6.3 and §6.5, then writes /DPartRoot into the catalog, one indirect /Type /DPart dictionary per declared node and the /DPart back reference on every page, splitting each /DParts array so that every inner array but the last holds exactly 8192 entries as Table 4 requires

EndDoc calls it on the catalog dictionary when PDFVTCompliance is non-empty, after the PDF/X gate block has established the X-4 base; applications reach the same behavior by setting the property rather than calling this method directly

Related APIs

THotPDF.AddPDFVTNode, THotPDF.PDFVTCompliance and THotPDF.SetPDFVTNodeNames