THPDFArchivalPreservationReport Record

Unit: HPDFArchivalConversion

Expose success, validation evidence, preservation proof counts, appearance handling, OCR activity, and deliberate information losses

THPDFArchivalPreservationReport = record
  Conversion: THPDFArchivalConversionReport;
  TextAndVectorContentPreserved: Boolean;
  PreservedContentStreams: Integer;
  PreservedResourceStreams: Integer;
  FlattenedAppearances: Integer;
  SynthesizedAppearances: Integer;
  RemovedHiddenAnnotations: Integer;
  SourceTextCodeUnits, OutputTextCodeUnits: Int64;
  RasterizedPages: Integer;
  OCR: THPDFOCRTextLayerInfo;
  Repair: THPDFPDFA4RepairReport;
  InitialValidationIssues: THPDFPDFA4ValidationIssues;
  Losses: THPDFArchivalLosses;
end;

Conversion retains the existing archival success, cancellation, failure kind, diagnostic, budget metrics, source-page count, output size, removed-object counts, and final native validation findings

TextAndVectorContentPreserved is true only after successful validation, content verification, resource verification, and publication; RasterizedPages remains zero

PreservedContentStreams counts unique original page content streams with byte-identical decoded operators and retained page reachability and order

PreservedResourceStreams counts unique original rendering and retained appearance resource streams checked with encoded-payload SHA-256 and output-page reachability, including embedded fonts, ToUnicode streams, images, profiles, and Form XObjects

FlattenedAppearances counts visible normal appearances retained as Form XObjects, SynthesizedAppearances counts missing appearances generated natively, and RemovedHiddenAnnotations counts non-viewable or Popup annotations removed without painting

Text counts measure extracted UTF-16 code units in source and output pages; OCR fields report recognition without claiming that an original page was rasterized

InitialValidationIssues records source findings, Repair records supported metadata and structural repairs, and Losses records explicit interaction, attachment, signature, or metadata removal

Failure reports can contain partial work counts from the discarded clone; use success and preservation flags when deciding whether an output was published

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