Summary: | XSSFCellStyle.cloneStyleFrom not replicating all the style attributes | ||
---|---|---|---|
Product: | POI | Reporter: | David Agnew <prescindor> |
Component: | XSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 3.5-dev | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Mac OS X 10.4 |
Description
David Agnew
2009-07-25 21:34:45 UTC
If there are two workbooks then XSSFCellStyle.cloneStyleFrom has problem with keys (of fonts...), which are copied from one workbook to other and thus even if there the font has id 5 in source workbook it is copied with this id to targetworkbook where is only one font =(max id is 0). Just try to run your test public void testCloneStyleDiffWB() { ..} for XSSF |