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).
Parameters
Section titled “Parameters”readonly BodyElement[]
The document body the section model partitions.
options
Section titled “options”The resolved fonts, styles, section model, and PDF-output toggles.
Returns
Section titled “Returns”LaidOutPdfDocument
The positioned pages plus the PDF-only PdfLayoutAux companion.