You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2013/02/06 16:36:18 UTC

[Bug 54533] New: Shifting rows does not shift the Zero Height flag

https://issues.apache.org/bugzilla/show_bug.cgi?id=54533

            Bug ID: 54533
           Summary: Shifting rows does not shift the Zero Height flag
           Product: POI
           Version: 3.9
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
          Assignee: dev@poi.apache.org
          Reporter: didierloiseau+apache@gmail.com
    Classification: Unclassified

Created attachment 29928
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29928&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 54533] Shifting rows does not shift the Zero Height flag

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54533

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dominik.stadler@gmx.at

--- Comment #1 from Dominik Stadler <do...@gmx.at> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 54533] Shifting rows does not shift the Zero Height flag

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54533

--- Comment #2 from Dominik Stadler <do...@gmx.at> ---
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...

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org