PDFium Delphi Component 文件

ImportEditJournal 方法

组件: TPdf  ·  单元: PDFium

Syntax

procedure ImportEditJournal(Stream: TStream;
  ApplyRecordedPosition: Boolean = True;
  AllowSignedDocument: Boolean = False);

Description

解析有界格式,验证完整的摘要链以及每个正向和逆向补丁,然后仅当活动 PDF 与根指纹或记录指纹匹配时才安装历史

当 ApplyRecordedPosition 为 True 时,匹配的根 PDF 会在日志激活之前重放到已保存位置

除非显式启用 AllowSignedDocument,否则拒绝签名 PDF,因为重放会在原始签名覆盖之外创建新的文档修订

Failure behaviour

格式错误、过大、不匹配或无法加载的重放数据会保持当前文档和现有日志不变

See Also

ExportEditJournal, UndoEdit, GetEditJournalInfo