Commit Graph

122 Commits

Author SHA1 Message Date
PJ Fanning f83a4152d5 support removing hyperlink from one cell when hyperlink is shared by many cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892247 13f79535-47bb-0310-9956-ffa450edef68
2021-08-11 21:16:49 +00:00
PJ Fanning 4bac6db36b support removing hyperlink from one cell when hyperlink is shared by many cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892246 13f79535-47bb-0310-9956-ffa450edef68
2021-08-11 21:13:45 +00:00
PJ Fanning bf6184fd80 [bug-65490] add support for removing hyperlink directly from sheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892189 13f79535-47bb-0310-9956-ffa450edef68
2021-08-10 19:40:03 +00:00
PJ Fanning d7dd7abf78 add test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892179 13f79535-47bb-0310-9956-ffa450edef68
2021-08-10 14:22:25 +00:00
PJ Fanning df9bc05a94 add support for reading hyperlinks that have cell refs that are area references (very limited update or write support as yet)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892178 13f79535-47bb-0310-9956-ffa450edef68
2021-08-10 14:10:59 +00:00
PJ Fanning b4e1eedcf8 [bug-65492] XSSFExportToXml does not handle formula type cells with boolean values
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892146 13f79535-47bb-0310-9956-ffa450edef68
2021-08-09 23:37:13 +00:00
PJ Fanning 5e15f7bf77 fix broken test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892144 13f79535-47bb-0310-9956-ffa450edef68
2021-08-09 22:39:27 +00:00
PJ Fanning 7bcf6d5a6d add support for reading hyperlinks that have cell refs that are area references (very limited update or write support as yet)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892141 13f79535-47bb-0310-9956-ffa450edef68
2021-08-09 21:57:40 +00:00
PJ Fanning eecb44281e [bug-65464] fix issue where shared formulas can be corrupted. Thanks to Nico Seegert
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891962 13f79535-47bb-0310-9956-ffa450edef68
2021-08-02 17:22:13 +00:00
PJ Fanning cceb910254 update docs about deferred SXSSF and limitations on what can be done in row generating function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891937 13f79535-47bb-0310-9956-ffa450edef68
2021-07-31 21:20:33 +00:00
PJ Fanning 3aa03459a7 [bug-65464] fix issue where shared formulas can be corrupted
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891849 13f79535-47bb-0310-9956-ffa450edef68
2021-07-28 09:36:37 +00:00
PJ Fanning 8c495d746e add test case for copying a cell with hyperlink
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891778 13f79535-47bb-0310-9956-ffa450edef68
2021-07-24 14:22:08 +00:00
PJ Fanning 8679488458 handle case where row nums are the same
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891776 13f79535-47bb-0310-9956-ffa450edef68
2021-07-24 14:15:08 +00:00
PJ Fanning 4f1f2c9f80 handle case where row nums are the same
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891775 13f79535-47bb-0310-9956-ffa450edef68
2021-07-24 13:33:30 +00:00
PJ Fanning 3b98b7d8c2 remove new test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891769 13f79535-47bb-0310-9956-ffa450edef68
2021-07-24 08:58:40 +00:00
PJ Fanning ca93275431 fix spelling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891768 13f79535-47bb-0310-9956-ffa450edef68
2021-07-24 08:57:27 +00:00
PJ Fanning c8b475a9c2 partially undo change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891764 13f79535-47bb-0310-9956-ffa450edef68
2021-07-24 08:27:49 +00:00
PJ Fanning 49237e4e98 remove some unnecessary casts from copy method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891763 13f79535-47bb-0310-9956-ffa450edef68
2021-07-24 08:10:19 +00:00
PJ Fanning 50a4a3102f remove unchecked cast from setHyperlink
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891762 13f79535-47bb-0310-9956-ffa450edef68
2021-07-24 07:09:04 +00:00
PJ Fanning ef871bf07e [bug-64759] ignore unknown relationships when cloning sheets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891723 13f79535-47bb-0310-9956-ffa450edef68
2021-07-22 15:46:51 +00:00
PJ Fanning f01a45f9be [bug-64759] ignore unknown relationships when cloning sheets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891722 13f79535-47bb-0310-9956-ffa450edef68
2021-07-22 15:40:56 +00:00
PJ Fanning cb6e6e0609 [bug-64473] OPCPackage.open(fileName, PackageAccess.READ) does not open valid xlsx file. Thanks to Yury Molchan.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891692 13f79535-47bb-0310-9956-ffa450edef68
2021-07-20 17:00:32 +00:00
PJ Fanning 0678b16f14 right to left xlsx test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891682 13f79535-47bb-0310-9956-ffa450edef68
2021-07-20 12:43:52 +00:00
PJ Fanning 94813022b9 change test that started failing after switch to commons-compress 1.21
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891553 13f79535-47bb-0310-9956-ffa450edef68
2021-07-14 20:34:19 +00:00
PJ Fanning 5d65f68136 try to fix issue with building in windows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891467 13f79535-47bb-0310-9956-ffa450edef68
2021-07-12 02:28:36 +00:00
PJ Fanning 91c163ed1d disable more tests when running with java 1.8.0_292
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891365 13f79535-47bb-0310-9956-ffa450edef68
2021-07-07 14:12:46 +00:00
PJ Fanning d7d18d9093 add commons-compress to module-info
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891362 13f79535-47bb-0310-9956-ffa450edef68
2021-07-07 13:28:33 +00:00
Dominik Stadler 8f2795a621 Apply some IDE suggestions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891347 13f79535-47bb-0310-9956-ffa450edef68
2021-07-07 10:04:24 +00:00
PJ Fanning 6c1bd28168 add explicit commons-io dependency to poi-ooxml. This closes #237
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891320 13f79535-47bb-0310-9956-ffa450edef68
2021-07-06 16:47:59 +00:00
Andreas Beeker a01600e605 deactivate TestSignatureInfo on Jdk 1.8.0 PatchLevel 292
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891289 13f79535-47bb-0310-9956-ffa450edef68
2021-07-05 21:36:07 +00:00
PJ Fanning 17ff1ae0db upgrade bouncycastle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891116 13f79535-47bb-0310-9956-ffa450edef68
2021-06-28 19:52:52 +00:00
PJ Fanning 212863741f upgrade pdfbox dependency
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891107 13f79535-47bb-0310-9956-ffa450edef68
2021-06-28 16:28:21 +00:00
PJ Fanning 31f17c5e99 update javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890647 13f79535-47bb-0310-9956-ffa450edef68
2021-06-09 20:24:58 +00:00
PJ Fanning 13ac67d18d update javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890646 13f79535-47bb-0310-9956-ffa450edef68
2021-06-09 20:22:06 +00:00
PJ Fanning 313b7acbc5 remove unnecessary cast
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890631 13f79535-47bb-0310-9956-ffa450edef68
2021-06-09 11:20:27 +00:00
Sayi 25470ddb55 #65331 - Wrong mapping of TableRowAlign
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890234 13f79535-47bb-0310-9956-ffa450edef68
2021-05-27 02:53:39 +00:00
Andreas Beeker 1bb995ec16 replace CombinedIterable with a few lines of simple code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890135 13f79535-47bb-0310-9956-ffa450edef68
2021-05-23 12:04:27 +00:00
PJ Fanning fdacf6fcaa try to fix tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890126 13f79535-47bb-0310-9956-ffa450edef68
2021-05-22 23:02:02 +00:00
PJ Fanning 212a7b9655 try to fix test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890124 13f79535-47bb-0310-9956-ffa450edef68
2021-05-22 22:04:07 +00:00
PJ Fanning 6deda8eb37 try to fix test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890123 13f79535-47bb-0310-9956-ffa450edef68
2021-05-22 22:02:45 +00:00
PJ Fanning db53f9b860 try to fix test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890121 13f79535-47bb-0310-9956-ffa450edef68
2021-05-22 21:31:55 +00:00
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
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 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
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
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 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 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
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
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 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 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
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 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 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
Dominik Stadler 930e576659 Gradle: Synchronize the code in the different build-scripts across the projects
No actual change in behavior expected
Mostly moved parts to make it easier to compare the build files with each other

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888791 13f79535-47bb-0310-9956-ffa450edef68
2021-04-15 14:25:38 +00:00
Andreas Beeker bb5d321b79 fix javadocs - remove @author tags (http://apache-poi.1045710.n5.nabble.com/Javadocs-clean-up-remove-author-tags-tp5737663.html)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888780 13f79535-47bb-0310-9956-ffa450edef68
2021-04-14 22:53:33 +00:00
Andreas Beeker 7c67bba960 :poi-ooxml - fix javadocs - link to dependent/external project javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888747 13f79535-47bb-0310-9956-ffa450edef68
2021-04-13 22:46:12 +00:00
Andreas Beeker 3c03974499 Fix Xades / Document.importNode SIGSEV
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888686 13f79535-47bb-0310-9956-ffa450edef68
2021-04-12 23:49:29 +00:00
Andreas Beeker 861ff65508 fix paths for integration build, docs, add site task to main build.gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888580 13f79535-47bb-0310-9956-ffa450edef68
2021-04-10 11:44:30 +00:00
Dominik Stadler 329ae952d2 Ensure the cache-directory for ImageIO is set to a valid directory
Introduce a helper method to set ImageIO.setCacheDir() to the default temporary directory

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888535 13f79535-47bb-0310-9956-ffa450edef68
2021-04-08 20:10:48 +00:00
Andreas Beeker b6aee1ef6d 65206 - Migrate ant / maven to gradle build
compile / jar / test of mrJars
don't include ants build.xml anymore
rename directories to match project and maven artifact names
refactor artifacts - so each project has one artifact
replace static references in hssf/dev tests with junit5 constructs, which had problems in parallel tests
increase gradle heap to 4gb because of OOM - maybe less would also work

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888488 13f79535-47bb-0310-9956-ffa450edef68
2021-04-07 21:40:33 +00:00