]> source.dussan.org Git - poi.git/log
poi.git
7 years agogithub-55: document that CellReference#isRowWithinRange(String rowNum, SpreadsheetVer...
Javen O'Neal [Sat, 20 May 2017 21:04:14 +0000 (21:04 +0000)]
github-55: document that CellReference#isRowWithinRange(String rowNum, SpreadsheetVersion ss) expects rowNum to be parseable as an integer

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

7 years agobug 61110: remove deprecated, misspelled CellReference#isRowWithnRange and #isColumnW...
Javen O'Neal [Sat, 20 May 2017 20:22:24 +0000 (20:22 +0000)]
bug 61110: remove deprecated, misspelled CellReference#isRowWithnRange and #isColumnWithnRange methods

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

7 years agoIncrease memory for xmlbean generation, because of failing gump builds.
Andreas Beeker [Sat, 20 May 2017 15:11:58 +0000 (15:11 +0000)]
Increase memory for xmlbean generation, because of failing gump builds.

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

7 years ago#61085 support table styles
Greg Woolsey [Sat, 20 May 2017 04:05:32 +0000 (04:05 +0000)]
#61085 support table styles

Added more features - this allows a client app to fully display table styling without resorting to CT* classes, and has some helper logic for the additional processing needed for things like regional/area borders.

As far as I can tell I only added stuff, didn't change any existing behavior.

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

7 years agoadd the new test dependency so tests can run from Eclipse (required for running local...
Greg Woolsey [Sat, 20 May 2017 04:01:52 +0000 (04:01 +0000)]
add the new test dependency so tests can run from Eclipse (required for running local builds in Eclipse)

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

7 years agogithub-55: NumberFormatException if XSSFName.setNameName is set with a long name...
Javen O'Neal [Fri, 19 May 2017 08:26:41 +0000 (08:26 +0000)]
github-55: NumberFormatException if XSSFName.setNameName is set with a long name that looks similar to a cell address. Thanks to Thomas S @Millie4Ever
This closes #55 on github.
https://github.com/apache/poi/pull/55

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

7 years agoreplace "String.indexOf(String) >= 1" with "String.contains(String)"
Javen O'Neal [Tue, 16 May 2017 10:53:15 +0000 (10:53 +0000)]
replace "String.indexOf(String) >= 1" with "String.contains(String)"

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

7 years agogithub-25: add enable locking and tab color in SXSSFSheet. Thanks to Danilo Rangel...
Javen O'Neal [Tue, 16 May 2017 08:38:58 +0000 (08:38 +0000)]
github-25: add enable locking and tab color in SXSSFSheet. Thanks to Danilo Rangel. This closes #25.
https://github.com/apache/poi/pull/25

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

7 years agogithub-32: speed up Irr() Excel formula computation by replacing Math.pow() with...
Javen O'Neal [Tue, 16 May 2017 03:18:17 +0000 (03:18 +0000)]
github-32: speed up Irr() Excel formula computation by replacing Math.pow() with multiplication. Thanks to Daniel Kuan! This closes #32.
https://github.com/apache/poi/pull/32

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

7 years agogithub-43: add disabled unit test showing a problem with ROUNDUP(3987*0.2, 2). Thanks...
Javen O'Neal [Tue, 16 May 2017 03:04:12 +0000 (03:04 +0000)]
github-43: add disabled unit test showing a problem with ROUNDUP(3987*0.2, 2). Thanks to @FishMeat.
https://github.com/apache/poi/pull/43

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

7 years agoJavadoc fixes
Nick Burch [Tue, 16 May 2017 02:50:35 +0000 (02:50 +0000)]
Javadoc fixes

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

7 years agogithub-52: add ExcelToHtmlConverter method that works on InputStreams. Thanks to...
Javen O'Neal [Tue, 16 May 2017 00:58:01 +0000 (00:58 +0000)]
github-52: add ExcelToHtmlConverter method that works on InputStreams. Thanks to Tony Zeng! This closes #52.
https://github.com/apache/poi/pull/52

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

7 years agogithub-53: fix NPE when iterating over paragraphs in certain *.docx files. Thanks...
Javen O'Neal [Tue, 16 May 2017 00:41:25 +0000 (00:41 +0000)]
github-53: fix NPE when iterating over paragraphs in certain *.docx files. Thanks to Praful Kumar Vaishnav! This closes #53.
https://github.com/apache/poi/pull/53

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

7 years agogithub-54: when adding a picture to an XSSFWorkbook, reduce memory consumption by...
Javen O'Neal [Mon, 15 May 2017 23:27:21 +0000 (23:27 +0000)]
github-54: when adding a picture to an XSSFWorkbook, reduce memory consumption by 100x and increase speed by 10x based on OpenJDK JMH benchmarking. Thanks to Tim Helmstedt! This closes #54.
https://github.com/apache/poi/pull/54

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

7 years agoAdd ASL header and exclude table preset from rat-check
Andreas Beeker [Mon, 15 May 2017 06:30:06 +0000 (06:30 +0000)]
Add ASL header and exclude table preset from rat-check

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

7 years ago#52117 - Invalid "last printed" summary field value - added helper method to identify...
Andreas Beeker [Sun, 14 May 2017 22:25:33 +0000 (22:25 +0000)]
#52117 - Invalid "last printed" summary field value - added helper method to identify undefined dates
HPSF: fixed uid listing in Section.toString()
HPSF: moved timestamp based "utility" methods to Filetime class
HPSF: preserve original datastream for unchanged property sets

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

7 years agoremoved invalid test file
Andreas Beeker [Sun, 14 May 2017 22:24:07 +0000 (22:24 +0000)]
removed invalid test file

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

7 years agotweak to use platform line separator so tests can pass on Windows as well as Linux.
Greg Woolsey [Fri, 12 May 2017 22:13:30 +0000 (22:13 +0000)]
tweak to use platform line separator so tests can pass on Windows as well as Linux.

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

7 years agogit-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795002 13f79535-47bb-0310...
Greg Woolsey [Fri, 12 May 2017 18:01:32 +0000 (18:01 +0000)]
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795002 13f79535-47bb-0310-9956-ffa450edef68

7 years agoSimplify the ValueEval.toString() implementations and include more information on...
Dominik Stadler [Fri, 12 May 2017 11:38:05 +0000 (11:38 +0000)]
Simplify the ValueEval.toString() implementations and include more information on unexpected types of ValueEval

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

7 years agoBug 60352: Text extraction: Don't include the text "null" for empty cells
Dominik Stadler [Sun, 7 May 2017 21:03:46 +0000 (21:03 +0000)]
Bug 60352: Text extraction: Don't include the text "null" for empty cells

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

7 years ago60184 - invalid OOXML produced when XSSFFont.getFamily() called with no families...
Greg Woolsey [Fri, 5 May 2017 21:50:59 +0000 (21:50 +0000)]
60184 - invalid OOXML produced when XSSFFont.getFamily() called with no families defined

Fix to stop creating an empty family when none exist, just use the existing logic to return NOT_APPLICABLE.  Creating the empty element produces XML that doesn't comply with the XSD.

Alternative would have been to set the family int value for the new family, but this way checking the value doesn't change the output, which is my preferred behavior.  No quantum effects!

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

7 years agoforgot license (as always)
Greg Woolsey [Fri, 5 May 2017 18:33:49 +0000 (18:33 +0000)]
forgot license (as always)

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

7 years ago61060 - teach DataFormatter about conditional formatting rules with number formats
Greg Woolsey [Fri, 5 May 2017 17:44:58 +0000 (17:44 +0000)]
61060 - teach DataFormatter about conditional formatting rules with number formats

Currently only implemented for XSSF, as there is no API available for HSSF conditional formatting rule number formats (if it is even in the files).

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

7 years agoUpdate link to POI-view on the Jenkins CI server
Dominik Stadler [Thu, 4 May 2017 09:25:40 +0000 (09:25 +0000)]
Update link to POI-view on the Jenkins CI server

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

7 years agoRevert creating a view as part of the Jenkins DSL as it did not allow to create the...
Dominik Stadler [Thu, 4 May 2017 08:52:44 +0000 (08:52 +0000)]
Revert creating a view as part of the Jenkins DSL as it did not allow to create the view as part of a folder/sub-view

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

7 years agoTry to define the view as part of the Jenkins DSL, also try to move the view into...
Dominik Stadler [Thu, 4 May 2017 08:40:12 +0000 (08:40 +0000)]
Try to define the view as part of the Jenkins DSL, also try to move the view into sub-folder, see also INFRA-14002

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

7 years agotest integration fix
Andreas Beeker [Thu, 4 May 2017 01:13:48 +0000 (01:13 +0000)]
test integration fix

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

7 years agoSonarQube fixes
Andreas Beeker [Wed, 3 May 2017 22:16:26 +0000 (22:16 +0000)]
SonarQube fixes

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

7 years agoHPSF: Change CustomProperties to delegate
Andreas Beeker [Wed, 3 May 2017 19:18:45 +0000 (19:18 +0000)]
HPSF: Change CustomProperties to delegate

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

7 years agoRemove Unicode chars in comments
Andreas Beeker [Wed, 3 May 2017 14:08:04 +0000 (14:08 +0000)]
Remove Unicode chars in comments

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

7 years agofix javadocs
Andreas Beeker [Wed, 3 May 2017 00:14:55 +0000 (00:14 +0000)]
fix javadocs

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

7 years ago#52372 - OutOfMemoryError parsing a word file
Andreas Beeker [Tue, 2 May 2017 23:32:13 +0000 (23:32 +0000)]
#52372 - OutOfMemoryError parsing a word file

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

7 years agoReverted DocumentSummary hack in codepage guessing code
Andreas Beeker [Tue, 2 May 2017 23:30:17 +0000 (23:30 +0000)]
Reverted DocumentSummary hack in codepage guessing code

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

7 years agoHPSF: Add CopyCompare to IntegrationTests
Andreas Beeker [Tue, 2 May 2017 23:29:19 +0000 (23:29 +0000)]
HPSF: Add CopyCompare to IntegrationTests

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

7 years ago#52117 - Invalid "last printed" summary field value
Andreas Beeker [Tue, 2 May 2017 23:28:48 +0000 (23:28 +0000)]
#52117 - Invalid "last printed" summary field value
added test file to corpus

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

7 years agoHPSF: Enable new number types in VariantSupport
Andreas Beeker [Tue, 2 May 2017 23:28:00 +0000 (23:28 +0000)]
HPSF: Enable new number types in VariantSupport

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

7 years agoFix hpsf javadocs and code issues
Andreas Beeker [Tue, 2 May 2017 23:27:27 +0000 (23:27 +0000)]
Fix hpsf javadocs and code issues

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

7 years agoIntegrationTest - move excludes to file handler
Andreas Beeker [Tue, 2 May 2017 23:25:45 +0000 (23:25 +0000)]
IntegrationTest - move excludes to file handler

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

7 years agoHPSF: Use LittleEndianStream instead of offset calculation
Andreas Beeker [Tue, 2 May 2017 23:24:50 +0000 (23:24 +0000)]
HPSF: Use LittleEndianStream instead of offset calculation

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

7 years agobug 61059: add @Override annotations
Javen O'Neal [Mon, 1 May 2017 21:51:34 +0000 (21:51 +0000)]
bug 61059: add @Override annotations

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

7 years agoExclude one more test from no-scratchpad runs, not sure how this was even working...
Dominik Stadler [Sun, 30 Apr 2017 09:12:48 +0000 (09:12 +0000)]
Exclude one more test from no-scratchpad runs, not sure how this was even working before...

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

7 years agoImprove information contained in exception in CellRangeAddress()
Dominik Stadler [Sun, 30 Apr 2017 09:12:44 +0000 (09:12 +0000)]
Improve information contained in exception in CellRangeAddress()

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

7 years ago60325: Add commented out test that reproduces the performance issue
Dominik Stadler [Sun, 30 Apr 2017 09:12:36 +0000 (09:12 +0000)]
60325: Add commented out test that reproduces the performance issue

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

7 years agoJavadoc fix
Nick Burch [Sun, 30 Apr 2017 08:49:51 +0000 (08:49 +0000)]
Javadoc fix

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

7 years agobug 61034: break out of for-loop when both <sheet name="", id=""/> are found
Javen O'Neal [Sat, 29 Apr 2017 18:56:09 +0000 (18:56 +0000)]
bug 61034: break out of for-loop when both <sheet name="", id=""/> are found

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

7 years agobug 61034: Call to XSSFReader.getSheetsData() returns duplicate sheets.
Javen O'Neal [Sat, 29 Apr 2017 17:27:17 +0000 (17:27 +0000)]
bug 61034: Call to XSSFReader.getSheetsData() returns duplicate sheets.
Thanks to Mauricio Eastmond for the Excel test file and unit test.
Thanks to Sebastian Wikalinski for isolating the problem and providing a patch.

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

7 years agobug 61051 -- add new worksheet-like relations for xlsb
Tim Allison [Thu, 27 Apr 2017 18:50:22 +0000 (18:50 +0000)]
bug 61051 -- add new worksheet-like relations for xlsb

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

7 years agobug 61049 fix ordering of builtin formulas
Tim Allison [Thu, 27 Apr 2017 16:18:25 +0000 (16:18 +0000)]
bug 61049 fix ordering of builtin formulas

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

7 years agoPatch from Tim Jones from #61044 - Note on setCompressTempFiles
Nick Burch [Wed, 26 Apr 2017 09:43:56 +0000 (09:43 +0000)]
Patch from Tim Jones from #61044 - Note on setCompressTempFiles

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

7 years agobug 61021 - extract abspath from xlsb
Tim Allison [Fri, 21 Apr 2017 13:02:29 +0000 (13:02 +0000)]
bug 61021 - extract abspath from xlsb

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

7 years agoAdd conditional formatting evaluation example code and output results
Greg Woolsey [Thu, 20 Apr 2017 18:05:50 +0000 (18:05 +0000)]
Add conditional formatting evaluation example code and output results

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

7 years agoUse assertContains instead of assertTrue(text.contains) for better error messages...
Javen O'Neal [Thu, 20 Apr 2017 01:28:40 +0000 (01:28 +0000)]
Use assertContains instead of assertTrue(text.contains) for better error messages on failure

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

7 years agoUse assertContains instead of assertTrue(text.contains) for better error messages...
Javen O'Neal [Wed, 19 Apr 2017 23:51:03 +0000 (23:51 +0000)]
Use assertContains instead of assertTrue(text.contains) for better error messages on failure

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

7 years agoFix bug #61007
Greg Woolsey [Wed, 19 Apr 2017 20:04:46 +0000 (20:04 +0000)]
Fix bug #61007

Revert to previous "expected" test results even though they don't match excel for a specific case, to accommodate tighter logic about which format patterns to send to CellFormat vs. handle directly in DataFormatter.

Send what was checked previously plus only multi-segment conditional range formats.  Allows existing tests to pass plus the new test with the case for these conditional formats.

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

7 years agoFix bug #61007
Greg Woolsey [Wed, 19 Apr 2017 18:10:52 +0000 (18:10 +0000)]
Fix bug #61007

use CellFormat for all format strings containing multiple parts (";" delimited) and update unit test to expect the same values as Excel.  Also added tests for the failing formats.

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

7 years agoUse assertContains instead of assertTrue(text.contains) for better error messages...
Nick Burch [Wed, 19 Apr 2017 06:13:33 +0000 (06:13 +0000)]
Use assertContains instead of assertTrue(text.contains) for better error messages on failure

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

7 years agoLet IntelliJ cleanup some code-warnings across the whole code-base: unnecessary toStr...
Dominik Stadler [Mon, 17 Apr 2017 20:13:52 +0000 (20:13 +0000)]
Let IntelliJ cleanup some code-warnings across the whole code-base: unnecessary toString or semicolon

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

7 years ago#60998 - HSLFTable.setRowHeight sets row height incorrect
Andreas Beeker [Mon, 17 Apr 2017 17:13:23 +0000 (17:13 +0000)]
#60998 - HSLFTable.setRowHeight sets row height incorrect

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

7 years agofindbugs fixes
Andreas Beeker [Mon, 17 Apr 2017 11:02:22 +0000 (11:02 +0000)]
findbugs fixes

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

7 years agoadd 3.16 to doap file
Andreas Beeker [Mon, 17 Apr 2017 09:50:52 +0000 (09:50 +0000)]
add 3.16 to doap file

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

7 years agofix forbidden-apis-check error
Andreas Beeker [Sun, 16 Apr 2017 23:43:56 +0000 (23:43 +0000)]
fix forbidden-apis-check error

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

7 years ago#60996 - XSSF: Multiple embedded objects on same sheet are ignored
Andreas Beeker [Sun, 16 Apr 2017 22:41:28 +0000 (22:41 +0000)]
#60996 - XSSF: Multiple embedded objects on same sheet are ignored

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

7 years agoWebsite update / release guide fix
Andreas Beeker [Sun, 16 Apr 2017 20:40:47 +0000 (20:40 +0000)]
Website update / release guide fix

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

7 years agoAdd initial file of excludes when running with file-leak-detector
Dominik Stadler [Sun, 16 Apr 2017 10:19:49 +0000 (10:19 +0000)]
Add initial file of excludes when running with file-leak-detector

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

7 years agoExclude more temporary files from Git
Dominik Stadler [Sun, 16 Apr 2017 10:19:44 +0000 (10:19 +0000)]
Exclude more temporary files from Git

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

7 years agoSet eclipse folder outside of build-folder to not have hickups in Eclipse whener...
Dominik Stadler [Sun, 16 Apr 2017 10:19:41 +0000 (10:19 +0000)]
Set eclipse folder outside of build-folder to not have hickups in Eclipse whener we run 'ant clean'

Conflicts:
.classpath

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

7 years agoRevert "Add hamcrest-all to Gradle build as well"
Dominik Stadler [Sun, 16 Apr 2017 09:46:54 +0000 (09:46 +0000)]
Revert "Add hamcrest-all to Gradle build as well"

This reverts commit e452090d41190820ec7f2591097fb9e63ad6c59c.

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

7 years agoAdd hamcrest-all to Gradle build as well
Dominik Stadler [Sun, 16 Apr 2017 09:45:23 +0000 (09:45 +0000)]
Add hamcrest-all to Gradle build as well

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

7 years agoroll back to hamcrest-core
Javen O'Neal [Sun, 16 Apr 2017 06:19:30 +0000 (06:19 +0000)]
roll back to hamcrest-core

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

7 years agoroll back to hamcrest-core
Javen O'Neal [Sun, 16 Apr 2017 06:10:23 +0000 (06:10 +0000)]
roll back to hamcrest-core

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

7 years agochange from hamcrest-core-1.3 to hamcrest-all-1.3
Javen O'Neal [Sun, 16 Apr 2017 05:02:07 +0000 (05:02 +0000)]
change from hamcrest-core-1.3 to hamcrest-all-1.3

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

7 years ago#60993 - HSLF: Grid and rowspan calculation in table cells is wrong
Andreas Beeker [Sat, 15 Apr 2017 12:14:26 +0000 (12:14 +0000)]
#60993 - HSLF: Grid and rowspan calculation in table cells is wrong

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

7 years agoimprove unit test error messages
Javen O'Neal [Sat, 15 Apr 2017 03:21:34 +0000 (03:21 +0000)]
improve unit test error messages

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

7 years agochange from hamcrest-core-1.3 to hamcrest-all-1.3
Javen O'Neal [Sat, 15 Apr 2017 03:19:27 +0000 (03:19 +0000)]
change from hamcrest-core-1.3 to hamcrest-all-1.3

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

7 years agouse hamcrest matchers to reduce custom code
Javen O'Neal [Sat, 15 Apr 2017 02:50:46 +0000 (02:50 +0000)]
use hamcrest matchers to reduce custom code

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

7 years agouse assertStartsWith and assertEndsWith for better unit test error messages
Javen O'Neal [Sat, 15 Apr 2017 02:19:24 +0000 (02:19 +0000)]
use assertStartsWith and assertEndsWith for better unit test error messages

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

7 years ago#60973 XDGF Support for "PolylineTo" as well as existing alternate spelling "PolyLineTo"
Nick Burch [Wed, 12 Apr 2017 11:11:56 +0000 (11:11 +0000)]
#60973 XDGF Support for "PolylineTo" as well as existing alternate spelling "PolyLineTo"

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

7 years agoFailing, disabled unit test for bug #60973
Nick Burch [Wed, 12 Apr 2017 09:40:54 +0000 (09:40 +0000)]
Failing, disabled unit test for bug #60973

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

7 years agoprepare for 3.17-beta1
Andreas Beeker [Tue, 11 Apr 2017 22:14:38 +0000 (22:14 +0000)]
prepare for 3.17-beta1

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

7 years agorelease prepare for 3.16 - updating build.xml and status.xml
Andreas Beeker [Tue, 11 Apr 2017 22:13:33 +0000 (22:13 +0000)]
release prepare for 3.16 - updating build.xml and status.xml

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

7 years agoThe new HeapDump class uses com.sun.* classes, which the previous settings flagged...
Greg Woolsey [Tue, 11 Apr 2017 20:35:06 +0000 (20:35 +0000)]
The new HeapDump class uses com.sun.* classes, which the previous settings flagged as an error in Eclipse.  This changes them to warnings so compilation can succeed.

Also adds a couple of prefs from newer Eclipse, apparently.

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

7 years agoIssue #60971, handle formula chart titles
Greg Woolsey [Tue, 11 Apr 2017 20:27:23 +0000 (20:27 +0000)]
Issue #60971, handle formula chart titles

implemented per issue, breaking out static text vs. formula based title getters and setters, with unit test updates and additions.

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

7 years agobug 50955 - add logging per Javen's recommendation. Thank you!
Tim Allison [Tue, 11 Apr 2017 20:00:12 +0000 (20:00 +0000)]
bug 50955 - add logging per Javen's recommendation.  Thank you!

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

7 years agobug 50955 - incorporate info from the DocumentSummaryInformation for
Tim Allison [Tue, 11 Apr 2017 17:07:04 +0000 (17:07 +0000)]
bug 50955 - incorporate info from the DocumentSummaryInformation for
guessing the encoding.  Back off to the old method if DocSummInfo is
not available. Thanks to Andreas Beeker for recommending this direction.

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

7 years agobug 50955 - try originally guessed codepoint, backoff to 1252 if that fails
Tim Allison [Tue, 11 Apr 2017 01:30:02 +0000 (01:30 +0000)]
bug 50955 - try originally guessed codepoint, backoff to 1252 if that fails

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

7 years agoFix AIOOBE while extracting hssf pictures which are externally linked
Andreas Beeker [Mon, 10 Apr 2017 21:43:22 +0000 (21:43 +0000)]
Fix AIOOBE while extracting hssf pictures which are externally linked

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

7 years agoExclude some additional nodes from OpenJDK builds
Dominik Stadler [Fri, 7 Apr 2017 06:56:35 +0000 (06:56 +0000)]
Exclude some additional nodes from OpenJDK builds

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

7 years agoAdjust checking for Zip-Bomb errors so it also works on JDK >= 8
Dominik Stadler [Fri, 7 Apr 2017 06:38:23 +0000 (06:38 +0000)]
Adjust checking for Zip-Bomb errors so it also works on JDK >= 8

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

7 years agoTest for another type of xml-bomb
Dominik Stadler [Thu, 6 Apr 2017 21:50:03 +0000 (21:50 +0000)]
Test for another type of xml-bomb

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

7 years agoFix issue found via large corpus tests: HSSFPicture in a HSSFShapeGroup might not...
Dominik Stadler [Thu, 6 Apr 2017 21:49:53 +0000 (21:49 +0000)]
Fix issue found via large corpus tests: HSSFPicture in a HSSFShapeGroup might not have a patriarch set, so let's walk up the parents to try to find one.

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

7 years agoJavadoc fixes
Nick Burch [Wed, 5 Apr 2017 13:17:17 +0000 (13:17 +0000)]
Javadoc fixes

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

7 years agobug 50955 convert Set to Singleton per Javen's code review
Tim Allison [Wed, 5 Apr 2017 11:02:48 +0000 (11:02 +0000)]
bug 50955 convert Set to Singleton per Javen's code review

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

7 years agobug 50955 and bug 60953 improve Big5 reader; ensure one character
Tim Allison [Wed, 5 Apr 2017 01:45:55 +0000 (01:45 +0000)]
bug 50955 and bug 60953 improve Big5 reader; ensure one character
per byte pair

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

7 years agobug 50955 -- turn off test that now passes in Java 1.8 and 1.7
Tim Allison [Tue, 4 Apr 2017 15:26:01 +0000 (15:26 +0000)]
bug 50955 -- turn off test that now passes in Java 1.8 and 1.7
but not 1.6 until we can fix it

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

7 years agobug 50955 -- fix for java 7
Tim Allison [Tue, 4 Apr 2017 14:41:53 +0000 (14:41 +0000)]
bug 50955 -- fix for java 7

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

7 years agobug 50955 -- word 6.0 charset fix
Tim Allison [Tue, 4 Apr 2017 02:06:46 +0000 (02:06 +0000)]
bug 50955 -- word 6.0 charset fix

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

7 years agoCater for two different locations of test-results in Gradle 2.x and 3.x
Dominik Stadler [Sun, 2 Apr 2017 19:38:37 +0000 (19:38 +0000)]
Cater for two different locations of test-results in Gradle 2.x and 3.x

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

7 years agoBug 60906 -- clean up, and add range checking for casting to ints.
Tim Allison [Thu, 23 Mar 2017 18:08:52 +0000 (18:08 +0000)]
Bug 60906 -- clean up, and add range checking for casting to ints.

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

7 years agoBug 60489 -- add @Test annotation so that this actually runs and includes ConnectsTyp...
Tim Allison [Thu, 23 Mar 2017 16:56:29 +0000 (16:56 +0000)]
Bug 60489 -- add @Test annotation so that this actually runs and includes ConnectsType...<facepalm/>

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