com.itextpdf.text.pdf.richmedia
Class RichMediaExecuteAction
java.lang.Object
com.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfDictionary
com.itextpdf.text.pdf.PdfAction
com.itextpdf.text.pdf.richmedia.RichMediaExecuteAction
public class RichMediaExecuteAction
- extends PdfAction
A rich-media-execute action identifies a rich media annotation and
specifies a command to be sent to that annotation's handler.
See table 8.45a in the Adobe 1.7 ExtensionLevel 3 document
- Since:
- 5.0.0
- See Also:
RichMediaAnnotation
,
RichMediaCommand
Fields inherited from class com.itextpdf.text.pdf.PdfAction |
FIRSTPAGE, LASTPAGE, NEXTPAGE, PREVPAGE, PRINTDIALOG, RESET_EXCLUDE, SUBMIT_CANONICAL_FORMAT, SUBMIT_COORDINATES, SUBMIT_EMBED_FORM, SUBMIT_EXCL_F_KEY, SUBMIT_EXCL_NON_USER_ANNOTS, SUBMIT_EXCLUDE, SUBMIT_HTML_FORMAT, SUBMIT_HTML_GET, SUBMIT_INCLUDE_ANNOTATIONS, SUBMIT_INCLUDE_APPEND_SAVES, SUBMIT_INCLUDE_NO_VALUE_FIELDS, SUBMIT_PDF, SUBMIT_XFDF |
Fields inherited from class com.itextpdf.text.pdf.PdfObject |
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
Methods inherited from class com.itextpdf.text.pdf.PdfAction |
createHide, createHide, createHide, createImportData, createLaunch, createResetForm, createSubmitForm, gotoEmbedded, gotoEmbedded, gotoLocalPage, gotoLocalPage, gotoRemotePage, javaScript, javaScript, next, rendition, setOCGstate, toPdf |
Methods inherited from class com.itextpdf.text.pdf.PdfDictionary |
checkType, clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toString |
Methods inherited from class com.itextpdf.text.pdf.PdfObject |
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type |
RichMediaExecuteAction
public RichMediaExecuteAction(PdfIndirectReference ref,
RichMediaCommand command)
- Creates a RichMediaExecute action dictionary.
- Parameters:
ref
- a reference to rich media annotation dictionary for
an annotation for which to execute the script command.command
- the command name and arguments to be
executed when the rich-media-execute action is invoked.
setRichMediaInstance
public void setRichMediaInstance(PdfIndirectReference ref)
- Sets the target instance for this action.
- Parameters:
ref
- a reference to a RichMediaInstance
Copyright © 2015. All Rights Reserved.