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
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
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
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
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
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
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
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
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
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
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
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
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
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
Yegor Kozlov
7c0327c8b1
OSGi support: register service providers in bundle activator
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881924 13f79535-47bb-0310-9956-ffa450edef68
2020-09-22 12:42:18 +00:00
Andreas Beeker
a73348fe8b
Update library versions
...
Replace deprecated junit @Rules with assertThrows
Adapt to XMLSec refactoring in version 2.2.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880965 13f79535-47bb-0310-9956-ffa450edef68
2020-08-18 13:50:31 +00:00
Andreas Beeker
f8040e5f8c
#64036 - Replace reflection calls in factories for Java 9+
...
provide EvalutionWorkbook in HSSF/XSSF/SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880925 13f79535-47bb-0310-9956-ffa450edef68
2020-08-17 11:49:02 +00:00
Andreas Beeker
b57da2dada
#64036 - Replace reflection calls in factories for Java 9+
...
ImageRenderer implementation are now loaded via ServiceLoader
fixed the ServiceLoader.load invocations to pass a sensible ClassLoader as OSGi preparation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880909 13f79535-47bb-0310-9956-ffa450edef68
2020-08-16 23:18:19 +00:00
Andreas Beeker
d6a97ce38d
#64036 - Replace reflection calls in factories for Java 9+
...
removed some unnecessary reflection calls OperationEvaluatorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880903 13f79535-47bb-0310-9956-ffa450edef68
2020-08-16 16:54:25 +00:00
Andreas Beeker
60303201dc
use the forbidden-apis policies corresponding to the JRE
...
fix the forbidden apis issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880866 13f79535-47bb-0310-9956-ffa450edef68
2020-08-15 00:18:42 +00:00
Andreas Beeker
b9841b4007
also handle wrapped OOXML "Package" nodes inside of OLE2 containers
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880861 13f79535-47bb-0310-9956-ffa450edef68
2020-08-14 20:26:21 +00:00
Andreas Beeker
5caf8e109b
#64411 - Provide JigSaw modules
...
- use service locator for SlideShowFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880860 13f79535-47bb-0310-9956-ffa450edef68
2020-08-14 19:08:42 +00:00
PJ Fanning
4e3008acdb
[github-191] Fix RuntimeException on array formula referencing blank cell. Thanks to Miłosz Rembisz. This closes #191
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880844 13f79535-47bb-0310-9956-ffa450edef68
2020-08-14 07:42:18 +00:00
Andreas Beeker
dfdf9e6d6f
#64411 - Provide JigSaw modules
...
- rework extractors - see bugzilla entry for more information
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880839 13f79535-47bb-0310-9956-ffa450edef68
2020-08-13 21:08:24 +00:00
PJ Fanning
e86ba86f2d
[github-189] Move date parsing logic to DateParser. Thanks to Miłosz Rembisz. This closes #189
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880777 13f79535-47bb-0310-9956-ffa450edef68
2020-08-11 16:59:29 +00:00
Andreas Beeker
c0f9941604
#64411 - Provide JigSaw modules
...
- use classpath-build for Java 8, otherwise use modulepath
- save module-info classes to source, when using Java 9+ environment
- rename example packages - otherwise package clashes occured in the tests
- move agile encryption from ooxml to main.
remove EncryptionInfo XmlBeans and schema and use custom xml marshalling
- move ooxml test classes which reside in the same package as their tested main class
- rename base test classes to "BaseTest..." - temporarily I've used a light version of the main test classes to test scratchpad / ooxml
- build.xml - fixed the Rhino javascript errors of the dependency-macros
- DrawTextParagraph - fixed StringIndexOutOfBounds when logging set to debug level
- use JigSaw provider interface (= Java ServiceLoader), i.e. it wasn't possible (without openening everything), to access ooxml factory classes from main factory stub
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880164 13f79535-47bb-0310-9956-ffa450edef68
2020-07-22 22:08:33 +00:00
PJ Fanning
a5cf0f0d3f
use BigInteger.valueOf
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879937 13f79535-47bb-0310-9956-ffa450edef68
2020-07-16 10:03:00 +00:00
PJ Fanning
8900e397a4
remove some deprecated code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879911 13f79535-47bb-0310-9956-ffa450edef68
2020-07-15 22:49:32 +00:00
PJ Fanning
be09639638
[github-185] Fix if function in array formulas with 2nd argument evaluating to error. Thanks to Miłosz Rembisz. This closes #185
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879481 13f79535-47bb-0310-9956-ffa450edef68
2020-07-03 16:09:03 +00:00
PJ Fanning
883d6bb987
remove some deprecated classes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879276 13f79535-47bb-0310-9956-ffa450edef68
2020-06-27 13:58:23 +00:00
PJ Fanning
19c97f3285
remove some deprecated methods from Cell
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879266 13f79535-47bb-0310-9956-ffa450edef68
2020-06-27 12:47:17 +00:00
PJ Fanning
b12e13a041
remove some deprecated Font methods from Workbook
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879259 13f79535-47bb-0310-9956-ffa450edef68
2020-06-27 10:50:10 +00:00
PJ Fanning
38e58f1ead
remove some deprecated Name methods from Workbook
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879255 13f79535-47bb-0310-9956-ffa450edef68
2020-06-27 09:33:06 +00:00
PJ Fanning
b7930fc65c
[github-181] make Value function work with arrays. Thanks to Miłosz Rembisz. This closes #181
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878541 13f79535-47bb-0310-9956-ffa450edef68
2020-06-06 09:30:30 +00:00
PJ Fanning
00185c2857
next version will be 5.0.0
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877872 13f79535-47bb-0310-9956-ffa450edef68
2020-05-17 17:29:37 +00:00
Dominik Stadler
c61cd6fa03
Fix some IDE warnings, make lock-objects final, use generics, remove unused allocated fields to reduce memory overhead of DocumentInputStream
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877818 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 13:06:20 +00:00
Dominik Stadler
ff919eb0e4
Bug 64393: Adjust relational operators to handle MissingArgEval correctly
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877815 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 13:05:58 +00:00
PJ Fanning
5bad296845
forbidden-apis-check issues
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877801 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 08:17:32 +00:00