docx.insert_paragraph
docx.insert_paragraph(doc, i, text, [formatting])
Input: doc, i, text, formatting · Output: no output
What it is
Inserts a paragraph so it becomes body paragraph i; takes the same keywords as add_paragraph. docx.remove_paragraph(doc, i) deletes one.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
docx.insert_paragraph(doc, i, text, [formatting]) | doc —docx.remove_paragraph(doc, i) deletes one.i —Inserts a paragraph so it becomes body paragraph i.text —not documented yetformatting optionalnot documented yet | not documented yet | — |
Examples
No documentation example calls this form yet. The File I/O chapter is where one belongs.