Class RichMediaConfiguration
java.lang.Object
com.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfDictionary
com.itextpdf.text.pdf.richmedia.RichMediaConfiguration
- All Implemented Interfaces:
Serializable
The RichMediaConfiguration dictionary describes a set of instances
that are loaded for a given scene configuration. The configuration
to be loaded when an annotation is activated is referenced by the
Configuration key in the RichMediaActivation dictionary specified
in the RichMediaSettings dictionary.
see ExtensionLevel 3 p88
- Since:
- 5.0.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PdfArrayAn array of indirect object references to RichMediaInstance dictionaries. -
Constructor Summary
ConstructorsConstructorDescriptionRichMediaConfiguration(PdfName subtype) Creates a RichMediaConfiguration object. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInstance(RichMediaInstance instance) Adds a RichMediaInstance to the instances array of this configuration.voidSets the name of the configuration (must be unique).Methods inherited from class 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, toStringMethods inherited from class PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
Field Details
-
instances
An array of indirect object references to RichMediaInstance dictionaries.
-
-
Constructor Details
-
RichMediaConfiguration
Creates a RichMediaConfiguration object. Also specifies the primary content type for the configuration. Valid values are 3D, Flash, Sound, and Video.- Parameters:
subtype- Possible values are: PdfName._3D, PdfName.FLASH, PdfName.SOUND, and PdfName.VIDEO.
-
-
Method Details
-
setName
Sets the name of the configuration (must be unique).- Parameters:
name- the name
-
addInstance
Adds a RichMediaInstance to the instances array of this configuration.- Parameters:
instance- a RichMediaInstance
-