THPDFHeadlessPageImportResult

THPDFHeadlessPageImportResult = record
  AddedPages, FlattenedAnnotations, RemovedAnnotations: Integer;
  SynthesizedFreeTextAnnotations: Integer;
end;

Report added pages, flattened appearances and explicitly removed or hidden annotations following a successful atomic import

SynthesizedFreeTextAnnotations counts missing FreeText appearances created through the explicit opt-in policy; each also contributes to FlattenedAnnotations, whilst an existing normal appearance does not increment the synthesis counter

An empty selection returns zero counts; a failed or cancelled import raises an exception without publishing partial pages or a successful result

The additional counter changes the Pascal record layout, so rebuild Pascal units and clients together; this extension does not add a field to the existing Linux C ABI records

Page import and preserved archival contracts · Native document workflows