|Summary:||Inner group not created if ends in same row as the outer group|
|Component:||HSSF||Assignee:||POI Developers List <dev>|
Description Shinobi 2008-01-15 05:28:45 UTC
HSSFSheet.groupRow(..): Inner group is not created if the outer group end on the same row. Order of creating is irrelevant. e.g. sheet.groupRow(2, 10); //outer sheet.groupRow(4, 6); //first inner (created) sheet.groupRow(8, 10); //second inner (NOT CREATED) It seems there is a check, if the two groups ends with the same (possible begins too) the inner group is not created. Excel allows such a behaviour. The main line is above of the grouping, in my testcases.
Comment 1 Shinobi 2008-01-16 00:43:25 UTC
i had a look at the code, and found that the outline level is stored in the row. but excel can create groups ending on the same row, so multiple outline levels have to be stored. i think, the grouping information in excel is only stored in the sheet and not in the row