https://bz.apache.org/bugzilla/show_bug.cgi?id=60880
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- OS| |All --- Comment #1 from [email protected] --- By the way, the following would in fact work - but makes only sense within the same Workbook! for(int p = 0; p < dstSheet.getWorkbook().getNumCellStyles(); p++){ if(dstSheet.getWorkbook().getCellStyleAt(p).equals(newStyle)) System.out.println("exists"); } Because applyAlignment="1" borderId="0" fillId="0" fontId="0" numFmtId="0" xfId="0" on workbook 1 and applyAlignment="1" borderId="0" fillId="0" fontId="0" numFmtId="0" xfId="0" on workbook 2 may be referencing different fills, fonts, ... (the same index does not mean it is really the same on both workbooks) -- 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]
