FlowDocument
type FlowDocument = object;Defined in: packages/sdk/src/generated/document.ts:398
A laminapdf.document/1 document.
0.2.0
Properties
Section titled “Properties”author?
Section titled “author?”author?: Text | null;Defined in: packages/sdk/src/generated/document.ts:400
The author, in the metadata.
blocks
Section titled “blocks”blocks: BlockSpec[];Defined in: packages/sdk/src/generated/document.ts:402
The blocks, in reading order.
lang?: string | null;Defined in: packages/sdk/src/generated/document.ts:404
The natural language, a BCP 47 tag such as en-GB.
outline?
Section titled “outline?”outline?: boolean | null;Defined in: packages/sdk/src/generated/document.ts:406
Whether headings make an outline (bookmarks); true when left out.
page?: PageSpec | null;Defined in: packages/sdk/src/generated/document.ts:408
The pages the blocks flow through (A4 with 72-point margins when left out).
profiles?
Section titled “profiles?”profiles?: ProfileName[];Defined in: packages/sdk/src/generated/document.ts:414
The profiles the PDF must meet: PDF/UA-1, and at most one of PDF/A-2b, PDF/A-2u
and PDF/A-3b. The caller passes them to the builder’s options, as they are checked
there.
schema
Section titled “schema”schema: string;Defined in: packages/sdk/src/generated/document.ts:416
Always laminapdf.document/1.
sectionLevel?
Section titled “sectionLevel?”sectionLevel?: number | null;Defined in: packages/sdk/src/generated/document.ts:418
The heading level whose text {section} shows in a header or footer (1 when left out).
styles
Section titled “styles”styles: Record<string, StyleSpec>;Defined in: packages/sdk/src/generated/document.ts:420
The text styles, by name; body is the one text takes when it names none.
subject?
Section titled “subject?”subject?: Text | null;Defined in: packages/sdk/src/generated/document.ts:422
The subject, in the metadata.
tagged?
Section titled “tagged?”tagged?: boolean | null;Defined in: packages/sdk/src/generated/document.ts:424
Whether the PDF is tagged for screen readers; true when left out (PDF/UA-1 needs it).
title?
Section titled “title?”title?: Text | null;Defined in: packages/sdk/src/generated/document.ts:426
The title: the document’s metadata, {title} in a header or footer, and the window title.