3493 Commits

Author SHA1 Message Date
Andreas Beeker
d121353f61 Sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884807 13f79535-47bb-0310-9956-ffa450edef68
2020-12-26 00:08:19 +00:00
Andreas Beeker
a0fa9e19b1 #65026 - Migrate tests to Junit 5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884783 13f79535-47bb-0310-9956-ffa450edef68
2020-12-24 18:42:29 +00:00
PJ Fanning
d20fa44305 [github-198] Remove jdk.charset module dependency for spreadsheets generation. Thanks to Robert Marcano. This closes #198
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884631 13f79535-47bb-0310-9956-ffa450edef68
2020-12-19 19:45:09 +00:00
PJ Fanning
1e43266c7a avoid string concats
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884581 13f79535-47bb-0310-9956-ffa450edef68
2020-12-18 00:17:50 +00:00
Andreas Beeker
bfade7c591 #64876 - Unable to convert pptx to pdf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884578 13f79535-47bb-0310-9956-ffa450edef68
2020-12-17 23:42:26 +00:00
PJ Fanning
fcc808d17d [github-208] Fix a few instances of incorrect NotImplemented documentation. Thanks to Marius Volkhart. This closes #208
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884575 13f79535-47bb-0310-9956-ffa450edef68
2020-12-17 22:05:35 +00:00
PJ Fanning
2b14dc36bb avoid string concats
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884574 13f79535-47bb-0310-9956-ffa450edef68
2020-12-17 21:54:42 +00:00
PJ Fanning
bd1d31e410 avoid string concats
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884573 13f79535-47bb-0310-9956-ffa450edef68
2020-12-17 21:42:19 +00:00
PJ Fanning
0e0d1d56da avoid string concats
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884572 13f79535-47bb-0310-9956-ffa450edef68
2020-12-17 21:03:27 +00:00
PJ Fanning
e1b0bc6e1d [github-207] add SLF4JLogger
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884568 13f79535-47bb-0310-9956-ffa450edef68
2020-12-17 19:59:01 +00:00
Dominik Stadler
71d6bf0306 Do not wrap RuntimeException so we still can handle them directly
This broke the CI when the "JCE Unlimited Strength Jurisdiction Policy files"
are missing, e.g. on some Windows Jenkins nodes.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884529 13f79535-47bb-0310-9956-ffa450edef68
2020-12-16 20:55:14 +00:00
PJ Fanning
9c1eb6b18e use less contentious language in code comments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884473 13f79535-47bb-0310-9956-ffa450edef68
2020-12-15 23:04:14 +00:00
Andreas Beeker
c5f6dfa68e Bug 56205 - Upgrade OOXML schema to 3rd edition (transitional)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884368 13f79535-47bb-0310-9956-ffa450edef68
2020-12-12 23:15:20 +00:00
PJ Fanning
e1bb2cca33 [bug-64972] HSSFPictureData#getPictureType() should return 0 for unknown picture type (to be consistent with other implementations)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884271 13f79535-47bb-0310-9956-ffa450edef68
2020-12-09 21:04:48 +00:00
PJ Fanning
93c8c1540e [bug-64972] HSSFPictureData#getPictureType() should return 0 for unknown picture type (to be consistent with other implementations)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884270 13f79535-47bb-0310-9956-ffa450edef68
2020-12-09 21:03:15 +00:00
PJ Fanning
ea59cc2bc9 reduce use of deprecated code in XSSFFont
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884266 13f79535-47bb-0310-9956-ffa450edef68
2020-12-09 18:20:00 +00:00
PJ Fanning
5aef414f2a remove more deprecated code (fix some issues)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884265 13f79535-47bb-0310-9956-ffa450edef68
2020-12-09 18:12:53 +00:00
PJ Fanning
8d54ec7cc7 remove more deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884263 13f79535-47bb-0310-9956-ffa450edef68
2020-12-09 18:04:56 +00:00
PJ Fanning
78596d7891 remove more deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884262 13f79535-47bb-0310-9956-ffa450edef68
2020-12-09 17:35:29 +00:00
PJ Fanning
c1f5d62c35 remove more deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884261 13f79535-47bb-0310-9956-ffa450edef68
2020-12-09 17:04:35 +00:00
PJ Fanning
a42127e15b remove more deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884259 13f79535-47bb-0310-9956-ffa450edef68
2020-12-09 16:59:51 +00:00
PJ Fanning
bc1569e786 remove more deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884257 13f79535-47bb-0310-9956-ffa450edef68
2020-12-09 16:55:30 +00:00
PJ Fanning
e7ef490dc9 remove more deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884256 13f79535-47bb-0310-9956-ffa450edef68
2020-12-09 16:12:33 +00:00
PJ Fanning
3e4d80f66a remove some deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884229 13f79535-47bb-0310-9956-ffa450edef68
2020-12-09 00:41:25 +00:00
PJ Fanning
d4dde4e36e remove some deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884228 13f79535-47bb-0310-9956-ffa450edef68
2020-12-09 00:26:51 +00:00
PJ Fanning
451e47021b remove some deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884227 13f79535-47bb-0310-9956-ffa450edef68
2020-12-09 00:18:22 +00:00
PJ Fanning
c04110b919 remove some deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884226 13f79535-47bb-0310-9956-ffa450edef68
2020-12-09 00:12:16 +00:00
PJ Fanning
46977210ee remove some deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884225 13f79535-47bb-0310-9956-ffa450edef68
2020-12-08 23:46:49 +00:00
PJ Fanning
4be65ef93a remove some deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884224 13f79535-47bb-0310-9956-ffa450edef68
2020-12-08 23:38:42 +00:00
PJ Fanning
e4d6fc0a7f remove some deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884223 13f79535-47bb-0310-9956-ffa450edef68
2020-12-08 23:30:40 +00:00
PJ Fanning
326ff18e51 [bug-64964] HSSFCell.convertCellValueToBoolean shall throw more specific exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884210 13f79535-47bb-0310-9956-ffa450edef68
2020-12-08 17:09:36 +00:00
PJ Fanning
29642eedb1 [github-204] Fix typo in javadoc. Thanks to Yerassyl Sagynov. This closes #204
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884178 13f79535-47bb-0310-9956-ffa450edef68
2020-12-07 09:02:20 +00:00
PJ Fanning
373b2d1fa5 remove some deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884158 13f79535-47bb-0310-9956-ffa450edef68
2020-12-06 16:53:14 +00:00
PJ Fanning
bb52df5d00 make FontGroup.Range more JavaBean-like
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884157 13f79535-47bb-0310-9956-ffa450edef68
2020-12-06 16:46:09 +00:00
PJ Fanning
07cb9eeb26 remove stray import
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884153 13f79535-47bb-0310-9956-ffa450edef68
2020-12-06 14:14:05 +00:00
PJ Fanning
10652e33fe tidy up code in FontGroupRange
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884152 13f79535-47bb-0310-9956-ffa450edef68
2020-12-06 14:10:44 +00:00
Andreas Beeker
1d3ef4d81b #64867 - Provide PDF rendering with PPTX2PNG
render text as text, i.e. not as shapes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883212 13f79535-47bb-0310-9956-ffa450edef68
2020-11-08 21:30:54 +00:00
Andreas Beeker
b20318b58c #64867 - Provide PDF rendering with PPTX2PNG
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883074 13f79535-47bb-0310-9956-ffa450edef68
2020-11-02 23:56:27 +00:00
Andreas Beeker
38b415e26a #64716 - wmf display error
EMF: workaround for invalid EMF header bounds
EMF: add option to PPTX2PNG / DrawableHint to fallback to force EMF header bounds 
EMF: use RGB instead of HSL gradiants

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883051 13f79535-47bb-0310-9956-ffa450edef68
2020-11-01 15:37:20 +00:00
Dominik Stadler
d835bdef42 Fix file-handle-leaks when re-writing documents or slideshows
When replacing a directory, we should close the previous one
Close some resources in tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883038 13f79535-47bb-0310-9956-ffa450edef68
2020-11-01 09:22:09 +00:00
Dominik Stadler
5226ed80dd Improve error messages on missing Factory-implementations, fix Sonar issues and IDE warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883035 13f79535-47bb-0310-9956-ffa450edef68
2020-11-01 09:21:16 +00:00
Dominik Stadler
062455c25d Apply patch for bug 64791 to use proper position for the WriteAccessRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882829 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 07:21:56 +00:00
Dominik Stadler
ce51aaf2dd Apply some IDE suggestions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882828 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 07:21:52 +00:00
Dominik Stadler
352f5a034c Fix bug 64238: Make LOOKUP functions deal with empty last arg correctly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882827 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 07:21:45 +00:00
Dominik Stadler
b6960fbe54 Prevent some unit-tests from failing when non-English local is used in Maven run
Also improve the error message when parsing the date fails.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882825 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 07:21:34 +00:00
Andreas Beeker
90bfac52d6 Sonar fixes - a few "Try-with-resources should be used"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882820 13f79535-47bb-0310-9956-ffa450edef68
2020-10-24 21:25:52 +00:00
Andreas Beeker
ebdd3c37d4 Sonar fixes - a few "String literals should not be duplicated"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882819 13f79535-47bb-0310-9956-ffa450edef68
2020-10-24 20:24:13 +00:00
Andreas Beeker
9c367c57c0 Handle errors from GraalVM native mode runs - UnsupportedFeature on setting Sax features together with missing ErrorMessages from the java.xml module
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882714 13f79535-47bb-0310-9956-ffa450edef68
2020-10-20 20:30:03 +00:00
PJ Fanning
dd9f132c23 [github-193] Change TRUNC implementation to use MathX. Thanks to Jacob Harris. This closes #193
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882706 13f79535-47bb-0310-9956-ffa450edef68
2020-10-20 16:07:10 +00:00
Andreas Beeker
7a2a057c86 #64817 - Fix issue in testXLSXinPPT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882623 13f79535-47bb-0310-9956-ffa450edef68
2020-10-18 22:24:16 +00:00