]> source.dussan.org Git - poi.git/commit
Add Sheet.getMergedRegions to obtain them all as a list. Implement this for XSSF...
authorDavid North <dnorth@apache.org>
Mon, 13 Jul 2015 13:00:35 +0000 (13:00 +0000)
committerDavid North <dnorth@apache.org>
Mon, 13 Jul 2015 13:00:35 +0000 (13:00 +0000)
commit3e36081b87e575ab87effb226293affc58a3ad8e
tree5246e4dddefc16c78578b4c618bf82ccac1c2ad5
parentbae4602fa69a72c8d3e3ee4ecf354cf9a72f7e91
Add Sheet.getMergedRegions to obtain them all as a list. Implement this for XSSF using "deprecated" methods in XMLBeans which allow the operation to be linear in the number of regions rather than n-squared.

Fixes #57893

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690661 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java
src/java/org/apache/poi/ss/usermodel/Sheet.java
src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java
src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheetMergeRegions.java [new file with mode: 0644]
test-data/spreadsheet/57893-many-merges.xlsx [new file with mode: 0644]