-
Notifications
You must be signed in to change notification settings - Fork 465
word section add
zmworm edited this page May 1, 2026
·
53 revisions
Add a section break controlling page layout for a range of content.
Parent: /body
| Property | Default | Description |
|---|---|---|
type |
nextPage |
continuous, evenPage, oddPage, nextPage
|
pageWidth/width
|
- | Page width (integer, twips) |
pageHeight/height
|
- | Page height (integer, twips) |
orientation |
- |
landscape or portrait
|
direction / dir / bidi
|
- |
rtl writes <w:bidi/> on sectPr in canonical schema order; ltr clears it |
rtlGutter |
- | bool. RTL binding-gutter flag (<w:rtlGutter/>); mirrors Set |
officecli add report.docx /body --type section --prop type=continuous
officecli add report.docx /body --type section --prop type=nextPage --prop orientation=landscape
# RTL section break
officecli add report.docx /body --type section --prop type=nextPage --prop direction=rtlBased on OfficeCLI v1.0.68