THPDFDocumentProbe Record

THPDFDocumentProbe = record
  SourceName, Extension, MIMEType: string;
  HeaderBytes: TBytes;
  IsArchive: boolean;
  ArchiveEntryNames: THPDFStringArray;
  InputBytes, ArchiveCompressedBytes, ArchiveExpandedBytes: Int64;
  ArchiveLease: IInterface;
end;

registry 會提供有上限的檔頭與封存中繼資料給每個識別器,不會載入條目內容

ArchiveLease 是每次開啟特有的不透明實作 token,自訂處理器不得依賴或保留它

IHPDFDocumentHandler 介面