Skip to content

word section add

zmworm edited this page Apr 4, 2026 · 29 revisions

Word: Section - add

Add a section break controlling page layout for a range of content.

Parent: /body

Properties

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

Examples

officecli add report.docx /body --type section --prop type=continuous
officecli add report.docx /body --type section --prop type=nextPage --prop orientation=landscape

Based on OfficeCLI v1.0.34

Clone this wiki locally