]> source.dussan.org Git - poi.git/log
poi.git
4 years agoPrint out currently set Apache POI version during build.
Dominik Stadler [Mon, 27 Jan 2020 22:54:21 +0000 (22:54 +0000)]
Print out currently set Apache POI version during build.

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

4 years agoHandle empty files correctly when looking for FileMagic to avoid NegativeArraySizeExc...
Dominik Stadler [Mon, 27 Jan 2020 22:54:15 +0000 (22:54 +0000)]
Handle empty files correctly when looking for FileMagic to avoid NegativeArraySizeException

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

4 years agoFix some IDE warnings, Sonar fixes and some missing closing of resources in unit...
Dominik Stadler [Mon, 27 Jan 2020 22:54:03 +0000 (22:54 +0000)]
Fix some IDE warnings, Sonar fixes and some missing closing of resources in unit-tests

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

4 years agofix NPE in test code
PJ Fanning [Mon, 27 Jan 2020 18:29:43 +0000 (18:29 +0000)]
fix NPE in test code

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

4 years ago#64036 - Replace reflection calls in factories for Java 9+ - POIXMLDocument factories
Andreas Beeker [Mon, 27 Jan 2020 00:31:01 +0000 (00:31 +0000)]
#64036 - Replace reflection calls in factories for Java 9+ - POIXMLDocument factories

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

4 years ago[bug-64098] XWPFRun: Whitespace in text not preserved if starting with tab character...
PJ Fanning [Sun, 26 Jan 2020 20:44:02 +0000 (20:44 +0000)]
[bug-64098] XWPFRun: Whitespace in text not preserved if starting with tab character. Thanks to gjmathews

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

4 years ago#64036 - Replace reflection calls in factories for Java 9+ - Escher factories
Andreas Beeker [Sun, 26 Jan 2020 19:50:40 +0000 (19:50 +0000)]
#64036 - Replace reflection calls in factories for Java 9+ - Escher factories

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

4 years agosonar fixes
Andreas Beeker [Thu, 23 Jan 2020 22:48:19 +0000 (22:48 +0000)]
sonar fixes

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

4 years agoDeactivate Forbidden apis check again
Andreas Beeker [Wed, 22 Jan 2020 21:43:14 +0000 (21:43 +0000)]
Deactivate Forbidden apis check again

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

4 years agoSonar fixes
Andreas Beeker [Tue, 21 Jan 2020 22:02:10 +0000 (22:02 +0000)]
Sonar fixes

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

4 years agotry to fix winmail errors in maven / sonar builds
Andreas Beeker [Tue, 21 Jan 2020 00:06:32 +0000 (00:06 +0000)]
try to fix winmail errors in maven / sonar builds

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

4 years ago#64088 - SlideShow rendering fixes
Andreas Beeker [Sun, 19 Jan 2020 20:44:36 +0000 (20:44 +0000)]
#64088 - SlideShow rendering fixes

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

4 years agoAdjust JavaDoc for stream-based reading of large workbooks
Dominik Stadler [Fri, 17 Jan 2020 08:46:24 +0000 (08:46 +0000)]
Adjust JavaDoc for stream-based reading of large workbooks

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

4 years agoError bar minus and plus as numerical data sources
Alain Béarez [Mon, 13 Jan 2020 00:27:06 +0000 (00:27 +0000)]
Error bar minus and plus as numerical data sources

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

4 years agoImplement error bars on scatter chart data series
Alain Béarez [Mon, 13 Jan 2020 00:27:03 +0000 (00:27 +0000)]
Implement error bars on scatter chart data series

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

4 years agoImplement error bars for bar and line charts
Alain Béarez [Mon, 13 Jan 2020 00:26:59 +0000 (00:26 +0000)]
Implement error bars for bar and line charts

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

4 years agouse a few more lambdas
PJ Fanning [Sun, 12 Jan 2020 11:04:21 +0000 (11:04 +0000)]
use a few more lambdas

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

4 years agotry to fix some jdk 14 build issues due to java.lang.Record causing existing POI...
PJ Fanning [Fri, 10 Jan 2020 23:32:03 +0000 (23:32 +0000)]
try to fix some jdk 14 build issues due to java.lang.Record causing existing POI Record classes to be ambiguous

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

4 years agotry to fix some jdk 14 build issues due to java.lang.Record causing existing POI...
PJ Fanning [Fri, 10 Jan 2020 23:13:20 +0000 (23:13 +0000)]
try to fix some jdk 14 build issues due to java.lang.Record causing existing POI Record classes to be ambiguous

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

4 years agoJenkins DSL: Add JDK 14, disable JDK 12
Dominik Stadler [Fri, 10 Jan 2020 21:04:14 +0000 (21:04 +0000)]
Jenkins DSL: Add JDK 14, disable JDK 12

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

4 years agoreformat code
PJ Fanning [Thu, 9 Jan 2020 21:24:31 +0000 (21:24 +0000)]
reformat code

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

4 years ago[bug-63998] Support commas, exclamation marks correctly in AreaReference. Thanks...
PJ Fanning [Thu, 9 Jan 2020 21:19:34 +0000 (21:19 +0000)]
[bug-63998] Support commas, exclamation marks correctly in AreaReference. Thanks to hzwhuang

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

4 years ago#63955 - HMEFContentsExtractor fails to extract content from winmail.dat
Andreas Beeker [Wed, 8 Jan 2020 23:49:31 +0000 (23:49 +0000)]
#63955 - HMEFContentsExtractor fails to extract content from winmail.dat
fixed integration test

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

4 years ago#63955 - HMEFContentsExtractor fails to extract content from winmail.dat
Andreas Beeker [Wed, 8 Jan 2020 00:49:39 +0000 (00:49 +0000)]
#63955 - HMEFContentsExtractor fails to extract content from winmail.dat
added example file - optimized junit tests

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

4 years agotry sonar module key
Andreas Beeker [Wed, 8 Jan 2020 00:30:58 +0000 (00:30 +0000)]
try sonar module key

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

4 years agotry to set sonar settings via maven properties
Andreas Beeker [Wed, 8 Jan 2020 00:01:05 +0000 (00:01 +0000)]
try to set sonar settings via maven properties

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

4 years agouse lambda instead of sub class
Andreas Beeker [Tue, 7 Jan 2020 23:05:47 +0000 (23:05 +0000)]
use lambda instead of sub class

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

4 years agofindbugs fixes and refactor some ClassIDs
Andreas Beeker [Tue, 7 Jan 2020 22:46:29 +0000 (22:46 +0000)]
findbugs fixes and refactor some ClassIDs

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

4 years agotest if sonar can be configured via properties file
Andreas Beeker [Tue, 7 Jan 2020 21:15:33 +0000 (21:15 +0000)]
test if sonar can be configured via properties file
sonarcloud complained about jacoco native report paths

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

4 years agoremove accidental commit
PJ Fanning [Tue, 7 Jan 2020 18:49:27 +0000 (18:49 +0000)]
remove accidental commit

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

4 years agoclose OPCPackage if there is an exception
PJ Fanning [Tue, 7 Jan 2020 18:46:11 +0000 (18:46 +0000)]
close OPCPackage if there is an exception

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

4 years agoBUG 64015 -- swap out java.util.BitSet for zaxxer's SparseBitSet
Tim Allison [Tue, 7 Jan 2020 15:45:07 +0000 (15:45 +0000)]
BUG 64015 -- swap out java.util.BitSet for zaxxer's SparseBitSet

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

4 years agoignore path conversion for URLs
Andreas Beeker [Tue, 7 Jan 2020 00:53:19 +0000 (00:53 +0000)]
ignore path conversion for URLs

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

4 years agoadd integration-test to sonar to update test coverage
Andreas Beeker [Tue, 7 Jan 2020 00:44:01 +0000 (00:44 +0000)]
add integration-test to sonar to update test coverage

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

4 years agosonar fixes - use assert in junit tests
Andreas Beeker [Mon, 6 Jan 2020 21:48:00 +0000 (21:48 +0000)]
sonar fixes - use assert in junit tests
use try-with-resources
remove obsolete and renamed OPOIFS references
add logic to unit tests which just opened a file, by rewriting it and some formula evaluation logic

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

4 years agoClear all chart's properties as if newly created
Alain Béarez [Sun, 5 Jan 2020 23:54:12 +0000 (23:54 +0000)]
Clear all chart's properties as if newly created

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

4 years agoComplete test with cell in newly added column
Alain Béarez [Sun, 5 Jan 2020 23:54:09 +0000 (23:54 +0000)]
Complete test with cell in newly added column

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

4 years agoFix JavaDoc warnings
Alain Béarez [Sun, 5 Jan 2020 23:54:06 +0000 (23:54 +0000)]
Fix JavaDoc warnings

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

4 years agoSonar fixes - Tests should include assertions
Andreas Beeker [Fri, 3 Jan 2020 23:30:36 +0000 (23:30 +0000)]
Sonar fixes - Tests should include assertions

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

4 years agoFix some additional file-handle-leaks reported by unit-tests via an enhanced version...
Dominik Stadler [Fri, 3 Jan 2020 13:11:41 +0000 (13:11 +0000)]
Fix some additional file-handle-leaks reported by unit-tests via an enhanced version of the file-leak-detector

Also add a test for Bug 64045

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

4 years ago[bug-64045] close resources if we throw exceptions
PJ Fanning [Fri, 3 Jan 2020 11:27:01 +0000 (11:27 +0000)]
[bug-64045] close resources if we throw exceptions

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

4 years agoremove unnecessary close
PJ Fanning [Fri, 3 Jan 2020 11:24:12 +0000 (11:24 +0000)]
remove unnecessary close

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

4 years ago[bug-64045] close resources if we throw exceptions
PJ Fanning [Thu, 2 Jan 2020 21:10:54 +0000 (21:10 +0000)]
[bug-64045] close resources if we throw exceptions

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

4 years ago[bug-64045] close resources if we throw exceptions
PJ Fanning [Thu, 2 Jan 2020 20:53:42 +0000 (20:53 +0000)]
[bug-64045] close resources if we throw exceptions

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

4 years ago[bug-64045] close resources if we throw exceptions
PJ Fanning [Thu, 2 Jan 2020 20:45:31 +0000 (20:45 +0000)]
[bug-64045] close resources if we throw exceptions

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

4 years ago[bug-64044] setCellValue(LocalDate) does not support nulls properly
PJ Fanning [Thu, 2 Jan 2020 15:20:04 +0000 (15:20 +0000)]
[bug-64044] setCellValue(LocalDate) does not support nulls properly

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

4 years ago[bug-64044] setCellValue(LocalDate) does not support nulls properly
PJ Fanning [Thu, 2 Jan 2020 14:58:30 +0000 (14:58 +0000)]
[bug-64044] setCellValue(LocalDate) does not support nulls properly

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

4 years agoFix Visio compression
Andreas Beeker [Wed, 1 Jan 2020 22:44:42 +0000 (22:44 +0000)]
Fix Visio compression

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

4 years agoBug 63788: Remove AbstractNum by abstractNumId, not list index
Dominik Stadler [Wed, 1 Jan 2020 19:22:30 +0000 (19:22 +0000)]
Bug 63788: Remove AbstractNum by abstractNumId, not list index

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

4 years agoBug 63940: Avoid endless loop/out of memory on string-replace with empty search string
Dominik Stadler [Tue, 31 Dec 2019 16:52:55 +0000 (16:52 +0000)]
Bug 63940: Avoid endless loop/out of memory on string-replace with empty search string

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

4 years agoBug 63700: Make D* functions work with numeric result column
Dominik Stadler [Tue, 31 Dec 2019 10:41:43 +0000 (10:41 +0000)]
Bug 63700: Make D* functions work with numeric result column

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

4 years agoBug 63960: Write pre-evaluated string-values in formula cells with the correct type
Dominik Stadler [Tue, 31 Dec 2019 06:34:51 +0000 (06:34 +0000)]
Bug 63960: Write pre-evaluated string-values in formula cells with the correct type

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

4 years agoFix bug 63984: AND / OR should treat missing parameters as FALSE
Dominik Stadler [Mon, 30 Dec 2019 19:57:11 +0000 (19:57 +0000)]
Fix bug 63984: AND / OR should treat missing parameters as FALSE

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

4 years agoSonar fixes
Andreas Beeker [Mon, 30 Dec 2019 00:08:24 +0000 (00:08 +0000)]
Sonar fixes

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

4 years ago#64036 - remove reflective calls in Workbook- and SlideShowFactory
Andreas Beeker [Sat, 28 Dec 2019 22:39:26 +0000 (22:39 +0000)]
#64036 - remove reflective calls in Workbook- and SlideShowFactory

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

4 years agoMigrate all junit tests to Junit 4
Andreas Beeker [Fri, 27 Dec 2019 23:00:13 +0000 (23:00 +0000)]
Migrate all junit tests to Junit 4
get rid of references to junit.framework
don't throw AssertionFailedErrors, but use Assert.fail instead
add try-with-resources where it was missing

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

4 years agotry to find issue in test
PJ Fanning [Thu, 26 Dec 2019 12:55:49 +0000 (12:55 +0000)]
try to find issue in test

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

4 years ago[github-163] Add set level numbering on XWPFParagraph. Thanks to Mi Guoliang. This...
PJ Fanning [Thu, 26 Dec 2019 11:55:41 +0000 (11:55 +0000)]
[github-163] Add set level numbering on XWPFParagraph. Thanks to Mi Guoliang. This closes #163

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

4 years agofix spelling of OutlookTextExtractor class name
PJ Fanning [Thu, 26 Dec 2019 09:28:06 +0000 (09:28 +0000)]
fix spelling of OutlookTextExtractor class name

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

4 years agofix spelling of OutlookTextExtractor class name
PJ Fanning [Thu, 26 Dec 2019 09:27:51 +0000 (09:27 +0000)]
fix spelling of OutlookTextExtractor class name

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

4 years agofix spelling of Usage
PJ Fanning [Thu, 26 Dec 2019 06:16:21 +0000 (06:16 +0000)]
fix spelling of Usage

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

4 years agofix spelling of OutlookTextExtractor class name
PJ Fanning [Thu, 26 Dec 2019 06:12:56 +0000 (06:12 +0000)]
fix spelling of OutlookTextExtractor class name

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

4 years agoReplace internal GUID class with ClassID
Andreas Beeker [Tue, 24 Dec 2019 19:48:22 +0000 (19:48 +0000)]
Replace internal GUID class with ClassID

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

4 years ago#64004 - Replace clone() with copy constructor - mainly HWPF classes
Andreas Beeker [Tue, 24 Dec 2019 11:56:42 +0000 (11:56 +0000)]
#64004 - Replace clone() with copy constructor - mainly HWPF classes

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

4 years agoconvert some tabs to spaces
PJ Fanning [Mon, 23 Dec 2019 09:18:38 +0000 (09:18 +0000)]
convert some tabs to spaces

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

4 years agoReplace custom hashCode code with Objects.hash() / Arrays.deepHashCode()
Andreas Beeker [Mon, 23 Dec 2019 00:15:55 +0000 (00:15 +0000)]
Replace custom hashCode code with Objects.hash() / Arrays.deepHashCode()

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

4 years ago#64004 - Replace clone() with copy constructor - mainly HSSF classes
Andreas Beeker [Sun, 22 Dec 2019 21:44:45 +0000 (21:44 +0000)]
#64004 - Replace clone() with copy constructor - mainly HSSF classes

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

4 years agoRemove exception-handling code in ZipPackage that was never reached
Dominik Stadler [Sun, 15 Dec 2019 14:54:03 +0000 (14:54 +0000)]
Remove exception-handling code in ZipPackage that was never reached

Here e.getMessage() and e.toString() were compared, which never match

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

4 years agoAdd more information to assertion
Dominik Stadler [Sun, 15 Dec 2019 14:53:59 +0000 (14:53 +0000)]
Add more information to assertion

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

4 years agoAdd some more tests for IOUtils
Dominik Stadler [Sun, 15 Dec 2019 14:53:55 +0000 (14:53 +0000)]
Add some more tests for IOUtils

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

4 years agoLet IntelliJ simplify some assertions
Dominik Stadler [Sun, 15 Dec 2019 14:53:46 +0000 (14:53 +0000)]
Let IntelliJ simplify some assertions

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

4 years agoReplace manual close with try-with-resources
Dominik Stadler [Sun, 15 Dec 2019 14:53:11 +0000 (14:53 +0000)]
Replace manual close with try-with-resources

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

4 years agoBug 63749; Make getLastRowNum() and getFirstRow() return -1 instead of 0 on empty...
Dominik Stadler [Sun, 15 Dec 2019 14:52:45 +0000 (14:52 +0000)]
Bug 63749; Make getLastRowNum() and getFirstRow() return -1 instead of 0 on empty Sheets

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

4 years agoAdd MemoryVerifier to enable memory leak checking in unit-tests and add
Dominik Stadler [Sun, 15 Dec 2019 14:52:37 +0000 (14:52 +0000)]
Add MemoryVerifier to enable memory leak checking in unit-tests and add
an initial test which verifies some things for XSSF

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

4 years ago#64004 - Replace clone() with copy constructor
Andreas Beeker [Sat, 14 Dec 2019 23:44:26 +0000 (23:44 +0000)]
#64004 - Replace clone() with copy constructor

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

4 years agoEnsure that the temporary directory does exist before using it in tests
Dominik Stadler [Sat, 14 Dec 2019 13:10:21 +0000 (13:10 +0000)]
Ensure that the temporary directory does exist before using it in tests

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

4 years agoBug 63569: Adjust handling of check for max allocation of byte array
Dominik Stadler [Sat, 14 Dec 2019 13:10:17 +0000 (13:10 +0000)]
Bug 63569: Adjust handling of check for max allocation of byte array

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

4 years agoAdjust some JavaDoc and fix some IDE warnings
Dominik Stadler [Sat, 14 Dec 2019 13:10:12 +0000 (13:10 +0000)]
Adjust some JavaDoc and fix some IDE warnings

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

4 years ago[github-164] Fix Bug in XSSFTable.setCellReferences when table is single cell. Thanks...
PJ Fanning [Wed, 11 Dec 2019 20:07:25 +0000 (20:07 +0000)]
[github-164] Fix Bug in XSSFTable.setCellReferences when table is single cell. Thanks to Travis Russell. This closes #164

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

4 years ago[github-164] Fix Bug in XSSFTable.setCellReferences when table is single cell. Thanks...
PJ Fanning [Wed, 11 Dec 2019 20:07:01 +0000 (20:07 +0000)]
[github-164] Fix Bug in XSSFTable.setCellReferences when table is single cell. Thanks to Travis Russell. This closes #164

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

4 years agoFix initialization of text body when used in XSLF
Alain Béarez [Wed, 11 Dec 2019 00:10:09 +0000 (00:10 +0000)]
Fix initialization of text body when used in XSLF

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

4 years agofix typo
Andreas Beeker [Tue, 10 Dec 2019 07:18:21 +0000 (07:18 +0000)]
fix typo

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

4 years agoCorrectly initialize text shapes' first paragraph
Alain Béarez [Tue, 10 Dec 2019 00:10:52 +0000 (00:10 +0000)]
Correctly initialize text shapes' first paragraph

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

4 years agoProvide XAdES schemas locally, because of connection timeouts
Andreas Beeker [Mon, 9 Dec 2019 23:56:13 +0000 (23:56 +0000)]
Provide XAdES schemas locally, because of connection timeouts

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

4 years agoProvide XAdES schemas locally, because of connection timeouts
Andreas Beeker [Mon, 9 Dec 2019 22:53:14 +0000 (22:53 +0000)]
Provide XAdES schemas locally, because of connection timeouts

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

4 years agoIgnore "IIO Can't create cache file" errors
Andreas Beeker [Mon, 9 Dec 2019 22:51:11 +0000 (22:51 +0000)]
Ignore "IIO Can't create cache file" errors

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

4 years agoRemove POIBrowser and SViewer and remove references to it
Andreas Beeker [Mon, 9 Dec 2019 20:56:52 +0000 (20:56 +0000)]
Remove POIBrowser and SViewer and remove references to it

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

4 years agoMigrate tests to Junit 4
Andreas Beeker [Mon, 9 Dec 2019 00:37:21 +0000 (00:37 +0000)]
Migrate tests to Junit 4

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

4 years agoBug 63927 - Inconsistent mapping of Norwegian locales for date formats
Andreas Beeker [Sun, 8 Dec 2019 23:36:02 +0000 (23:36 +0000)]
Bug 63927 - Inconsistent mapping of Norwegian locales for date formats

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

4 years agoBug 63779 - Add support for the new Java date/time API added in Java 8
Andreas Beeker [Sun, 8 Dec 2019 23:31:20 +0000 (23:31 +0000)]
Bug 63779 -  Add support for the new Java date/time API added in Java 8

Active roundSeconds again

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

4 years agoSonar fixes - type: bugs / severity: major
Andreas Beeker [Sun, 8 Dec 2019 23:29:50 +0000 (23:29 +0000)]
Sonar fixes - type: bugs / severity: major

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

4 years agoAttempt to fix bug 63901
Alain Béarez [Sun, 8 Dec 2019 23:18:31 +0000 (23:18 +0000)]
Attempt to fix bug 63901

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

4 years agoFix column addition and removal in XSLFTable
Alain Béarez [Sun, 8 Dec 2019 22:23:17 +0000 (22:23 +0000)]
Fix column addition and removal in XSLFTable

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

4 years agoRetrieve chart from graphical frame
Alain Béarez [Sat, 7 Dec 2019 23:39:20 +0000 (23:39 +0000)]
Retrieve chart from graphical frame

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

4 years agoMiscellaneous fixes for chart functionalities
Alain Béarez [Sat, 7 Dec 2019 23:10:32 +0000 (23:10 +0000)]
Miscellaneous fixes for chart functionalities

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

4 years agoReindent to 4 spaces - optimize imports
Andreas Beeker [Sat, 7 Dec 2019 11:53:48 +0000 (11:53 +0000)]
Reindent to 4 spaces - optimize imports

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

4 years agoSonar Fixes - type: bugs / severity: critical - mostly div by 0
Andreas Beeker [Sat, 7 Dec 2019 11:45:44 +0000 (11:45 +0000)]
Sonar Fixes - type: bugs / severity: critical - mostly div by 0

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

4 years agoSonar Fixes
Andreas Beeker [Thu, 5 Dec 2019 00:18:36 +0000 (00:18 +0000)]
Sonar Fixes

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

4 years agoSonar Fixes + Refactor scattered XML initializations to XMLHelper
Andreas Beeker [Tue, 3 Dec 2019 21:56:47 +0000 (21:56 +0000)]
Sonar Fixes + Refactor scattered XML initializations to XMLHelper

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

4 years agoFix examples to build chart from scratch
Alain Béarez [Mon, 2 Dec 2019 00:15:34 +0000 (00:15 +0000)]
Fix examples to build chart from scratch

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