]> source.dussan.org Git - poi.git/log
poi.git
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

4 years ago#64319 Tighten the scientific format code to avoid making eg TRUE into TRUE+, handle...
Nick Burch [Sat, 11 Apr 2020 15:36:27 +0000 (15:36 +0000)]
#64319 Tighten the scientific format code to avoid making eg TRUE into TRUE+, handle formats like 0E-0, and ensure formats like 0E0 work correctly

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

4 years ago[bug-64327] bugfix in SXSSFSheet isColumnTrackedForAutoSizing for untracked. Thanks...
PJ Fanning [Thu, 9 Apr 2020 20:14:50 +0000 (20:14 +0000)]
[bug-64327] bugfix in SXSSFSheet isColumnTrackedForAutoSizing for untracked. Thanks to Eugene Kortov. This closes #175

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

4 years agobouncycastle 1.64
PJ Fanning [Wed, 8 Apr 2020 08:29:15 +0000 (08:29 +0000)]
bouncycastle 1.64

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

4 years agoAdd disabled unit test for #64319
Nick Burch [Tue, 7 Apr 2020 09:46:32 +0000 (09:46 +0000)]
Add disabled unit test for #64319

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

4 years agoArrayUtil - remove unused method
Andreas Beeker [Mon, 6 Apr 2020 20:43:16 +0000 (20:43 +0000)]
ArrayUtil - remove unused method

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

4 years agoSonar fixes - String literals should not be duplicated
Andreas Beeker [Sun, 5 Apr 2020 20:50:40 +0000 (20:50 +0000)]
Sonar fixes - String literals should not be duplicated

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

4 years agoSonar fixes - "static" base class members should not be accessed via derived types
Andreas Beeker [Sun, 5 Apr 2020 18:55:46 +0000 (18:55 +0000)]
Sonar fixes - "static" base class members should not be accessed via derived types

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

4 years agoSonar fixes
Andreas Beeker [Sun, 5 Apr 2020 16:23:21 +0000 (16:23 +0000)]
Sonar fixes

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

4 years agoIgnore OOM test for now, somehow catching Exceptions does not work when run on Gradle
Dominik Stadler [Sun, 5 Apr 2020 05:52:12 +0000 (05:52 +0000)]
Ignore OOM test for now, somehow catching Exceptions does not work when run on Gradle

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

4 years agofixed typo
Andreas Beeker [Sun, 5 Apr 2020 01:01:47 +0000 (01:01 +0000)]
fixed typo

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

4 years agoBug 60656 - Emf image support in slideshows
Andreas Beeker [Sun, 5 Apr 2020 00:42:08 +0000 (00:42 +0000)]
Bug 60656 - Emf image support in slideshows
- fixed WmfExtTextOut dx handling for variable text spacing
- fixed WmfExtTextOut text position for (0,0) references based on the current/last path location
- fixed WmfExtTextOut handling of symbol/wingdings charset (move ascii to unicode private area, because Java font loader maps the glyphs there) - and use existing workaround if the fonts aren't installed, i.e. use corresponding unicode characters of the logcial font then
- provide option in PPTX2PNG to use given file input type, if the file magic is unknown
- provide option in PPTX2PNG to render text as shapes in SVG, as dx handling (above) implemented via TextAttribute.TRACKING is not supported by batik

source of the sample.wmf, which I've used:
https://stackoverflow.com/questions/58726194/svg-rendering-with-batik-produce-broken-image

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

4 years agoSonar Fixes - "static" base class members should not be accessed via derived types
Andreas Beeker [Thu, 2 Apr 2020 23:54:48 +0000 (23:54 +0000)]
Sonar Fixes - "static" base class members should not be accessed via derived types

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

4 years agoSonar Fixes - The diamond operator ("<>") should be used
Andreas Beeker [Thu, 2 Apr 2020 22:37:45 +0000 (22:37 +0000)]
Sonar Fixes - The diamond operator ("<>") should be used

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

4 years agoSonar Fixes and remove obsolete classes
Andreas Beeker [Wed, 1 Apr 2020 23:25:33 +0000 (23:25 +0000)]
Sonar Fixes and remove obsolete classes

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

4 years ago#64301 - Allow try-with-resources with OPCPackage.revert()
Andreas Beeker [Wed, 1 Apr 2020 23:23:55 +0000 (23:23 +0000)]
#64301 - Allow try-with-resources with OPCPackage.revert()

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

4 years agoSonar Fixes - code smells
Alain Béarez [Wed, 1 Apr 2020 01:40:57 +0000 (01:40 +0000)]
Sonar Fixes - code smells

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

4 years agoRemove chart title
Alain Béarez [Wed, 1 Apr 2020 01:40:52 +0000 (01:40 +0000)]
Remove chart title

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

4 years agoKeep last run properties when resetting paragraph text
Alain Béarez [Wed, 1 Apr 2020 01:40:49 +0000 (01:40 +0000)]
Keep last run properties when resetting paragraph text

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

4 years ago64261 -- fix handling of drop down list when items are selected
Tim Allison [Tue, 31 Mar 2020 18:16:09 +0000 (18:16 +0000)]
64261 -- fix handling of drop down list when items are selected

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

4 years agoSonar Fixes - public final class with private constructor for examples
Alain Béarez [Tue, 31 Mar 2020 01:16:39 +0000 (01:16 +0000)]
Sonar Fixes - public final class with private constructor for examples

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

4 years agoInsert a new row in XSLFTable
Alain Béarez [Tue, 31 Mar 2020 00:47:45 +0000 (00:47 +0000)]
Insert a new row in XSLFTable

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

4 years agoSonar Fixes
Andreas Beeker [Sun, 29 Mar 2020 22:37:23 +0000 (22:37 +0000)]
Sonar Fixes
- name clashes with constants
- missing break in switch statements

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

4 years agoallow add and remove a HyperlinkRun or a FieldRun
Alain Béarez [Sun, 29 Mar 2020 22:21:35 +0000 (22:21 +0000)]
allow add and remove a HyperlinkRun or a FieldRun

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

4 years agoSonar Fixes - try to fix XXE warnings
Andreas Beeker [Sun, 29 Mar 2020 14:55:31 +0000 (14:55 +0000)]
Sonar Fixes - try to fix XXE warnings

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

4 years agoSonar Fixes
Andreas Beeker [Sun, 29 Mar 2020 14:39:11 +0000 (14:39 +0000)]
Sonar Fixes
- use String.replace instead of String.replaceAll for literal values
- use constants from base class

- deprecated various references to constants of org.apache.poi.ss.usermodel.FontFormatting - to be replaced by o.a.p.s.u.Font in POI 5.0.0

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

4 years agoSupport building with Gradle in POIFileScanner tests
Dominik Stadler [Sun, 29 Mar 2020 12:16:10 +0000 (12:16 +0000)]
Support building with Gradle in POIFileScanner tests

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