Word's Split Cells: every cell in the selection becomes columns cells
side by side, and each of those options.rows high.
A merged cell shares out the columns and rows it already spans. One that
needs more adds them to the grid, and the cells standing beside it in
those columns or rows span them, so the rest of the table looks as it did.
Each new cell keeps the split cell's formatting and its share of the width;
the content stays in the first. To split a merged cell straight back into
the cells it came from, splitCell does that without asking how many.
Declines outside a table, and for counts that are not whole numbers, at
most MAX_SPLIT_COLUMNS columns and MAX_SPLIT_ROWS rows,
making at least two cells.
Word's Split Cells: every cell in the selection becomes
columnscells side by side, and each of thoseoptions.rowshigh.A merged cell shares out the columns and rows it already spans. One that needs more adds them to the grid, and the cells standing beside it in those columns or rows span them, so the rest of the table looks as it did. Each new cell keeps the split cell's formatting and its share of the width; the content stays in the first. To split a merged cell straight back into the cells it came from,
splitCelldoes that without asking how many.Declines outside a table, and for counts that are not whole numbers, at most MAX_SPLIT_COLUMNS columns and MAX_SPLIT_ROWS rows, making at least two cells.