|
|
@ -407,7 +407,9 @@ public class CellSelection extends Selection { |
|
|
|
if (hasCellElement) { |
|
|
|
if (hasCellElement) { |
|
|
|
ec.merge(row, row + rowSpan - 1, column, column + columnSpan - 1); |
|
|
|
ec.merge(row, row + rowSpan - 1, column, column + columnSpan - 1); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
ec.addCellElement(DefaultThemedTemplateCellElementCase.createInstance(column, row, columnSpan, rowSpan, null), true); |
|
|
|
TemplateCellElement cellElement = DefaultThemedTemplateCellElementCase.createInstance(column, row, columnSpan, rowSpan, null); |
|
|
|
|
|
|
|
AdjustWorkBookDefaultStyleUtils.adjustCellElement(cellElement); |
|
|
|
|
|
|
|
ec.addCellElement(cellElement, true); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return true; |
|
|
|
return true; |
|
|
|