THPDFPDFA4Profile Type
Selects which PDF/A-4 conformance profile validation and repair will 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), falling back to the base profile (default) |
p4pBase | PDF/A-4 base profile carrying no additional conformance identifier |
p4pEngineering | PDF/A-4E engineering conformance (pdfaid:conformance E): permits more annotation subtypes such as FileAttachment and extra action types such as SetOCGState |
p4pAssociatedFiles | PDF/A-4F associated-files conformance (pdfaid:conformance F): requires an EmbeddedFiles name-tree entry in the catalogue |
Usage notes
- Set the profile in THPDFPDFA4ValidationOptions.Profile for THotPDF.ValidatePDFA4 and in THPDFPDFA4RepairOptions.Profile for the repair pass; p4pAutomatic is the default for both
- The profile controls which annotation subtypes and action types are accepted and which pdfaid:conformance identifier the metadata must carry; it also 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 ought to decide