Qu

docx.set_list

Builtin index · File I/O

docx.set_list(doc, i, [kind="bullet"], [level=0], [restart=false])

Input: doc, i, kind, level, restart · Output: no output

What it is

Makes existing body paragraph i a list item, or plain again with kind="none". *Added in v0.4.5*

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
docx.set_list(doc, i, [kind="bullet"], [level=0], [restart=false])
doc —not documented yet
i —Makes existing body paragraph i a list item, or plain again with kind="none".
kind optional (default "bullet")Makes existing body paragraph i a list item, or plain again with kind="none".
level optional (default 0)not documented yet
restart optional (default false)not documented yet
not documented yet*Added in v0.4.5*.

Examples

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