Package | Description |
---|---|
com.itextpdf.forms.fields | |
com.itextpdf.kernel.pdf | |
com.itextpdf.kernel.pdf.action | |
com.itextpdf.kernel.pdf.annot | |
com.itextpdf.layout.element |
Modifier and Type | Method and Description |
---|---|
PdfFormField |
PdfFormField.setAction(PdfAction action)
Sets the action on all widgets of this form field.
|
PdfFormField |
PdfFormField.setAdditionalAction(PdfName key, PdfAction action)
Sets an additional action for the form field.
|
Modifier and Type | Method and Description |
---|---|
void |
PdfOutline.addAction(PdfAction action)
Adds PdfAction for the outline, A key.
|
PdfCatalog |
PdfCatalog.setAdditionalAction(PdfName key, PdfAction action) |
PdfPage |
PdfPage.setAdditionalAction(PdfName key, PdfAction action)
Helper method to add an additional action to this page.
|
PdfCatalog |
PdfCatalog.setOpenAction(PdfAction action) |
Modifier and Type | Method and 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(String destination)
Creates a GoTo action (section 12.6.4.2 of ISO 32000-1) via a given PdfStringDestination name.
|
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.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.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 |
PdfAction.createURI(String uri)
Creates a URI action (section 12.6.4.7 of ISO 32000-1).
|
static PdfAction |
PdfAction.createURI(String uri, boolean isMap)
Creates a URI action (section 12.6.4.7 of ISO 32000-1).
|
PdfAction |
PdfAction.put(PdfName key, PdfObject value)
Inserts the value into the underlying object of this PdfAction and associates it with the specified key.
|
Modifier and Type | Method and 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 provided PdfObjectWrapper <PdfDictionary > wrapper.
|
Modifier and Type | Method and Description |
---|---|
PdfWidgetAnnotation |
PdfWidgetAnnotation.setAction(PdfAction action)
Sets a PdfAction to this annotation which will be performed when the annotation is activated.
|
PdfScreenAnnotation |
PdfScreenAnnotation.setAction(PdfAction action)
Sets a PdfAction to this annotation which will be performed when the annotation is activated.
|
PdfLinkAnnotation |
PdfLinkAnnotation.setAction(PdfAction action)
Sets a PdfAction to this annotation which will be performed when the annotation is activated.
|
PdfWidgetAnnotation |
PdfWidgetAnnotation.setAdditionalAction(PdfName key, PdfAction action)
Sets an additional PdfAction to this annotation which will be performed in response to the specific trigger event defined by key .
|
PdfScreenAnnotation |
PdfScreenAnnotation.setAdditionalAction(PdfName key, PdfAction action)
Sets an additional PdfAction to this annotation which will be performed in response to the specific trigger event defined by key .
|
PdfLinkAnnotation |
PdfLinkAnnotation.setUriAction(PdfAction action) |
Modifier and Type | Method and Description |
---|---|
T |
AbstractElement.setAction(PdfAction action)
Sets an action on this Element.
|
Constructor and Description |
---|
Link(String text, PdfAction action)
Creates a Link which can execute an action.
|
Copyright © 1998–2018 iText Group NV. All rights reserved.