docx.split_cell
docx.split_cell(doc, table, row, col, [cols=])
Input: doc, table, row, col, cols · Output: no output
What it is
Undoes a merge: the merged cell containing grid cell (row,col) becomes its individual cells again, the text staying in the top-left one. With cols=N (2 or more) a cell that is *not* merged is cut into N side by side, and the other rows keep their layout by spanning the new columns. *Added in v0.4.7*
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
docx.split_cell(doc, table, row, col, [cols=]) | doc —not documented yettable —not documented yetrow —Undoes a merge: the merged cell containing grid cell (row,col) becomes its individual cells again, the text staying in the top-left one.col —Undoes a merge: the merged cell containing grid cell (row,col) becomes its individual cells again, the text staying in the top-left one.cols optionalWith cols=N (2 or more) a cell that is *not* merged is cut into N side by side, and the other rows keep their layout by spanning the new columns. | not documented yet | *Added in v0.4.7*. |
Examples
No documentation example calls this form yet. The File I/O chapter is where one belongs.