Commit Graph

245 Commits

Author SHA1 Message Date
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
PJ Fanning ee110ed126 typo in log message
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894828 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 10:30:28 +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 9e867ad539 Adjust trimming sheetnames > 31 chars
Define Constant MAX_SENSITIVE_SHEET_NAME_LEN = 31
Warn about trimmed sheet names
Implement sheetname trimming for HSSFWorkbook
Add use case tests

Closes #273

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894817 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 16:22:33 +00:00
Dominik Stadler 761a78b49f Use append(char) instead of string where possible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894814 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 15:00:03 +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 e40b4e1ec9 CaseInsensitiveMap is not thread-safe
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894738 13f79535-47bb-0310-9956-ffa450edef68
2021-11-04 18:30:31 +00:00
PJ Fanning 584c8c059b case insensitive map
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894720 13f79535-47bb-0310-9956-ffa450edef68
2021-11-03 15:20:32 +00:00
PJ Fanning a46cf63f4f javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894714 13f79535-47bb-0310-9956-ffa450edef68
2021-11-03 14:00:10 +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 face981f3f forbidden api
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894697 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 19:54:45 +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
PJ Fanning d9b6f799a6 revert xmlsec upgrade
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894691 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 17:15:53 +00:00
PJ Fanning c5b2b3b984 xmlsec 2.3.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894689 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 15:03:56 +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
Dominik Stadler 7a5bc4227b Do not fail on different count of categories and points and fix cloning charts
We see many cases where documents have charts with a difference here, so
downgrade the exception to a warning for now

Also handle cloning charts in workbooks where the parts have unexpected names
by making sure that the chosen part-name is not yet taken.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894676 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 13:17:53 +00:00
PJ Fanning 90b8a0c36d try to add LICENSE and NOTICE to sources jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894565 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 22:50:03 +00:00
PJ Fanning e66486bc8a try to add LICENSE and NOTICE to javadoc jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894564 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 22:29:10 +00:00
PJ Fanning a5325cb112 reflections 0.10.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894561 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 21:03:10 +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 c1ae6ef0e9 XSSFReader extensibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894513 13f79535-47bb-0310-9956-ffa450edef68
2021-10-23 14:23:19 +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 22bac58465 use content types from constants
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894506 13f79535-47bb-0310-9956-ffa450edef68
2021-10-23 09:46:13 +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 b3a64e0bca remove deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894497 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 22:52:30 +00:00
PJ Fanning b2aa78144f remove deprecated methods on XSSFColor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894495 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 21:34:27 +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
PJ Fanning 5d79f841bb remove finalizer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894490 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 18:09:26 +00:00
PJ Fanning 7416d8035a remove finalizer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894484 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 17:05:15 +00:00
PJ Fanning d72018db13 deprecate method that should not be public
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894483 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 16:52:04 +00:00
Dominik Stadler d59824cc9e Reformat code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894480 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 14:32:01 +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
PJ Fanning 04c130b8d5 make max record sizes configurable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894453 13f79535-47bb-0310-9956-ffa450edef68
2021-10-21 17:34:29 +00:00
Dominik Stadler 0727874584 Avoid NullPointerException when cloning sheets where there is no drawing patriarch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894450 13f79535-47bb-0310-9956-ffa450edef68
2021-10-21 14:17:31 +00:00
PJ Fanning 9fe3944e8e get proper xmlbeans 5.0.2 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894428 13f79535-47bb-0310-9956-ffa450edef68
2021-10-20 23:54:34 +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 6b1a477997 hs-err file location
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894411 13f79535-47bb-0310-9956-ffa450edef68
2021-10-20 13:08:53 +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 646fb8c690 minor code improvement
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894364 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 20:58:13 +00:00
Andreas Beeker 611f5273fd sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894360 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 17:40:47 +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