Module org.sejda.sambox
Class PDOptionalContentGroup
java.lang.Object
org.sejda.sambox.pdmodel.documentinterchange.markedcontent.PDPropertyList
org.sejda.sambox.pdmodel.graphics.optionalcontent.PDOptionalContentGroup
- All Implemented Interfaces:
COSObjectable
An optional content group (OCG).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumeration for the renderState dictionary entry on the "Export", "View" and "Print" dictionary. -
Field Summary
Fields inherited from class org.sejda.sambox.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) voidSets the name of the optional content group.toString()Methods inherited from class org.sejda.sambox.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