]> source.dussan.org Git - poi.git/log
poi.git
4 years agotry to fix test compile
PJ Fanning [Sat, 27 Jun 2020 10:08:14 +0000 (10:08 +0000)]
try to fix test compile

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879257 13f79535-47bb-0310-9956-ffa450edef68

4 years agotry to fix test compile
PJ Fanning [Sat, 27 Jun 2020 09:53:11 +0000 (09:53 +0000)]
try to fix test compile

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879256 13f79535-47bb-0310-9956-ffa450edef68

4 years agoremove some deprecated Name methods from Workbook
PJ Fanning [Sat, 27 Jun 2020 09:33:06 +0000 (09:33 +0000)]
remove some deprecated Name methods from Workbook

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879255 13f79535-47bb-0310-9956-ffa450edef68

4 years agomove docx added to wrong test dir
PJ Fanning [Fri, 26 Jun 2020 10:41:15 +0000 (10:41 +0000)]
move docx added to wrong test dir

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879229 13f79535-47bb-0310-9956-ffa450edef68

4 years ago[bug-64561] XWPFSDTContent.getText() is empty for nested SDT elements
PJ Fanning [Fri, 26 Jun 2020 10:15:53 +0000 (10:15 +0000)]
[bug-64561] XWPFSDTContent.getText() is empty for nested SDT elements

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879223 13f79535-47bb-0310-9956-ffa450edef68

4 years agofix ASL headers
Andreas Beeker [Thu, 25 Jun 2020 22:06:52 +0000 (22:06 +0000)]
fix ASL headers

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879210 13f79535-47bb-0310-9956-ffa450edef68

4 years agoXmlBeans now generates the beans including the modifications which were applied by...
Andreas Beeker [Tue, 23 Jun 2020 22:16:03 +0000 (22:16 +0000)]
XmlBeans now generates the beans including the modifications which were applied by the POI build (r1879130) ... so those modifications are now obsolete

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879131 13f79535-47bb-0310-9956-ffa450edef68

4 years agoimprove memory safety in HWPFDocumentCore
Tim Allison [Mon, 22 Jun 2020 20:23:19 +0000 (20:23 +0000)]
improve memory safety in HWPFDocumentCore

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879097 13f79535-47bb-0310-9956-ffa450edef68

4 years agoUpdate xmlbeans 4.0 everytime while it's not stable yet
Andreas Beeker [Sat, 20 Jun 2020 16:31:10 +0000 (16:31 +0000)]
Update xmlbeans 4.0 everytime while it's not stable yet

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879045 13f79535-47bb-0310-9956-ffa450edef68

4 years agofix ooxml-lite
Andreas Beeker [Sat, 20 Jun 2020 13:57:01 +0000 (13:57 +0000)]
fix ooxml-lite

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879032 13f79535-47bb-0310-9956-ffa450edef68

4 years agoremove old mockito jar
PJ Fanning [Sat, 20 Jun 2020 07:59:35 +0000 (07:59 +0000)]
remove old mockito jar

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879023 13f79535-47bb-0310-9956-ffa450edef68

4 years agoremove old ooxml-libs on build - update path
Andreas Beeker [Sat, 20 Jun 2020 05:27:08 +0000 (05:27 +0000)]
remove old ooxml-libs on build - update path

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879021 13f79535-47bb-0310-9956-ffa450edef68

4 years ago#64411 - Provide JigSaw modules - use XmlBeans 4.0.0 (preview)
Andreas Beeker [Sat, 20 Jun 2020 00:14:32 +0000 (00:14 +0000)]
#64411 - Provide JigSaw modules - use XmlBeans 4.0.0 (preview)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879018 13f79535-47bb-0310-9956-ffa450edef68

4 years agolimit xmlbeans archived files
Andreas Beeker [Fri, 19 Jun 2020 23:43:37 +0000 (23:43 +0000)]
limit xmlbeans archived files

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879017 13f79535-47bb-0310-9956-ffa450edef68

4 years agotry to fix windows failures
Andreas Beeker [Fri, 19 Jun 2020 21:53:37 +0000 (21:53 +0000)]
try to fix windows failures

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879011 13f79535-47bb-0310-9956-ffa450edef68

4 years agoHandle more detected FileMagic types gracefully when running regression testing
Dominik Stadler [Mon, 15 Jun 2020 20:51:50 +0000 (20:51 +0000)]
Handle more detected FileMagic types gracefully when running regression testing

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878871 13f79535-47bb-0310-9956-ffa450edef68

4 years agoThrow an exception with more information instead of an NPE
Dominik Stadler [Mon, 15 Jun 2020 20:51:47 +0000 (20:51 +0000)]
Throw an exception with more information instead of an NPE

This seems to be a corrupted document and shows up in regression tests and should at least be reported with some more information

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878870 13f79535-47bb-0310-9956-ffa450edef68

4 years agoAlways close Reader in test
Dominik Stadler [Mon, 15 Jun 2020 20:51:43 +0000 (20:51 +0000)]
Always close Reader in test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878869 13f79535-47bb-0310-9956-ffa450edef68

4 years agoAdd some more tests for bug 63624
Dominik Stadler [Mon, 15 Jun 2020 20:51:39 +0000 (20:51 +0000)]
Add some more tests for bug 63624

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878868 13f79535-47bb-0310-9956-ffa450edef68

4 years agoAdd some more tests from bug 63819
Dominik Stadler [Mon, 15 Jun 2020 20:51:36 +0000 (20:51 +0000)]
Add some more tests from bug 63819

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878867 13f79535-47bb-0310-9956-ffa450edef68

4 years agotry to fix broken test
PJ Fanning [Thu, 11 Jun 2020 11:04:23 +0000 (11:04 +0000)]
try to fix broken test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878750 13f79535-47bb-0310-9956-ffa450edef68

4 years agoremove unnecessary imports
PJ Fanning [Thu, 11 Jun 2020 09:31:07 +0000 (09:31 +0000)]
remove unnecessary imports

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878749 13f79535-47bb-0310-9956-ffa450edef68

4 years ago[bug-64516] XSSFSheet.shiftRows has a bug when shifting rows affect the order of...
PJ Fanning [Thu, 11 Jun 2020 09:20:29 +0000 (09:20 +0000)]
[bug-64516] XSSFSheet.shiftRows has a bug when shifting rows affect the order of the rows. Thanks to Alex Richter

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878747 13f79535-47bb-0310-9956-ffa450edef68

4 years ago[bug-64516] XSSFSheet.shiftRows has a bug when shifting rows affect the order of...
PJ Fanning [Thu, 11 Jun 2020 09:19:26 +0000 (09:19 +0000)]
[bug-64516] XSSFSheet.shiftRows has a bug when shifting rows affect the order of the rows. Thanks to Alex Richter

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878746 13f79535-47bb-0310-9956-ffa450edef68

4 years ago64512 - Ole10Native aka embedded / object packager - handle UTF16 variants
Andreas Beeker [Thu, 11 Jun 2020 00:43:45 +0000 (00:43 +0000)]
64512 - Ole10Native aka embedded / object packager - handle UTF16 variants

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878730 13f79535-47bb-0310-9956-ffa450edef68

4 years ago[github-182] Fix root property size calculation. Thanks to netmackan. This closes...
PJ Fanning [Wed, 10 Jun 2020 17:30:28 +0000 (17:30 +0000)]
[github-182] Fix root property size calculation. Thanks to netmackan. This closes #182

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878721 13f79535-47bb-0310-9956-ffa450edef68

4 years agotest tidy up
PJ Fanning [Tue, 9 Jun 2020 21:04:31 +0000 (21:04 +0000)]
test tidy up

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878675 13f79535-47bb-0310-9956-ffa450edef68

4 years agoupgrade and mockito
PJ Fanning [Sat, 6 Jun 2020 10:02:21 +0000 (10:02 +0000)]
upgrade and mockito

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878542 13f79535-47bb-0310-9956-ffa450edef68

4 years ago[github-181] make Value function work with arrays. Thanks to Miłosz Rembisz. This...
PJ Fanning [Sat, 6 Jun 2020 09:30:30 +0000 (09:30 +0000)]
[github-181] make Value function work with arrays. Thanks to Miłosz Rembisz. This closes #181

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878541 13f79535-47bb-0310-9956-ffa450edef68

4 years ago63290 - PPTX To Png changes font sizes and colors
Andreas Beeker [Thu, 4 Jun 2020 23:17:44 +0000 (23:17 +0000)]
63290 - PPTX To Png changes font sizes and colors
various fixes to HSLF
moved line spacing to the following line
refactored PropertyFetcher with lambdas

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878492 13f79535-47bb-0310-9956-ffa450edef68

4 years ago[bug-64489] Make Zip64 the default mode for saving SXSSF spreadsheets
PJ Fanning [Tue, 2 Jun 2020 10:52:03 +0000 (10:52 +0000)]
[bug-64489] Make Zip64 the default mode for saving SXSSF spreadsheets

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878389 13f79535-47bb-0310-9956-ffa450edef68

4 years agoremove stray refs to jaxb
PJ Fanning [Fri, 29 May 2020 08:20:22 +0000 (08:20 +0000)]
remove stray refs to jaxb

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878259 13f79535-47bb-0310-9956-ffa450edef68

4 years agoinclude commons-compress jar in distribution
PJ Fanning [Thu, 28 May 2020 19:49:23 +0000 (19:49 +0000)]
include commons-compress jar in distribution

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878246 13f79535-47bb-0310-9956-ffa450edef68

4 years ago[bug-64477] prevent duplicate call to delete temporary file (SXSSF finalizer)
PJ Fanning [Thu, 28 May 2020 09:25:15 +0000 (09:25 +0000)]
[bug-64477] prevent duplicate call to delete temporary file (SXSSF finalizer)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878227 13f79535-47bb-0310-9956-ffa450edef68

4 years ago[github-183] Fix gradle build. Thanks to Eugene Kortov. This close #183
PJ Fanning [Wed, 27 May 2020 20:27:38 +0000 (20:27 +0000)]
[github-183] Fix gradle build. Thanks to Eugene Kortov. This close #183

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878202 13f79535-47bb-0310-9956-ffa450edef68

4 years agoBug 63290: retrieve default run properties from paragraph
Alain Béarez [Wed, 27 May 2020 01:18:15 +0000 (01:18 +0000)]
Bug 63290: retrieve default run properties from paragraph

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878147 13f79535-47bb-0310-9956-ffa450edef68

4 years agoGet rid of redundant getParentParagraph
Alain Béarez [Wed, 27 May 2020 01:18:10 +0000 (01:18 +0000)]
Get rid of redundant getParentParagraph

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878146 13f79535-47bb-0310-9956-ffa450edef68

4 years agonext version will be 5.0.0
PJ Fanning [Sun, 17 May 2020 19:16:57 +0000 (19:16 +0000)]
next version will be 5.0.0

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877875 13f79535-47bb-0310-9956-ffa450edef68

4 years agonext version will be 5.0.0
PJ Fanning [Sun, 17 May 2020 17:29:37 +0000 (17:29 +0000)]
next version will be 5.0.0

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877872 13f79535-47bb-0310-9956-ffa450edef68

4 years agoFix test-failure
Dominik Stadler [Sun, 17 May 2020 07:46:21 +0000 (07:46 +0000)]
Fix test-failure

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877847 13f79535-47bb-0310-9956-ffa450edef68

4 years agoFix some IDE warnings, make lock-objects final, use generics, remove unused allocated...
Dominik Stadler [Sat, 16 May 2020 13:06:20 +0000 (13:06 +0000)]
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

4 years agoUpdate ToCSV example to print out file-names in error messages
Dominik Stadler [Sat, 16 May 2020 13:06:15 +0000 (13:06 +0000)]
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

4 years agoBug 64322: Optimize performance of reading ole2 files
Dominik Stadler [Sat, 16 May 2020 13:06:07 +0000 (13:06 +0000)]
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

4 years agoBug 64393: Adjust relational operators to handle MissingArgEval correctly
Dominik Stadler [Sat, 16 May 2020 13:05:58 +0000 (13:05 +0000)]
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

4 years agoFix bug 64420: NPE in XSSFReader for files with macro-sheets
Dominik Stadler [Sat, 16 May 2020 13:05:53 +0000 (13:05 +0000)]
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

4 years agoforbidden-apis-check issues
PJ Fanning [Sat, 16 May 2020 08:17:32 +0000 (08:17 +0000)]
forbidden-apis-check issues

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877801 13f79535-47bb-0310-9956-ffa450edef68

4 years ago[github-180] Add DateValue function. Thanks to Milosz Rembisz. This closes #180
PJ Fanning [Fri, 15 May 2020 20:15:00 +0000 (20:15 +0000)]
[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

4 years ago[github-179] add an option for RangeCopier.copyRange() to clone styles. Thanks to...
PJ Fanning [Fri, 15 May 2020 19:46:17 +0000 (19:46 +0000)]
[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

4 years ago[bug-64441] synchronize code that initialises WorkbookFactory
PJ Fanning [Fri, 15 May 2020 07:36:27 +0000 (07:36 +0000)]
[bug-64441] synchronize code that initialises WorkbookFactory

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877776 13f79535-47bb-0310-9956-ffa450edef68

4 years agomark test code as ok to suppress forbidden-apis check
PJ Fanning [Thu, 14 May 2020 20:47:33 +0000 (20:47 +0000)]
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

4 years ago[bug-64441] add test case
PJ Fanning [Thu, 14 May 2020 19:42:06 +0000 (19:42 +0000)]
[bug-64441] add test case

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877747 13f79535-47bb-0310-9956-ffa450edef68

4 years agofix errors due to new lib structure
Andreas Beeker [Thu, 7 May 2020 10:27:52 +0000 (10:27 +0000)]
fix errors due to new lib structure

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877466 13f79535-47bb-0310-9956-ffa450edef68

4 years agoignore errors on delete
Andreas Beeker [Wed, 6 May 2020 19:09:44 +0000 (19:09 +0000)]
ignore errors on delete

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877454 13f79535-47bb-0310-9956-ffa450edef68

4 years agofix typo
Andreas Beeker [Wed, 6 May 2020 14:22:34 +0000 (14:22 +0000)]
fix typo

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877437 13f79535-47bb-0310-9956-ffa450edef68

4 years agoUpdate FindBugs to SpotBugs - it seems the jenkins findbugs plugin could process...
Andreas Beeker [Wed, 6 May 2020 13:48:25 +0000 (13:48 +0000)]
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

4 years agofix findbugs packaging/url
Andreas Beeker [Wed, 6 May 2020 09:56:09 +0000 (09:56 +0000)]
fix findbugs packaging/url

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877427 13f79535-47bb-0310-9956-ffa450edef68

4 years agolib was still in svn ... removing it
Andreas Beeker [Wed, 6 May 2020 09:20:49 +0000 (09:20 +0000)]
lib was still in svn ... removing it

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877421 13f79535-47bb-0310-9956-ffa450edef68

4 years agoremove test code and ignore lib
Andreas Beeker [Wed, 6 May 2020 09:05:33 +0000 (09:05 +0000)]
remove test code and ignore lib

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877420 13f79535-47bb-0310-9956-ffa450edef68

4 years ago#64411 - Provide JigSaw modules
Andreas Beeker [Wed, 6 May 2020 09:02:50 +0000 (09:02 +0000)]
#64411 - Provide JigSaw modules

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877419 13f79535-47bb-0310-9956-ffa450edef68

4 years agoremove old library directories
Andreas Beeker [Tue, 5 May 2020 14:07:24 +0000 (14:07 +0000)]
remove old library directories

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877400 13f79535-47bb-0310-9956-ffa450edef68

4 years ago#64411 - Provide JigSaw modules
Andreas Beeker [Tue, 5 May 2020 13:36:30 +0000 (13:36 +0000)]
#64411 - Provide JigSaw modules

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877398 13f79535-47bb-0310-9956-ffa450edef68

4 years ago[github-176] Remove limit on number of rules in XSSFSheetConditionalFormatting.
PJ Fanning [Wed, 29 Apr 2020 23:37:13 +0000 (23:37 +0000)]
[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

4 years ago[github-176] Remove limit on number of rules in XSSFSheetConditionalFormatting.
PJ Fanning [Wed, 29 Apr 2020 21:58:46 +0000 (21:58 +0000)]
[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

4 years ago[github-176] Remove limit on number of rules in XSSFSheetConditionalFormatting.
PJ Fanning [Wed, 29 Apr 2020 21:18:18 +0000 (21:18 +0000)]
[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

4 years ago[github-176] Remove limit on number of rules in XSSFSheetConditionalFormatting.
PJ Fanning [Wed, 29 Apr 2020 20:55:09 +0000 (20:55 +0000)]
[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

4 years ago[github-176] Remove limit on number of rules in XSSFSheetConditionalFormatting. This...
PJ Fanning [Wed, 29 Apr 2020 20:26:09 +0000 (20:26 +0000)]
[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

4 years ago[github-178] Make isLatentStyle() public. This closes #178
PJ Fanning [Wed, 29 Apr 2020 20:21:20 +0000 (20:21 +0000)]
[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

4 years ago#64387 - Big POIFS stream result in OOM
Andreas Beeker [Tue, 28 Apr 2020 23:08:05 +0000 (23:08 +0000)]
#64387 - Big POIFS stream result in OOM

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877144 13f79535-47bb-0310-9956-ffa450edef68

4 years agoThrow exception on null/placeholder arrays in TNEF
Andreas Beeker [Sun, 26 Apr 2020 21:38:14 +0000 (21:38 +0000)]
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

4 years agoGithub-177: Avoid NullPointerException if RangeCopier encounters empty/missing rows
Dominik Stadler [Sun, 26 Apr 2020 08:23:04 +0000 (08:23 +0000)]
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

4 years agoReplace assertion with exception
Andreas Beeker [Fri, 24 Apr 2020 21:31:49 +0000 (21:31 +0000)]
Replace assertion with exception

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876951 13f79535-47bb-0310-9956-ffa450edef68

4 years agoFix regression introduced via Bug 60845: There are more items in CTBorder that need...
Dominik Stadler [Fri, 24 Apr 2020 20:58:44 +0000 (20:58 +0000)]
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

4 years agoBug 63294: Add some more methods to allow to use CellType everywhere
Dominik Stadler [Fri, 24 Apr 2020 20:58:38 +0000 (20:58 +0000)]
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

4 years agoFix some IDE warnings, remove usage of deprecated methods
Dominik Stadler [Fri, 24 Apr 2020 20:58:32 +0000 (20:58 +0000)]
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

4 years agoRe-establish class which is used in mass-regression-testing
Dominik Stadler [Fri, 24 Apr 2020 20:58:23 +0000 (20:58 +0000)]
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

4 years agoAdjust README.rst somewhat, remove outdated git-link which redirects to Github now
Dominik Stadler [Fri, 24 Apr 2020 20:58:20 +0000 (20:58 +0000)]
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

4 years agoAlso remove very old versions of ooxml-schemas-jar (ca. POI 3.5)
Dominik Stadler [Fri, 24 Apr 2020 20:57:59 +0000 (20:57 +0000)]
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

4 years agoSonar fix - "Add the missing @deprecated Javadoc tag."
Andreas Beeker [Wed, 22 Apr 2020 21:25:25 +0000 (21:25 +0000)]
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

4 years ago#55505 - CountryRecord not found
Andreas Beeker [Tue, 21 Apr 2020 22:13:59 +0000 (22:13 +0000)]
#55505 - CountryRecord not found

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876805 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSonar fix - "Add a "NoSuchElementException" for iteration beyond the end of the colle...
Andreas Beeker [Mon, 20 Apr 2020 22:01:54 +0000 (22:01 +0000)]
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

4 years agoSonar fix - "Cast one of the operands of this addition operation to a 'long'/'double'"
Andreas Beeker [Mon, 20 Apr 2020 21:28:34 +0000 (21:28 +0000)]
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

4 years agoSonar fix - Suppress "Make sure that command line arguments are used safely here...
Andreas Beeker [Mon, 20 Apr 2020 20:57:37 +0000 (20:57 +0000)]
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

4 years agofix integration test error
Andreas Beeker [Mon, 20 Apr 2020 08:27:36 +0000 (08:27 +0000)]
fix integration test error

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876741 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSonar fixes
Andreas Beeker [Sun, 19 Apr 2020 23:37:06 +0000 (23:37 +0000)]
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

4 years ago#63745 - Add traversing and debugging interface to HSSF
Andreas Beeker [Sun, 19 Apr 2020 20:33:54 +0000 (20:33 +0000)]
#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

4 years agoFix new Name.isHidden leftover
Andreas Beeker [Sun, 19 Apr 2020 20:32:46 +0000 (20:32 +0000)]
Fix new Name.isHidden leftover

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876731 13f79535-47bb-0310-9956-ffa450edef68

4 years agoAdd unit tests for new Name.isHidden method
Nick Burch [Sun, 19 Apr 2020 15:40:37 +0000 (15:40 +0000)]
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

4 years agoInspired by Stackoverflow #61292598 - Expose if a Named Range is hidden or not
Nick Burch [Sun, 19 Apr 2020 15:23:32 +0000 (15:23 +0000)]
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

4 years agoSonar fixes - Ignore System.out-calls and args checks in examples
Andreas Beeker [Sat, 18 Apr 2020 21:31:18 +0000 (21:31 +0000)]
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

4 years ago#57843 - RuntimeException on extracting text from Word 97-2004 Document
Andreas Beeker [Thu, 16 Apr 2020 22:11:34 +0000 (22:11 +0000)]
#57843 - RuntimeException on extracting text from Word 97-2004 Document

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876641 13f79535-47bb-0310-9956-ffa450edef68

4 years agoReplace Allocate+System.arraycopy with Array.copyOf/Range and IOUtils.safelyClone
Andreas Beeker [Thu, 16 Apr 2020 22:11:16 +0000 (22:11 +0000)]
Replace Allocate+System.arraycopy with Array.copyOf/Range and IOUtils.safelyClone

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876640 13f79535-47bb-0310-9956-ffa450edef68

4 years agoSonar fix - Child class methods named for parent class methods should be overrides
Andreas Beeker [Tue, 14 Apr 2020 19:09:27 +0000 (19:09 +0000)]
Sonar fix - Child class methods named for parent class methods should be overrides

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876526 13f79535-47bb-0310-9956-ffa450edef68

4 years ago#64350 - Sonar fix - "Iterator.next()" methods should throw "NoSuchElementException"
Andreas Beeker [Tue, 14 Apr 2020 19:07:24 +0000 (19:07 +0000)]
#64350 - Sonar fix - "Iterator.next()" methods should throw "NoSuchElementException"

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876525 13f79535-47bb-0310-9956-ffa450edef68

4 years ago[bug-64348] partial fix for IndexOutOfBoundsException
PJ Fanning [Tue, 14 Apr 2020 12:53:17 +0000 (12:53 +0000)]
[bug-64348] partial fix for IndexOutOfBoundsException

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876512 13f79535-47bb-0310-9956-ffa450edef68

4 years ago[bug-64348] partial fix for IndexOutOfBoundsException
PJ Fanning [Tue, 14 Apr 2020 09:06:56 +0000 (09:06 +0000)]
[bug-64348] partial fix for IndexOutOfBoundsException

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876487 13f79535-47bb-0310-9956-ffa450edef68

4 years ago#64036 - Replace reflection calls in factories for Java 9+ (HSSF Record Factory)
Andreas Beeker [Mon, 13 Apr 2020 21:55:05 +0000 (21:55 +0000)]
#64036 - Replace reflection calls in factories for Java 9+ (HSSF Record Factory)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876467 13f79535-47bb-0310-9956-ffa450edef68

4 years ago#63745 - Add traversing and debugging interface to HSSF
Andreas Beeker [Sun, 12 Apr 2020 22:03:52 +0000 (22:03 +0000)]
#63745 - Add traversing and debugging interface to HSSF

This makes toString() implementations obsolete.

This also contains preparation for #64036 to (maybe) change the record factory interface of HSSF.

Remove duplicated record SeriesToChartGroupRecord, which is a duplicate of SeriesChartGroupIndexRecord.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876433 13f79535-47bb-0310-9956-ffa450edef68

4 years agoAdd table row at correct index
Alain Béarez [Sun, 12 Apr 2020 00:26:12 +0000 (00:26 +0000)]
Add table row at correct index

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876409 13f79535-47bb-0310-9956-ffa450edef68

4 years agoAdd Java 15 job
Andreas Beeker [Sat, 11 Apr 2020 23:16:18 +0000 (23:16 +0000)]
Add Java 15 job

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876407 13f79535-47bb-0310-9956-ffa450edef68

4 years agoReturn and set paragraph indentation level
Alain Béarez [Sat, 11 Apr 2020 21:43:18 +0000 (21:43 +0000)]
Return and set paragraph indentation level

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876406 13f79535-47bb-0310-9956-ffa450edef68