Hi All, I have the following issue: I'm creating an excel and I'm trying to apply some style to cells. I have a row with the styles that I want to apply (a template), then I add some other row and apply the style to the cell: cell.setCellStyle(oldStyle); I don't see the style being applied to the cell.
But if I instead do a clone: CellStyle newCellStyle = wb.createCellStyle(); newCellStyle.cloneStyleFrom(oldCell.getCellStyle()); newCell.setCellStyle(newCellStyle); This works. The problem is that cloning is slow and I don't need to change the style... Is this normal ? Thanks -- View this message in context: http://apache-poi.1045710.n5.nabble.com/Loosing-the-Styles-with-SXSSFWorkbook-tp5712398.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@poi.apache.org For additional commands, e-mail: user-h...@poi.apache.org