:fix: handle cell that has both columnSpan and rowSpan

This commit is contained in:
wangfengming
2020-06-20 21:36:35 +08:00
parent fa7cb0bef1
commit 11e54b3e2c

View File

@ -87,6 +87,7 @@ export class Table extends XmlComponent {
for (let i = rowIndex + 1; i <= endRowIndex; i++) {
rows[i].addCellToIndex(
new TableCell({
columnSpan: cell.options.columnSpan,
borders: cell.options.borders,
children: [],
verticalMerge: VerticalMergeType.CONTINUE,