OptionalContentGroup

data class OptionalContentGroup(val id: String, val name: String, val intent: List<String>, val usage: PdfDictionary?)

One Optional Content Group. The id is the OCG's PDF object number stringified. It is stable inside the document, and /OC marked-content sections refer to it.

Constructors

Link copied to clipboard
constructor(id: String, name: String, intent: List<String>, usage: PdfDictionary?)

Properties

Link copied to clipboard
val id: String
Link copied to clipboard

Spec /Intent: typically "View" or "Design". Empty when not declared.

Link copied to clipboard
Link copied to clipboard

/Usage dict for purpose-specific defaults (Print, Export, View). Raw: opaque to us.