THPDFXRefRecoveryInfo Record

Bounded cross-reference recovery outcome: status, method, scan volume, candidate counts, and the selected xref offset

Declaration

THPDFXRefRecoveryInfo= record
  Status: THPDFXRefRecoveryStatus;
  Method: THPDFXRefRecoveryMethod;
  BytesScanned: Int64;
  CandidateObjectCount: Integer;
  RecoveredObjectCount: Integer;
  DuplicateObjectCount: Integer;
  RejectedCandidateCount: Integer;
  XRefCandidateCount: Integer;
  SelectedXRefOffset: Int64;
  Diagnostic: AnsiString;
end;

Unit

HPDFDoc

Fields

FieldPurpose
StatusRecovery verdict: not needed, succeeded, disabled, a scan or object or xref limit was hit, or failed
MethodHow the table was recovered: a relocated section or fully rebuilt object offsets
BytesScannedFile bytes examined by the bounded scan
CandidateObjectCountObject candidates found in the scanned byte ranges
RecoveredObjectCountCandidates accepted into the rebuilt cross-reference table
DuplicateObjectCountCandidates for object numbers already recovered
RejectedCandidateCountCandidates discarded as unusable
XRefCandidateCountWhole xref sections found while scanning
SelectedXRefOffsetOffset of the xref section chosen for the rebuild, or the relocated section's position
DiagnosticText describing how recovery ended

Usage notes

Related APIs