docx.move_paragraph
docx.move_paragraph(doc, from, to)
Input: doc, from, to · Output: no output
What it is
Moves body paragraph from so that it becomes body paragraph to (as numbered after the move). Tables and other block content stay where they are. A paragraph that ends a section carries the section break and is refused. *Added in v0.4.7*
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
docx.move_paragraph(doc, from, to) | doc —not documented yetfrom —Moves body paragraph from so that it becomes body paragraph to (as numbered after the move).to —Moves body paragraph from so that it becomes body paragraph to (as numbered after the move). | not documented yet | Tables and other block content stay where they are. A paragraph that ends a section carries the section break and is refused. *Added in v0.4.7*. |
Examples
No documentation example calls this form yet. The File I/O chapter is where one belongs.