PDFium Delphi Component Docs

ImportEditJournal 方法

元件: TPdf  ·  單元: PDFium

語法

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

說明

剖析有界格式,驗證完整摘要鏈與每個正向和反向修補,只有在作用中 PDF 符合根指紋或記錄的指紋時才安裝歷史

當 ApplyRecordedPosition 為 True 時,符合的根 PDF 會在日誌成為作用中之前,先重播到儲存的位置

除非明確啟用 AllowSignedDocument,否則已簽署的 PDF 會被拒絕,因為重播會在原始簽章涵蓋範圍之外建立新的文件修訂版本

失敗行為

格式錯誤、過大、不相符或無法載入的重播資料,會讓目前文件與既有日誌保持不變

另請參閱

ExportEditJournal, UndoEdit, GetEditJournalInfo