Class PDOptionalContentGroup
java.lang.Object
org.apache.pdfbox.pdmodel.documentinterchange.markedcontent.PDPropertyList
org.apache.pdfbox.pdmodel.graphics.optionalcontent.PDOptionalContentGroup
- All Implemented Interfaces:
COSObjectable
An optional content group (OCG).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Enumeration for the renderState dictionary entry on the "Export", "View" and "Print" dictionary. -
Field Summary
Fields inherited from class org.apache.pdfbox.pdmodel.documentinterchange.markedcontent.PDPropertyList
dict
-
Constructor Summary
ConstructorsConstructorDescriptionPDOptionalContentGroup
(String name) Creates a new optional content group (OCG).Creates a new instance based on a givenCOSDictionary
. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the name of the optional content group.getRenderState
(RenderDestination destination) void
Sets the name of the optional content group.toString()
Methods inherited from class org.apache.pdfbox.pdmodel.documentinterchange.markedcontent.PDPropertyList
create, getCOSObject
-
Constructor Details
-
PDOptionalContentGroup
Creates a new optional content group (OCG).- Parameters:
name
- the name of the content group
-
PDOptionalContentGroup
Creates a new instance based on a givenCOSDictionary
.- Parameters:
dict
- the dictionary
-
-
Method Details