s.setColumnWidth(column, 256 * value);
}
// Merge
for (CellMerge<?, ?> cellMerge : sheet.getMerges()) {
IntegerCellMerge integerCellMerge = (IntegerCellMerge) cellMerge;
int firstRow = integerCellMerge.getFirstRow().intValue();
int lastRow = integerCellMerge.getLastRow().intValue();
int firstColumn = integerCellMerge.getFirstColumn().intValue();
int lastColumn = integerCellMerge.getLastColumn().intValue();
CellRangeAddress address = new CellRangeAddress(firstRow, lastRow, firstColumn, lastColumn);
s.addMergedRegion(address);
}
// Images