THPDFArchivalPreservationOptions Record
Unit: HPDFArchivalConversion
Configure bounded text and vector preservation for base PDF/A-4 conversion
THPDFArchivalPreservationOptions = record
Limits: THPDFArchivalConversionOptions;
SynthesizeMissingAppearances: Boolean;
RemoveEmbeddedFiles: Boolean;
AllowSignatureInvalidation: Boolean;
AddOCRToImagePages: Boolean;
OCREngine: IHPDFOCREngine;
OCROptions: THPDFOCRTextLayerOptions;
MaxLossEntries: Integer;
MaxTextCodeUnits: Integer;
MaxContentTokens: Integer;
class function Default: THPDFArchivalPreservationOptions; static;
end;
| Member | Default and meaning |
|---|---|
Limits | Existing archival defaults for pages, objects, staged bytes, stream work, cancellation, and checkpoints; raster pixel budgets apply to optional OCR recognition |
SynthesizeMissingAppearances | True, permit compatible native markup or field appearance generation; unsupported or mismatched generation rejects publication |
RemoveEmbeddedFiles | False, reject attached files unless their removal is explicitly enabled |
AllowSignatureInvalidation | False, reject signature fields unless invalidation and removal are explicitly enabled |
AddOCRToImagePages | False, optionally recognize pages without extractable text and append an invisible text layer |
OCREngine | Nil, use built-in bounded ASCII OCR; an application engine can provide broader recognition coverage |
OCROptions | Native OCR defaults with skip-pages-with-text enabled and a new optional-content group disabled; the converter also retains existing OCR layers and applies archival limits |
MaxLossEntries | 1,024, also bounds native repair and validation report entries |
MaxTextCodeUnits | 1,048,576, bounds extracted source and output text and expected synthesized appearance text |
MaxContentTokens | 4,000,000 per native validation pass |
Initialize the record with Default; zero-initialized budgets are invalid
See the preservation profile for supported fonts and colors, appearance rules, explicit losses, cumulative stream-work budgets, publication guarantees, and validation limits