Skip to content

Commit

Permalink
Fix formula issue with empty cells in xlsx
Browse files Browse the repository at this point in the history
  • Loading branch information
tinhol committed Aug 28, 2015
1 parent 0c1f9cd commit e5e562b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,8 @@ protected void createFakeTemplateCellsForEmptyOnes(Range oneRowRange,
for (CellReference cellReference : oneRowRange.toCellReferences()) {
if (!cellsForOneRowRange.containsKey(cellReference)) {
Cell newCell = Context.getsmlObjectFactory().createCell();
newCell.setV(null);
newCell.setT(STCellType.STR);
newCell.setR(cellReference.toReference());
templateCells.add(newCell);
}
Expand Down

0 comments on commit e5e562b

Please sign in to comment.