Uses of Class
com.itextpdf.kernel.pdf.action.PdfAction
-
-
Uses of PdfAction in com.itextpdf.forms.fields
Methods in com.itextpdf.forms.fields with parameters of type PdfAction Modifier and Type Method Description PdfFormAnnotation
PdfFormAnnotation. setAction(PdfAction action)
Sets the action onwidget
of this annotation form field.PdfFormField
PdfFormField. setAdditionalAction(PdfName key, PdfAction action)
Sets an additional action for the form field. -
Uses of PdfAction in com.itextpdf.kernel.pdf
Methods in com.itextpdf.kernel.pdf with parameters of type PdfAction Modifier and Type Method Description void
PdfOutline. addAction(PdfAction action)
AddsPdfAction
for the outline,A
key.private void
PdfCatalog. checkIsoConformanceForAction(PdfAction action)
PdfCatalog
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
PdfPage. setAdditionalAction(PdfName key, PdfAction action)
Helper method to add an additional action to this page.PdfCatalog
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
Methods in com.itextpdf.kernel.pdf.action that return PdfAction Modifier and Type Method Description static 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(java.lang.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(java.lang.String filename, int pageNum)
Creates a GoToR action, or remote action (section 12.6.4.3 of ISO 32000-1).static PdfAction
PdfAction. createGoToR(java.lang.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(java.lang.String filename, java.lang.String destination)
Creates a GoToR action, or remote action (section 12.6.4.3 of ISO 32000-1).static PdfAction
PdfAction. createGoToR(java.lang.String filename, java.lang.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(java.lang.String[] text, boolean hidden)
Creates a Hide action (section 12.6.4.10 of ISO 32000-1).static PdfAction
PdfAction. createHide(java.lang.String text, boolean hidden)
Creates a Hide action (section 12.6.4.10 of ISO 32000-1).static PdfAction
PdfAction. createJavaScript(java.lang.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, java.lang.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(java.lang.String file, PdfFileSpec fileSpec, java.lang.String mimeType, PdfAnnotation screenAnnotation)
Creates a Rendition action (section 12.6.4.13 of ISO 32000-1).static PdfAction
PdfAction. createResetForm(java.lang.Object[] names, int flags)
Creates a Reset-Form Action (section 12.7.5.3 of ISO 32000-1).static PdfAction
PdfAction. createSetOcgState(java.util.List<PdfActionOcgState> states)
Creates a Set-OCG-State action (section 12.6.4.12 of ISO 32000-1).static PdfAction
PdfAction. createSetOcgState(java.util.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(java.lang.String file, java.lang.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
PdfAction. createURI(java.lang.String uri)
Creates a URI action (section 12.6.4.7 of ISO 32000-1).static PdfAction
PdfAction. createURI(java.lang.String uri, boolean isMap)
Creates a URI action (section 12.6.4.7 of ISO 32000-1).static PdfAction
PdfAction. createURI(java.net.URI uri)
Creates a GoTo action (section 12.6.4.2 of ISO 32000-1) via a given uri.PdfAction
PdfAnnotationAdditionalActions. getOnEnter()
Returns thePdfAction
for the OnEnter event if there is any, or null.PdfAction
PdfAnnotationAdditionalActions. getOnExit()
Returns thePdfAction
for the OnExit event if there is any, or null.PdfAction
PdfAnnotationAdditionalActions. getOnFocus()
Returns thePdfAction
for the OnFocus event if there is any, or null.PdfAction
PdfAnnotationAdditionalActions. getOnLostFocus()
Returns thePdfAction
for the OnLostFocus event if there is any, or null.PdfAction
PdfAnnotationAdditionalActions. getOnMouseDown()
Returns thePdfAction
for the OnMouseDown event if there is any, or null.PdfAction
PdfAnnotationAdditionalActions. getOnMouseUp()
Returns thePdfAction
for the OnMouseUp event if there is any, or null.PdfAction
PdfAnnotationAdditionalActions. getOnPageClosed()
Returns thePdfAction
for the OnPageClosed event if there is any, or null.PdfAction
PdfAnnotationAdditionalActions. getOnPageLostView()
Returns thePdfAction
for the OnPageLostView event if there is any, or null.PdfAction
PdfAnnotationAdditionalActions. getOnPageOpened()
Returns thePdfAction
for the OnPageOpened event if there is any, or null.PdfAction
PdfAnnotationAdditionalActions. getOnPageVisible()
Returns thePdfAction
for the OnPageVisible event if there is any, or null.PdfAction
PdfAnnotationAdditionalActions. getPdfActionForEvent(PdfName eventName)
If exists, returns thePdfAction
for this event, otherwise returns null.PdfAction
PdfAction. put(PdfName key, PdfObject value)
Inserts the value into the underlying object of thisPdfAction
and associates it with the specified key.Methods in com.itextpdf.kernel.pdf.action that return types with arguments of type PdfAction Modifier and Type Method Description java.util.List<PdfAction>
PdfAnnotationAdditionalActions. getAllKnownActions()
Lists everyPdfAction
for all documented events for an annotation's additional actions.Methods in com.itextpdf.kernel.pdf.action with parameters of type PdfAction Modifier and Type Method Description void
PdfAction. next(PdfAction nextAction)
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
PdfAnnotationAdditionalActions. setOnExit(PdfAction action)
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
Methods in com.itextpdf.kernel.pdf.annot with parameters of type PdfAction Modifier and Type Method Description PdfLinkAnnotation
PdfLinkAnnotation. setAction(PdfAction action)
Sets aPdfAction
to this annotation which will be performed when the annotation is activated.PdfScreenAnnotation
PdfScreenAnnotation. setAction(PdfAction action)
Sets aPdfAction
to this annotation which will be performed when the annotation is activated.PdfWidgetAnnotation
PdfWidgetAnnotation. setAction(PdfAction action)
Sets aPdfAction
to this annotation which will be performed when the annotation is activated.PdfScreenAnnotation
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
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
PdfLinkAnnotation. setUriAction(PdfAction action)
Sets the annotation URI action asPdfAction
instance. -
Uses of PdfAction in com.itextpdf.kernel.validation.context
Fields in com.itextpdf.kernel.validation.context declared as PdfAction Modifier and Type Field Description private PdfAction
PdfDestinationAdditionContext. action
Methods in com.itextpdf.kernel.validation.context that return PdfAction Modifier and Type Method Description PdfAction
PdfDestinationAdditionContext. getAction()
GetsPdfAction
instance.Constructors in com.itextpdf.kernel.validation.context with parameters of type PdfAction Constructor Description PdfDestinationAdditionContext(PdfAction action)
-
Uses of PdfAction in com.itextpdf.layout.element
Methods in com.itextpdf.layout.element with parameters of type PdfAction Modifier and Type Method Description T
AbstractElement. setAction(PdfAction action)
Sets an action on this Element.Constructors in com.itextpdf.layout.element with parameters of type PdfAction Constructor Description Link(java.lang.String text, PdfAction action)
Creates a Link which can execute an action. -
Uses of PdfAction in com.itextpdf.pdfua.checkers.utils.ua2
Methods in com.itextpdf.pdfua.checkers.utils.ua2 with parameters of type PdfAction Modifier and Type Method Description private static boolean
PdfUA2DestinationsChecker. isActionAllowed(PdfAction action, PdfDocument document, int counter)
-