Qu

docx.insert_paragraph

Builtin index · File I/O

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.

CodeInputOutputDescription
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 yet
formatting optionalnot documented yet
not documented yet—

Examples

No documentation example calls this form yet. The File I/O chapter is where one belongs.