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
Andreas Beeker
65bcd9d4f6
Add license header
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882398 13f79535-47bb-0310-9956-ffa450edef68
2020-10-11 06:35:29 +00:00
Andreas Beeker
2a292cb42d
#64773 - Visual signatures for .xlsx/.docx
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882394 13f79535-47bb-0310-9956-ffa450edef68
2020-10-10 23:33:26 +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
PJ Fanning
6c7bf59087
[bug-64721] NullPointerException occurs when calling getDataSize() of an object created with ExtRst.copy(). Thanks to Kwon Ohyoung
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881582 13f79535-47bb-0310-9956-ffa450edef68
2020-09-09 07:05:09 +00:00
Andreas Beeker
b00ca445b2
#64693 - POI HwmfGraphics cannot read the embedded document title
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881322 13f79535-47bb-0310-9956-ffa450edef68
2020-08-30 11:18:21 +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
506089a9f1
#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@1880911 13f79535-47bb-0310-9956-ffa450edef68
2020-08-16 23:19:51 +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
4a173780dd
[bug-64605] add support for non-integer font sizes on character runs (use double instead of float)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879950 13f79535-47bb-0310-9956-ffa450edef68
2020-07-16 12:50:40 +00:00
PJ Fanning
cb1d9a0061
[bug-64605] add support for non-integer font sizes on character runs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879949 13f79535-47bb-0310-9956-ffa450edef68
2020-07-16 12:31:53 +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
c34c1ca49c
remove some deprecated code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879909 13f79535-47bb-0310-9956-ffa450edef68
2020-07-15 21:59:30 +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
02cebfc312
remove some more deprecated code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879299 13f79535-47bb-0310-9956-ffa450edef68
2020-06-28 09:08:34 +00:00
PJ Fanning
241c7e2bb2
remove some more deprecated code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879298 13f79535-47bb-0310-9956-ffa450edef68
2020-06-28 08:42:23 +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
fdd73de259
remove some deprecated classes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879269 13f79535-47bb-0310-9956-ffa450edef68
2020-06-27 13:25:40 +00:00
PJ Fanning
a126dae032
update deprecation version
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879268 13f79535-47bb-0310-9956-ffa450edef68
2020-06-27 13:08:51 +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