Qu

docx.add_column

Builtin index · File I/O

docx.add_column(doc, table, [values], [at=])

Input: doc, table, values, at · Output: no output

What it is

Inserts a column so it becomes grid column at (default: appended), with one value per row. The table keeps its width: existing columns shrink to make room, as in Word. Where the new column falls inside a merged cell, that cell grows to cover it and takes no value. *Added in v0.4.7*

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
docx.add_column(doc, table, [values], [at=])
doc —not documented yet
table —The table keeps its width: existing columns shrink to make room, as in Word.
values optionalnot documented yet
at optionalInserts a column so it becomes grid column at (default: appended), with one value per row.
not documented yetWhere the new column falls inside a merged cell, that cell grows to cover it and takes no value. *Added in v0.4.7*.

Examples

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