https://bz.apache.org/bugzilla/show_bug.cgi?id=58350
Bug ID: 58350
Summary: Make (S)XSSFSheet behavior the same as HSSFSheet when
calling getMergedRegions
Product: POI
Version: 3.13-dev
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
Created attachment 33086
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33086&action=edit
XSSFSheet.getMergedRegions return empty list
>From bug 57893 comment 7:
r1690661 makes the behavior of XSSFSheet and SXSSFSheet inconsistent with
HSSFSheet if the worksheet does not have a merged regions container, raising an
IllegalStateException if the sheet is missing a merged regions container.
The attached patch makes XSSFSheet/SXSSFSheet behave the same as HSSFSheet by
returning an empty list when getMergedRegions is called. This is consistent
with XSSFSheet.getNumMergedRegions -> returns 0 if worksheet.getMergeCells() is
null.
--
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]