ContentsPageOptions
Defined in: packages/sdk/src/contents.ts:49
How Document.createContentsPage makes a contents page. Every field has a default.
0.5.0
Extends
Section titled “Extends”Properties
Section titled “Properties”readonly at?: PagePosition;Defined in: packages/sdk/src/contents.ts:18
Where it goes: before the first page when left out.
Inherited from
Section titled “Inherited from”bookmark?
Section titled “bookmark?”readonly bookmark?: boolean;Defined in: packages/sdk/src/contents.ts:24
Whether a bookmark for the contents page goes first in the outline (no by default).
Inherited from
Section titled “Inherited from”fallbacks?
Section titled “fallbacks?”readonly fallbacks?: readonly Font[];Defined in: packages/sdk/src/contents.ts:41
Fonts for the characters font lacks, tried in order (used only with font).
Inherited from
Section titled “Inherited from”readonly font?: Font;Defined in: packages/sdk/src/contents.ts:39
Its font: Helvetica when left out, which isn’t embedded, so a file that claims PDF/A or PDF/UA-1 refuses it.
Inherited from
Section titled “Inherited from”levels?
Section titled “levels?”readonly levels?: 2 | 1;Defined in: packages/sdk/src/contents.ts:20
The levels of bookmarks it lists: 1, or 2 (the default).
Inherited from
Section titled “Inherited from”readonly size?: number;Defined in: packages/sdk/src/contents.ts:26
The entries’ size in points, from 4 to 72: 11 when left out. The heading is half again as large.
Inherited from
Section titled “Inherited from”title?
Section titled “title?”readonly title?: string;Defined in: packages/sdk/src/contents.ts:22
The heading at its top: “Contents” when left out.