Skip to main content

Section

Import from @reductoai/docx/node, @reductoai/docx/officejs.

Section properties

getFooter()

This section’s footer of the given type, with the same inheritance rule as getHeader.

getHeader()

This section’s header of the given type. A section with no reference of that type inherits the nearest previous section’s part (Word’s “Link to Previous”), so the read never touches the package; only when no section up the chain has one is an empty part created.

getNext()

getNextOrNullObject()

set()

Not implemented. These Office.js members throw: body.