282 Commits

Author SHA1 Message Date
PJ Fanning
537ddf53b9 fix broken test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895211 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 16:50:15 +00:00
PJ Fanning
3d44f76500 remove comment iterator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895210 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 16:26:55 +00:00
PJ Fanning
18bb41fb27 reduce use of comment iterator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895209 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 16:16:06 +00:00
PJ Fanning
44cb4cec60 javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895208 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 15:59:37 +00:00
PJ Fanning
ab1a19c3d4 add shape data to comments in iterator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895204 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 14:20:49 +00:00
PJ Fanning
deab188437 use try block to close input streams
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895203 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 13:51:00 +00:00
PJ Fanning
363abd6efe use try block to close output streams
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895197 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 12:53:20 +00:00
PJ Fanning
14c7218be8 use try block to close output streams
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895196 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 12:48:03 +00:00
PJ Fanning
e9355ddad4 expose VMLDrawing in SXSSF code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895189 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 01:31:51 +00:00
PJ Fanning
b2a7a1729f try to make CommentsTable more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895185 13f79535-47bb-0310-9956-ffa450edef68
2021-11-19 19:46:18 +00:00
PJ Fanning
910724058c try to make CommentsTable more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895182 13f79535-47bb-0310-9956-ffa450edef68
2021-11-19 18:09:57 +00:00
PJ Fanning
72dbcf4702 try to make CommentsTable more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895180 13f79535-47bb-0310-9956-ffa450edef68
2021-11-19 18:01:34 +00:00
PJ Fanning
b4f36926dc try to make CommentsTable more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895176 13f79535-47bb-0310-9956-ffa450edef68
2021-11-19 14:26:15 +00:00
PJ Fanning
d96869c870 some incorrect uses of
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895151 13f79535-47bb-0310-9956-ffa450edef68
2021-11-18 13:17:24 +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
PJ Fanning
14480be6de try to make CommentsTable more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895146 13f79535-47bb-0310-9956-ffa450edef68
2021-11-18 11:38:56 +00:00
PJ Fanning
e65f235198 try to make comments table more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895129 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 23:35:16 +00:00
PJ Fanning
df7fccb3d0 try to make comments table more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895128 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 23:26:31 +00:00
PJ Fanning
f717f921b0 try to make comments table more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895127 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 23:04:26 +00:00
PJ Fanning
234141b8c1 typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895126 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 22:45:21 +00:00
PJ Fanning
106557ede6 try to improve performance when removing rows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895125 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 22:41:00 +00:00
PJ Fanning
9c81d7f588 try to make comments table more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895117 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 18:53:11 +00:00
PJ Fanning
3a90544a15 try to make comments table more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895114 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 18:43:10 +00:00
PJ Fanning
1d9948f090 try to make comments table more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895113 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 18:41:16 +00:00
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