poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55076] New: collapsing column groups only hides the first column
Date Fri, 07 Jun 2013 15:22:57 GMT

            Bug ID: 55076
           Summary: collapsing column groups only hides the first column
           Product: POI
           Version: 3.9
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: fploessel@beyond-data.de

If you are using column groups and then call collapse(), only the first column
of the group is hidden, the others are still visible.

This happens in XSSF and SXSSF.

As far as I understand the POI code, the issue seems to be that the grouping of
columns adds an entry e. g. for a three column group
<col min="10" max=12" ... />
to the sheet columns.
Then we set column widths in our code, which splits this entry into three, each
for one column with identical min and max attributes. But the new ones are
inserted at the begin of the list, not sorted by column number.
And the collapse() code seems to search only forward in the list after having
found the first column wen it sets the hidden="1" attribute.

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

View raw message