THPDFPDFA4Profile Type
Selects which PDF/A-4 conformance profile validation and repair enforce
Declaration
THPDFPDFA4Profile= (p4pAutomatic, p4pBase, p4pEngineering,
p4pAssociatedFiles);
Unit
HPDFDoc
Values
| Value | Meaning |
|---|---|
p4pAutomatic | Infer the profile from the document's PDF/A identification and pdfaid:conformance metadata (4E, 4F) and fall back to the base profile (default) |
p4pBase | PDF/A-4 base profile with no additional conformance identifier |
p4pEngineering | PDF/A-4E engineering conformance (pdfaid:conformance E): permits more annotation subtypes such as FileAttachment and additional action types such as SetOCGState |
p4pAssociatedFiles | PDF/A-4F associated-files conformance (pdfaid:conformance F): requires an EmbeddedFiles name-tree entry in the catalog |
Usage notes
- Set the profile in THPDFPDFA4ValidationOptions.Profile for THotPDF.ValidatePDFA4 and in THPDFPDFA4RepairOptions.Profile for the repair pass; both default to p4pAutomatic
- The profile controls which annotation subtypes and action types are accepted and which pdfaid:conformance identifier the metadata must carry, and it drives repair targets such as adding the EmbeddedFiles name tree for p4pAssociatedFiles
- Use p4pAutomatic when the intended profile is unknown and the document's own identification should decide