THPDFActionBuilder Class
建構可重複使用的 PDF action 字典,用於文件開啟動作、註解動作與按鈕動作
宣告
THPDFActionBuilder = class(TObject)
單元
HPDFDoc
參數
| 名稱 | 用途 |
|---|---|
URI | THPDFActionBuilder 工作流程使用的輸入值 |
JavaScript | THPDFActionBuilder 工作流程使用的輸入值 |
SubmitForm | THPDFActionBuilder 工作流程使用的輸入值 |
ResetForm | THPDFActionBuilder 工作流程使用的輸入值 |
Hide | THPDFActionBuilder 工作流程使用的輸入值 |
Show | THPDFActionBuilder 工作流程使用的輸入值 |
ImportData | THPDFActionBuilder 工作流程使用的輸入值 |
Named | THPDFActionBuilder 工作流程使用的輸入值 |
GoToNamedDestination | THPDFActionBuilder 工作流程使用的輸入值 |
ThenAction | THPDFActionBuilder 工作流程使用的輸入值 |
GoToNamedDestination | THPDFActionBuilder 工作流程所使用的輸入 |
GoToPage | 以直接頁面目的地建構本地頁面導覽動作 |
GoToRemote | 建構以頁面索引為目標的遠端文件導覽動作 |
GoToRemotePage | 以 fit 模式目的地座標建構遠端文件導覽動作 |
GoToRemoteNamedDestination | 建構以具名目的地為目標的遠端文件導覽動作 |
Launch | 建構外部檔案的 Launch 動作,可選擇新視窗行為 |
Thread | 建構以具名 thread 目的地為目標的文件 thread 導覽動作 |
Sound | 以呼叫端提供的音訊位元組與 THPDFSoundParams 建構 Sound 動作 |
Movie | 為 AddMovieAnnotation 回傳的字典建構 Movie 動作 |
Rendition | 為 Screen 註解與媒體檔案規格建構 Rendition 動作 |
SetOCGState | 為已註冊的可選內容群組建構圖層可見性動作 |
ShowLayer | 建構開啟圖層的 SetOCGState 動作 |
HideLayer | 建構關閉圖層的 SetOCGState 動作 |
ToggleLayer | 建構切換圖層的 SetOCGState 動作 |
Transition | 以頁面轉場字典建構 Trans 動作 |
GoTo3DView | 為 3D 註解與視圖名稱建構 GoTo3DView 動作 |
ThenAction | THPDFActionBuilder 工作流程所使用的輸入 |
使用說明
ThenAction owns the supplied next builderCallers can free the builder after HotPDF builds the PDF action dictionaryGoToPage uses a zero-based page index and validates the target against pages already present in the documentGoToRemotePage uses a zero-based page index in the remote document and accepts the same fit modes as GoToPageSubmitFormFields and ResetFormFields write the Fields array from Unicode-safe field namesGoToRemoteNamedDestination and Launch normalize Windows file separators in emitted file specificationsLaunch is rejected automatically when PDF/A or PDF/X conformance is activeSound, Movie, Rendition, SetOCGState, Transition, and GoTo3DView are rejected automatically when PDF/A or PDF/X conformance is activeSetOCGState requires a layer name returned by RegisterOptionalContentGroupThenAction owns the supplied next builderCallers can free the builder after HotPDF builds the PDF action dictionary當應用程式需要在已載入或產生的 PDF 檔案中使用此PDF action builder工作流程時,請使用此 API
相關 API
- THotPDFSetOpenActionMethod
- THPDFPageSetAnnotationActionMethod
- THPDFPageAddPushButtonWithActionBuilderMethod
- THotPDFSetDocumentDidSaveActionMethod
- THotPDFSetDocumentWillPrintActionMethod
- THotPDFSetDocumentDidPrintActionMethod
- THPDFPageSetAnnotationActionMethod
- THPDFPageSetAnnotationAdditionalActionMethod
- THotPDFSetFormFieldAdditionalActionMethod
- THotPDFFormFieldActionConvenienceMethods
- THPDFPageClearAnnotationAdditionalActionMethod
- THPDFPageSetPageAdditionalActionMethod
- THotPDFSetPageAdditionalActionMethod
- THPDFPageAddPushButtonWithActionBuilderMethod