public class RichMediaActivation extends PdfDictionary
Constructor and Description |
---|
RichMediaActivation()
Creates a RichMediaActivation dictionary.
|
Modifier and Type | Method and Description |
---|---|
void |
setAnimation(RichMediaAnimation animation)
Sets the animation dictionary describing the preferred method that conforming readers should use to drive keyframe animations present in this artwork.
|
void |
setCondition(PdfName condition)
Sets the activation condition.
|
void |
setConfiguration(PdfIndirectReference configuration)
Sets an indirect object reference to a RichMediaConfiguration dictionary that shall also be referenced by the Configurations array in the RichMediaContent dictionary (which is part of the RichMediaAnnotation object).
|
void |
setPresentation(RichMediaPresentation richMediaPresentation)
Sets a RichMediaPresentation dictionary that contains information as to how the annotation and user interface elements will be visually laid out and drawn.
|
void |
setScripts(PdfArray scripts)
Sets an array of indirect object references to file specification dictionaries, each of which describe a JavaScript file that shall be present in the Assets name tree of the RichMediaContent dictionary.
|
void |
setView(PdfIndirectReference view)
Sets an indirect object reference to a 3D view dictionary that shall also be referenced by the Views array within the annotation's RichMediaContent dictionary.
|
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
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
public RichMediaActivation()
public void setCondition(PdfName condition)
condition
- possible values are: PdfName.XA, PdfName.PO, or PdfName.PV
public void setAnimation(RichMediaAnimation animation)
animation
- a RichMediaAnimation dictionary
public void setView(PdfIndirectReference view)
view
- an indirect reference
public void setConfiguration(PdfIndirectReference configuration)
configuration
- an indirect reference
public void setPresentation(RichMediaPresentation richMediaPresentation)
richMediaPresentation
- a RichMediaPresentation object
public void setScripts(PdfArray scripts)
scripts
- a PdfArray
Copyright © 1998–2018. All rights reserved.