Summary: | Shifting rows does not shift the Zero Height flag | ||
---|---|---|---|
Product: | POI | Reporter: | Didier Loiseau <didierloiseau+apache> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | NEW --- | ||
Severity: | normal | CC: | dominik.stadler |
Priority: | P2 | ||
Version: | 3.9-FINAL | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 46742 | ||
Attachments: | JUnit test to demonstrate shifting of zero-height rows |
The same test succeeds with XSSF, I think the reason is that the zero-height state is not copied when the rows are moved, should be easy to fix if this is the case. Unfortunately there are more issues with shifting, I think the whole approach might be slightly broken. It tries to copy contents of rows from one row the the next one, somehow this can cause more invalid states, e.g. grouped rows and their collapes/expanded states are kept per row and are not handled correctly right now... |
Created attachment 29928 [details] JUnit test to demonstrate shifting of zero-height rows When using sheet.shiftRows, the Zero Height row flag remains on the old row positions. I'm attaching a JUnit test that demonstrates this.