bottomMargin | number | |
differentFirstPageHeaderFooter | boolean | w:titlePg — this section paints its FirstPage header/footer on its first page. |
endnoteLocation | EndnoteLocation | VBA Endnotes.Location: EndOfSection or EndOfDocument; document-wide. Extension. |
endnoteNumberRestart | NoteNumberRestart | w:endnotePr/w:numRestart — Continuous or EachSection. Extension. |
endnoteNumberStart | number | undefined | w:endnotePr/w:numStart — the endnote counterpart of footnoteNumberStart. Extension. |
endnoteNumberStyle | NoteNumberStyle | VBA Endnotes.NumberStyle: w:endnotePr/w:numFmt; LowercaseRoman when absent. Extension. |
footerDistance | number | |
footnoteLocation | FootnoteLocation | VBA Footnotes.Location: BottomOfPage or BeneathText. Extension. |
footnoteNumberRestart | NoteNumberRestart | w:footnotePr/w:numRestart — Continuous, EachSection or EachPage. Extension. |
footnoteNumberStart | number | undefined | w:footnotePr/w:numStart — the number this section’s first footnote gets; undefined counts from 1. Extension: Word’s Footnote dialog “Start at”. |
footnoteNumberStyle | NoteNumberStyle | VBA Footnotes.NumberStyle: w:footnotePr/w:numFmt. Extension. |
gutter | number | w:pgMar/@w:gutter in points — the binding allowance, added to the inner (or, with w:gutterAtTop, the top) edge on top of the margin. 0 is legal and writes w:gutter=‘0’; a non-finite or out-of-range value is refused exactly as a margin write is. Pair it with mirrorMargins for a bound book. |
gutterPosition | GutterPosition | Left binds the gutter to the side margin; Top is w:gutterAtTop, document-wide as in Word. |
headerDistance | number | |
layoutMode | LayoutMode | w:docGrid/@w:type: Word.LayoutMode. Default keeps the pitch and drops the snap. |
leftMargin | number | |
lineNumbering | LineNumbering | read-only Word.LineNumbering over this section’s w:lnNumType. |
linePitch | number | w:docGrid/@w:linePitch in points: the Pitch box of Word’s Document Grid dialog. Extension. |
linesPage | number | Lines per page in the document grid: the text height over the line pitch. |
mirrorMargins | boolean | undefined | w:settings/w:mirrorMargins — the renderer swaps physical left/right margins on even pages, so leftMargin means the INNER edge of a spread. Document-wide, like oddAndEvenPagesHeaderFooter: a write through any section’s handle moves the whole document. Reads undefined when the flag is absent; writing false removes it. |
oddAndEvenPagesHeaderFooter | boolean | w:evenAndOddHeaders in settings.xml — document-wide, as in Word. |
orientation | ”Portrait” | “Landscape” | An explicit pageWidth/pageHeight write afterwards still wins over the swap. |
pageHeight | number | |
pageNumberFormat | string | undefined | w:pgNumType/@w:fmt — the printed number’s format (“lowerRoman”, …); undefined = decimal. |
pageNumberStart | number | undefined | w:pgNumType/@w:start — the printed number this section restarts at, or undefined when numbering continues from the previous section. Explains why a PAGE field’s digits differ from the physical page getRects names. |
pageWidth | number | |
rightMargin | number | |
sectionDirection | SectionDirection | w:sectPr/w:bidi — the section’s reading order; absent or off reads LeftToRight. |
textColumnCount | number | w:cols/@w:num — the section’s equal-width newspaper columns, 1 through 45 (Word’s UI limit). 1 is stored as the absent attribute, and it is also the escape hatch: it drops any authored w:col children (and the w:equalWidth flag that described them) and returns the section to one column. A write of 2 or more is refused on an authored unequal grid, and refused when the implied column width falls under Word’s 36pt floor. |
textColumns | TextColumnCollection | read-only w:sectPr/w:cols as Word’s TextColumnCollection: evenly spaced or explicit widths, the line between columns and the flow direction. |
textColumnSpacing | number | w:cols/@w:space — the gap between those columns, in points; 36 when absent. Refused when it would squeeze the CURRENT count below the 36pt floor. |
topMargin | number | |