You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2015/09/10 04:32:42 UTC

[Bug 58350] New: Make (S)XSSFSheet behavior the same as HSSFSheet when calling getMergedRegions

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: 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
null.

-- 
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


[Bug 58350] [PATCH] Make (S)XSSFSheet behavior the same as HSSFSheet when calling getMergedRegions

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58350

Javen ONeal <ja...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |58443

-- 
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


[Bug 58350] [PATCH] Make (S)XSSFSheet behavior the same as HSSFSheet when calling getMergedRegions

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58350

Javen ONeal <ja...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable
            Summary|Make (S)XSSFSheet behavior  |[PATCH] Make (S)XSSFSheet
                   |the same as HSSFSheet when  |behavior the same as
                   |calling getMergedRegions    |HSSFSheet when calling
                   |                            |getMergedRegions

-- 
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


[Bug 58350] [PATCH] Make (S)XSSFSheet behavior the same as HSSFSheet when calling getMergedRegions

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58350

David North <dt...@corefiling.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from David North <dt...@corefiling.co.uk> ---
Fixed on trunk in r1704839, thanks for the patch.

-- 
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


[Bug 58350] [PATCH] Make (S)XSSFSheet behavior the same as HSSFSheet when calling getMergedRegions

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58350

Javen ONeal <ja...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |57893

-- 
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


[Bug 58350] [PATCH] Make (S)XSSFSheet behavior the same as HSSFSheet when calling getMergedRegions

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58350

Javen ONeal <ja...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.13-dev                    |unspecified

--- Comment #2 from Javen ONeal <ja...@gmail.com> ---
This change was committed after 3.13-FINAL. This change will be included in
3.14-dev.

-- 
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


[Bug 58350] [PATCH] Make (S)XSSFSheet behavior the same as HSSFSheet when calling getMergedRegions

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58350

Javen ONeal <ja...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |58348

-- 
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


[Bug 58350] [PATCH] Make (S)XSSFSheet behavior the same as HSSFSheet when calling getMergedRegions

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58350

Javen ONeal <ja...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |58485

-- 
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