Reflow
Defined in: packages/sdk/src/reflow.ts:94
What doc.reflow() makes of a document.
0.2.0
Properties
Section titled “Properties”available
Section titled “available”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.
blocks
Section titled “blocks”readonly blocks: readonly ReflowBlock[];Defined in: packages/sdk/src/reflow.ts:104
The blocks, in reading order.
checks
Section titled “checks”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.
reason?
Section titled “reason?”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.
source
Section titled “source”readonly source: ReflowSource;Defined in: packages/sdk/src/reflow.ts:98
Where the order comes from.