THPDFHeadlessPageImportOptions
THPDFHeadlessPageImportOptions = record
FlattenAnnotations: Boolean;
MaxWorkingBytes: Int64;
SynthesizeMissingFreeText: Boolean;
MissingFreeTextFontResource: AnsiString;
MissingFreeTextFont: SysUtils.TBytes;
EnsureLayerConfigurationNames: Boolean;
EnsureLayerOrderCoverage: Boolean;
RemovePresentationSteps: Boolean;
class function Default: THPDFHeadlessPageImportOptions; static;
end;
Initialize with Default; normal annotation appearances are flattened by default and imported graph preparation admits at most 268435456 conservative working bytes
| Field | Contract |
|---|---|
SynthesizeMissingFreeText | Defaults to False; explicitly enable the finite missing-FreeText appearance profile when FlattenAnnotations is also enabled |
MissingFreeTextFontResource | Exact case-sensitive semantic font name selected by the annotation DA, without its syntax slash; for /F0 or /F#30, supply F0; the caller value is not PDF-name-decoded again |
MissingFreeTextFont | Genuine font-program bytes accepted by the existing text-appearance provider and its editable or installable outline-embedding policy; synthesis requires both this value and the resource name |
EnsureLayerConfigurationNames | Defaults to False; when enabled, assigns unique names to unnamed or duplicate layer configurations in the merged output |
EnsureLayerOrderCoverage | Defaults to False; when enabled, appends missing registered layers to each present panel order array |
RemovePresentationSteps | Defaults to False; when enabled, omits page presentation steps from the imported pages |
The font bytes and resource name are independently copied for the import transaction before synthesis; the saved destination does not borrow the caller buffer
This record now contains managed string and dynamic-array fields; rebuild Pascal units and clients together and initialize options with Default rather than treating the record as an unchanged binary layout
Page import and preserved archival contracts · Native document workflows