Skip to content

word section

zmworm edited this page Apr 29, 2026 · 51 revisions

Word: Section

Section break controlling page layout, orientation, and margins for a range of content.

Path: /section[N]

Operations

  • add - Add section breaks
  • set - Modify section layout and margins

get

Returns: type, pageWidth, pageHeight, orientation, marginTop, marginBottom, marginLeft, marginRight, columns, columnSpace, equalWidth, separator, colWidths, colSpaces

officecli get report.docx /section[1]

Based on OfficeCLI v1.0.64

Clone this wiki locally