https://issues.apache.org/bugzilla/show_bug.cgi?id=55800
--- Comment #4 from Tien Duong <[email protected]> --- My test was: - Create brand new One.xlsx file. Do formatting for cell A1 as follow: cellStyle.setFillForegroundColor(IndexedColors.YELLOW.getIndex()); cellStyle.setFillPattern(CellStyle.SOLID_FOREGROUND); myCell.setCellStyle(cellStyle); - Save file. Close. - Create brand new Two.xlsx file. Clone cellstyle from One.xlxs : Cell oldCell = oneWorkbook.getSheetAt(0).getRow(0).getCell(0); cellStyle2.cloneStyleFrom(oldCell.getCellStyle()); newCell.setCellStyle(cellStyle2); - Save file. Close. ===> Error happened for Two.xlxs (Unreadable content.) -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
