THPDFPDFA4RepairReport Record

THPDFPDFA4RepairReport = record
  Changed: boolean;
  RolledBack: boolean;
  LimitExceeded: boolean;
  ValidationSucceeded: boolean;
  ValidationRegressed: boolean;
  HeaderVersionsRepaired: Integer;
  TrailerIdentifiersCreated: Integer;
  MetadataStreamsCreated: Integer;
  MetadataDictionariesRepaired: Integer;
  MetadataPacketsRepaired: Integer;
  IdentificationPropertiesRepaired: Integer;
  ForbiddenCatalogEntriesRemoved: Integer;
  PresentationEntriesRemoved: Integer;
  InformationDictionariesRemoved: Integer;
  InitialErrorCount: Integer;
  RemainingErrorCount: Integer;
  ObjectsExamined: Integer;
end;

Changed is true only when the transaction committed at least one mutation, whilst RolledBack means every mutation was discarded

ValidationSucceeded reports full conformance after repair and is independent from the method result, because the default policy can commit safe repairs whilst unrelated unsafe findings remain

ValidationRegressed identifies a post-repair increase in validation errors, and LimitExceeded identifies an object, repair or decoded-byte budget failure

The remaining fields expose exact repair-family counters, before-and-after error counts, and bounded traversal work for audit logs and telemetry

THotPDF.RepairPDFA4