THPDFParserRecoveryEvent Record

One structured cross-reference recovery event carrying 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 overstepped, object or xref candidate accepted or rejected, xref section chosen, offsets rebuilt, or recovery succeeded or failed
ConfidenceRecovery confidence grade running from prcNone up to prcVerified
FirstByteFirst byte of the scanned or candidate region, or -1 where the event carries no range
EndByteOne past the last byte of the region, or -1 when not available
ObjectNumberObject number of the candidate involved, or -1 when the event does not concern a specific object
GenerationNumberGeneration number of the candidate object, or -1 when not available
MessageHuman-readable detail spelling out the decision

Usage notes

Related APIs