https://issues.apache.org/bugzilla/show_bug.cgi?id=49895
Summary: [PATCH]POI corrupts excel file after removing all
merged cells from sheet.
Product: POI
Version: 3.7-dev
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
AssignedTo: [email protected]
ReportedBy: [email protected]
Create new XSSFSheet and some merged regions. Remove all merged regions and
save workbook. When you try to open workbook with MS Excell it will propose you
repair you excel file.
Excell does not allows empty section "mergeCells" for sheet(see sheet2.xml in
attached example).
Solution: Use unsetMergeCells() of CTWorksheet after removing the last merged
region on the sheet.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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]