|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfDictionary
com.itextpdf.text.pdf.richmedia.RichMediaInstance
public class RichMediaInstance
The RichMediaInstance dictionary, referenced by the Instances entry of the RichMediaConfiguration, describes a single instance of an asset with settings to populate the artwork of an annotation. See ExtensionLevel 3 p88
RichMediaConfiguration
Field Summary | |
---|---|
protected boolean |
flash
True if the instance is a flash animation. |
Fields inherited from class com.itextpdf.text.pdf.PdfDictionary |
---|
CATALOG, FONT, hashMap, OUTLINES, PAGE, PAGES |
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 |
Constructor Summary | |
---|---|
RichMediaInstance(com.itextpdf.text.pdf.PdfName subtype)
Creates a RichMediaInstance. |
Method Summary | |
---|---|
void |
setAsset(com.itextpdf.text.pdf.PdfIndirectReference asset)
Sets a dictionary that shall be an indirect object reference to a file specification dictionary that is also referenced in the Assets name tree of the content of the annotation. |
void |
setParams(RichMediaParams params)
Sets the parameters. |
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, toPdf, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected boolean flash
Constructor Detail |
---|
public RichMediaInstance(com.itextpdf.text.pdf.PdfName subtype)
subtype
- possible values are:
PdfName._3D, PdfName.FLASH, PdfName.SOUND, and PdfName.VIDEO.Method Detail |
---|
public void setParams(RichMediaParams params)
params
- a RichMediaParams objectpublic void setAsset(com.itextpdf.text.pdf.PdfIndirectReference asset)
asset
- a reference to a dictionary present in the Assets name tree
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |