registry-service: remove auto column size
This commit is contained in:
parent
e605897cc1
commit
460642c98c
1 changed files with 0 additions and 4 deletions
|
|
@ -157,10 +157,6 @@ public abstract class XLSXReportBuilder<R extends FileReport, I extends SpcexObj
|
|||
}
|
||||
} finally {
|
||||
if (workbook != null) {
|
||||
Iterator<Sheet> sheetIterator = workbook.sheetIterator();
|
||||
Sheet mainSheet = sheetIterator.next();
|
||||
short lastCellNum = mainSheet.getRow(0).getLastCellNum();
|
||||
for (short cellIdx = 0; cellIdx <= lastCellNum; cellIdx++) mainSheet.autoSizeColumn(cellIdx);
|
||||
workbook.write(new FileOutputStream(reportFile));
|
||||
workbook.close();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue