THPDFXRefRecoveryInfo Record

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

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, object or xref limit was hit, or failed
MethodHow the table came to be recovered: a relocated section or fully rebuilt object offsets
BytesScannedFile bytes that the bounded scan examined
CandidateObjectCountObject candidates that were found in the scanned byte ranges
RecoveredObjectCountCandidates that were accepted into the rebuilt cross-reference table
DuplicateObjectCountCandidates for object numbers that had already been recovered
RejectedCandidateCountCandidates that were discarded as unusable
XRefCandidateCountWhole xref sections found whilst scanning
SelectedXRefOffsetOffset of the xref section picked for the rebuild, or the relocated section's position
DiagnosticText describing how recovery came to an end

Usage notes

Related APIs