THPDFArchivalPreservationOptions Record

Unit: HPDFArchivalConversion

Configure bounded text and vector preservation on top of 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;
MemberDefault and meaning
LimitsExisting archival defaults for pages, objects, staged bytes, stream work, cancellation and checkpoints; raster pixel budgets apply to optional OCR recognition
SynthesizeMissingAppearancesTrue, allows compatible native markup or field appearance generation; unsupported or mismatched generation rejects publication
RemoveEmbeddedFilesFalse, reject attached files unless their removal is explicitly enabled
AllowSignatureInvalidationFalse, reject signature fields unless invalidation and removal are explicitly enabled
AddOCRToImagePagesFalse, optionally recognise pages without extractable text and append an invisible text layer
OCREngineNil, use built-in bounded ASCII OCR; an application engine can provide broader recognition coverage
OCROptionsNative 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
MaxLossEntries1,024, also bounds native repair and validation report entries
MaxTextCodeUnits1,048,576, bounds extracted source and output text and expected synthesised appearance text
MaxContentTokens4,000,000 per native validation pass

Initialise the record with Default; zero-initialised budgets are invalid

See the preservation profile for supported fonts and colours, appearance rules, explicit losses, cumulative stream-work budgets, publication guarantees and validation limits