Workbook workbook = new Workbook();
Worksheet worksheet = workbook.getWorksheets().get(0);
Cells cells = worksheet.getCells();
cells.setColumnWidthPixel(0, 170);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
…...affecting the width of the “0” character that Excel uses for its column‑width...metrics – the width of the “0” character in the workbook’s default...