PdfOutlineOptions
Defined in: src/layout/styled-layout.ts:971
How the PDF’s document outline is built (ISO 32000-1 §12.3.3); see StyledRenderOptions.outline.
Properties
Section titled “Properties”maxLevel?
Section titled “maxLevel?”
readonlyoptionalmaxLevel?:number
Defined in: src/layout/styled-layout.ts:978
The deepest heading level the outline takes, 1–9. Default 9: every outline
level a paragraph can carry (§17.3.1.20 w:outlineLvl 0–8), as
LibreOffice’s export takes. 3 keeps Heading 1–3, as a table of contents
usually does.
openPanel?
Section titled “openPanel?”
readonlyoptionalopenPanel?:boolean
Defined in: src/layout/styled-layout.ts:984
Open the viewer’s bookmarks panel with the document (ISO 32000-1 §7.7.2,
catalog /PageMode /UseOutlines). Default false: the viewer decides,
and the panel is a click away.