docx.add_section_break
docx.add_section_break(doc, [start="next_page"])
Input: doc, start · Output: no output
What it is
Ends the current section at the end of the document; what is added next is a new section starting next_page, continuous, even_page or odd_page, with the same page setup until page_setup(doc, section=...) changes it. The new section inherits its headers and footers until it is given its own. *Added in v0.4.5*
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
docx.add_section_break(doc, [start="next_page"]) | doc —what is added next is a new section starting next_page, continuous, even_page or odd_page, with the same page setup until page_setup(doc, section=...) changes it.start optional (default "next_page")not documented yet | not documented yet | The new section inherits its headers and footers until it is given its own. *Added in v0.4.5*. |
Examples
No documentation example calls this form yet. The File I/O chapter is where one belongs.