poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58350] New: Make (S)XSSFSheet behavior the same as HSSFSheet when calling getMergedRegions
Date Thu, 10 Sep 2015 02:32:42 GMT

            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: dev@poi.apache.org
          Reporter: javenoneal@gmail.com

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

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