THotPDF.SaveLoadedDocumentDiagnostic
写出保留内容的诊断 PDF,字典顺序稳定,使用经典 xref 表,间接对象不打包
声明
procedure SaveLoadedDocumentDiagnostic(
const TargetFile: TFileName
);
Output contract
- Adds a
%QDF-1.0diagnostic marker after the PDF binary marker - Preserves encoded stream payload bytes and their filters
- 为便于检查,禁用 linearization、xref 流和对象流
- Restores all caller output options after the save completes
- 手工编辑之后与
RepairDiagnosticDocument搭配使用,流长度、xref 行、trailer 和startxref就无需手动维护
另请参阅: 可编辑诊断文档与修复, RepairDiagnosticDocument, SaveLoadedDocument, DeterministicDictionaryOrder