Package | Description |
---|---|
com.itextpdf.text | |
com.itextpdf.text.pdf | |
com.itextpdf.text.pdf.interfaces | |
com.itextpdf.text.pdf.richmedia |
Modifier and Type | Method and Description |
---|---|
Chunk |
Chunk.setAction(PdfAction action)
Sets an action for this Chunk .
|
Modifier and Type | Field and Description |
---|---|
PdfAction |
PdfDocument.Destination.action |
protected PdfAction |
PdfDocument.anchorAction
The current active PdfAction when processing an Anchor .
|
protected PdfAction |
PdfDocument.openActionAction |
Modifier and Type | Method and Description |
---|---|
static PdfAction |
PdfAction.createHide(Object[] names, boolean hide)
A Hide action hides or shows objects.
|
static PdfAction |
PdfAction.createHide(PdfAnnotation annot, boolean hide)
A Hide action hides or shows an annotation.
|
static PdfAction |
PdfAction.createHide(String name, boolean hide)
A Hide action hides or shows an annotation.
|
static PdfAction |
PdfAction.createImportData(String file)
Creates an Import field.
|
static PdfAction |
PdfAction.createLaunch(String application, String parameters, String operation, String defaultDir)
Launches an application or a document.
|
static PdfAction |
PdfAction.createResetForm(Object[] names, int flags)
Creates a resetform.
|
static PdfAction |
PdfAction.createSubmitForm(String file, Object[] names, int flags)
Creates a submit form.
|
static PdfAction |
PdfAction.gotoEmbedded(String filename, PdfTargetDictionary target, PdfObject dest, boolean newWindow)
Creates a GoToE action to an embedded file.
|
static PdfAction |
PdfAction.gotoEmbedded(String filename, PdfTargetDictionary target, String dest, boolean isName, boolean newWindow)
Creates a GoToE action to an embedded file.
|
static PdfAction |
PdfAction.gotoLocalPage(int page, PdfDestination dest, PdfWriter writer)
Creates a GoTo action to an internal page.
|
static PdfAction |
PdfAction.gotoLocalPage(String dest, boolean isName)
Creates a GoTo action to a named destination.
|
static PdfAction |
PdfAction.gotoRemotePage(String filename, String dest, boolean isName, boolean newWindow)
Creates a GoToR action to a named destination.
|
static PdfAction |
PdfAction.javaScript(String code, PdfWriter writer)
Creates a JavaScript action.
|
static PdfAction |
PdfAction.javaScript(String code, PdfWriter writer, boolean unicode)
Creates a JavaScript action.
|
static PdfAction |
PdfAction.rendition(String file, PdfFileSpecification fs, String mimeType, PdfIndirectReference ref)
Creates a Rendition action
|
static PdfAction |
PdfAction.setOCGstate(ArrayList<Object> state, boolean preserveRB)
A set-OCG-state action (PDF 1.5) sets the state of one or more optional content groups.
|
Modifier and Type | Method and Description |
---|---|
void |
PdfWriter.addJavaScript(PdfAction js)
Use this method to add a JavaScript action at the document level.
|
void |
PdfWriter.addJavaScript(String name, PdfAction js)
Use this method to add a JavaScript action at the document level.
|
PdfAnnotation |
PdfAWriter.createAnnotation(float llx, float lly, float urx, float ury, PdfAction action, PdfName subtype) |
PdfAnnotation |
PdfAStamperImp.createAnnotation(float llx, float lly, float urx, float ury, PdfAction action, PdfName subtype) |
PdfAnnotation |
PdfWriter.createAnnotation(float llx, float lly, float urx, float ury, PdfAction action, PdfName subtype)
A wrapper around PdfAnnotation constructor.
|
static PdfAnnotation |
PdfAnnotation.createLink(PdfWriter writer, Rectangle rect, PdfName highlight, PdfAction action)
Creates an Annotation with an Action.
|
void |
PdfAction.next(PdfAction na)
Add a chained action.
|
void |
PdfAnnotation.setAction(PdfAction action) |
void |
StampContent.setAction(PdfAction action, float llx, float lly, float urx, float ury) |
void |
PdfContentByte.setAction(PdfAction action, float llx, float lly, float urx, float ury)
Implements an action in an area.
|
void |
PdfWriter.setAdditionalAction(PdfName actionType, PdfAction action) |
void |
PdfAnnotation.setAdditionalActions(PdfName key, PdfAction action) |
boolean |
FdfWriter.setFieldAsAction(String field, PdfAction action)
Sets the field value as a PDFAction .
|
void |
PdfWriter.setOpenAction(PdfAction action) |
void |
PdfWriter.setPageAction(PdfName actionType, PdfAction action) |
void |
PdfStamper.setPageAction(PdfName actionType, PdfAction action, int page)
Sets the open and close page additional action.
|
Constructor and Description |
---|
PdfAnnotation(PdfWriter writer, float llx, float lly, float urx, float ury, PdfAction action)
Constructs a new PdfAnnotation of subtype link (Action).
|
PdfFormField(PdfWriter writer, float llx, float lly, float urx, float ury, PdfAction action)
Constructs a new PdfAnnotation of subtype link (Action).
|
PdfOutline(PdfOutline parent, PdfAction action, Paragraph title)
Constructs a PdfOutline .
|
PdfOutline(PdfOutline parent, PdfAction action, Paragraph title, boolean open)
Constructs a PdfOutline .
|
PdfOutline(PdfOutline parent, PdfAction action, PdfString title)
Constructs a PdfOutline .
|
PdfOutline(PdfOutline parent, PdfAction action, PdfString title, boolean open)
Constructs a PdfOutline .
|
PdfOutline(PdfOutline parent, PdfAction action, String title)
Constructs a PdfOutline .
|
PdfOutline(PdfOutline parent, PdfAction action, String title, boolean open)
Constructs a PdfOutline .
|
Modifier and Type | Method and Description |
---|---|
void |
PdfDocumentActions.setAdditionalAction(PdfName actionType, PdfAction action)
Additional-actions defining the actions to be taken in response to various trigger events affecting the document as a whole.
|
void |
PdfDocumentActions.setOpenAction(PdfAction action)
When the document opens this action will be invoked.
|
void |
PdfPageActions.setPageAction(PdfName actionType, PdfAction action)
Sets the open and close page additional action.
|
Modifier and Type | Class and Description |
---|---|
class |
RichMediaExecuteAction
A rich-media-execute action identifies a rich media annotation and specifies a command to be sent to that annotation's handler.
|
Copyright © 1998–2017. All rights reserved.