PdfOutline
data class PdfOutline(val title: String, val children: List<PdfOutline>, val rawDestination: PdfObject?, val action: PdfAction?, val count: Int, val italic: Boolean, val bold: Boolean, val color: RgbColor?)
One node in the document outline (a.k.a. bookmarks) tree — ISO 32000-1 §12.3.3.
Each node has a title (UTF-16BE or PDFDocEncoding text), zero or more children, and an optional destination (dest). The destination is stored unresolved so the caller can choose whether to resolve it (cost: one map lookup + page-ref translation).
The flag bits (italic, bold) and node colour come from the spec's /F and /C entries; readers may render bookmarks accordingly.
Properties
Link copied to clipboard
Link copied to clipboard
Raw destination value as found in /Dest or /A/D, or null. Use PdfDocument.resolveDestination.