aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Include file-name in EmptyFileExceptionDominik Stadler2021-01-065-7/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885192 13f79535-47bb-0310-9956-ffa450edef68
* Try to avoid error "Start point cannot equalendpoint"Dominik Stadler2021-01-061-1/+3
| | | | | | | 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
* Run all integration-test steps in manual test-methodDominik Stadler2021-01-061-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885190 13f79535-47bb-0310-9956-ffa450edef68
* Slightly adjust error message if requested allocations are too bigDominik Stadler2021-01-061-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885189 13f79535-47bb-0310-9956-ffa450edef68
* Adjust one expected error message in integration-testsDominik Stadler2021-01-061-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885188 13f79535-47bb-0310-9956-ffa450edef68
* Adjust assumption for one specific font-related exception on WindowsDominik Stadler2021-01-062-6/+10
| | | | | | Otherwise it triggers too much and hides actual regression bugs git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885187 13f79535-47bb-0310-9956-ffa450edef68
* Avoid unneeded Unicode characters which break compiling if encoding is not UTF-8Dominik Stadler2021-01-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885186 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-052-27/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885179 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64132: Fix regression introduced by changing factoriesDominik Stadler2021-01-044-8/+18
| | | | | | | 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
* Try to make Gradle build workDominik Stadler2021-01-031-5/+1
| | | | | | | | Add a dependency that is reported as missing locally with JDK 11 Combine common test-dependencies Avoid running base-class BaseTestMissingWorkbook, only the derived class is actually a unit-test git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885074 13f79535-47bb-0310-9956-ffa450edef68
* Allow JUnit 5 access to the parmaeters also on newer JDKsDominik Stadler2021-01-031-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885070 13f79535-47bb-0310-9956-ffa450edef68
* Ignore Font-issue with JDK 8 on Windows in another testDominik Stadler2021-01-031-2/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885069 13f79535-47bb-0310-9956-ffa450edef68
* Apply some IDE suggestionsDominik Stadler2021-01-036-50/+48
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885068 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64494: Ensure "applyAlignment" in cell-styles is enabled when necessaryDominik Stadler2021-01-032-1/+42
| | | | | | Also check it when fetching currently defined cell-alignment git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885059 13f79535-47bb-0310-9956-ffa450edef68
* Avoid test failing on Windows with JDK 8 because of an ↵Dominik Stadler2021-01-031-2/+15
| | | | | | ArrayIndexOutOfBoundsException when handling fonts git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885058 13f79535-47bb-0310-9956-ffa450edef68
* ooxml-schema: trigger loading stress-documents as part of the normal unit-testsDominik Stadler2021-01-032-0/+156
| | | | | | | | The integration-tests are not executed for determining the parts of the schema to include in the "lite" package and so we need to have a normal unit-test as well. Add more documents which drag in some more parts from the ooxml-schema git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885057 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64450: Allow to parse a file where the relationship-id is an empty stringDominik Stadler2021-01-032-4/+11
| | | | | | | Also improve exception reporting by including more information and not "hiding" the actual exception-cause in a log-statement. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885056 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-024-451/+69
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885035 13f79535-47bb-0310-9956-ffa450edef68
* forbidden-apis-fixAndreas Beeker2021-01-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885022 13f79535-47bb-0310-9956-ffa450edef68
* fix year agnostic date/test valuesAndreas Beeker2021-01-011-2/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885021 13f79535-47bb-0310-9956-ffa450edef68
* Apply some IDE suggestions and fix some JavaDocDominik Stadler2021-01-017-38/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885012 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64750: Do not use CTDataValidations.getCount(), instead only rely on ↵Dominik Stadler2021-01-012-2/+10
| | | | | | | | | | | | getDataValidationArray Field "count" seems to be optional according to the schema, so by using only the array Apache POI can read data validations from workbooks that do not populate the "count" field properly. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885011 13f79535-47bb-0310-9956-ffa450edef68
* workaround NullPointerException when font family (of bullets) can't be ↵Andreas Beeker2020-12-301-1/+2
| | | | | | determined git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884974 13f79535-47bb-0310-9956-ffa450edef68
* workaround "Width (0) and height (0) cannot be <= 0" error while rendering ↵Andreas Beeker2020-12-301-1/+1
| | | | | | text with textures git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884966 13f79535-47bb-0310-9956-ffa450edef68
* add failing regression test filesAndreas Beeker2020-12-308-7/+16
| | | | | | | fix ooxml-lite packaging fix PP97 dual storage file handling in extractor git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884962 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64986: Support missing or blank match_type for function MatchDominik Stadler2020-12-304-7/+37
| | | | | | 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
* Bug 64838: Do not populate cells with a paragraph when loading an existing ↵Dominik Stadler2020-12-304-16/+29
| | | | | | document git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884958 13f79535-47bb-0310-9956-ffa450edef68
* Add unfixed test for bug 64759 and make the ones fail which depend on manual ↵Dominik Stadler2020-12-302-0/+16
| | | | | | opening of files in Microsoft Excel for verification git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884957 13f79535-47bb-0310-9956-ffa450edef68
* Also replace for JUnit 5 in commentsDominik Stadler2020-12-305-7/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884956 13f79535-47bb-0310-9956-ffa450edef68
* Adjust error-message on old files and simplify code slightlyDominik Stadler2020-12-301-14/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884950 13f79535-47bb-0310-9956-ffa450edef68
* Slightly re-arrange code to only perform computations if we do not exit the ↵Dominik Stadler2020-12-301-20/+12
| | | | | | | | loop anyway Also simplify code somewhat git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884949 13f79535-47bb-0310-9956-ffa450edef68
* Bug 65009: Fix incorrect index for 1-based picturesDominik Stadler2020-12-302-4/+13
| | | | | | | | Adjusted somewhat from Github PR #211 Closes #211 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884948 13f79535-47bb-0310-9956-ffa450edef68
* Adjust some JavaDocDominik Stadler2020-12-296-21/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884918 13f79535-47bb-0310-9956-ffa450edef68
* Improve the speed of the styles-optimiser when there are many styles in a ↵Dominik Stadler2020-12-291-28/+36
| | | | | | | | | | | | | 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
* sonar fixesAndreas Beeker2020-12-2817-447/+441
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884874 13f79535-47bb-0310-9956-ffa450edef68
* github-207 - replace commons logging with slf4j - use jcl-over-slf4jAndreas Beeker2020-12-288-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884873 13f79535-47bb-0310-9956-ffa450edef68
* gather necessary .xsb for ooxml-lite jar via intercepting the calls to ↵Andreas Beeker2020-12-283-25/+88
| | | | | | SchemaTypeSystemImpl.XsbReader git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884850 13f79535-47bb-0310-9956-ffa450edef68
* Forbidden-apis fix - Graphics2D.finalize() is deprecated by Java14Andreas Beeker2020-12-261-12/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884813 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2020-12-2661-342/+390
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884807 13f79535-47bb-0310-9956-ffa450edef68
* [bug-65023] add col bugfix. Thanks to Paula Muldoon, This closes #212PJ Fanning2020-12-252-5/+88
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884794 13f79535-47bb-0310-9956-ffa450edef68
* try to fix distsourcebuild errorAndreas Beeker2020-12-251-3/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884785 13f79535-47bb-0310-9956-ffa450edef68
* #65026 - Migrate tests to Junit 5Andreas Beeker2020-12-241006-20755/+16242
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884783 13f79535-47bb-0310-9956-ffa450edef68
* Fix NullPointerException in Autosize introduced via #64981Dominik Stadler2020-12-203-19/+77
| | | | | | | | Only happened when alignment is set Add a test reproducing the problem Also verify auto-size on SXSSF git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884653 13f79535-47bb-0310-9956-ffa450edef68
* [github-198] Remove jdk.charset module dependency for spreadsheets ↵PJ Fanning2020-12-1910-39/+76
| | | | | | 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
* fix log textPJ Fanning2020-12-192-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884623 13f79535-47bb-0310-9956-ffa450edef68
* add slf4j dependencyPJ Fanning2020-12-181-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884603 13f79535-47bb-0310-9956-ffa450edef68
* add missing licensePJ Fanning2020-12-181-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884584 13f79535-47bb-0310-9956-ffa450edef68
* avoid string concatsPJ Fanning2020-12-181-8/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884581 13f79535-47bb-0310-9956-ffa450edef68
* #64876 - Unable to convert pptx to pdfAndreas Beeker2020-12-179-669/+904
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884578 13f79535-47bb-0310-9956-ffa450edef68
* [github-208] Fix a few instances of incorrect NotImplemented documentation. ↵PJ Fanning2020-12-172-26/+15
| | | | | | Thanks to Marius Volkhart. This closes #208 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884575 13f79535-47bb-0310-9956-ffa450edef68