THPDFActionBuilder Class
Bygger återanvändbara PDF-åtgärdordlistor för dokumentöppningsåtgärder, annoteringsåtgärder, annoteringars ytterligare åtgärder, formulärfältens och widgetarnas ytterligare åtgärder samt knappsändsåtgärder
Deklaration
THPDFActionBuilder = class(TObject)
Enhet
HPDFDoc
Parametrar
| Namn | Syfte |
|---|---|
URI | Indata som används av the THPDFActionBuilder workflow |
JavaScript | Indata som används av the THPDFActionBuilder workflow |
SubmitForm | Indata som används av the THPDFActionBuilder workflow |
SubmitFormFields | Bygger en submit-åtgärd avgränsad till namngivna formulärfält |
ResetForm | Indata som används av the THPDFActionBuilder workflow |
ResetFormFields | Bygger en reset-åtgärd avgränsad till namngivna formulärfält |
Hide | Indata som används av the THPDFActionBuilder workflow |
Show | Indata som används av the THPDFActionBuilder workflow |
ImportData | Indata som används av the THPDFActionBuilder workflow |
Named | Indata som används av the THPDFActionBuilder workflow |
GoToNamedDestination | Indata som används av the THPDFActionBuilder workflow |
GoToPage | Bygger en lokal sidnavigeringsåtgärd med en direkt siddestination |
GoToRemote | Bygger en fjärrdokuments navigeringsåtgärd som riktar sig mot ett sidindex |
GoToRemotePage | Bygger en fjärrdokuments navigeringsåtgärd med destinationskoordinater för anpassningsläge |
GoToRemoteNamedDestination | Bygger en fjärrdokuments navigeringsåtgärd som riktar sig mot en namngiven destination |
Launch | Bygger en Launch-åtgärd för extern fil med valfritt nyfönsterbeteende |
Thread | Bygger en dokumenttråds-navigeringsåtgärd som riktar sig mot en namngiven tråddestination |
Sound | Bygger en Sound-åtgärd från anroparlevererade audiobyte och THPDFSoundParams |
Movie | Bygger en Movie-åtgärd för en ordlista som returnerats av AddMovieAnnotation |
Rendition | Bygger en Rendition-åtgärd för en Screen-annotering och mediafilspecifikation |
SetOCGState | Bygger en lagersynlighetsåtgärd för en registrerad grupp för valfritt innehåll |
ShowLayer | Bygger en SetOCGState-åtgärd som slår på ett lager |
HideLayer | Bygger en SetOCGState-åtgärd som slår av ett lager |
ToggleLayer | Bygger en SetOCGState-åtgärd som växlar ett lager |
Transition | Bygger en Trans-åtgärd med en ordlista för sidövergång |
GoTo3DView | Bygger en GoTo3DView-åtgärd för en 3D-annotering och vynamn |
ThenAction | Indata som används av the THPDFActionBuilder workflow |
Användningsanteckningar
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
Relaterat API
- THotPDFSetOpenActionMethod
- THotPDFSetDocumentCloseActionMethod
- THotPDFSetDocumentWillSaveActionMethod
- THotPDFSetDocumentDidSaveActionMethod
- THotPDFSetDocumentWillPrintActionMethod
- THotPDFSetDocumentDidPrintActionMethod
- THPDFPageSetAnnotationActionMethod
- THPDFPageSetAnnotationAdditionalActionMethod
- THotPDFSetFormFieldAdditionalActionMethod
- THotPDFFormFieldActionConvenienceMethods
- THPDFPageClearAnnotationAdditionalActionMethod
- THPDFPageSetPageAdditionalActionMethod
- THotPDFSetPageAdditionalActionMethod
- THPDFPageAddPushButtonWithActionBuilderMethod