Commit Graph

258 Commits

Author SHA1 Message Date
PJ Fanning fa703eccfb try to make comments table more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895105 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 13:08:48 +00:00
PJ Fanning fd1b5c87cf try to make comments table more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895104 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 13:00:09 +00:00
PJ Fanning 8bde66c3e6 javadoc issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895099 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 11:35:47 +00:00
Andreas Beeker 27b4bdc3f7 Move org.apache.poi.hssf.dev classes from poi:main to poi:test
Use CloseShieldOutputStream instead of CloseIgnoringInputStream

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895041 13f79535-47bb-0310-9956-ffa450edef68
2021-11-15 00:03:44 +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 530af684b3 try to handle logging issue where DeferredSXSSFWorkbook close can lead to logging about close already having been called
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894951 13f79535-47bb-0310-9956-ffa450edef68
2021-11-11 13:24:37 +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 2a6ef7e4ae throw IOException if getInputStream fails
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894848 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 20:49:45 +00:00
PJ Fanning 5a59376389 return better error message when ZipEntry has no data (it was closed before the data was retrieved)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894831 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 11:15:26 +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
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