Dominik Stadler
6a1e8dbb70
Fix test-failure
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877847 13f79535-47bb-0310-9956-ffa450edef68
2020-05-17 07:46:21 +00:00
Dominik Stadler
c61cd6fa03
Fix some IDE warnings, make lock-objects final, use generics, remove unused allocated fields to reduce memory overhead of DocumentInputStream
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877818 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 13:06:20 +00:00
Dominik Stadler
eb497bac79
Update ToCSV example to print out file-names in error messages
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877817 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 13:06:15 +00:00
Dominik Stadler
3cad9e6851
Bug 64322: Optimize performance of reading ole2 files
...
Remember channel-size to no re-read it for every read-access,
but reset it if we extend the size of the file
profiling indicates Channel.size() sometimes has similar runtime
overhead as position() or read()!
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877816 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 13:06:07 +00:00
Dominik Stadler
ff919eb0e4
Bug 64393: Adjust relational operators to handle MissingArgEval correctly
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877815 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 13:05:58 +00:00
Dominik Stadler
d2ad752e1c
Fix bug 64420: NPE in XSSFReader for files with macro-sheets
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877814 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 13:05:53 +00:00
PJ Fanning
5bad296845
forbidden-apis-check issues
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877801 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 08:17:32 +00:00
PJ Fanning
af8137a6e4
[github-180] Add DateValue function. Thanks to Milosz Rembisz. This closes #180
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877793 13f79535-47bb-0310-9956-ffa450edef68
2020-05-15 20:15:00 +00:00
PJ Fanning
9bddb8729e
[github-179] add an option for RangeCopier.copyRange() to clone styles. Thanks to xjlin0. This closes #179
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877792 13f79535-47bb-0310-9956-ffa450edef68
2020-05-15 19:46:17 +00:00
PJ Fanning
237d55b3e3
[bug-64441] synchronize code that initialises WorkbookFactory
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877776 13f79535-47bb-0310-9956-ffa450edef68
2020-05-15 07:36:27 +00:00
PJ Fanning
9e39db8119
mark test code as ok to suppress forbidden-apis check
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877759 13f79535-47bb-0310-9956-ffa450edef68
2020-05-14 20:47:33 +00:00
PJ Fanning
24345edd5e
[bug-64441] add test case
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877747 13f79535-47bb-0310-9956-ffa450edef68
2020-05-14 19:42:06 +00:00
Andreas Beeker
23337fa03d
fix errors due to new lib structure
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877466 13f79535-47bb-0310-9956-ffa450edef68
2020-05-07 10:27:52 +00:00
Andreas Beeker
e1621cdca0
ignore errors on delete
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877454 13f79535-47bb-0310-9956-ffa450edef68
2020-05-06 19:09:44 +00:00
Andreas Beeker
725196c1d2
fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877437 13f79535-47bb-0310-9956-ffa450edef68
2020-05-06 14:22:34 +00:00
Andreas Beeker
aab888643e
Update FindBugs to SpotBugs - it seems the jenkins findbugs plugin could process the output (findbugs.xml)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877436 13f79535-47bb-0310-9956-ffa450edef68
2020-05-06 13:48:25 +00:00
Andreas Beeker
9558f2b36a
fix findbugs packaging/url
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877427 13f79535-47bb-0310-9956-ffa450edef68
2020-05-06 09:56:09 +00:00
Andreas Beeker
e82ff7989f
lib was still in svn ... removing it
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877421 13f79535-47bb-0310-9956-ffa450edef68
2020-05-06 09:20:49 +00:00
Andreas Beeker
987c0d8876
remove test code and ignore lib
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877420 13f79535-47bb-0310-9956-ffa450edef68
2020-05-06 09:05:33 +00:00
Andreas Beeker
296275d88f
#64411 - Provide JigSaw modules
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877419 13f79535-47bb-0310-9956-ffa450edef68
2020-05-06 09:02:50 +00:00
Andreas Beeker
cf1b81fffb
remove old library directories
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877400 13f79535-47bb-0310-9956-ffa450edef68
2020-05-05 14:07:24 +00:00
Andreas Beeker
114a4dbd41
#64411 - Provide JigSaw modules
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877398 13f79535-47bb-0310-9956-ffa450edef68
2020-05-05 13:36:30 +00:00
PJ Fanning
ce5f3df081
[github-176] Remove limit on number of rules in XSSFSheetConditionalFormatting.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877181 13f79535-47bb-0310-9956-ffa450edef68
2020-04-29 23:37:13 +00:00
PJ Fanning
d8e06cfa5d
[github-176] Remove limit on number of rules in XSSFSheetConditionalFormatting.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877179 13f79535-47bb-0310-9956-ffa450edef68
2020-04-29 21:58:46 +00:00
PJ Fanning
1491160578
[github-176] Remove limit on number of rules in XSSFSheetConditionalFormatting.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877177 13f79535-47bb-0310-9956-ffa450edef68
2020-04-29 21:18:18 +00:00
PJ Fanning
bc654e63da
[github-176] Remove limit on number of rules in XSSFSheetConditionalFormatting.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877176 13f79535-47bb-0310-9956-ffa450edef68
2020-04-29 20:55:09 +00:00
PJ Fanning
4da2b597e0
[github-176] Remove limit on number of rules in XSSFSheetConditionalFormatting. This closes #176
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877175 13f79535-47bb-0310-9956-ffa450edef68
2020-04-29 20:26:09 +00:00
PJ Fanning
18c98662aa
[github-178] Make isLatentStyle() public. This closes #178
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877174 13f79535-47bb-0310-9956-ffa450edef68
2020-04-29 20:21:20 +00:00
Andreas Beeker
8b4f463ed3
#64387 - Big POIFS stream result in OOM
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877144 13f79535-47bb-0310-9956-ffa450edef68
2020-04-28 23:08:05 +00:00
Andreas Beeker
23acaff78d
Throw exception on null/placeholder arrays in TNEF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877044 13f79535-47bb-0310-9956-ffa450edef68
2020-04-26 21:38:14 +00:00
Dominik Stadler
979d1b48e7
Github-177: Avoid NullPointerException if RangeCopier encounters empty/missing rows
...
Also expose one-parameter constructor and verify it in tests.
Closes #177
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877010 13f79535-47bb-0310-9956-ffa450edef68
2020-04-26 08:23:04 +00:00
Andreas Beeker
6ae31c8a67
Replace assertion with exception
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876951 13f79535-47bb-0310-9956-ffa450edef68
2020-04-24 21:31:49 +00:00
Dominik Stadler
c7c5fc23be
Fix regression introduced via Bug 60845: There are more items in CTBorder that need to be handled in equals()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876949 13f79535-47bb-0310-9956-ffa450edef68
2020-04-24 20:58:44 +00:00
Dominik Stadler
4abe6ef9ef
Bug 63294: Add some more methods to allow to use CellType everywhere
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876948 13f79535-47bb-0310-9956-ffa450edef68
2020-04-24 20:58:38 +00:00
Dominik Stadler
52320e3213
Fix some IDE warnings, remove usage of deprecated methods
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876947 13f79535-47bb-0310-9956-ffa450edef68
2020-04-24 20:58:32 +00:00
Dominik Stadler
a415ae13f7
Re-establish class which is used in mass-regression-testing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876946 13f79535-47bb-0310-9956-ffa450edef68
2020-04-24 20:58:23 +00:00
Dominik Stadler
0c8d02f53e
Adjust README.rst somewhat, remove outdated git-link which redirects to Github now
...
Closes #174
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876945 13f79535-47bb-0310-9956-ffa450edef68
2020-04-24 20:58:20 +00:00
Dominik Stadler
827e7e324b
Also remove very old versions of ooxml-schemas-jar (ca. POI 3.5)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876944 13f79535-47bb-0310-9956-ffa450edef68
2020-04-24 20:57:59 +00:00
Andreas Beeker
ad73704e81
Sonar fix - "Add the missing @deprecated Javadoc tag."
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876854 13f79535-47bb-0310-9956-ffa450edef68
2020-04-22 21:25:25 +00:00
Andreas Beeker
778f4f5d7d
#55505 - CountryRecord not found
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876805 13f79535-47bb-0310-9956-ffa450edef68
2020-04-21 22:13:59 +00:00
Andreas Beeker
c8a5bdf22a
Sonar fix - "Add a "NoSuchElementException" for iteration beyond the end of the collection."
...
PPTX2PNG - handle ignoreParse/quite for file inputs too
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876768 13f79535-47bb-0310-9956-ffa450edef68
2020-04-20 22:01:54 +00:00
Andreas Beeker
948d4a3574
Sonar fix - "Cast one of the operands of this addition operation to a 'long'/'double'"
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876767 13f79535-47bb-0310-9956-ffa450edef68
2020-04-20 21:28:34 +00:00
Andreas Beeker
65c8c6cd11
Sonar fix - Suppress "Make sure that command line arguments are used safely here." for examples
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876766 13f79535-47bb-0310-9956-ffa450edef68
2020-04-20 20:57:37 +00:00
Andreas Beeker
30280a9e5a
fix integration test error
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876741 13f79535-47bb-0310-9956-ffa450edef68
2020-04-20 08:27:36 +00:00
Andreas Beeker
661c0b66bc
Sonar fixes
...
- Math operands should be cast before assignment
- Suppress - Make sure that command line arguments are used safely here
- Suppress - Replace this use of System.out or System.err by a logger.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876737 13f79535-47bb-0310-9956-ffa450edef68
2020-04-19 23:37:06 +00:00
Andreas Beeker
c41dee931f
#63745 - Add traversing and debugging interface to HSSF
...
a few more HSSF / Old Excel classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876732 13f79535-47bb-0310-9956-ffa450edef68
2020-04-19 20:33:54 +00:00
Andreas Beeker
fbcf0c81ba
Fix new Name.isHidden leftover
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876731 13f79535-47bb-0310-9956-ffa450edef68
2020-04-19 20:32:46 +00:00
Nick Burch
e9d0ddce93
Add unit tests for new Name.isHidden method
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876725 13f79535-47bb-0310-9956-ffa450edef68
2020-04-19 15:40:37 +00:00
Nick Burch
248e85dbba
Inspired by Stackoverflow #61292598 - Expose if a Named Range is hidden or not
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876722 13f79535-47bb-0310-9956-ffa450edef68
2020-04-19 15:23:32 +00:00
Andreas Beeker
2841f3cd0e
Sonar fixes - Ignore System.out-calls and args checks in examples
...
Remove superfluous internal methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876704 13f79535-47bb-0310-9956-ffa450edef68
2020-04-18 21:31:18 +00:00