]> source.dussan.org Git - poi.git/log
poi.git
5 years agorelease prepare for 4.0.1 - updating build.xml and changes.xml
Andreas Beeker [Mon, 26 Nov 2018 21:26:55 +0000 (21:26 +0000)]
release prepare for 4.0.1 - updating build.xml and changes.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847494 13f79535-47bb-0310-9956-ffa450edef68

5 years agoexclude sha256 for nexus upload
Andreas Beeker [Mon, 26 Nov 2018 21:24:46 +0000 (21:24 +0000)]
exclude sha256 for nexus upload

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847493 13f79535-47bb-0310-9956-ffa450edef68

5 years agoFix exception for old powerpoint documents without the usual stream name
Andreas Beeker [Mon, 26 Nov 2018 20:54:43 +0000 (20:54 +0000)]
Fix exception for old powerpoint documents without the usual stream name

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847487 13f79535-47bb-0310-9956-ffa450edef68

5 years agoFix TestFileMagic
Dominik Stadler [Mon, 26 Nov 2018 06:28:17 +0000 (06:28 +0000)]
Fix TestFileMagic

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847454 13f79535-47bb-0310-9956-ffa450edef68

5 years agoFix exception for old powerpoint documents without the usual stream name
Andreas Beeker [Sun, 25 Nov 2018 23:01:54 +0000 (23:01 +0000)]
Fix exception for old powerpoint documents without the usual stream name

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847442 13f79535-47bb-0310-9956-ffa450edef68

5 years ago#60713 - (S)XSSFWorkbook/POIXMLDocument.write(OutputStream) closes the OutputStream
Andreas Beeker [Sun, 25 Nov 2018 22:05:02 +0000 (22:05 +0000)]
#60713 - (S)XSSFWorkbook/POIXMLDocument.write(OutputStream) closes the OutputStream

regression

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847438 13f79535-47bb-0310-9956-ffa450edef68

5 years agoAdd test for FileMagic
Dominik Stadler [Sun, 25 Nov 2018 21:56:43 +0000 (21:56 +0000)]
Add test for FileMagic
JavaDoc warning fixes
Remove some IDE warnings
Reformat code of sample application

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847437 13f79535-47bb-0310-9956-ffa450edef68

5 years agoExclude ooxml-testlib from src-zip/tar.gz
Dominik Stadler [Sun, 25 Nov 2018 21:56:26 +0000 (21:56 +0000)]
Exclude ooxml-testlib from src-zip/tar.gz

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847436 13f79535-47bb-0310-9956-ffa450edef68

5 years ago#62951 - FileMagic not correctly identified
Andreas Beeker [Sun, 25 Nov 2018 20:50:13 +0000 (20:50 +0000)]
#62951 - FileMagic not correctly identified

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847429 13f79535-47bb-0310-9956-ffa450edef68

5 years ago#62949 - SlideShow rendering - keyframe fractions must be increasing
Andreas Beeker [Sun, 25 Nov 2018 19:25:35 +0000 (19:25 +0000)]
#62949 - SlideShow rendering - keyframe fractions must be increasing

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847428 13f79535-47bb-0310-9956-ffa450edef68

5 years agofixed escaping of sheet names. Thanks to gallonfizik. This closes #134
PJ Fanning [Sun, 25 Nov 2018 16:13:17 +0000 (16:13 +0000)]
fixed escaping of sheet names. Thanks to gallonfizik. This closes #134

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847418 13f79535-47bb-0310-9956-ffa450edef68

6 years agobug 60316 -- skip the glossary document, not the template document.
Tim Allison [Fri, 23 Nov 2018 13:32:22 +0000 (13:32 +0000)]
bug 60316 -- skip the glossary document, not the template document.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847263 13f79535-47bb-0310-9956-ffa450edef68

6 years agoadd missing classes to poi-ooxml-schemas
PJ Fanning [Wed, 21 Nov 2018 09:10:19 +0000 (09:10 +0000)]
add missing classes to poi-ooxml-schemas

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847083 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRemove duplicated .jar extension when crafting the maven-jar name
Andreas Beeker [Tue, 20 Nov 2018 22:11:58 +0000 (22:11 +0000)]
Remove duplicated .jar extension when crafting the maven-jar name

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847068 13f79535-47bb-0310-9956-ffa450edef68

6 years agotidy up code formatting
PJ Fanning [Tue, 20 Nov 2018 14:31:49 +0000 (14:31 +0000)]
tidy up code formatting

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847012 13f79535-47bb-0310-9956-ffa450edef68

6 years ago[bug-62929] add null check for blip fill. Thanks to Mate Borcsok
PJ Fanning [Tue, 20 Nov 2018 14:15:14 +0000 (14:15 +0000)]
[bug-62929] add null check for blip fill. Thanks to Mate Borcsok

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847004 13f79535-47bb-0310-9956-ffa450edef68

6 years agoprepare for 4.0.2
Andreas Beeker [Mon, 19 Nov 2018 21:25:14 +0000 (21:25 +0000)]
prepare for 4.0.2

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846951 13f79535-47bb-0310-9956-ffa450edef68

6 years agorelease prepare for 4.0.1 - updating build.xml and changes.xml
Andreas Beeker [Mon, 19 Nov 2018 21:24:24 +0000 (21:24 +0000)]
release prepare for 4.0.1 - updating build.xml and changes.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846949 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRemove commented out System.out calls / Move DummyGraphics2d to testcase area, as...
Andreas Beeker [Mon, 19 Nov 2018 20:48:10 +0000 (20:48 +0000)]
Remove commented out System.out calls / Move DummyGraphics2d to testcase area, as it's not used by production code

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846946 13f79535-47bb-0310-9956-ffa450edef68

6 years agoTry to workaround/ignore kept open files of JaCoCo ant task
Andreas Beeker [Mon, 19 Nov 2018 20:47:03 +0000 (20:47 +0000)]
Try to workaround/ignore kept open files of JaCoCo ant task

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846945 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRemove/Minimize references to Scratchpad module from other modules
Andreas Beeker [Mon, 19 Nov 2018 18:00:42 +0000 (18:00 +0000)]
Remove/Minimize references to Scratchpad module from other modules

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846931 13f79535-47bb-0310-9956-ffa450edef68

6 years ago#62921 - Provide OOXMLLite alternative for Java 12+
Andreas Beeker [Sun, 18 Nov 2018 22:09:44 +0000 (22:09 +0000)]
#62921 - Provide OOXMLLite alternative for Java 12+

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846870 13f79535-47bb-0310-9956-ffa450edef68

6 years ago#62921 - Provide OOXMLLite alternative for Java 12+
Andreas Beeker [Sun, 18 Nov 2018 16:03:20 +0000 (16:03 +0000)]
#62921 - Provide OOXMLLite alternative for Java 12+

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846849 13f79535-47bb-0310-9956-ffa450edef68

6 years ago#62921 - Provide OOXMLLite alternative for Java 12+
Andreas Beeker [Sun, 18 Nov 2018 11:06:28 +0000 (11:06 +0000)]
#62921 - Provide OOXMLLite alternative for Java 12+

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846824 13f79535-47bb-0310-9956-ffa450edef68

6 years ago#62921 - Provide OOXMLLite alternative for Java 12+
Andreas Beeker [Sun, 18 Nov 2018 00:49:54 +0000 (00:49 +0000)]
#62921 - Provide OOXMLLite alternative for Java 12+

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846811 13f79535-47bb-0310-9956-ffa450edef68

6 years ago#62921 - Provide OOXMLLite alternative for Java 12+
Andreas Beeker [Sun, 18 Nov 2018 00:23:49 +0000 (00:23 +0000)]
#62921 - Provide OOXMLLite alternative for Java 12+

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846810 13f79535-47bb-0310-9956-ffa450edef68

6 years ago#62921 - Provide OOXMLLite alternative for Java 12+
Andreas Beeker [Sun, 18 Nov 2018 00:01:40 +0000 (00:01 +0000)]
#62921 - Provide OOXMLLite alternative for Java 12+

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846809 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMultiproject test including Windows slaves
Andreas Beeker [Fri, 16 Nov 2018 22:28:23 +0000 (22:28 +0000)]
Multiproject test including Windows slaves

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846773 13f79535-47bb-0310-9956-ffa450edef68

6 years agoexclude H35 because of strange file permission errors
Andreas Beeker [Fri, 16 Nov 2018 18:49:26 +0000 (18:49 +0000)]
exclude H35 because of strange file permission errors

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846746 13f79535-47bb-0310-9956-ffa450edef68

6 years agoexclude H35 because of strange file permission errors
Andreas Beeker [Fri, 16 Nov 2018 18:41:46 +0000 (18:41 +0000)]
exclude H35 because of strange file permission errors

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846744 13f79535-47bb-0310-9956-ffa450edef68

6 years agoTry to fix ImageIO cache error
Andreas Beeker [Fri, 16 Nov 2018 15:39:51 +0000 (15:39 +0000)]
Try to fix ImageIO cache error

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846723 13f79535-47bb-0310-9956-ffa450edef68

6 years agoOne more try to avoid the test-failures related to ImageIO-cache dir
Dominik Stadler [Fri, 16 Nov 2018 15:08:59 +0000 (15:08 +0000)]
One more try to avoid the test-failures related to ImageIO-cache dir

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846719 13f79535-47bb-0310-9956-ffa450edef68

6 years agoTry to create the temporary directory for ImageIO to see if that makes
Dominik Stadler [Fri, 16 Nov 2018 11:25:59 +0000 (11:25 +0000)]
Try to create the temporary directory for ImageIO to see if that makes
the tests work again when built with Maven

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846706 13f79535-47bb-0310-9956-ffa450edef68

6 years agoput back XSSFColor(java.awt.Color clr) constructor
PJ Fanning [Fri, 16 Nov 2018 07:57:49 +0000 (07:57 +0000)]
put back XSSFColor(java.awt.Color clr) constructor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846701 13f79535-47bb-0310-9956-ffa450edef68

6 years agoremove duplicate attempt to add column headers
PJ Fanning [Tue, 13 Nov 2018 21:34:03 +0000 (21:34 +0000)]
remove duplicate attempt to add column headers

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846549 13f79535-47bb-0310-9956-ffa450edef68

6 years agoremove unused import
PJ Fanning [Tue, 13 Nov 2018 21:30:49 +0000 (21:30 +0000)]
remove unused import

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846548 13f79535-47bb-0310-9956-ffa450edef68

6 years ago[bug-62908] populate NamedColors
PJ Fanning [Tue, 13 Nov 2018 16:08:11 +0000 (16:08 +0000)]
[bug-62908] populate NamedColors

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846520 13f79535-47bb-0310-9956-ffa450edef68

6 years agofix typo
PJ Fanning [Tue, 13 Nov 2018 09:19:05 +0000 (09:19 +0000)]
fix typo

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846497 13f79535-47bb-0310-9956-ffa450edef68

6 years agoadd testcase for https://bz.apache.org/bugzilla/show_bug.cgi?id=62906
PJ Fanning [Tue, 13 Nov 2018 08:37:11 +0000 (08:37 +0000)]
add testcase for https://bz.apache.org/bugzilla/show_bug.cgi?id=62906

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846492 13f79535-47bb-0310-9956-ffa450edef68

6 years agoadd testcase for https://bz.apache.org/bugzilla/show_bug.cgi?id=62906
PJ Fanning [Tue, 13 Nov 2018 08:20:47 +0000 (08:20 +0000)]
add testcase for https://bz.apache.org/bugzilla/show_bug.cgi?id=62906

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846489 13f79535-47bb-0310-9956-ffa450edef68

6 years agoBug 62872 - Writing large files with 800k rows gives java.io.IOException: This archiv...
Andreas Beeker [Fri, 2 Nov 2018 22:59:58 +0000 (22:59 +0000)]
Bug 62872 - Writing large files with 800k rows gives java.io.IOException: This archive contains unclosed entries.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845629 13f79535-47bb-0310-9956-ffa450edef68

6 years agoBug 62836: Implementation of Excel TREND function
Yegor Kozlov [Fri, 2 Nov 2018 13:34:28 +0000 (13:34 +0000)]
Bug 62836: Implementation of Excel TREND function

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845586 13f79535-47bb-0310-9956-ffa450edef68

6 years agobug 60316 -- until we can implement it properly, gracefully skip the glossary documen...
Tim Allison [Thu, 1 Nov 2018 21:14:03 +0000 (21:14 +0000)]
bug 60316 -- until we can implement it properly, gracefully skip the glossary document in XWPF.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845517 13f79535-47bb-0310-9956-ffa450edef68

6 years agobug 62624 -- further cleanup
Tim Allison [Thu, 1 Nov 2018 20:31:42 +0000 (20:31 +0000)]
bug 62624 -- further cleanup

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845511 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRemove JavaDoc warnings
Dominik Stadler [Thu, 1 Nov 2018 10:30:16 +0000 (10:30 +0000)]
Remove JavaDoc warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845435 13f79535-47bb-0310-9956-ffa450edef68

6 years agoIDE warnings, tried to reproduce Bug 58927, but could not
Dominik Stadler [Thu, 1 Nov 2018 10:29:54 +0000 (10:29 +0000)]
IDE warnings, tried to reproduce Bug 58927, but could not

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845434 13f79535-47bb-0310-9956-ffa450edef68

6 years agoAllow the forrest task to be called from the site sub-project
Nick Burch [Wed, 31 Oct 2018 16:26:52 +0000 (16:26 +0000)]
Allow the forrest task to be called from the site sub-project

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845343 13f79535-47bb-0310-9956-ffa450edef68

6 years agobug 62624 -- ensure streams are closed...thanks to LGTM, and PJ!
Tim Allison [Wed, 31 Oct 2018 00:59:16 +0000 (00:59 +0000)]
bug 62624 -- ensure streams are closed...thanks to LGTM, and PJ!

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845300 13f79535-47bb-0310-9956-ffa450edef68

6 years agobug 62624 -- fix loop identified as dodgy by FindBugs; add a other sanity checks.
Tim Allison [Wed, 31 Oct 2018 00:47:51 +0000 (00:47 +0000)]
bug 62624 -- fix loop identified as dodgy by FindBugs; add a other sanity checks.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845299 13f79535-47bb-0310-9956-ffa450edef68

6 years agobug 62624 -- fix recursion
Tim Allison [Tue, 30 Oct 2018 21:30:57 +0000 (21:30 +0000)]
bug 62624 -- fix recursion

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845284 13f79535-47bb-0310-9956-ffa450edef68

6 years agoList additional dependencies from the Ant build file in Eclipse
Nick Burch [Tue, 30 Oct 2018 16:39:33 +0000 (16:39 +0000)]
List additional dependencies from the Ant build file in Eclipse

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845255 13f79535-47bb-0310-9956-ffa450edef68

6 years agobug 62625 -- clean up imports
Tim Allison [Tue, 30 Oct 2018 15:45:00 +0000 (15:45 +0000)]
bug 62625 -- clean up imports

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845246 13f79535-47bb-0310-9956-ffa450edef68

6 years agobug 62625 -- add special handling for REFERENCE_NAME record that may only
Tim Allison [Tue, 30 Oct 2018 13:25:20 +0000 (13:25 +0000)]
bug 62625 -- add special handling for REFERENCE_NAME record that may only
contain an ascii string, against the spec in VBAMacroReader

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845238 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMore javadoc updates
Nick Burch [Tue, 30 Oct 2018 11:55:11 +0000 (11:55 +0000)]
More javadoc updates

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845227 13f79535-47bb-0310-9956-ffa450edef68

6 years agoUpdate for latest/dev javadocs at /apidocs/dev/
Nick Burch [Tue, 30 Oct 2018 11:00:35 +0000 (11:00 +0000)]
Update for latest/dev javadocs at /apidocs/dev/

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845222 13f79535-47bb-0310-9956-ffa450edef68

6 years agobug 62624 -- fix npe by adding processing of module name mapping in VBAMacroReader
Tim Allison [Mon, 29 Oct 2018 15:48:44 +0000 (15:48 +0000)]
bug 62624 -- fix npe by adding processing of module name mapping in VBAMacroReader

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845138 13f79535-47bb-0310-9956-ffa450edef68

6 years agoupdate xmlbeans to 3.0.2
PJ Fanning [Sat, 27 Oct 2018 11:52:26 +0000 (11:52 +0000)]
update xmlbeans to 3.0.2

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844955 13f79535-47bb-0310-9956-ffa450edef68

6 years agobug 62859 -- fix two potential NPEs when initializing XWPFSDTContent
Tim Allison [Fri, 26 Oct 2018 19:06:18 +0000 (19:06 +0000)]
bug 62859 -- fix two potential NPEs when initializing XWPFSDTContent

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844920 13f79535-47bb-0310-9956-ffa450edef68

6 years agoIDE warnings, slightly more tests and fix test to not leave a modified file behind
Dominik Stadler [Fri, 26 Oct 2018 10:58:37 +0000 (10:58 +0000)]
IDE warnings, slightly more tests and fix test to not leave a modified file behind

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844894 13f79535-47bb-0310-9956-ffa450edef68

6 years agoAdjust sample for creating comments to also create a .xlsx file
Dominik Stadler [Fri, 26 Oct 2018 09:32:57 +0000 (09:32 +0000)]
Adjust sample for creating comments to also create a .xlsx file
Enhance workbook factory to allow to create new empty workbooks as well

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844881 13f79535-47bb-0310-9956-ffa450edef68

6 years agoTypos and IDE warnings
Dominik Stadler [Fri, 26 Oct 2018 09:32:43 +0000 (09:32 +0000)]
Typos and IDE warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844879 13f79535-47bb-0310-9956-ffa450edef68

6 years agoSet NOSONAR, adjust test slightly and reformat code
Dominik Stadler [Fri, 26 Oct 2018 09:32:30 +0000 (09:32 +0000)]
Set NOSONAR, adjust test slightly and reformat code

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844878 13f79535-47bb-0310-9956-ffa450edef68

6 years agoIgnore directory ooxml-testlib
Dominik Stadler [Fri, 26 Oct 2018 09:32:24 +0000 (09:32 +0000)]
Ignore directory ooxml-testlib

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844877 13f79535-47bb-0310-9956-ffa450edef68

6 years agoSet NOSONAR and reformat code
Dominik Stadler [Fri, 26 Oct 2018 09:32:19 +0000 (09:32 +0000)]
Set NOSONAR and reformat code

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844876 13f79535-47bb-0310-9956-ffa450edef68

6 years agoJenkins DSL: Adjust the view-description, but it is still commented out
Dominik Stadler [Fri, 26 Oct 2018 09:32:13 +0000 (09:32 +0000)]
Jenkins DSL: Adjust the view-description, but it is still commented out

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844875 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRemove the workaround for a bug in JDK 11 which was fixed in ea+28
Dominik Stadler [Fri, 26 Oct 2018 09:32:01 +0000 (09:32 +0000)]
Remove the workaround for a bug in JDK 11 which was fixed in ea+28

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844874 13f79535-47bb-0310-9956-ffa450edef68

6 years agofix class cast issur recently introduced in BaseXSSFFormulaEvaluator
PJ Fanning [Fri, 19 Oct 2018 07:43:04 +0000 (07:43 +0000)]
fix class cast issur recently introduced in BaseXSSFFormulaEvaluator

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844311 13f79535-47bb-0310-9956-ffa450edef68

6 years ago#62834 FormulaEvaluator.evaluateInCell() throws Exception
Greg Woolsey [Fri, 19 Oct 2018 01:11:47 +0000 (01:11 +0000)]
#62834 FormulaEvaluator.evaluateInCell() throws Exception

added cell type = formula check when looping through the shared formula range, to ignore any non-formula cells.

Also refactored a bit to enable passing in the evaluation context, as getCellFormula() uses it behind the scenes when evaluating a shared formula cell (has to shift the formula references based on the master cell).  Review of these changes is welcome, as always.

Checked all other code referencing the "SHARED" enum, and didn't see anything else that dealt with formula cell values and thus would need to notice non-formula cells.

Added unit test based on the failing file from Bugzilla.  Test failed until the fixed code was in place.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844295 13f79535-47bb-0310-9956-ffa450edef68

6 years agoBug 62373: Support for FREQUENCY function
Yegor Kozlov [Thu, 18 Oct 2018 13:46:04 +0000 (13:46 +0000)]
Bug 62373: Support for FREQUENCY function

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844238 13f79535-47bb-0310-9956-ffa450edef68

6 years ago#62831 Fix WorkbookFactory.create with a subclass of File, eg from JFileChooser
Nick Burch [Wed, 17 Oct 2018 14:24:59 +0000 (14:24 +0000)]
#62831 Fix WorkbookFactory.create with a subclass of File, eg from JFileChooser

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844116 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFailing unit test for bug #62831
Nick Burch [Wed, 17 Oct 2018 14:20:02 +0000 (14:20 +0000)]
Failing unit test for bug #62831

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844115 13f79535-47bb-0310-9956-ffa450edef68

6 years agofix more LGTM alerts, in tests
Alain Béarez [Thu, 11 Oct 2018 14:50:27 +0000 (14:50 +0000)]
fix more LGTM alerts, in tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843557 13f79535-47bb-0310-9956-ffa450edef68

6 years ago62815 -- some numeric values not correctly extracted from xlsb
Tim Allison [Thu, 11 Oct 2018 14:14:07 +0000 (14:14 +0000)]
62815 -- some numeric values not correctly extracted from xlsb

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843553 13f79535-47bb-0310-9956-ffa450edef68

6 years agofix most alerts reported by LGTM on OOXML
Alain Béarez [Wed, 10 Oct 2018 17:49:53 +0000 (17:49 +0000)]
fix most alerts reported by LGTM on OOXML

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843481 13f79535-47bb-0310-9956-ffa450edef68

6 years agoadd ignored resources
Andreas Beeker [Tue, 9 Oct 2018 22:18:55 +0000 (22:18 +0000)]
add ignored resources

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843354 13f79535-47bb-0310-9956-ffa450edef68

6 years ago[bug-62807] fix typo in XSLFTableCell#removeBorder
PJ Fanning [Mon, 8 Oct 2018 18:38:19 +0000 (18:38 +0000)]
[bug-62807] fix typo in XSLFTableCell#removeBorder

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843180 13f79535-47bb-0310-9956-ffa450edef68

6 years agoadd stax entries to forbidden apis due to android issues
PJ Fanning [Sat, 6 Oct 2018 09:38:58 +0000 (09:38 +0000)]
add stax entries to forbidden apis due to android issues

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843009 13f79535-47bb-0310-9956-ffa450edef68

6 years agosmall adjustments to byte sizes in TestPackage zip-bomb tests to try fix test that...
PJ Fanning [Fri, 5 Oct 2018 20:17:39 +0000 (20:17 +0000)]
small adjustments to byte sizes in TestPackage zip-bomb tests to try fix test that fails on old-xerces harness

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842980 13f79535-47bb-0310-9956-ffa450edef68

6 years agouse jaxp transformer instead of dom serializer to try fix old-xerces test failure
PJ Fanning [Fri, 5 Oct 2018 20:09:45 +0000 (20:09 +0000)]
use jaxp transformer instead of dom serializer to try fix old-xerces test failure

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842979 13f79535-47bb-0310-9956-ffa450edef68

6 years agouse jaxp transformer instead of dom serializer to try fix old-xerces test failure
PJ Fanning [Fri, 5 Oct 2018 19:52:24 +0000 (19:52 +0000)]
use jaxp transformer instead of dom serializer to try fix old-xerces test failure

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842974 13f79535-47bb-0310-9956-ffa450edef68

6 years agoadding tricks from other answers on StackOverflow
Alain Béarez [Fri, 5 Oct 2018 18:07:55 +0000 (18:07 +0000)]
adding tricks from other answers on StackOverflow

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842959 13f79535-47bb-0310-9956-ffa450edef68

6 years agoexample from StackOverflow question 47065690
Alain Béarez [Fri, 5 Oct 2018 14:36:18 +0000 (14:36 +0000)]
example from StackOverflow question 47065690

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842925 13f79535-47bb-0310-9956-ffa450edef68

6 years agomore XDDF improvements based on SO examples
Alain Béarez [Fri, 5 Oct 2018 09:59:32 +0000 (09:59 +0000)]
more XDDF improvements based on SO examples

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842876 13f79535-47bb-0310-9956-ffa450edef68

6 years ago[bug-62800] Fix null pointer exception if a picture shape has no blip id
PJ Fanning [Thu, 4 Oct 2018 07:47:27 +0000 (07:47 +0000)]
[bug-62800] Fix null pointer exception if a picture shape has no blip id

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842782 13f79535-47bb-0310-9956-ffa450edef68

6 years agoXDDF improvements based on StackOverflow examples
Alain Béarez [Wed, 3 Oct 2018 14:32:34 +0000 (14:32 +0000)]
XDDF improvements based on StackOverflow examples

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842728 13f79535-47bb-0310-9956-ffa450edef68

6 years agofix lgtm alerts in examples
Alain Béarez [Wed, 3 Oct 2018 11:51:41 +0000 (11:51 +0000)]
fix lgtm alerts in examples

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842707 13f79535-47bb-0310-9956-ffa450edef68

6 years agochange chart data to experiment diverse scripts
Alain Béarez [Wed, 3 Oct 2018 08:20:50 +0000 (08:20 +0000)]
change chart data to experiment diverse scripts

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842687 13f79535-47bb-0310-9956-ffa450edef68

6 years agodeprecate unused Nullable class
PJ Fanning [Wed, 3 Oct 2018 07:42:33 +0000 (07:42 +0000)]
deprecate unused Nullable class

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842684 13f79535-47bb-0310-9956-ffa450edef68

6 years agochange method to get XMLEventFactory due to issues seen on Android SDK
PJ Fanning [Wed, 3 Oct 2018 07:36:12 +0000 (07:36 +0000)]
change method to get XMLEventFactory due to issues seen on Android SDK

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842683 13f79535-47bb-0310-9956-ffa450edef68

6 years agodisable junit xml collection
PJ Fanning [Tue, 2 Oct 2018 22:47:57 +0000 (22:47 +0000)]
disable junit xml collection

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842668 13f79535-47bb-0310-9956-ffa450edef68

6 years agoget xmlbeans job to build dist artifacts
PJ Fanning [Tue, 2 Oct 2018 22:43:09 +0000 (22:43 +0000)]
get xmlbeans job to build dist artifacts

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842667 13f79535-47bb-0310-9956-ffa450edef68

6 years agoget xmlbeans job to build dist artifacts
PJ Fanning [Tue, 2 Oct 2018 22:36:25 +0000 (22:36 +0000)]
get xmlbeans job to build dist artifacts

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842666 13f79535-47bb-0310-9956-ffa450edef68

6 years agorename xmlbeans job
PJ Fanning [Tue, 2 Oct 2018 22:24:09 +0000 (22:24 +0000)]
rename xmlbeans job

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842663 13f79535-47bb-0310-9956-ffa450edef68

6 years ago[bug-62796] remove use of Stax Namespace class from PackagePropertiesMarshaller
PJ Fanning [Tue, 2 Oct 2018 19:16:00 +0000 (19:16 +0000)]
[bug-62796] remove use of Stax Namespace class from PackagePropertiesMarshaller

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842647 13f79535-47bb-0310-9956-ffa450edef68

6 years agotry to fix xmlbeans jenkins job
PJ Fanning [Tue, 2 Oct 2018 14:55:09 +0000 (14:55 +0000)]
try to fix xmlbeans jenkins job

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842629 13f79535-47bb-0310-9956-ffa450edef68

6 years agotry to set up xmlbeans build
PJ Fanning [Tue, 2 Oct 2018 08:15:41 +0000 (08:15 +0000)]
try to set up xmlbeans build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842599 13f79535-47bb-0310-9956-ffa450edef68

6 years agoextract valuable code from 54470 submitted patch
Alain Béarez [Mon, 1 Oct 2018 19:27:32 +0000 (19:27 +0000)]
extract valuable code from 54470 submitted patch

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842548 13f79535-47bb-0310-9956-ffa450edef68

6 years agouse StaxHelper to get event factory
PJ Fanning [Sun, 30 Sep 2018 18:14:46 +0000 (18:14 +0000)]
use StaxHelper to get event factory

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842402 13f79535-47bb-0310-9956-ffa450edef68

6 years agolgtm issues
PJ Fanning [Sat, 29 Sep 2018 09:33:52 +0000 (09:33 +0000)]
lgtm issues

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842302 13f79535-47bb-0310-9956-ffa450edef68

6 years agoJenkins DSL: Remove JDK 9 and adjust location of image for the project-logo
Dominik Stadler [Fri, 28 Sep 2018 17:43:07 +0000 (17:43 +0000)]
Jenkins DSL: Remove JDK 9 and adjust location of image for the project-logo

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842275 13f79535-47bb-0310-9956-ffa450edef68