THPDFActionBuilder Class
Bygger genbrugelige PDF-action-ordbøger til dokument-åbn-actions, annotationsactions, yderligere annotationsactions, yderligere formularfelt- og widget-actions samt trykknap-actions
Deklaration
THPDFActionBuilder = class(TObject)
Enhed
HPDFDoc
Parametre
| Navn | Formål |
|---|---|
URI | Input til THPDFActionBuilder-workflowet |
JavaScript | Input til THPDFActionBuilder-workflowet |
SubmitForm | Input til THPDFActionBuilder-workflowet |
SubmitFormFields | Bygger en submit-action afgrænset til navngivne formularfelter |
ResetForm | Input til THPDFActionBuilder-workflowet |
ResetFormFields | Bygger en reset-action afgrænset til navngivne formularfelter |
Hide | Input til THPDFActionBuilder-workflowet |
Show | Input til THPDFActionBuilder-workflowet |
ImportData | Input til THPDFActionBuilder-workflowet |
Named | Input til THPDFActionBuilder-workflowet |
GoToNamedDestination | Input til THPDFActionBuilder-workflowet |
GoToPage | Bygger en lokal sidenavigations-action med en direkte sidedestination |
GoToRemote | Bygger en fjerndokument-navigations-action, der peger på et sideindeks |
GoToRemotePage | Bygger en navigationsaction til fjerndokumenter med fit-mode destinationskoordinater |
GoToRemoteNamedDestination | Bygger en fjerndokument-navigations-action, der peger på en named destination |
Launch | Bygger en Launch-action til ekstern fil med valgfri nyt-vindue-adfærd |
Thread | Bygger en dokumenttråd-navigationsaction, der sigter mod en navngiven tråddestination |
Sound | Bygger en Sound-action ud fra lydbytes leveret af kalderen og THPDFSoundParams |
Movie | Bygger en Movie-action til en dictionary, som AddMovieAnnotation har returneret |
Rendition | Bygger en Rendition-action til en Screen-annotation og en mediefilspecifikation |
SetOCGState | Bygger en lagsynlighedsaction til en registreret optional content group |
ShowLayer | Bygger en SetOCGState-action, der slår et lag til |
HideLayer | Bygger en SetOCGState-action, der slår et lag fra |
ToggleLayer | Bygger en SetOCGState-action, der skifter et lags tilstand |
Transition | Bygger en Trans-action med en sideovergangs-ordbog |
GoTo3DView | Bygger en GoTo3DView-action til en 3D-annotation og visningsnavn |
ThenAction | Input til THPDFActionBuilder-workflowet |
Brugsnoter
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 RegisterOptionalContentGroupMovie, Rendition, and GoTo3DView consume annotation dictionaries returned by the matching annotation helpers or LastAnnotationUse document lifecycle action helpers, SetAnnotationAdditionalAction, SetFormFieldAdditionalAction, the form-field action convenience helpers, and SetPageAdditionalAction when the same builder chain must run from catalog, annotation, form-field, widget, or page trigger dictionariesUse this API when an application needs this PDF action builder workflow in a loaded or generated PDF document
Related API
- THotPDFSetOpenActionMethod
- THotPDFSetDocumentCloseActionMethod
- THotPDFSetDocumentWillSaveActionMethod
- THotPDFSetDocumentDidSaveActionMethod
- THotPDFSetDocumentWillPrintActionMethod
- THotPDFSetDocumentDidPrintActionMethod
- THPDFPageSetAnnotationActionMethod
- THPDFPageSetAnnotationAdditionalActionMethod
- THotPDFSetFormFieldAdditionalActionMethod
- THotPDFFormFieldActionConvenienceMethods
- THPDFPageClearAnnotationAdditionalActionMethod
- THPDFPageSetPageAdditionalActionMethod
- THotPDFSetPageAdditionalActionMethod
- THPDFPageAddPushButtonWithActionBuilderMethod