PdfObject

sealed class PdfObject

Sealed hierarchy of PDF value types (ISO 32000-1 §7.3).

Numbers split into Int/Real because both syntax and downstream usage care. Strings keep raw bytes — PDF strings are NOT Kotlin Strings; they're byte sequences interpreted via a font's encoding, so the user (or a text extractor) decides how to decode them.

Inheritors

Functions

Link copied to clipboard

Resolve indirect refs against refs; non-refs return themselves.