OptionalContentGroup Class Documentation
classOptionalContentGroupNamespace:com::datalogics::PDFL
Detailed Description
A dictionary used to manage graphics images in a PDF. An Optional Content Group is a dictionary that represents a set of graphics images that users can turn on or off in a PDF document, making them visible or invisible.
In a PDF Viewer, Optional Content Groups are referred to as "Layers."
Referenced by
Uses types
Constructor & Destructor Documentation
Member Function Documentation
DisposeChildren
voidDisposeChildren()Returns:
void[static initializer]
static void[static initializer]()delete
synchronized voiddelete(Booleandisposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized voiddelete()Returns:
synchronized voidequals
booleanequals(Objectrhs)Parameters
rhs: Object
Returns:
booleanfinalize
voidfinalize()Returns:
voidgetIntent
java.util.List< String >getIntent()Returns:
An array containing intent strings.Gets the intent list for an optional-content group. An intent is a string value broadly describing the intended use, either View or Design.
A group's content is considered to be optional (that is, the group's state is considered in its visibility) if any intent in its list matches an intent of the context. The intent list of the context is usually set from the intent list of the document configuration.
getName
StringgetName()Returns:
the nameGet the name of the optional content group
getPDFDict
PDFDictgetPDFDict()Returns:
PDFDictRetrieve the PDFObject representation of this object
sameTypeEquals
booleansameTypeEquals(OptionalContentGrouparg0)Parameters
arg0: OptionalContentGroup
Returns:
booleansetIntent
voidsetIntent(java.util.List< String >intents)Parameters
intents: java.util.List< String >
Returns:
voidSets the intent list for an optional-content group. An intent is a string value broadly describing the intended use, either View or Design.
A group's content is considered to be optional (that is, the group's state is considered in its visibility) if any intent in its list matches an intent of the context. The intent list of the context is usually set from the intent list of the document configuration.
setName
voidsetName(Stringname)Parameters
name: String
Returns:
voidSet the name of the optional content group
toString
StringtoString()Returns:
String