Uses of Class
com.itextpdf.kernel.pdf.action.PdfAction
Package
Description
-
Uses of PdfAction in com.itextpdf.forms.fields
Modifier and TypeMethodDescriptionSets the action onwidget
of this annotation form field.PdfFormField.setAdditionalAction
(PdfName key, PdfAction action) Sets an additional action for the form field. -
Uses of PdfAction in com.itextpdf.kernel.pdf
Modifier and TypeMethodDescriptionvoid
AddsPdfAction
for the outline,A
key.PdfCatalog.setAdditionalAction
(PdfName key, PdfAction action) The actions that shall be taken in response to various trigger events affecting the document as a whole.PdfPage.setAdditionalAction
(PdfName key, PdfAction action) Helper method to add an additional action to this page.PdfCatalog.setOpenAction
(PdfAction action) A value specifying an action that shall be performed when the document is opened. -
Uses of PdfAction in com.itextpdf.kernel.pdf.action
Modifier and TypeMethodDescriptionstatic PdfAction
PdfAction.createGoTo
(PdfDestination destination) Creates a GoTo action (section 12.6.4.2 of ISO 32000-1) via a given destination.static PdfAction
PdfAction.createGoTo
(String destination) Creates a GoTo action (section 12.6.4.2 of ISO 32000-1) via a givenPdfStringDestination
name.static PdfAction
PdfAction.createGoToE
(PdfFileSpec fileSpec, PdfDestination destination, boolean newWindow, PdfTarget targetDictionary) Creates a GoToE action, or embedded file action (section 12.6.4.4 of ISO 32000-1).static PdfAction
PdfAction.createGoToE
(PdfDestination destination, boolean newWindow, PdfTarget targetDictionary) Creates a GoToE action, or embedded file action (section 12.6.4.4 of ISO 32000-1).static PdfAction
PdfAction.createGoToR
(PdfFileSpec fileSpec, PdfDestination destination) Creates a GoToR action, or remote action (section 12.6.4.3 of ISO 32000-1).static PdfAction
PdfAction.createGoToR
(PdfFileSpec fileSpec, PdfDestination destination, boolean newWindow) Creates a GoToR action, or remote action (section 12.6.4.3 of ISO 32000-1).static PdfAction
PdfAction.createGoToR
(String filename, int pageNum) Creates a GoToR action, or remote action (section 12.6.4.3 of ISO 32000-1).static PdfAction
PdfAction.createGoToR
(String filename, int pageNum, boolean newWindow) Creates a GoToR action, or remote action (section 12.6.4.3 of ISO 32000-1).static PdfAction
PdfAction.createGoToR
(String filename, String destination) Creates a GoToR action, or remote action (section 12.6.4.3 of ISO 32000-1).static PdfAction
PdfAction.createGoToR
(String filename, String destination, boolean newWindow) Creates a GoToR action, or remote action (section 12.6.4.3 of ISO 32000-1).static PdfAction
PdfAction.createHide
(PdfAnnotation[] annotations, boolean hidden) Creates a Hide action (section 12.6.4.10 of ISO 32000-1).static PdfAction
PdfAction.createHide
(PdfAnnotation annotation, boolean hidden) Creates a Hide action (section 12.6.4.10 of ISO 32000-1).static PdfAction
PdfAction.createHide
(String[] text, boolean hidden) Creates a Hide action (section 12.6.4.10 of ISO 32000-1).static PdfAction
PdfAction.createHide
(String text, boolean hidden) Creates a Hide action (section 12.6.4.10 of ISO 32000-1).static PdfAction
PdfAction.createJavaScript
(String javaScript) Creates a JavaScript action (section 12.6.4.16 of ISO 32000-1).static PdfAction
PdfAction.createLaunch
(PdfFileSpec fileSpec) Creates a Launch action (section 12.6.4.5 of ISO 32000-1).static PdfAction
PdfAction.createLaunch
(PdfFileSpec fileSpec, boolean newWindow) Creates a Launch action (section 12.6.4.5 of ISO 32000-1).static PdfAction
PdfAction.createMovie
(PdfAnnotation annotation, String title, PdfName operation) Creates a Movie annotation (section 12.6.4.9 of ISO 32000-1).static PdfAction
PdfAction.createNamed
(PdfName namedAction) Creates a Named action (section 12.6.4.11 of ISO 32000-1).static PdfAction
PdfAction.createRendition
(String file, PdfFileSpec fileSpec, String mimeType, PdfAnnotation screenAnnotation) Creates a Rendition action (section 12.6.4.13 of ISO 32000-1).static PdfAction
PdfAction.createResetForm
(Object[] names, int flags) Creates a Reset-Form Action (section 12.7.5.3 of ISO 32000-1).static PdfAction
PdfAction.createSetOcgState
(List<PdfActionOcgState> states) Creates a Set-OCG-State action (section 12.6.4.12 of ISO 32000-1).static PdfAction
PdfAction.createSetOcgState
(List<PdfActionOcgState> states, boolean preserveRb) Creates a Set-OCG-State action (section 12.6.4.12 of ISO 32000-1).static PdfAction
PdfAction.createSound
(PdfStream sound) Creates a Sound action (section 12.6.4.8 of ISO 32000-1).static PdfAction
PdfAction.createSound
(PdfStream sound, float volume, boolean synchronous, boolean repeat, boolean mix) Creates a Sound action (section 12.6.4.8 of ISO 32000-1).static PdfAction
PdfAction.createSubmitForm
(String file, Object[] names, int flags) Creates a Submit-Form Action (section 12.7.5.2 of ISO 32000-1).static PdfAction
PdfAction.createThread
(PdfFileSpec fileSpec) Creates a Thread action (section 12.6.4.6 of ISO 32000-1).static PdfAction
PdfAction.createThread
(PdfFileSpec fileSpec, PdfObject destinationThread, PdfObject bead) Creates a Thread action (section 12.6.4.6 of ISO 32000-1).static PdfAction
Creates a URI action (section 12.6.4.7 of ISO 32000-1).static PdfAction
Creates a URI action (section 12.6.4.7 of ISO 32000-1).PdfAnnotationAdditionalActions.getOnEnter()
Returns thePdfAction
for the OnEnter event if there is any, or null.PdfAnnotationAdditionalActions.getOnExit()
Returns thePdfAction
for the OnExit event if there is any, or null.PdfAnnotationAdditionalActions.getOnFocus()
Returns thePdfAction
for the OnFocus event if there is any, or null.PdfAnnotationAdditionalActions.getOnLostFocus()
Returns thePdfAction
for the OnLostFocus event if there is any, or null.PdfAnnotationAdditionalActions.getOnMouseDown()
Returns thePdfAction
for the OnMouseDown event if there is any, or null.PdfAnnotationAdditionalActions.getOnMouseUp()
Returns thePdfAction
for the OnMouseUp event if there is any, or null.PdfAnnotationAdditionalActions.getOnPageClosed()
Returns thePdfAction
for the OnPageClosed event if there is any, or null.PdfAnnotationAdditionalActions.getOnPageLostView()
Returns thePdfAction
for the OnPageLostView event if there is any, or null.PdfAnnotationAdditionalActions.getOnPageOpened()
Returns thePdfAction
for the OnPageOpened event if there is any, or null.PdfAnnotationAdditionalActions.getOnPageVisible()
Returns thePdfAction
for the OnPageVisible event if there is any, or null.PdfAnnotationAdditionalActions.getPdfActionForEvent
(PdfName eventName) If exists, returns thePdfAction
for this event, otherwise returns null.Inserts the value into the underlying object of thisPdfAction
and associates it with the specified key.Modifier and TypeMethodDescriptionPdfAnnotationAdditionalActions.getAllKnownActions()
Lists everyPdfAction
for all documented events for an annotation's additional actions.Modifier and TypeMethodDescriptionvoid
Adds a chained action.static void
PdfAction.setAdditionalAction
(PdfObjectWrapper<PdfDictionary> wrapper, PdfName key, PdfAction action) Adds an additional action to the providedPdfObjectWrapper
<PdfDictionary
> wrapper.void
PdfAnnotationAdditionalActions.setOnEnter
(PdfAction action) Sets thePdfAction
to perform on the OnEnter event, or removes it when action is null.void
Sets thePdfAction
to perform on the OnExit event, or removes it when action is null.void
PdfAnnotationAdditionalActions.setOnFocus
(PdfAction action) Sets thePdfAction
to perform on the OnFocus event, or removes it when action is null.void
PdfAnnotationAdditionalActions.setOnLostFocus
(PdfAction action) Sets thePdfAction
to perform on the OnLostFocus event, or removes it when action is null.void
PdfAnnotationAdditionalActions.setOnMouseDown
(PdfAction action) Sets thePdfAction
to perform on the OnMouseDown event, or removes it when action is null.void
PdfAnnotationAdditionalActions.setOnMouseUp
(PdfAction action) Sets thePdfAction
to perform on the OnMouseUp event, or removes it when action is null.void
PdfAnnotationAdditionalActions.setOnPageClosed
(PdfAction action) Sets thePdfAction
to perform on the OnPageClosed event, or removes it when action is null.void
PdfAnnotationAdditionalActions.setOnPageLostView
(PdfAction action) Sets thePdfAction
to perform on the OnPageLostView event, or removes it when action is null.void
PdfAnnotationAdditionalActions.setOnPageOpened
(PdfAction action) Sets thePdfAction
to perform on the OnPageOpened event, or removes it when action is null.void
PdfAnnotationAdditionalActions.setOnPageVisible
(PdfAction action) Sets thePdfAction
to perform on the OnPageVisible event, or removes it when action is null.void
PdfAnnotationAdditionalActions.setPdfActionForEvent
(PdfName event, PdfAction action) Sets the action for an event, or removes it when the action is null. -
Uses of PdfAction in com.itextpdf.kernel.pdf.annot
Modifier and TypeMethodDescriptionSets aPdfAction
to this annotation which will be performed when the annotation is activated.Sets aPdfAction
to this annotation which will be performed when the annotation is activated.Sets aPdfAction
to this annotation which will be performed when the annotation is activated.PdfScreenAnnotation.setAdditionalAction
(PdfName key, PdfAction action) Sets an additionalPdfAction
to this annotation which will be performed in response to the specific trigger event defined bykey
.PdfWidgetAnnotation.setAdditionalAction
(PdfName key, PdfAction action) Sets an additionalPdfAction
to this annotation which will be performed in response to the specific trigger event defined bykey
.PdfLinkAnnotation.setUriAction
(PdfAction action) Sets the annotation URI action asPdfAction
instance. -
Uses of PdfAction in com.itextpdf.layout.element
Modifier and TypeMethodDescriptionSets an action on this Element.