Commit Graph

10681 Commits

Author SHA1 Message Date
Andreas Beeker 3f83c76321 #64716 - wmf display error
prepare binary raster operations

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883882 13f79535-47bb-0310-9956-ffa450edef68
2020-11-27 22:41:06 +00:00
Andreas Beeker c6b408b232 #64716 - wmf display error
- close polygons
- reset current path location on emf modifyworldtransform
- mirror text if the affinetransform is negative scaled

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883460 13f79535-47bb-0310-9956-ffa450edef68
2020-11-15 21:49:24 +00:00
PJ Fanning b8cb440ce4 [github-195] Rework getParagraph functions for XWPF. Thanks to Marius Volhart. This closes #195
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883424 13f79535-47bb-0310-9956-ffa450edef68
2020-11-14 16:39:44 +00:00
PJ Fanning 6bcdd5af58 change xmlbeans jobs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883396 13f79535-47bb-0310-9956-ffa450edef68
2020-11-13 18:18:05 +00:00
PJ Fanning bebbf025b6 [github-196] Delete unused certificate exceptions. Thanks to Marius Volkhart. This closes #196
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883395 13f79535-47bb-0310-9956-ffa450edef68
2020-11-13 18:12:09 +00:00
PJ Fanning cc21b7c305 remove stray import
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883394 13f79535-47bb-0310-9956-ffa450edef68
2020-11-13 18:02:41 +00:00
PJ Fanning 00b9048d59 [github-197] Modify test class HeapDump to allow it work in different JDKs. Thanks to Marius Volkhart. This closes #197
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883393 13f79535-47bb-0310-9956-ffa450edef68
2020-11-13 18:00:21 +00:00
Andreas Beeker ff0d031f10 update dependencies - make optional dependencies mandatory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883325 13f79535-47bb-0310-9956-ffa450edef68
2020-11-11 21:53:05 +00:00
Andreas Beeker 134b4ba762 #64867 - Provide PDF rendering with PPTX2PNG
remove pdfbox-graphics2d workaround and update its version

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883236 13f79535-47bb-0310-9956-ffa450edef68
2020-11-09 20:11:11 +00:00
PJ Fanning 257670bf26 add missing licenses
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883213 13f79535-47bb-0310-9956-ffa450edef68
2020-11-08 22:17:26 +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
PJ Fanning 578b71b127 [bug-64879] SXSSFSheet dispose() fails to remove Temporary files for java.io.IOException: No space left on device
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883171 13f79535-47bb-0310-9956-ffa450edef68
2020-11-07 09:37:49 +00:00
PJ Fanning 90a9288bfc [bug-64879] SXSSFSheet dispose() fails to remove Temporary files for java.io.IOException: No space left on device
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883170 13f79535-47bb-0310-9956-ffa450edef68
2020-11-07 09:26:12 +00:00
Andreas Beeker 9e5790d004 test also render to SVG, PDF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883130 13f79535-47bb-0310-9956-ffa450edef68
2020-11-04 22:03:45 +00:00
Andreas Beeker b27bb4f413 Jpeg can't be processed with alpha channel
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883129 13f79535-47bb-0310-9956-ffa450edef68
2020-11-04 21:24:21 +00:00
Andreas Beeker 150fb90cc2 #64867 - Provide PDF rendering with PPTX2PNG
add dependencies to gradle and maven builds

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883075 13f79535-47bb-0310-9956-ffa450edef68
2020-11-03 00:22:10 +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
Dominik Stadler dae47d5ced Add unit-test from bug 56454 to show that the problem is fixed now
Probably fixed as part of 64460 via r1883037.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883055 13f79535-47bb-0310-9956-ffa450edef68
2020-11-01 17:59:33 +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 232d734941 Bug 64460: Fix invalid moving of merged regions
Also fix and enable two tests ignored previously

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883037 13f79535-47bb-0310-9956-ffa450edef68
2020-11-01 09:21:45 +00:00
Dominik Stadler 1bd3ddaa75 Add comments for Sonar properties in the Gradle build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883036 13f79535-47bb-0310-9956-ffa450edef68
2020-11-01 09:21:29 +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 a080d2b098 Adjust the location of the resulting JaCoCo XML report files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882851 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 19:30:28 +00:00
Dominik Stadler a2691cb5f9 Jenkins-DSL: Add jacocoTestReport target to get the coverage XML files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882850 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 19:30:14 +00:00
Dominik Stadler 95d281dbfc Jenkins-DSL: Run tests before executing sonarqube
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882849 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 19:30:00 +00:00
Dominik Stadler 75ccbe125e Jenkins DSL: Use JDK 11 for SonarQube Gradle build and try to make properties work
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882848 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 19:29:46 +00:00
Dominik Stadler 8374537d5a Gradle: Try to define project result output directories for the sonarqube plugin
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882846 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 17:40:48 +00:00
Dominik Stadler 5e2db1b02f Jenkins-DSL: Update some more
Set JDK 16 build to manual as it fails on Findbugs
Set Gradle-SonarQube to manual
Try to add a few properties necessary for Sonar via Gradle
Remove H50 from TestEnvironment again

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882844 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 16:07:58 +00:00
Dominik Stadler 781fa38157 Enable XML reporting for JaCoCo for the Sonar Gradle plugin
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882843 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 16:07:44 +00:00
Dominik Stadler 8089682957 Fix Sonar issues and IDE warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882842 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 16:07:30 +00:00
Dominik Stadler 02355346db Use sonar-plugin 3.0 for Gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882841 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 16:07:12 +00:00
PJ Fanning a8a4e40c5a try to upgrade spotbugs and asm
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882836 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 12:51:34 +00:00
Dominik Stadler d2dcbf3452 Jenkins-DSL: Add JDK 16, disable POI-JDK-14 to only the latest 2 JDK releases
Also update the list of JDKs and Nodes for the TestEnvironment job

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882833 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 09:24:01 +00:00
Dominik Stadler 8b37dad7a1 Add mising path to ooxml-schemas which is necessary for building with latest JDK 16 ea-builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882830 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 08:22:45 +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 19944379e1 Update tests for bug 63845 some more
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882826 13f79535-47bb-0310-9956-ffa450edef68
2020-10-25 07:21:41 +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 0be6193161 create "build" directory - necessary when running in maven directory structure / build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882816 13f79535-47bb-0310-9956-ffa450edef68
2020-10-24 19:30:37 +00:00
Andreas Beeker 2bfc11e037 add more nodes to Test-Environment job
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882815 13f79535-47bb-0310-9956-ffa450edef68
2020-10-24 18:53:11 +00:00
Andreas Beeker d708b9da00 try to fix sonar build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882792 13f79535-47bb-0310-9956-ffa450edef68
2020-10-23 22:30:33 +00:00
PJ Fanning a2dcb10f67 update commons-codec
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882771 13f79535-47bb-0310-9956-ffa450edef68
2020-10-22 22:51:31 +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 02da9fd353 reformat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882708 13f79535-47bb-0310-9956-ffa450edef68
2020-10-20 16:08:29 +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
PJ Fanning ccad1fc86e xmlbeans jar location
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882705 13f79535-47bb-0310-9956-ffa450edef68
2020-10-20 16:04:23 +00:00