PJ Fanning
06ea5add36
[github-215] Improve Performance of OperandResolver#parseDouble. Thanks to Robert Wenzel. This closes #215
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885651 13f79535-47bb-0310-9956-ffa450edef68
2021-01-18 14:20:02 +00:00
Andreas Beeker
3778a3e9e2
Sonar fixes
...
constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'
reorder "final static" -> "static final"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885613 13f79535-47bb-0310-9956-ffa450edef68
2021-01-17 17:31:22 +00:00
Andreas Beeker
309e657b0d
#65046 - Simplify integration tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885538 13f79535-47bb-0310-9956-ffa450edef68
2021-01-15 23:50:42 +00:00
Dominik Stadler
4bc450ef5f
Properly close file handles in extractors and when handling password-protected files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885229 13f79535-47bb-0310-9956-ffa450edef68
2021-01-07 06:52:57 +00:00
Dominik Stadler
ce701485d8
Improve EmptyFileException when the file actually does not exist at all
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885227 13f79535-47bb-0310-9956-ffa450edef68
2021-01-07 06:52:46 +00:00
Dominik Stadler
eba33ddb6f
Include file-name in EmptyFileException
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885192 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 09:10:41 +00:00
Dominik Stadler
7aa6b06085
Try to avoid error "Start point cannot equalendpoint"
...
Happened when trying to apply a gradient to an empty text,
let's use at least 1 gradient step always to avoid this.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885191 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 09:10:35 +00:00
Dominik Stadler
c1397afbf3
Slightly adjust error message if requested allocations are too big
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885189 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 09:10:28 +00:00
Dominik Stadler
b7e9cb48d0
Bug 64132: Fix regression introduced by changing factories
...
We need to return EscherBlipRecord for all types in the defined range of recordId,
not UnknownEscherRecord.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885092 13f79535-47bb-0310-9956-ffa450edef68
2021-01-04 05:51:24 +00:00
Dominik Stadler
8347bb64ac
Apply some IDE suggestions and fix some JavaDoc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885012 13f79535-47bb-0310-9956-ffa450edef68
2021-01-01 15:51:30 +00:00
Andreas Beeker
91eb4861b7
workaround "Width (0) and height (0) cannot be <= 0" error while rendering text with textures
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884966 13f79535-47bb-0310-9956-ffa450edef68
2020-12-30 23:13:23 +00:00
Dominik Stadler
b231366fb6
Bug 64986: Support missing or blank match_type for function Match
...
Excel and LibreOffice use the default value in this case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884959 13f79535-47bb-0310-9956-ffa450edef68
2020-12-30 21:40:12 +00:00
Dominik Stadler
de1ad1c44c
Adjust some JavaDoc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884918 13f79535-47bb-0310-9956-ffa450edef68
2020-12-29 19:29:27 +00:00
Dominik Stadler
a7c1d84c5d
Improve the speed of the styles-optimiser when there are many styles in a Workbook
...
Profiling showed that the call to isUserDefined() took most of the time,
so we now fetch this only once for each style and remember the result and
use it in the inner loop.
The attached sample-file took aprox. 1m30s on a decent machine, now it is down
to around 2s.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884917 13f79535-47bb-0310-9956-ffa450edef68
2020-12-29 19:29:22 +00:00
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