summaryrefslogtreecommitdiffstats
path: root/src/java
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix file-handle-leaks when re-writing documents or slideshowsDominik Stadler2020-11-013-15/+34
| | | | | | | 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
* Improve error messages on missing Factory-implementations, fix Sonar issues ↵Dominik Stadler2020-11-012-3/+6
| | | | | | and IDE warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883035 13f79535-47bb-0310-9956-ffa450edef68
* Apply patch for bug 64791 to use proper position for the WriteAccessRecordDominik Stadler2020-10-251-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882829 13f79535-47bb-0310-9956-ffa450edef68
* Apply some IDE suggestionsDominik Stadler2020-10-251-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882828 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug 64238: Make LOOKUP functions deal with empty last arg correctlyDominik Stadler2020-10-251-9/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882827 13f79535-47bb-0310-9956-ffa450edef68
* Prevent some unit-tests from failing when non-English local is used in Maven runDominik Stadler2020-10-251-2/+7
| | | | | | 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
* Sonar fixes - a few "Try-with-resources should be used"Andreas Beeker2020-10-243-57/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882820 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixes - a few "String literals should not be duplicated"Andreas Beeker2020-10-242-57/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882819 13f79535-47bb-0310-9956-ffa450edef68
* Handle errors from GraalVM native mode runs - UnsupportedFeature on setting ↵Andreas Beeker2020-10-201-2/+3
| | | | | | 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
* [github-193] Change TRUNC implementation to use MathX. Thanks to Jacob ↵PJ Fanning2020-10-201-3/+1
| | | | | | Harris. This closes #193 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882706 13f79535-47bb-0310-9956-ffa450edef68
* #64817 - Fix issue in testXLSXinPPTAndreas Beeker2020-10-183-14/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882623 13f79535-47bb-0310-9956-ffa450edef68
* Add license headerAndreas Beeker2020-10-111-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882398 13f79535-47bb-0310-9956-ffa450edef68
* #64773 - Visual signatures for .xlsx/.docxAndreas Beeker2020-10-101-0/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882394 13f79535-47bb-0310-9956-ffa450edef68
* OSGi support: register service providers in bundle activatorYegor Kozlov2020-09-223-0/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881924 13f79535-47bb-0310-9956-ffa450edef68
* [bug-64721] NullPointerException occurs when calling getDataSize() of an ↵PJ Fanning2020-09-091-0/+1
| | | | | | 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
* #64693 - POI HwmfGraphics cannot read the embedded document titleAndreas Beeker2020-08-303-12/+71
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881322 13f79535-47bb-0310-9956-ffa450edef68
* Update library versionsAndreas Beeker2020-08-183-5/+7
| | | | | | | 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
* #64036 - Replace reflection calls in factories for Java 9+Andreas Beeker2020-08-173-42/+34
| | | | | | provide EvalutionWorkbook in HSSF/XSSF/SXSSF git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880925 13f79535-47bb-0310-9956-ffa450edef68
* #64036 - Replace reflection calls in factories for Java 9+Andreas Beeker2020-08-161-31/+20
| | | | | | | 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
* #64036 - Replace reflection calls in factories for Java 9+Andreas Beeker2020-08-164-6/+10
| | | | | | | 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
* #64036 - Replace reflection calls in factories for Java 9+Andreas Beeker2020-08-1657-213/+289
| | | | | | removed some unnecessary reflection calls OperationEvaluatorFactory git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880903 13f79535-47bb-0310-9956-ffa450edef68
* use the forbidden-apis policies corresponding to the JREAndreas Beeker2020-08-156-72/+56
| | | | | | fix the forbidden apis issues git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880866 13f79535-47bb-0310-9956-ffa450edef68
* also handle wrapped OOXML "Package" nodes inside of OLE2 containersAndreas Beeker2020-08-144-8/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880861 13f79535-47bb-0310-9956-ffa450edef68
* #64411 - Provide JigSaw modulesAndreas Beeker2020-08-143-134/+147
| | | | | | - use service locator for SlideShowFactory git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880860 13f79535-47bb-0310-9956-ffa450edef68
* [github-191] Fix RuntimeException on array formula referencing blank cell. ↵PJ Fanning2020-08-141-0/+6
| | | | | | 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
* #64411 - Provide JigSaw modulesAndreas Beeker2020-08-1312-405/+653
| | | | | | - 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
* [github-189] Move date parsing logic to DateParser. Thanks to Miłosz ↵PJ Fanning2020-08-114-78/+142
| | | | | | Rembisz. This closes #189 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880777 13f79535-47bb-0310-9956-ffa450edef68
* #64411 - Provide JigSaw modulesAndreas Beeker2020-07-2226-264/+2180
| | | | | | | | | | | | | | | - 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
* [bug-64605] add support for non-integer font sizes on character runs (use ↵PJ Fanning2020-07-161-2/+2
| | | | | | double instead of float) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879950 13f79535-47bb-0310-9956-ffa450edef68
* [bug-64605] add support for non-integer font sizes on character runsPJ Fanning2020-07-161-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879949 13f79535-47bb-0310-9956-ffa450edef68
* use BigInteger.valueOfPJ Fanning2020-07-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879937 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated codePJ Fanning2020-07-153-65/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879911 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated codePJ Fanning2020-07-152-25/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879909 13f79535-47bb-0310-9956-ffa450edef68
* [github-185] Fix if function in array formulas with 2nd argument evaluating ↵PJ Fanning2020-07-031-163/+161
| | | | | | 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
* remove some more deprecated codePJ Fanning2020-06-282-192/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879299 13f79535-47bb-0310-9956-ffa450edef68
* remove some more deprecated codePJ Fanning2020-06-283-111/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879298 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated classesPJ Fanning2020-06-2726-1464/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879276 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated classesPJ Fanning2020-06-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879269 13f79535-47bb-0310-9956-ffa450edef68
* update deprecation versionPJ Fanning2020-06-271-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879268 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated methods from CellPJ Fanning2020-06-273-57/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879266 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated Font methods from WorkbookPJ Fanning2020-06-272-23/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879259 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated Name methods from WorkbookPJ Fanning2020-06-272-459/+397
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879255 13f79535-47bb-0310-9956-ffa450edef68
* improve memory safety in HWPFDocumentCoreTim Allison2020-06-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879097 13f79535-47bb-0310-9956-ffa450edef68
* Throw an exception with more information instead of an NPEDominik Stadler2020-06-151-0/+4
| | | | | | This seems to be a corrupted document and shows up in regression tests and should at least be reported with some more information git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878870 13f79535-47bb-0310-9956-ffa450edef68
* 64512 - Ole10Native aka embedded / object packager - handle UTF16 variantsAndreas Beeker2020-06-116-198/+281
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878730 13f79535-47bb-0310-9956-ffa450edef68
* [github-182] Fix root property size calculation. Thanks to netmackan. This ↵PJ Fanning2020-06-102-2/+24
| | | | | | closes #182 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878721 13f79535-47bb-0310-9956-ffa450edef68
* [github-181] make Value function work with arrays. Thanks to Miłosz ↵PJ Fanning2020-06-061-156/+168
| | | | | | Rembisz. This closes #181 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878541 13f79535-47bb-0310-9956-ffa450edef68
* 63290 - PPTX To Png changes font sizes and colorsAndreas Beeker2020-06-044-87/+98
| | | | | | | | various fixes to HSLF moved line spacing to the following line refactored PropertyFetcher with lambdas git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878492 13f79535-47bb-0310-9956-ffa450edef68
* [bug-64489] Make Zip64 the default mode for saving SXSSF spreadsheetsPJ Fanning2020-06-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878389 13f79535-47bb-0310-9956-ffa450edef68
* next version will be 5.0.0PJ Fanning2020-05-175-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877872 13f79535-47bb-0310-9956-ffa450edef68