Commit Graph

10435 Commits

Author SHA1 Message Date
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
Andreas Beeker 435677c90a update ant/maven values, builds@ decided to rename those
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882671 13f79535-47bb-0310-9956-ffa450edef68
2020-10-19 22:02:00 +00:00
Andreas Beeker 25e5bd89e0 update jdk values, remove jdk 1.6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882670 13f79535-47bb-0310-9956-ffa450edef68
2020-10-19 21:10:00 +00:00
Andreas Beeker c38a99bd07 Ignore test on no-scratchpad run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882664 13f79535-47bb-0310-9956-ffa450edef68
2020-10-19 19:51:25 +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
PJ Fanning 667d9a8f32 disable broken test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882590 13f79535-47bb-0310-9956-ffa450edef68
2020-10-16 18:06:25 +00:00
PJ Fanning a3194a9b5b use xmlbeans official 4.0.0 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882586 13f79535-47bb-0310-9956-ffa450edef68
2020-10-16 16:57:11 +00:00
Nick Burch 6cba0bd437 Test PPT file containing a XLSX via an OLE2 intermediate layer, from Apache Tika
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882467 13f79535-47bb-0310-9956-ffa450edef68
2020-10-13 22:23:37 +00:00
Nick Burch 8dde273017 Add unit test for XLSX embedded in PPT and WorkbookFactory, was already fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882466 13f79535-47bb-0310-9956-ffa450edef68
2020-10-13 22:22:58 +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
Dominik Stadler 5d2d6fee1a Avoid dependency on ooxml-test in integration-test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882040 13f79535-47bb-0310-9956-ffa450edef68
2020-09-26 06:19:34 +00:00
Dominik Stadler 1e5b193391 More changes to make the Gradle build work again
We have to compile the custom Ant-tasks before invoking Ant from Gradle

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882037 13f79535-47bb-0310-9956-ffa450edef68
2020-09-26 05:22:17 +00:00
Dominik Stadler 389eab2fbd Try to fix the Gradle build
Third party lib updates
Also use the temporary XMLBeans 4.0.0 jar
Add missing dependencies

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882036 13f79535-47bb-0310-9956-ffa450edef68
2020-09-26 05:22:14 +00:00
Dominik Stadler 7b83320f9e Update third party libraries in pom.xml and build.gradle, update JaCoCo to 0.8.6
Maven build should work onw, but Gradle is still broken by the poi-ant-contrib library
Also remove outdated third party libraries

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882026 13f79535-47bb-0310-9956-ffa450edef68
2020-09-25 19:39:49 +00:00
Dominik Stadler ceae0d0903 Fix IDE warnings, add more assertion-output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882025 13f79535-47bb-0310-9956-ffa450edef68
2020-09-25 19:39:45 +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 fe2b58a9cc Fix Ant javascript issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881914 13f79535-47bb-0310-9956-ffa450edef68
2020-09-22 00:07:32 +00:00
Andreas Beeker 8eefca1bfe #64716 - wmf display error - use FileMagic also for File-based input
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881838 13f79535-47bb-0310-9956-ffa450edef68
2020-09-19 08:16:34 +00:00
Andreas Beeker 997b95a4f8 adapt to XmlBeans changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881835 13f79535-47bb-0310-9956-ffa450edef68
2020-09-19 02:40:10 +00:00
Yegor Kozlov df9c1e1b20 mark org.apache.commons.logging.* as an optional osgi dependency
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881825 13f79535-47bb-0310-9956-ffa450edef68
2020-09-18 15:44:40 +00:00
Andreas Beeker 3070369b3a XmlBeans is now generating Java 1.8 based files - javasources option is not available anymore
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881779 13f79535-47bb-0310-9956-ffa450edef68
2020-09-17 00:06:58 +00:00
Andreas Beeker 8acb3adab9 Add more render test images
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881773 13f79535-47bb-0310-9956-ffa450edef68
2020-09-16 19:37:52 +00:00
Yegor Kozlov 60dc4f4295 Bug 57857 POI OSGi bundle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881771 13f79535-47bb-0310-9956-ffa450edef68
2020-09-16 15:48:27 +00:00
Andreas Beeker 69ddd04bd8 #64716 - wmf display error - WmfExtTextOut - move current location to the end of the string after its written to the GraphicsCtx
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881750 13f79535-47bb-0310-9956-ffa450edef68
2020-09-15 22:53:09 +00:00
PJ Fanning f488a2f270 remove accidental commit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881583 13f79535-47bb-0310-9956-ffa450edef68
2020-09-09 07:05:56 +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 cced175111 ignore IBM certificate chain issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881570 13f79535-47bb-0310-9956-ffa450edef68
2020-09-08 23:33:25 +00:00
Andreas Beeker a6014f6431 #64716 - wmf display error - fixed charset used for reading typeface
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881567 13f79535-47bb-0310-9956-ffa450edef68
2020-09-08 21:35:57 +00:00
Andreas Beeker 33bc915578 PPTXPNG - parent directory of relative input file was null
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881418 13f79535-47bb-0310-9956-ffa450edef68
2020-09-03 19:26:33 +00:00
Andreas Beeker ea43beeba7 add "provided" jars to binary dist bundle
add instruction to pptx rendering
case-insensitive argument handling in PPTX2PNG

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881416 13f79535-47bb-0310-9956-ffa450edef68
2020-09-03 19:13:16 +00:00
Andreas Beeker 75578a1de9 fix typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881402 13f79535-47bb-0310-9956-ffa450edef68
2020-09-02 22:24:33 +00:00
Andreas Beeker 9f91309b28 Adapt to new XmlBeans changes of r1881383
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881384 13f79535-47bb-0310-9956-ffa450edef68
2020-09-01 22:28:31 +00:00
PJ Fanning 915d1a216e [github-192] Fix DOUGHNUT chart creation. Thanks to Tomás Cerdá. This closes #192
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881380 13f79535-47bb-0310-9956-ffa450edef68
2020-09-01 21:04:24 +00:00
Sayi 3644bb9094 CTRow removes tc when row removes cell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881354 13f79535-47bb-0310-9956-ffa450edef68
2020-09-01 11:56:13 +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
PJ Fanning f89528addc [bug-64691] rename field
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881237 13f79535-47bb-0310-9956-ffa450edef68
2020-08-27 09:19:43 +00:00
Sayi 17e3eaadae Add get/set indentationLeftChars/indentationRightChars in paragraph
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881232 13f79535-47bb-0310-9956-ffa450edef68
2020-08-27 04:16:56 +00:00
Andreas Beeker 5e04140d59 fix build error
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880988 13f79535-47bb-0310-9956-ffa450edef68
2020-08-19 09:47:10 +00:00
Andreas Beeker 02a363d37c use spotbugs in xmlbeans builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880975 13f79535-47bb-0310-9956-ffa450edef68
2020-08-18 21:04:17 +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 f51306457d disable old "rapid release" Java versions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880945 13f79535-47bb-0310-9956-ffa450edef68
2020-08-17 20:35:04 +00:00
Andreas Beeker b7b0a0c215 Activate Forbidden-Apis-Check also for other tests
Max supported Java version is currently Java 14
Fix the check failures

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880944 13f79535-47bb-0310-9956-ffa450edef68
2020-08-17 20:25:08 +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 afe4a109a8 removed test which is covered by TestPPTX2PNG
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880910 13f79535-47bb-0310-9956-ffa450edef68
2020-08-16 23:19:11 +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