Commit Graph

10081 Commits

Author SHA1 Message Date
Andreas Beeker 88bbcee1c6 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
2020-01-21 00:06:32 +00:00
Andreas Beeker 0fb322bb92 #64088 - SlideShow rendering fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872984 13f79535-47bb-0310-9956-ffa450edef68
2020-01-19 20:44:36 +00:00
Dominik Stadler 5927fd37f2 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
2020-01-17 08:46:24 +00:00
Alain Béarez 1bcaa30bed 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
2020-01-13 00:27:06 +00:00
Alain Béarez 2ff9f0fbbf 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
2020-01-13 00:27:03 +00:00
Alain Béarez 22dd38ef72 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
2020-01-13 00:26:59 +00:00
PJ Fanning b211a1362c use a few more lambdas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872644 13f79535-47bb-0310-9956-ffa450edef68
2020-01-12 11:04:21 +00:00
PJ Fanning aa11adebf1 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
2020-01-10 23:32:03 +00:00
PJ Fanning 2797d07486 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
2020-01-10 23:13:20 +00:00
Dominik Stadler 12d49035c0 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
2020-01-10 21:04:14 +00:00
PJ Fanning 9e7b0e899e reformat code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872568 13f79535-47bb-0310-9956-ffa450edef68
2020-01-09 21:24:31 +00:00
PJ Fanning b594ec2947 [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
2020-01-09 21:19:34 +00:00
Andreas Beeker 11b2c7e898 #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
2020-01-08 23:49:31 +00:00
Andreas Beeker f7fe4b0d59 #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
2020-01-08 00:49:39 +00:00
Andreas Beeker 5a5c074471 try sonar module key
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872478 13f79535-47bb-0310-9956-ffa450edef68
2020-01-08 00:30:58 +00:00
Andreas Beeker b1508479a7 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
2020-01-08 00:01:05 +00:00
Andreas Beeker f776ddfbbb use lambda instead of sub class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872475 13f79535-47bb-0310-9956-ffa450edef68
2020-01-07 23:05:47 +00:00
Andreas Beeker d1a714f5f1 findbugs fixes and refactor some ClassIDs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872473 13f79535-47bb-0310-9956-ffa450edef68
2020-01-07 22:46:29 +00:00
Andreas Beeker a4b6cf895b 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
2020-01-07 21:15:33 +00:00
PJ Fanning c891bca596 remove accidental commit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872454 13f79535-47bb-0310-9956-ffa450edef68
2020-01-07 18:49:27 +00:00
PJ Fanning d8cfe433dd close OPCPackage if there is an exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872453 13f79535-47bb-0310-9956-ffa450edef68
2020-01-07 18:46:11 +00:00
Tim Allison e875bd8143 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
2020-01-07 15:45:07 +00:00
Andreas Beeker fb8f171900 ignore path conversion for URLs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872402 13f79535-47bb-0310-9956-ffa450edef68
2020-01-07 00:53:19 +00:00
Andreas Beeker 46f1242d03 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
2020-01-07 00:44:01 +00:00
Andreas Beeker a4c370f913 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
2020-01-06 21:48:00 +00:00
Alain Béarez 3c4d5b9c2b 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
2020-01-05 23:54:12 +00:00
Alain Béarez 21393fd083 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
2020-01-05 23:54:09 +00:00
Alain Béarez fbf12935d3 Fix JavaDoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872361 13f79535-47bb-0310-9956-ffa450edef68
2020-01-05 23:54:06 +00:00
Andreas Beeker d66af200eb Sonar fixes - Tests should include assertions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872302 13f79535-47bb-0310-9956-ffa450edef68
2020-01-03 23:30:36 +00:00
Dominik Stadler 4aa8334e3b 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
2020-01-03 13:11:41 +00:00
PJ Fanning 578d78da37 [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
2020-01-03 11:27:01 +00:00
PJ Fanning 4a7aee8b1f remove unnecessary close
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872283 13f79535-47bb-0310-9956-ffa450edef68
2020-01-03 11:24:12 +00:00
PJ Fanning 8b389fdd4b [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
2020-01-02 21:10:54 +00:00
PJ Fanning 7510f408dc [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
2020-01-02 20:53:42 +00:00
PJ Fanning 22266e209a [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
2020-01-02 20:45:31 +00:00
PJ Fanning 781ef0c754 [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
2020-01-02 15:20:04 +00:00
PJ Fanning 5ec079072a [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
2020-01-02 14:58:30 +00:00
Andreas Beeker adb8424bc1 Fix Visio compression
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872223 13f79535-47bb-0310-9956-ffa450edef68
2020-01-01 22:44:42 +00:00
Dominik Stadler 07b5bc667c 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
2020-01-01 19:22:30 +00:00
Dominik Stadler 9f35db4f51 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
2019-12-31 16:52:55 +00:00
Dominik Stadler 821e164041 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
2019-12-31 10:41:43 +00:00
Dominik Stadler 3cc54a8dff 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
2019-12-31 06:34:51 +00:00
Dominik Stadler bc0dcdf369 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
2019-12-30 19:57:11 +00:00
Andreas Beeker 71338b958c Sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872092 13f79535-47bb-0310-9956-ffa450edef68
2019-12-30 00:08:24 +00:00
Andreas Beeker a0770034fc #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
2019-12-28 22:39:26 +00:00
Andreas Beeker c66575c1e7 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
2019-12-27 23:00:13 +00:00
PJ Fanning 37282aae8f try to find issue in test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872001 13f79535-47bb-0310-9956-ffa450edef68
2019-12-26 12:55:49 +00:00
PJ Fanning d240fb1378 [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
2019-12-26 11:55:41 +00:00
PJ Fanning 40da053a4a fix spelling of OutlookTextExtractor class name
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871995 13f79535-47bb-0310-9956-ffa450edef68
2019-12-26 09:28:06 +00:00
PJ Fanning 91017547ae fix spelling of OutlookTextExtractor class name
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871994 13f79535-47bb-0310-9956-ffa450edef68
2019-12-26 09:27:51 +00:00