Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

ContentsPlacement

Defined in: packages/sdk/src/contents.ts:16

Where a contents page goes and what it lists: everything of ContentsPageOptions but its fonts.

0.5.0

readonly at?: PagePosition;

Defined in: packages/sdk/src/contents.ts:18

Where it goes: before the first page when left out.


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).


readonly levels?: 2 | 1;

Defined in: packages/sdk/src/contents.ts:20

The levels of bookmarks it lists: 1, or 2 (the default).


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.


readonly title?: string;

Defined in: packages/sdk/src/contents.ts:22

The heading at its top: “Contents” when left out.