PdfOptionalContent
Optional Content metadata — ISO 32000-1 §8.11. Optional Content Groups (OCGs) are the PDF spec's name for "layers": chunks of content that can be selectively shown or hidden via /OC marked-content sections and Form XObjects with /OC entries.
KitePDF v0.0.x exposes the OCG topology and default visibility state (read-only). The renderer doesn't yet honour /OC visibility — that's a future round. Until then this view lets you build a layer-toggle UI even if the underlying renderer still draws everything.
Types
One Optional Content Group. The id is the OCG's PDF object number stringified — stable inside the document and what /OC marked-content sections refer to.
Properties
Display name of the default config (/D /Name), if present.
All OCGs declared in /OCProperties /OCGs.
Identifiers of OCGs that are explicitly OFF in the default configuration.
Identifiers of OCGs that are ON in the default configuration.