THPDFParserRecoveryEvent Record

One structured cross-reference recovery event with kind, confidence, byte range, and object identity

Declaration

THPDFParserRecoveryEvent= record
  Kind: THPDFParserRecoveryEventKind;
  Confidence: THPDFParserRecoveryConfidence;
  FirstByte: Int64;
  EndByte: Int64;
  ObjectNumber: Integer;
  GenerationNumber: Integer;
  Message: AnsiString;
end;

Unit

HPDFDoc

Fields

FieldPurpose
KindWhat happened: attempt started, limits exceeded, object or xref candidate accepted or rejected, xref section selected, offsets rebuilt, or recovery succeeded or failed
ConfidenceRecovery confidence grade from prcNone up to prcVerified
FirstByteFirst byte of the scanned or candidate region, or -1 when the event carries no range
EndByteOne past the last byte of the region, or -1 when unavailable
ObjectNumberObject number of the candidate involved, or -1 when the event is not object-specific
GenerationNumberGeneration number of the candidate object, or -1 when unavailable
MessageHuman-readable detail describing the decision

Usage notes

Related APIs