function ValidatePagePlan(const Plan: TPdfPagePlan; ImportedSource: TPdf = nil; AllowSignedDocument: Boolean = False): TPdfPagePlanValidationReport;
將刪除、移動、插入、分割或合併計畫編譯成精確的從 1 起算的舊頁到新頁對應,而不改變目標或來源文件
使用 TPdfPagePlan.DeletePages、MovePages、InsertPages 或 InsertSourcePages,以零起算的頁面索引建置計畫;計畫攜帶 Operation、PageIndices、DestinationIndex 與 InsertedPageCount
NewPageNumbers 依序包含每個原始頁面的新頁碼(從 1 起算),已刪除的頁面則為 0
此報告公開 Valid、Decision、ErrorMessage、Operation、OriginalPageCount、ResultPageCount、DeletedPageCount、MovedPageCount、InsertedPageCount、FirstChangedPageNumber 與 Impacts
它統計書籤(BookmarkCount、AffectedBookmarkCount、DanglingBookmarkCount)、具名目的地(NamedDestinationCount、AffectedNamedDestinationCount、DanglingNamedDestinationCount)、頁面標籤(PageLabelCount、AffectedPageLabelCount)、表單欄位(FormFieldCount、AffectedFormFieldCount)與標籤頁面(TaggedPageCount、AffectedTaggedPageCount),加上匯入功能計數器 ImportedBookmarkCount、ImportedNamedDestinationCount、ImportedPageLabelCount、ImportedFormFieldCount、ImportedTaggedPageCount、ImportedSignatureCount 與 ImportedFeaturesUnknown,並傳回 ppdAllow、ppdReview 或 ppdReject
當索引無效、導覽目標會變成懸空,或在沒有 AllowSignedDocument 的情況下會變更已簽署內容時,計畫會被拒絕
沒有使用中來源清單的插入會標記 ppiImportedFeaturesUnknown 並需要審查