]> source.dussan.org Git - poi.git/commit
Introduce name-based methods for access to named ranges in a workbook, and deprecate...
authorDavid North <dnorth@apache.org>
Fri, 29 Jul 2016 13:24:00 +0000 (13:24 +0000)
committerDavid North <dnorth@apache.org>
Fri, 29 Jul 2016 13:24:00 +0000 (13:24 +0000)
commitaa17ae0b1ee3f4e95ee6ea2e8d00da9c4c43634b
treeec7e6fa53b80327f93d63025de8b34d6add3d8ff
parent07b249db81b5a71752eb232435c116d64db3f4ea
Introduce name-based methods for access to named ranges in a workbook, and deprecate the old index-based methods.

Re-organise internally to use a map so that lookup is O(1) rather than O(n ranges).

Add a dependency on commons collections 4, also ASL licensed so no problem.

https://bz.apache.org/bugzilla/show_bug.cgi?id=59734

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754521 13f79535-47bb-0310-9956-ffa450edef68
16 files changed:
.classpath
build.xml
maven/poi-ooxml.pom
src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java
src/java/org/apache/poi/ss/usermodel/Workbook.java
src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java
src/ooxml/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java
src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFName.java
src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java
src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFFormulaUtils.java
src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFRowShifter.java
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFName.java
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java
src/testcases/org/apache/poi/ss/usermodel/BaseTestNamedRange.java
src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetShiftRows.java