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

4 years agoBug 63845: Adjust handling of formula-cells to fix regression introduced in 4.1.0
Dominik Stadler [Sun, 29 Mar 2020 08:16:17 +0000 (08:16 +0000)]
Bug 63845: Adjust handling of formula-cells to fix regression introduced in 4.1.0

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

4 years agoBug 61864: Verify recalculation-flag on Workbook level some more
Dominik Stadler [Sun, 29 Mar 2020 08:16:09 +0000 (08:16 +0000)]
Bug 61864: Verify recalculation-flag on Workbook level some more

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

4 years agoBug 61863: Update JavaDoc to describe relation to workbook-level flag
Dominik Stadler [Sat, 28 Mar 2020 09:49:24 +0000 (09:49 +0000)]
Bug 61863: Update JavaDoc to describe relation to workbook-level flag

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

4 years agoBug 55966: Include content control text in word extraction also if it is part of...
Dominik Stadler [Sat, 28 Mar 2020 09:24:38 +0000 (09:24 +0000)]
Bug 55966: Include content control text in word extraction also if it is part of a paragraph

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

4 years agoAccess table cell border style as line properties
Alain Béarez [Fri, 27 Mar 2020 03:13:43 +0000 (03:13 +0000)]
Access table cell border style as line properties

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

4 years agoXWPFNumbering.addAbstractNum will definitely throw an exception
Alain Béarez [Fri, 27 Mar 2020 03:13:40 +0000 (03:13 +0000)]
XWPFNumbering.addAbstractNum will definitely throw an exception

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

4 years agoXWPFTableCell does not process bodyElements when handle paragraph
Alain Béarez [Fri, 27 Mar 2020 03:13:37 +0000 (03:13 +0000)]
XWPFTableCell does not process bodyElements when handle paragraph

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

4 years agolike getTables, returns a collection that cannot be modified
Alain Béarez [Fri, 27 Mar 2020 03:13:34 +0000 (03:13 +0000)]
like getTables, returns a collection that cannot be modified

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

4 years ago#63624: setText in XWPFTableCell updates the xml and also updates the runs and iruns
Alain Béarez [Fri, 27 Mar 2020 03:13:31 +0000 (03:13 +0000)]
#63624: setText in XWPFTableCell updates the xml and also updates the runs and iruns

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

4 years agoBug 64244: Take the replacement of RichtText strings into account when computing...
Dominik Stadler [Tue, 24 Mar 2020 10:58:16 +0000 (10:58 +0000)]
Bug 64244: Take the replacement of RichtText strings into account when computing length of strings

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

4 years ago#64241 - shade and tint calculation are based now on scRGB (opposed to HSL) colorspace
Andreas Beeker [Sun, 22 Mar 2020 18:59:43 +0000 (18:59 +0000)]
#64241 - shade and tint calculation are based now on scRGB (opposed to HSL) colorspace

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

4 years agosonar job - exclude H40
Andreas Beeker [Sat, 21 Mar 2020 18:48:07 +0000 (18:48 +0000)]
sonar job - exclude H40

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

4 years ago#64241 - XSLF - Wrong scheme colors used when rendering
Andreas Beeker [Sat, 21 Mar 2020 18:25:38 +0000 (18:25 +0000)]
#64241 - XSLF - Wrong scheme colors used when rendering

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

4 years agoUpdate OpenJDK 8 slaves
Andreas Beeker [Wed, 18 Mar 2020 22:46:25 +0000 (22:46 +0000)]
Update OpenJDK 8 slaves

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

4 years agoReschedule Sonar build - activate OpenJDK 8 build again (see [INFRA-19411])
Andreas Beeker [Wed, 18 Mar 2020 22:16:51 +0000 (22:16 +0000)]
Reschedule Sonar build - activate OpenJDK 8 build again (see [INFRA-19411])

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

4 years agoIgnore all ImageIO related exceptions which fail often in maven builds because of...
Andreas Beeker [Wed, 18 Mar 2020 21:35:16 +0000 (21:35 +0000)]
Ignore all ImageIO related exceptions which fail often in maven builds because of missing/wrong temp directory

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

4 years ago#63712 - upgrading xmlsec causes junit tests to fail
Andreas Beeker [Wed, 18 Mar 2020 21:06:09 +0000 (21:06 +0000)]
#63712 - upgrading xmlsec causes junit tests to fail

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

4 years agoMake SlideLayout bullets accessible
Andreas Beeker [Tue, 17 Mar 2020 22:04:09 +0000 (22:04 +0000)]
Make SlideLayout bullets accessible

based on question from mailing list:
http://apache-poi.1045710.n5.nabble.com/PPTX-how-to-get-the-marked-list-with-adjacent-icons-tp5734952.html

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

4 years agoDon't create separate instances for NullFileHandler, but rather use a common static...
Dominik Stadler [Mon, 16 Mar 2020 19:55:08 +0000 (19:55 +0000)]
Don't create separate instances for NullFileHandler, but rather use a common static instance

This can save some memory during regression testing.

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

4 years agoAdjust POIFileScanner for mass regression testing
Dominik Stadler [Mon, 16 Mar 2020 19:55:04 +0000 (19:55 +0000)]
Adjust POIFileScanner for mass regression testing

Fix closing file-handles when scanning for files to test
Refactor to make it easier to test
Some more tests

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

4 years ago#64213 - Picture.resize(double scale) scales width wrong for small pictures and when...
Andreas Beeker [Mon, 16 Mar 2020 18:46:48 +0000 (18:46 +0000)]
#64213 - Picture.resize(double scale) scales width wrong for small pictures and when dx1 is set

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

4 years agoforbidden apis check fix
Andreas Beeker [Sun, 8 Mar 2020 23:27:44 +0000 (23:27 +0000)]
forbidden apis check fix

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

4 years agogithub-167 - HSMF enhancements
Andreas Beeker [Sun, 8 Mar 2020 23:26:53 +0000 (23:26 +0000)]
github-167 - HSMF enhancements

introduce NameIdChunks.GetPropertyTag:
which enables evaluating property ids from properties identified by name/id in property sets (simple version of IMAPIProp::GetIDsFromNames)

AttachmentChunks.getAttachData:
use new ByteChunkDeferred instead of ByteChunk which enables delayed reading of attachments to avoid all attachments are completely read into memory when parsing which may cause OutOfMemoryErrors on e-mails with big attachments.

POIFSChunkParser:
support reading multi valued chunks (e.g. required when reading the Keywords ("categories") property)

add MAPIProperty.RECEIVED_BY_SMTP_ADDRESS

add unit tests

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

4 years agoGet UUID from ClassID
Andreas Beeker [Sun, 8 Mar 2020 23:20:44 +0000 (23:20 +0000)]
Get UUID from ClassID

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

4 years agoWork on bug 64038 and other bugs and add test for 62865
Dominik Stadler [Sun, 8 Mar 2020 20:17:19 +0000 (20:17 +0000)]
Work on bug 64038 and other bugs and add test for 62865

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

4 years agoAdjust some more places to use https instead of http, need a workaround for a bug...
Dominik Stadler [Sun, 8 Mar 2020 20:17:11 +0000 (20:17 +0000)]
Adjust some more places to use https instead of http, need a workaround for a bug in Apache Forrest

See comment in build.xml for why this replacement is needed.

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

4 years agoTry to use https for poi.apache.org everywhere
Dominik Stadler [Sun, 8 Mar 2020 20:17:08 +0000 (20:17 +0000)]
Try to use https for poi.apache.org everywhere

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

4 years agoBug 58896 and 52834: Cache Sheet.getMergedRegions() as it seems to sometimes be the...
Dominik Stadler [Sun, 8 Mar 2020 11:17:34 +0000 (11:17 +0000)]
Bug 58896 and 52834: Cache Sheet.getMergedRegions() as it seems to sometimes be the culprit for autosize taking a very long time.

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

4 years agoOne more file-leak-detector exclude
Dominik Stadler [Sun, 8 Mar 2020 08:28:20 +0000 (08:28 +0000)]
One more file-leak-detector exclude

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