# Sections operations

> Section structure and page-setup operations.



18 operations. Names, descriptions, and behavior flags come from the canonical contract.

## Operations

- [`sections.list`](/document-api/reference/sections/list) (read): List sections in deterministic order with section-target handles.
- [`sections.get`](/document-api/reference/sections/get) (read): Retrieve full section information by section address.
- [`sections.setBreakType`](/document-api/reference/sections/set-break-type) (mutates): Set the section break type.
- [`sections.setPageMargins`](/document-api/reference/sections/set-page-margins) (mutates): Set page-edge margins for a section.
- [`sections.setHeaderFooterMargins`](/document-api/reference/sections/set-header-footer-margins) (mutates): Set header/footer margin distances for a section.
- [`sections.setPageSetup`](/document-api/reference/sections/set-page-setup) (mutates): Set page size/orientation properties for a section.
- [`sections.setColumns`](/document-api/reference/sections/set-columns) (mutates): Set column configuration for a section.
- [`sections.setLineNumbering`](/document-api/reference/sections/set-line-numbering) (mutates): Enable or configure line numbering for a section.
- [`sections.setPageNumbering`](/document-api/reference/sections/set-page-numbering) (mutates): Set page numbering format/start and chapter numbering settings for a section.
- [`sections.setTitlePage`](/document-api/reference/sections/set-title-page) (mutates): Enable or disable title-page behavior for a section.
- [`sections.setOddEvenHeadersFooters`](/document-api/reference/sections/set-odd-even-headers-footers) (mutates): Enable or disable odd/even header-footer mode in document settings.
- [`sections.setVerticalAlign`](/document-api/reference/sections/set-vertical-align) (mutates): Set vertical page alignment for a section.
- [`sections.setSectionDirection`](/document-api/reference/sections/set-section-direction) (mutates): Set section text flow direction (LTR/RTL).
- [`sections.setHeaderFooterRef`](/document-api/reference/sections/set-header-footer-ref) (mutates): Set or replace a section header/footer reference for a variant.
- [`sections.clearHeaderFooterRef`](/document-api/reference/sections/clear-header-footer-ref) (mutates): Clear a section header/footer reference for a specific variant.
- [`sections.setLinkToPrevious`](/document-api/reference/sections/set-link-to-previous) (mutates): Set or clear link-to-previous behavior for a header/footer variant.
- [`sections.setPageBorders`](/document-api/reference/sections/set-page-borders) (mutates): Set page border configuration for a section.
- [`sections.clearPageBorders`](/document-api/reference/sections/clear-page-borders) (mutates): Clear page border configuration for a section.

