Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

Reflow

Defined in: packages/sdk/src/reflow.ts:94

What doc.reflow() makes of a document.

0.2.0

readonly available: boolean;

Defined in: packages/sdk/src/reflow.ts:96

Whether reader mode can show it: false only when no page has text or a picture.


readonly blocks: readonly ReflowBlock[];

Defined in: packages/sdk/src/reflow.ts:104

The blocks, in reading order.


readonly checks: ReflowChecks;

Defined in: packages/sdk/src/reflow.ts:106

The measures the checks read.


readonly lang?: string;

Defined in: packages/sdk/src/reflow.ts:102

The document’s language (the catalog’s /Lang), for the reading view’s lang.


readonly reason?: ReflowRefusal;

Defined in: packages/sdk/src/reflow.ts:100

Why the structure tree wasn’t used (or "nothing" when unavailable); absent with tags.


readonly source: ReflowSource;

Defined in: packages/sdk/src/reflow.ts:98

Where the order comes from.