Commit Graph

10969 Commits

Author SHA1 Message Date
PJ Fanning d3899d4744 convert tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890119 13f79535-47bb-0310-9956-ffa450edef68
2021-05-22 20:22:16 +00:00
PJ Fanning 5984e32310 exclude gradle wrapper from src release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890118 13f79535-47bb-0310-9956-ffa450edef68
2021-05-22 20:16:21 +00:00
PJ Fanning 95279ea034 convert tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890117 13f79535-47bb-0310-9956-ffa450edef68
2021-05-22 20:03:17 +00:00
Andreas Beeker f21019db12 add forbidden-apis plugin to gradle builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890090 13f79535-47bb-0310-9956-ffa450edef68
2021-05-21 22:32:09 +00:00
Andreas Beeker 7eaca60a1a activate javadoc lint and fix errors
add signing and checksum generation
add slf4j-bridge for tests
add dependencies to ooxml-lite
fix complex enum classes
add override annotations
move gradle logic to root build
generate javadoc in its own dist directory, because JPMS complains about duplicate modules otherwise

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890089 13f79535-47bb-0310-9956-ffa450edef68
2021-05-21 21:22:40 +00:00
Sayi cecab7f573 Bug65292: Manual revert r1884958, Add a paragraph by default when creating a cell and not add a paragraph when loading an existing table cell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890042 13f79535-47bb-0310-9956-ffa450edef68
2021-05-20 09:57:32 +00:00
Sayi 974da9f981 fixed unable to read comments with pictures
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890040 13f79535-47bb-0310-9956-ffa450edef68
2021-05-20 08:52:30 +00:00
Dominik Stadler a6c3e6a4fd Jenkins DSL: Make sure to revert module-info.class files
Otherwise CI-builds fail when they were modified by a previous build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889910 13f79535-47bb-0310-9956-ffa450edef68
2021-05-15 07:20:46 +00:00
Dominik Stadler 994f940fcf One more place where path.separator needs to be used instead of ':'
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889894 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 12:14:13 +00:00
Dominik Stadler 39e61c4b90 Add missing dependency on batik-script
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889893 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 11:38:31 +00:00
Dominik Stadler 2842abf977 Jenkins DSL: Disable general Maven job as well and add trigger for Gradle-SonarQube-Job
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889892 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 11:38:27 +00:00
PJ Fanning 65994b4578 delete old xmlsec jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889888 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 08:39:36 +00:00
Dominik Stadler 5b02df43b4 Try to fix compiling on some CI-runs to support all active types of JDKs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889885 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 08:20:45 +00:00
Dominik Stadler d2cfa01471 Try to use the correct path-separator on Windows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889880 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 06:41:22 +00:00
Dominik Stadler 5d719b9016 Make isJava8 true or false, print out result in "init"
Some CI-builds with Java 11+ seem to still run as "JDK 8" builds...

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889879 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 06:41:20 +00:00
PJ Fanning f260abab3b use commons-io StringBuilderWriter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889874 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 02:24:48 +00:00
PJ Fanning 420722ac55 import order
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889873 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 02:11:21 +00:00
PJ Fanning a28596d583 forbidden api issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889872 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 02:09:44 +00:00
Andreas Beeker 0614835c55 #65304 - Add commons-io as a dependency
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889871 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 00:37:50 +00:00
Dominik Stadler fe753d4737 Fix two more invalid paths for the Java 9+ compilation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889842 13f79535-47bb-0310-9956-ffa450edef68
2021-05-13 12:11:43 +00:00
Dominik Stadler 75438f1306 Print out state of isJava8 when building jars
It seems this is not set properly in some of the CI-builds

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889841 13f79535-47bb-0310-9956-ffa450edef68
2021-05-13 12:11:40 +00:00
Dominik Stadler f3e670c1eb Use proper module-name without "poi-" prefix when compiling module-java with Java 9+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889840 13f79535-47bb-0310-9956-ffa450edef68
2021-05-13 12:11:38 +00:00
Dominik Stadler 41ff8bb20c Start moving some bits to the main Gradle file
Use a common definition of some constants
Gradle plugins are in the main file already anyway

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889839 13f79535-47bb-0310-9956-ffa450edef68
2021-05-13 12:11:35 +00:00
Dominik Stadler 0e8f4e3634 Bug 65227: Add some more tests, but the actual case is hard to reproduce with HSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889838 13f79535-47bb-0310-9956-ffa450edef68
2021-05-13 12:11:31 +00:00
Dominik Stadler 454d0452ef Bug 63339: Use removeFormulaImpl() where possible and add a test which verifies that setting a string-value on a formula cell is performed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889837 13f79535-47bb-0310-9956-ffa450edef68
2021-05-13 12:11:26 +00:00
Dominik Stadler 5e656e05ef Apply some IDE suggestions
Simpler regexes, missing JavaDoc, final

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889836 13f79535-47bb-0310-9956-ffa450edef68
2021-05-13 12:11:22 +00:00
PJ Fanning b3212152e6 xmlsec 2.2.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889816 13f79535-47bb-0310-9956-ffa450edef68
2021-05-13 00:00:41 +00:00
PJ Fanning 33bfe37c0b gradle 7
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889815 13f79535-47bb-0310-9956-ffa450edef68
2021-05-12 23:39:41 +00:00
Sayi d977656195 Remove invalid code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889747 13f79535-47bb-0310-9956-ffa450edef68
2021-05-11 08:03:28 +00:00
Andreas Beeker 0b0bcce7ac #64844 - Incorrect sizes of images in SVG
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889686 13f79535-47bb-0310-9956-ffa450edef68
2021-05-08 21:56:06 +00:00
Tim Allison b3f53ff0bc Bug 65293 -- npe in HwmfFont
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889636 13f79535-47bb-0310-9956-ffa450edef68
2021-05-07 15:43:04 +00:00
Sayi 841d558018 #65282 - addRun method only adds to run collection, missing iRun collection
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889551 13f79535-47bb-0310-9956-ffa450edef68
2021-05-06 06:29:31 +00:00
Andreas Beeker 053ae3618d #65085 - LineRect shall throw more specific exceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889428 13f79535-47bb-0310-9956-ffa450edef68
2021-05-02 22:03:02 +00:00
Andreas Beeker 45995b4a24 #65214 - Document signed by POI reported as 'partially' signed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889427 13f79535-47bb-0310-9956-ffa450edef68
2021-05-02 21:48:02 +00:00
Sayi 90f228cabb Fix ArrayIndexOutOfBoundsException if XWPFRun does not set style
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889259 13f79535-47bb-0310-9956-ffa450edef68
2021-04-28 09:26:16 +00:00
Dominik Stadler 285fd61fb8 Update to SonarQube plugin 3.1.1 and try to set version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889206 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:35 +00:00
Dominik Stadler f71833e1d9 Do not return null for POITextExtractor.getMetadataTextExtractor() for old Excel files
To adhere to the JavaDoc of the POITextExtractor interface which does not document a
possible null return.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889205 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:32 +00:00
Dominik Stadler 6b1e23665d Improve error message when formulas cannot be evaluated for some rows in SXSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889204 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:26 +00:00
Dominik Stadler 9517445fa9 Rework test to not cause file-handle leaks and add an exclude for Log4j 2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889203 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:22 +00:00
Dominik Stadler 6722f275d3 Add a disabled test to run one single file from the stress-test-documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889202 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:18 +00:00
Dominik Stadler a4b22fa4d3 Jenkins DSL: Remove some outdated directories/files
Otherwise we run into strange CI failures if some duplicated classes
are found in some of the steps

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889201 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:15 +00:00
Dominik Stadler e52be55f45 Jeknins DSL: Disable Maven based Sonar-run to see if the Gradle-based one works fine now
We can get rid of the Maven-based build if the Gradle-based job works fine now!

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889200 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:12 +00:00
PJ Fanning 50cfe3c10e [github-235] Fix date formatting for number cell values. Thanks to Anthony Schott. This close #235
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889179 13f79535-47bb-0310-9956-ffa450edef68
2021-04-25 17:16:05 +00:00
Andreas Beeker 1d594451d8 #65228 - the method getCap() does not work correctly in xslf.usermodel.XSLFTextRun
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889111 13f79535-47bb-0310-9956-ffa450edef68
2021-04-22 22:09:14 +00:00
Andreas Beeker 48d3c68270 TIKA-3164 - add more .xsb and classes needed for TIKAs extractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888985 13f79535-47bb-0310-9956-ffa450edef68
2021-04-19 22:48:09 +00:00
Andreas Beeker cf045a86b0 Fix Javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888977 13f79535-47bb-0310-9956-ffa450edef68
2021-04-19 17:30:02 +00:00
Andreas Beeker 32c2de2325 Fix Javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888939 13f79535-47bb-0310-9956-ffa450edef68
2021-04-18 23:15:45 +00:00
Andreas Beeker 27e0842bcc fix gradle builds to better comply with IntelliJ
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888936 13f79535-47bb-0310-9956-ffa450edef68
2021-04-18 22:11:26 +00:00
Andreas Beeker 9392b464e3 Fix Javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888935 13f79535-47bb-0310-9956-ffa450edef68
2021-04-18 22:10:38 +00:00
Andreas Beeker 7ab1c9c0fd fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888805 13f79535-47bb-0310-9956-ffa450edef68
2021-04-15 22:28:11 +00:00