OutlineEntry
Defined in: src/core/document-model/types.ts:662
An entry in a document’s navigation outline that a paragraph stands for (see Paragraph.outlineEntries).
Properties
Section titled “Properties”
readonlylevel:number
Defined in: src/core/document-model/types.ts:666
Its level, 1–9: a deeper entry hangs under the nearest shallower one before it.
readonlyoptionalopen?:boolean
Defined in: src/core/document-model/types.ts:668
Whether the entry stands open, its children shown. Absent ⇒ open.
order?
Section titled “order?”
readonlyoptionalorder?:number
Defined in: src/core/document-model/types.ts:681
The entry’s place in the outline the source states, where that order is not the order of the pages: a PDF’s bookmarks are listed as its author listed them, wherever on the pages each one jumps. Absent ⇒ where the paragraph stands.
readonlytitle:string
Defined in: src/core/document-model/types.ts:664
The text the entry shows.
topPt?
Section titled “topPt?”
readonlyoptionaltopPt?:number
Defined in: src/core/document-model/types.ts:674
The height on its page the entry jumps to, y-up in points, where the source names one and the page stands as the source drew it (a PDF read as a page). Absent ⇒ the top of the paragraph’s first line.
readonlyoptionaluri?:string
Defined in: src/core/document-model/types.ts:689
The URI the entry opens instead of a place in the document: a source
PDF’s bookmark whose action is a URI action (ISO 32000-1 §12.6.4.7). Such
an entry jumps to no page — the paragraph it rides gives it only its place
among the others (with order), and topPt means nothing for it. Only a
PDF’s outline can hold one; the other writers leave it out.