https://bz.apache.org/bugzilla/show_bug.cgi?id=59932

--- Comment #1 from Javen O'Neal <[email protected]> ---
After executing the following code:
Workbook wb = WorkbookFactory.create(new File("59932.xlsx"));
Sheet sheet = wb.getSheetAt(0);
sheet.groupColumn(0, 2);
sheet.groupColumn(4, 6);
wb.write(new FileOutputStream("59932 after.xlsx"));
wb.close();

This is what POI writes:
>  <cols>
>    <col min="1" max="3" customWidth="true" style="1" width="13.42578125" 
> collapsed="false" outlineLevel="1"/>
>    <col min="4" max="4" customWidth="true" style="1" width="13.42578125" 
> collapsed="true"/>
>    <col min="5" max="5" customWidth="true" style="1" width="13.42578125" 
> collapsed="false" outlineLevel="1"/>
>    <col min="6" max="6" customWidth="true" style="1" width="31.7109375" 
> collapsed="false" outlineLevel="1"/>
>    <col min="6" max="7" collapsed="false" outlineLevel="1"/>
>    <col min="7" max="7" customWidth="true" style="1" width="13.42578125" 
> collapsed="false"/>
>  </cols>

Should be:
>  <cols>
>    <col min="1" max="3" width="13.42578125" style="1" customWidth="1" 
> outlineLevel="1"/>
>    <col min="4" max="4" width="13.42578125" style="1" customWidth="1"/>
>    <col min="5" max="5" width="13.42578125" style="1" customWidth="1" 
> outlineLevel="1"/>
>    <col min="6" max="6" width="31.7109375" style="1" customWidth="1" 
> outlineLevel="1"/>
>    <col min="7" max="7" width="13.42578125" style="1" customWidth="1" 
> outlineLevel="1"/>
>  </cols>

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to