Commit Graph

323 Commits

Author SHA1 Message Date
PJ Fanning ba7cbf4b3c add R1C1 test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897654 13f79535-47bb-0310-9956-ffa450edef68
2022-02-01 12:15:16 +00:00
PJ Fanning 0ce3e46204 add classes to suit Sayi/poi-tl
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897506 13f79535-47bb-0310-9956-ffa450edef68
2022-01-26 13:46:56 +00:00
PJ Fanning 1ee199b1ea try to fix build for Java 9+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897344 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 14:35:20 +00:00
Dominik Stadler 7f1d843752 Don't create an error-log when slightly broken spreadsheets contain an empty value for attribute "s"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897331 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 08:57:43 +00:00
Dominik Stadler 416562daa5 Avoid log-spam when using SXSSFWorkbook with auto-sizing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897324 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:59:03 +00:00
PJ Fanning 68ce022531 [github-296] cache data of external workbook. Thanks to aspojo. This closes #296
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897311 13f79535-47bb-0310-9956-ffa450edef68
2022-01-21 19:43:10 +00:00
Andreas Beeker ff6984df00 remove and prevent links to stackoverflow
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896899 13f79535-47bb-0310-9956-ffa450edef68
2022-01-10 22:06:26 +00:00
Dominik Stadler 6de48ada57 Do not fail TestSignatureInfo when the current JDK does not have all the necessary setup
Let's gracefully handle some expected failures with some versions of the JDK
to not have flaky/failing test for users who just want to recompile POI themselves.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896598 13f79535-47bb-0310-9956-ffa450edef68
2022-01-01 16:11:49 +00:00
PJ Fanning c8fc960d2d use isEmpty()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896547 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 21:35:45 +00:00
PJ Fanning 9de29ea3fc use isEmpty()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896541 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 20:34:10 +00:00
Dominik Stadler 32311e42c2 Fix Sonar issues and print out some more in test-assertions that do fail sometimes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896531 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 16:10:52 +00:00
PJ Fanning 6aa1e58bdf add isEmpty() method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896524 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 06:18:09 +00:00
PJ Fanning 8210bdb0c8 fix tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896513 13f79535-47bb-0310-9956-ffa450edef68
2021-12-29 22:00:43 +00:00
PJ Fanning 42a2794ae7 close input streams for parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896461 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 01:55:57 +00:00
PJ Fanning dfb4af31e7 preserve rich text in cell copy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896348 13f79535-47bb-0310-9956-ffa450edef68
2021-12-24 11:11:44 +00:00
PJ Fanning d6ab8e8444 [github-290] Customize Spliterator implementations for better parallelism. Thanks to Daniel Shuy. This closes #290
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896305 13f79535-47bb-0310-9956-ffa450edef68
2021-12-23 10:33:59 +00:00
PJ Fanning d41e050688 add tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896288 13f79535-47bb-0310-9956-ffa450edef68
2021-12-22 19:40:44 +00:00
PJ Fanning 4f03da511a add tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896287 13f79535-47bb-0310-9956-ffa450edef68
2021-12-22 19:32:58 +00:00
PJ Fanning fe4a3b7596 small refactor of XSSFReader
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896259 13f79535-47bb-0310-9956-ffa450edef68
2021-12-22 03:51:51 +00:00
PJ Fanning a2dbbd7748 [bug-64732] add support for new line escaping when updating table names - test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896247 13f79535-47bb-0310-9956-ffa450edef68
2021-12-21 15:16:46 +00:00
PJ Fanning 065537fb02 add some tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895911 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 17:48:47 +00:00
PJ Fanning 0f18de4b06 [bug-65739] reduce log level of message to debug
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895794 13f79535-47bb-0310-9956-ffa450edef68
2021-12-10 21:13:01 +00:00
PJ Fanning 0baf788054 [bug-65738] add basic test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895789 13f79535-47bb-0310-9956-ffa450edef68
2021-12-10 18:41:41 +00:00
PJ Fanning a24820e629 add data-formatter test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895706 13f79535-47bb-0310-9956-ffa450edef68
2021-12-08 19:27:09 +00:00
PJ Fanning 307d5e2ce9 upgrade spotbugs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895696 13f79535-47bb-0310-9956-ffa450edef68
2021-12-08 12:42:19 +00:00
PJ Fanning 50bab16ece add xlookup test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895613 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 10:10:16 +00:00
PJ Fanning 0a66fe284b initial work on example 5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895606 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 23:25:31 +00:00
Dominik Stadler d5538d24d8 Apply IDE suggestions, adjust tests, ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895596 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 15:33:39 +00:00
PJ Fanning c8a3870064 [github-243] basic version of XLookup
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895499 13f79535-47bb-0310-9956-ffa450edef68
2021-12-02 19:10:14 +00:00
PJ Fanning f713f551ad [bug-65718] Charts imported without blip fills
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895487 13f79535-47bb-0310-9956-ffa450edef68
2021-12-02 10:10:17 +00:00
PJ Fanning add71cb80a spelling of embedded
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895452 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 11:33:25 +00:00
PJ Fanning 43438ee6ef [bug-65715] fix bug in getDrawingPatriarch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895447 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 08:49:03 +00:00
PJ Fanning 53da548689 [bug-65711] add test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895407 13f79535-47bb-0310-9956-ffa450edef68
2021-11-29 16:09:06 +00:00
PJ Fanning 84798ced36 [bug-65711] Fix overriding relation IDs in importBlip
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895405 13f79535-47bb-0310-9956-ffa450edef68
2021-11-29 15:35:13 +00:00
PJ Fanning 7475b1f609 [bug-65706] ignore trash parts in OOXML files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895370 13f79535-47bb-0310-9956-ffa450edef68
2021-11-27 10:15:39 +00:00
PJ Fanning b2b8bee161 add test for comment modification
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895352 13f79535-47bb-0310-9956-ffa450edef68
2021-11-26 13:28:53 +00:00
PJ Fanning de1fe6ee75 rerwite test that fails when run with saxon (because test relies on XML formatting)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895305 13f79535-47bb-0310-9956-ffa450edef68
2021-11-24 19:19:33 +00:00
PJ Fanning 7b02f24e47 [github-281] Thanks to This closes #281
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895284 13f79535-47bb-0310-9956-ffa450edef68
2021-11-24 09:55:33 +00:00
PJ Fanning 692d38641a stray imports
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895256 13f79535-47bb-0310-9956-ffa450edef68
2021-11-22 13:38:09 +00:00
PJ Fanning 84957d7bc4 add comment tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895242 13f79535-47bb-0310-9956-ffa450edef68
2021-11-21 17:47:47 +00:00
PJ Fanning 5306b84b8c add comment tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895241 13f79535-47bb-0310-9956-ffa450edef68
2021-11-21 17:45:08 +00:00
PJ Fanning 45f3893885 add comment tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895240 13f79535-47bb-0310-9956-ffa450edef68
2021-11-21 17:32:46 +00:00
PJ Fanning 1f50363e47 set sheet on comments table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895230 13f79535-47bb-0310-9956-ffa450edef68
2021-11-21 13:46:42 +00:00
PJ Fanning 5267b055eb add comment tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895229 13f79535-47bb-0310-9956-ffa450edef68
2021-11-21 12:42:03 +00:00
PJ Fanning ef1dd54f36 try to make CommentsTable more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895148 13f79535-47bb-0310-9956-ffa450edef68
2021-11-18 11:51:24 +00:00
Andreas Beeker 007a6f6160 Fix deprecate warnings on X509 api calls
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895034 13f79535-47bb-0310-9956-ffa450edef68
2021-11-14 13:15:14 +00:00
PJ Fanning 8365ee1611 [github-278] Resolve all SpotBugs P1 issues in Main and Test. Thanks to Andreas Reichel. This closes #278
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895016 13f79535-47bb-0310-9956-ffa450edef68
2021-11-14 10:18:40 +00:00
PJ Fanning 20c0ac1637 [bug-65678] add XSLFGraphicFrame hasDiagram
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894962 13f79535-47bb-0310-9956-ffa450edef68
2021-11-11 23:24:08 +00:00
PJ Fanning 2db7202cc3 [bug-65676] issue in XSSFReader where string builder is not always cleared between cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894902 13f79535-47bb-0310-9956-ffa450edef68
2021-11-10 10:34:09 +00:00
PJ Fanning 02f36cf4fd [bug-65675] add regression test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894884 13f79535-47bb-0310-9956-ffa450edef68
2021-11-09 19:45:03 +00:00
PJ Fanning 458369a64d [bug-65674] add isVideoFile to XSLFPictureShape
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894860 13f79535-47bb-0310-9956-ffa450edef68
2021-11-09 10:40:57 +00:00
PJ Fanning 336bce7c82 [bug-65673] add test case (that passes)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894830 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 11:00:59 +00:00
Andreas Beeker 37e8f72493 #65672 - Digitial Signature - set commitment type and purpose
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894820 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 23:48:15 +00:00
Dominik Stadler 034c95ec55 Add some more forbidden-apis to prefer core JDK classes over Guava and commons-codec
Also prevent java logging from being used inadvertently

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894810 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 14:59:40 +00:00
PJ Fanning 8f1baa1190 [bug-65669] proper handling of apostrophe escaping in table column names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894713 13f79535-47bb-0310-9956-ffa450edef68
2021-11-03 13:55:11 +00:00
Andreas Beeker f2f4ea44b6 #65668 - upgrade to xmlsec 2.3.0 - make secure validation configurable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894701 13f79535-47bb-0310-9956-ffa450edef68
2021-11-03 00:00:21 +00:00
PJ Fanning 1c184f49d0 forbidden api
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894700 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 21:37:01 +00:00
PJ Fanning c7954fdcd8 forbidden api
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894699 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 21:12:40 +00:00
PJ Fanning e26ab012d8 [github-270] Draw correct XDGF circular arc. Thanks to Dmitry Komarov. This closes #270
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894696 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 19:35:25 +00:00
PJ Fanning 1328893212 [github-269] more work on external workbook links (formulas). Thanks to @aspojo. This closes #269
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894695 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 18:59:18 +00:00
Dominik Stadler f4ae175558 Add slightly more output if signature-test fails
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894681 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 13:19:03 +00:00
Dominik Stadler 34ea6a50e0 Check and fix issue when sheets are added while an existing workbook-evaluator is used.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894680 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 13:18:50 +00:00
PJ Fanning ecdd4fcb55 revert github-267 due to broken tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894550 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 10:11:04 +00:00
PJ Fanning 6017327bae [github-267] Issue with sheet range in formula With spaces and quotes. Thanks to aspojo. This closes #267
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894549 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 09:32:50 +00:00
PJ Fanning 9f6f11023a fix mime type for pict files (image/x-pict)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894510 13f79535-47bb-0310-9956-ffa450edef68
2021-10-23 12:53:57 +00:00
PJ Fanning 6a12c6cb25 [bug-65650] use image/x-pict mime type
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894507 13f79535-47bb-0310-9956-ffa450edef68
2021-10-23 10:49:18 +00:00
PJ Fanning 802165ecd0 add XSLFPictureShape setName
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894505 13f79535-47bb-0310-9956-ffa450edef68
2021-10-23 09:27:35 +00:00
PJ Fanning 03fc88b18b add XSLFPictureShape getName
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894504 13f79535-47bb-0310-9956-ffa450edef68
2021-10-23 09:18:17 +00:00
PJ Fanning 2730bdc113 [bug-65649] add test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894492 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 20:24:12 +00:00
Dominik Stadler b276d140be Add more output in one test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894479 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 14:31:57 +00:00
Andreas Beeker bf360400be sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894426 13f79535-47bb-0310-9956-ffa450edef68
2021-10-20 22:50:35 +00:00
PJ Fanning d14dc1c659 scaling issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894366 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 22:40:14 +00:00
Andreas Beeker 3c3154ea8c sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894365 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 22:35:17 +00:00
PJ Fanning 787af858e7 add problem file to build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894359 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 17:34:12 +00:00
PJ Fanning 005810640d [bug-65638] Remove escaping of ampersand from headers and footers created by Excel. Thanks to Viru.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894357 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 17:15:04 +00:00
PJ Fanning b906b72d29 [bug-59388] Set comment with option isVisible in .xlsx. Thanks to ryoii. This closes #239
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894347 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 10:48:04 +00:00
PJ Fanning b20897a996 extra tests for Zip package parts backed by temp files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894313 13f79535-47bb-0310-9956-ffa450edef68
2021-10-17 10:24:03 +00:00
PJ Fanning 0042a47172 record size of encrypted temp data
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894303 13f79535-47bb-0310-9956-ffa450edef68
2021-10-16 10:30:43 +00:00
Andreas Beeker dfbab3ff6a #64036 - Replace reflection calls in factories for Java 9+
use ServiceLoader for HSLF Metro Shapes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894298 13f79535-47bb-0310-9956-ffa450edef68
2021-10-16 00:00:50 +00:00
PJ Fanning ac0b1fd15a [github-264] extend test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894276 13f79535-47bb-0310-9956-ffa450edef68
2021-10-15 07:49:31 +00:00
Andreas Beeker c6f7087f4f #65634 - NotOLE2FileException not thrown in POI 5.0.0 by opening an XML-RAW File with SlideShowFactory.create()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894271 13f79535-47bb-0310-9956-ffa450edef68
2021-10-14 22:43:56 +00:00
PJ Fanning 82bdcefce9 test issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894225 13f79535-47bb-0310-9956-ffa450edef68
2021-10-14 09:36:49 +00:00
PJ Fanning 8a12686b82 temp file package parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894224 13f79535-47bb-0310-9956-ffa450edef68
2021-10-14 09:28:26 +00:00
PJ Fanning 1212e5f6be add tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894215 13f79535-47bb-0310-9956-ffa450edef68
2021-10-13 23:13:33 +00:00
PJ Fanning e64eb48670 add tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894213 13f79535-47bb-0310-9956-ffa450edef68
2021-10-13 22:34:35 +00:00
Andreas Beeker 6583f68d2f #64716 - wmf display error
update heuristic to respect location of bounding box

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894206 13f79535-47bb-0310-9956-ffa450edef68
2021-10-13 20:39:01 +00:00
Andreas Beeker 24b3dac0c0 #64716 - wmf display error
add anothger heuristic - cumulate the bounding box of the shape records and compare it to window, viewport and emfbounds

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894176 13f79535-47bb-0310-9956-ffa450edef68
2021-10-12 22:30:30 +00:00
PJ Fanning 91d502732b [bug-62021] test adding time to date-time
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894175 13f79535-47bb-0310-9956-ffa450edef68
2021-10-12 21:50:00 +00:00
PJ Fanning 88ebe095dc use workbook's xssf factory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894174 13f79535-47bb-0310-9956-ffa450edef68
2021-10-12 20:41:32 +00:00
Andreas Beeker db71e2328a #65551 - Incorrect fetching paragraph and text runs props from master shape
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894140 13f79535-47bb-0310-9956-ffa450edef68
2021-10-11 19:44:47 +00:00
PJ Fanning cfa2323f61 adjust test expectation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894129 13f79535-47bb-0310-9956-ffa450edef68
2021-10-11 11:31:53 +00:00
PJ Fanning 700ecc461f [bug-62215] add test case for sxssf formulas - issue was already fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894128 13f79535-47bb-0310-9956-ffa450edef68
2021-10-11 10:45:59 +00:00
PJ Fanning b60641017d refactor XSSFReader to make it more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894112 13f79535-47bb-0310-9956-ffa450edef68
2021-10-10 17:16:21 +00:00
PJ Fanning 2514e4d0ab [bug-65452] fix issue where WorkbookFactory.create(File, ...) returns null if file type not recognised
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894097 13f79535-47bb-0310-9956-ffa450edef68
2021-10-10 09:58:02 +00:00
PJ Fanning 7d47c205e9 [bug-65306] issue with shift rows that remove rows and how shared formulas are affected
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894089 13f79535-47bb-0310-9956-ffa450edef68
2021-10-10 06:39:56 +00:00
PJ Fanning 08a1f9af22 [bug-65268] issue reading shared formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894064 13f79535-47bb-0310-9956-ffa450edef68
2021-10-09 12:26:21 +00:00
PJ Fanning 5baa34caf2 remove text size limit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894055 13f79535-47bb-0310-9956-ffa450edef68
2021-10-09 06:55:31 +00:00
PJ Fanning f69682ef8c remove text size limit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894051 13f79535-47bb-0310-9956-ffa450edef68
2021-10-08 23:56:30 +00:00
Andreas Beeker 60e9de813e #65623 - Create XAdES-T signature with XAdESXLSignatureFacet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894049 13f79535-47bb-0310-9956-ffa450edef68
2021-10-08 23:08:51 +00:00
PJ Fanning 94eb8a749e undo change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894037 13f79535-47bb-0310-9956-ffa450edef68
2021-10-08 18:13:20 +00:00
PJ Fanning 5e7d8e85ca [bug-65372] allow max entry size to be higher than 4Gb
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894036 13f79535-47bb-0310-9956-ffa450edef68
2021-10-08 18:12:18 +00:00
PJ Fanning 2631c9a20e add test case from bug-65619
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894016 13f79535-47bb-0310-9956-ffa450edef68
2021-10-08 08:10:17 +00:00
PJ Fanning 4ec60ae992 [github-260] add test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893991 13f79535-47bb-0310-9956-ffa450edef68
2021-10-07 14:09:10 +00:00
PJ Fanning c12f903789 genericise cell copy logic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893931 13f79535-47bb-0310-9956-ffa450edef68
2021-10-06 12:46:20 +00:00
PJ Fanning 51ce81924d [bug-65613] experimental SXSSF writeAvoidingTempFiles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893896 13f79535-47bb-0310-9956-ffa450edef68
2021-10-04 20:34:47 +00:00
Andreas Beeker 9f7085a281 #65612 - XSLF CustomGeometry - replace XmlStreamReader access with XmlBeans delegate
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893859 13f79535-47bb-0310-9956-ffa450edef68
2021-10-03 21:05:19 +00:00
PJ Fanning 1da3708e8b [bug-65609] add naive test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893792 13f79535-47bb-0310-9956-ffa450edef68
2021-10-01 17:03:26 +00:00
PJ Fanning 50a2b9376b forbidden api
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893730 13f79535-47bb-0310-9956-ffa450edef68
2021-09-29 17:56:27 +00:00
PJ Fanning bd1ea63abe [github-254] Implement XSSFWorkbook linkExternalWorkbook. Thanks to @aspojo. This closes #254
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893728 13f79535-47bb-0310-9956-ffa450edef68
2021-09-29 16:16:32 +00:00
PJ Fanning abe22ef8f7 [bug-65595] Strip colour formatting in headers and footers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893599 13f79535-47bb-0310-9956-ffa450edef68
2021-09-24 15:05:10 +00:00
Andreas Beeker d6806c3365 rework BitmapImageRenderer
refactor TestPPTX2PNG code to support archives

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893451 13f79535-47bb-0310-9956-ffa450edef68
2021-09-19 19:52:20 +00:00
PJ Fanning e7fecdc001 another missing class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893449 13f79535-47bb-0310-9956-ffa450edef68
2021-09-19 18:21:34 +00:00
PJ Fanning 53d76b369e small test change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893443 13f79535-47bb-0310-9956-ffa450edef68
2021-09-19 12:56:26 +00:00
PJ Fanning f591073698 add test for broken file (5.0.1-RC1 issues)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893442 13f79535-47bb-0310-9956-ffa450edef68
2021-09-19 12:45:26 +00:00
PJ Fanning 803403bc86 add support for encrypting temp files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893435 13f79535-47bb-0310-9956-ffa450edef68
2021-09-19 10:59:52 +00:00
PJ Fanning 3edd698613 add more classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893434 13f79535-47bb-0310-9956-ffa450edef68
2021-09-19 10:15:58 +00:00
PJ Fanning a20035a3b6 license
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893426 13f79535-47bb-0310-9956-ffa450edef68
2021-09-18 23:09:49 +00:00
PJ Fanning eee18122af license
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893425 13f79535-47bb-0310-9956-ffa450edef68
2021-09-18 23:09:26 +00:00
PJ Fanning 44f041ebcf fix broken test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893424 13f79535-47bb-0310-9956-ffa450edef68
2021-09-18 22:14:58 +00:00
PJ Fanning 5733826765 missing classes in poi-ooxml-lite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893423 13f79535-47bb-0310-9956-ffa450edef68
2021-09-18 21:10:58 +00:00
PJ Fanning 8d7af95fed [bug-65581] support configurable temp file threshold
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893421 13f79535-47bb-0310-9956-ffa450edef68
2021-09-18 20:06:25 +00:00
Andreas Beeker 99f52557ef try to fix Windows still opened file handle issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893345 13f79535-47bb-0310-9956-ffa450edef68
2021-09-14 22:52:03 +00:00
Andreas Beeker 596db31170 XmlSec/BouncyCastle and Batik are now optional
disable SonarQube build based on ant
remove sonar and maven directory, because POMs are now created via Gradle
remove maven section from seed-build

fix duplicated maven dependencies on POM export

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893289 13f79535-47bb-0310-9956-ffa450edef68
2021-09-12 20:31:43 +00:00
PJ Fanning bfb86f8a45 don't allow SAX parser to accept DTDs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893075 13f79535-47bb-0310-9956-ffa450edef68
2021-09-07 20:59:19 +00:00
Andreas Beeker f63f3ff09d update to release 5.1.0
fix ooxml-lite build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892887 13f79535-47bb-0310-9956-ffa450edef68
2021-09-03 21:13:36 +00:00
Andreas Beeker 1eace7a0c4 update module-info.classes for next release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892829 13f79535-47bb-0310-9956-ffa450edef68
2021-09-02 20:47:20 +00:00
Andreas Beeker 5c6493a5fc try to fix no-scratchpad build
remove or set-to-static scratchpad dependency from modules

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892795 13f79535-47bb-0310-9956-ffa450edef68
2021-09-01 22:32:48 +00:00
Andreas Beeker 1d4b743159 alter exception check to be compatible with Oracle / IBM jdk
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892704 13f79535-47bb-0310-9956-ffa450edef68
2021-08-29 18:58:36 +00:00
Andreas Beeker f71cebcce5 sonar fixes
close resources in tests
fix gradle warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892683 13f79535-47bb-0310-9956-ffa450edef68
2021-08-28 23:48:48 +00:00
PJ Fanning 6d9b450ce3 extend xslf test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892680 13f79535-47bb-0310-9956-ffa450edef68
2021-08-28 13:27:36 +00:00
PJ Fanning 5d0ea93bb4 add basic support for hdphoto/wdp images in slideshows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892653 13f79535-47bb-0310-9956-ffa450edef68
2021-08-27 17:33:39 +00:00
PJ Fanning bb641dc017 try to fix test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892321 13f79535-47bb-0310-9956-ffa450edef68
2021-08-13 23:46:54 +00:00
PJ Fanning 93ab03c295 try to fix test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892320 13f79535-47bb-0310-9956-ffa450edef68
2021-08-13 23:34:33 +00:00
PJ Fanning ef61f3da7c support removing hyperlink from one cell when hyperlink is shared by many cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892249 13f79535-47bb-0310-9956-ffa450edef68
2021-08-11 21:25:00 +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 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 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 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 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
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
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
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 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
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 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 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
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