Skip to content

layoutStyledDocument

layoutStyledDocument(body, options): LaidOutPdfDocument

Defined in: src/layout/styled-layout.ts:821

Layout phase (the FlowDoc→PageDoc transform of ir-design §7): body → positioned pages (PageItems), font/image resources, logical structure. Drives the whole pass — numbering and note numbering, per-section geometry, per-block layout, the footnote/endnote/comment tails, then pagination — and returns the LaidOutPdfDocument (the PageDoc plus its PDF companion).

readonly BodyElement[]

The document body the section model partitions.

StyledRenderOptions

The resolved fonts, styles, section model, and PDF-output toggles.

LaidOutPdfDocument

The positioned pages plus the PDF-only PdfLayoutAux companion.