]> source.dussan.org Git - poi.git/log
poi.git
9 years agoFix formatting/indents/comments
Nick Burch [Sun, 12 Jul 2015 19:28:27 +0000 (19:28 +0000)]
Fix formatting/indents/comments

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

9 years agoIntroduce a CFHeaderBase common parent #58130
Nick Burch [Sun, 12 Jul 2015 18:35:33 +0000 (18:35 +0000)]
Introduce a CFHeaderBase common parent #58130

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

9 years agoUpdate FtrHeader and CFHeader clone/create
Nick Burch [Sun, 12 Jul 2015 18:16:13 +0000 (18:16 +0000)]
Update FtrHeader and CFHeader clone/create

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

9 years agoMore whitespace / indent updates
Nick Burch [Sun, 12 Jul 2015 18:06:34 +0000 (18:06 +0000)]
More whitespace / indent updates

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

9 years agoFix indent/whitespace
Nick Burch [Sun, 12 Jul 2015 18:02:50 +0000 (18:02 +0000)]
Fix indent/whitespace

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

9 years agoStart to support CF12 headers for #58130
Nick Burch [Sun, 12 Jul 2015 17:58:27 +0000 (17:58 +0000)]
Start to support CF12 headers for #58130

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

9 years agoJavadocs, and more record names
Nick Burch [Sun, 12 Jul 2015 17:31:54 +0000 (17:31 +0000)]
Javadocs, and more record names

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

9 years agoJavadoc and comment updates for CFs
Nick Burch [Sun, 12 Jul 2015 17:06:45 +0000 (17:06 +0000)]
Javadoc and comment updates for CFs

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

9 years agoSome new-style conditional formattings, with gradients and icons
Nick Burch [Sat, 11 Jul 2015 21:26:11 +0000 (21:26 +0000)]
Some new-style conditional formattings, with gradients and icons

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

9 years agoAdd another Conditional Formatting example - multiple rules which overlap
Nick Burch [Sat, 11 Jul 2015 20:45:58 +0000 (20:45 +0000)]
Add another Conditional Formatting example - multiple rules which overlap

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

9 years agoOOXMLPrettyPrint: Populate the standalone-attribute always to avoid differences in...
Dominik Stadler [Wed, 8 Jul 2015 05:57:32 +0000 (05:57 +0000)]
OOXMLPrettyPrint: Populate the standalone-attribute always to avoid differences in the resulting XML files from Excel and POI

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

9 years agoAdd some missing close(), reduce output in unit tests and remove some other Eclipse...
Dominik Stadler [Tue, 7 Jul 2015 07:44:11 +0000 (07:44 +0000)]
Add some missing close(), reduce output in unit tests and remove some other Eclipse warnings

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

9 years agoAllow Eclipse to add some additional compiler warning settings added by newer Eclipse...
Dominik Stadler [Tue, 7 Jul 2015 07:39:44 +0000 (07:39 +0000)]
Allow Eclipse to add some additional compiler warning settings added by newer Eclipse versions, mostly Java 8 so not overly useful for us currently anyway

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

9 years agoWhen writing the mini-stream, set the size of it on the root property #58061
Nick Burch [Mon, 6 Jul 2015 21:39:42 +0000 (21:39 +0000)]
When writing the mini-stream, set the size of it on the root property #58061

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

9 years agoHelper method to report the number of blocks used in a BAT
Nick Burch [Mon, 6 Jul 2015 21:15:57 +0000 (21:15 +0000)]
Helper method to report the number of blocks used in a BAT

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

9 years agoBug 57744: Fix parsing the email submission data when id contains a hyphen
Dominik Stadler [Fri, 3 Jul 2015 11:04:52 +0000 (11:04 +0000)]
Bug 57744: Fix parsing the email submission data when id contains a hyphen

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

9 years agoBug 57678: Apply patch to better handle years in mail-messages between 1980 and 1999.
Dominik Stadler [Fri, 3 Jul 2015 10:32:53 +0000 (10:32 +0000)]
Bug 57678: Apply patch to better handle years in mail-messages between 1980 and 1999.

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

9 years agoFix OPOIFS generics warnings
Nick Burch [Thu, 2 Jul 2015 22:36:45 +0000 (22:36 +0000)]
Fix OPOIFS generics warnings

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

9 years agoTo better match OPOIFS, pad to the end of a block with 0xFF/-1
Nick Burch [Wed, 1 Jul 2015 00:43:33 +0000 (00:43 +0000)]
To better match OPOIFS, pad to the end of a block with 0xFF/-1

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

9 years agoMore NPOIFS ministream tests
Nick Burch [Tue, 30 Jun 2015 23:50:35 +0000 (23:50 +0000)]
More NPOIFS ministream tests

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

9 years agoAllow optional dumping of the raw ministream as well
Nick Burch [Tue, 30 Jun 2015 23:25:41 +0000 (23:25 +0000)]
Allow optional dumping of the raw ministream as well

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

9 years agoRevert to state before running unit-tests to not have arbitrary test-changes applied...
Dominik Stadler [Mon, 29 Jun 2015 07:12:27 +0000 (07:12 +0000)]
Revert to state before running unit-tests to not have arbitrary test-changes applied to the sample file.

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

9 years agoSupport optionally dumping the properties stream
Nick Burch [Mon, 29 Jun 2015 06:05:42 +0000 (06:05 +0000)]
Support optionally dumping the properties stream

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

9 years agoOpen file read-only in test to avoid making it dirty during running unit tests
Dominik Stadler [Sun, 28 Jun 2015 19:55:56 +0000 (19:55 +0000)]
Open file read-only in test to avoid making it dirty during running unit tests

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

9 years agoPut the properties table at block 0, with the first BAT at block 1, to hopefully...
Nick Burch [Sun, 28 Jun 2015 18:53:21 +0000 (18:53 +0000)]
Put the properties table at block 0, with the first BAT at block 1, to hopefully solve #58061

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

9 years agoPrint mini stream information, and property entries
Nick Burch [Sun, 28 Jun 2015 18:51:50 +0000 (18:51 +0000)]
Print mini stream information, and property entries

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

9 years agoFix inconsistent whitespace
Nick Burch [Sun, 28 Jun 2015 17:54:20 +0000 (17:54 +0000)]
Fix inconsistent whitespace

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

9 years agoRefactor the small block reader creation, so that POIFSHeaderDumper can dump the...
Nick Burch [Sun, 28 Jun 2015 17:53:24 +0000 (17:53 +0000)]
Refactor the small block reader creation, so that POIFSHeaderDumper can dump the sbat structure too

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

9 years agoBug 54332 - WMF extraction failing in Tika for older PowerPoint Files
Andreas Beeker [Wed, 24 Jun 2015 23:34:03 +0000 (23:34 +0000)]
Bug 54332 - WMF extraction failing in Tika for older PowerPoint Files

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

9 years agoFix test to find the exception-text in all cases
Dominik Stadler [Wed, 24 Jun 2015 08:53:25 +0000 (08:53 +0000)]
Fix test to find the exception-text in all cases

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

9 years agoshow full exception stack-trace if zip-bomb detection test fails
Dominik Stadler [Wed, 24 Jun 2015 08:33:06 +0000 (08:33 +0000)]
show full exception stack-trace if zip-bomb detection test fails

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

9 years agoRemoved Java7 calls
Andreas Beeker [Wed, 24 Jun 2015 07:06:01 +0000 (07:06 +0000)]
Removed Java7 calls

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

9 years agoBug 56865 - Limit number of bytes (by counting them) while opening office docs
Andreas Beeker [Tue, 23 Jun 2015 23:39:07 +0000 (23:39 +0000)]
Bug 56865 - Limit number of bytes (by counting them) while opening office docs
Bug 50090 - 'zip' bomb prevention

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

9 years agoBug 58069 - Biff8RC4 xorShort returns wrong value for unsigned shorts
Andreas Beeker [Tue, 23 Jun 2015 23:06:23 +0000 (23:06 +0000)]
Bug 58069 - Biff8RC4 xorShort returns wrong value for unsigned shorts

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

9 years agoAdd public key of Dominik Stadler (centic)
Dominik Stadler [Mon, 22 Jun 2015 20:28:18 +0000 (20:28 +0000)]
Add public key of Dominik Stadler (centic)

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

9 years agoBug 58040 - Log Forging
Andreas Beeker [Sun, 21 Jun 2015 19:06:32 +0000 (19:06 +0000)]
Bug 58040 - Log Forging
and marked POILogger/POILogFactory internal

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

9 years agoBug 57923: Fix check for tokens in NameRecord.getExternSheetNumber() to avoid ArrayOu...
Dominik Stadler [Sun, 21 Jun 2015 06:56:45 +0000 (06:56 +0000)]
Bug 57923: Fix check for tokens in NameRecord.getExternSheetNumber() to avoid ArrayOutOfBoundsException

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

9 years agofixed javadoc links after imports have been organized
Andreas Beeker [Sat, 20 Jun 2015 15:08:42 +0000 (15:08 +0000)]
fixed javadoc links after imports have been organized

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

9 years agoBug 56655: Fix Sumifs for cases where the criteria is in error.
Dominik Stadler [Sat, 20 Jun 2015 13:10:28 +0000 (13:10 +0000)]
Bug 56655: Fix Sumifs for cases where the criteria is in error.

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

9 years agoBug 56420: Fix possible NullPointerException when empty cell is included in Sumif...
Dominik Stadler [Sat, 20 Jun 2015 11:29:14 +0000 (11:29 +0000)]
Bug 56420: Fix possible NullPointerException when empty cell is included in Sumif calculation

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

9 years agoComment out writing to file in c:/temp which breaks the build now
Dominik Stadler [Wed, 17 Jun 2015 20:41:08 +0000 (20:41 +0000)]
Comment out writing to file in c:/temp which breaks the build now

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

9 years agoMove more tests into base class and add a TestSXSSFBugs class to verify some things...
Dominik Stadler [Wed, 17 Jun 2015 14:53:38 +0000 (14:53 +0000)]
Move more tests into base class and add a TestSXSSFBugs class to verify some things that are supported against SXSSFWorkbook as well

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

9 years agoMake setLandscape(false) and setLeftToRight(false) do what one would expect
Dominik Stadler [Wed, 17 Jun 2015 14:26:31 +0000 (14:26 +0000)]
Make setLandscape(false) and setLeftToRight(false) do what one would expect

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

9 years agoAdd settings for the Eclipse plugin "moreunit"
Dominik Stadler [Wed, 17 Jun 2015 08:31:13 +0000 (08:31 +0000)]
Add settings for the Eclipse plugin "moreunit"

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

9 years agoBug 57963: Add a task to the integration-test build which verifies that most examples...
Dominik Stadler [Tue, 16 Jun 2015 05:42:36 +0000 (05:42 +0000)]
Bug 57963: Add a task to the integration-test build which verifies that most examples can be built without scratchpad.jar

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

9 years agoremove some older jacoco jars from the lib-directories to avoid loading outdated...
Dominik Stadler [Tue, 16 Jun 2015 05:32:22 +0000 (05:32 +0000)]
remove some older jacoco jars from the lib-directories to avoid loading outdated 3rd party code

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

9 years agoWhitespace seems to be confusing the license header check; try pasting one off anothe...
David North [Mon, 15 Jun 2015 09:44:12 +0000 (09:44 +0000)]
Whitespace seems to be confusing the license header check; try pasting one off another file.

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

9 years agoOne more file with missing license header
Dominik Stadler [Mon, 15 Jun 2015 09:38:29 +0000 (09:38 +0000)]
One more file with missing license header

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

9 years agoadd missing license header
Dominik Stadler [Mon, 15 Jun 2015 08:17:08 +0000 (08:17 +0000)]
add missing license header

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

9 years agoAdd explicit test for NPE only caught by other tests. Test '97 fallback behaviour...
David North [Fri, 12 Jun 2015 15:29:20 +0000 (15:29 +0000)]
Add explicit test for NPE only caught by other tests. Test '97 fallback behaviour generally.

https://bz.apache.org/bugzilla/show_bug.cgi?id=56328

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

9 years agoMy own patch to fix #56328
David North [Fri, 12 Jun 2015 15:20:10 +0000 (15:20 +0000)]
My own patch to fix #56328

Add tests for initial patch applied by Nick in r1582892

Fix and test AreaReference#isWholeColumnReference to take account of the prevailing spreadsheet version. Fixing all users of this is a big undertaking, so for now I've left a fallback on the original behaviour for some cases.

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

9 years agoAdd my PGP key to the list.
David North [Wed, 3 Jun 2015 13:09:20 +0000 (13:09 +0000)]
Add my PGP key to the list.

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

9 years agoUse a different arbitrary value for the ID of the comment shape type. This appears...
David North [Wed, 3 Jun 2015 12:50:10 +0000 (12:50 +0000)]
Use a different arbitrary value for the ID of the comment shape type. This appears to prevent Excel >= 2010 from turning POI-written comments into the wrong shape (giant curved arrow).

Fixes https://bz.apache.org/bugzilla/show_bug.cgi?id=55410

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

9 years agoBug 53109: Correctly handle unicode strings in NameCommentRecord
Dominik Stadler [Mon, 1 Jun 2015 20:49:53 +0000 (20:49 +0000)]
Bug 53109: Correctly handle unicode strings in NameCommentRecord

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

9 years agoPatch from René Scheibe from bug #57512 - Fix potential NPE in DateUtil for invalid...
Nick Burch [Sun, 31 May 2015 21:18:11 +0000 (21:18 +0000)]
Patch from RenĂ© Scheibe from bug #57512 - Fix potential NPE in DateUtil for invalid dates

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

9 years agoAdd missing license header
Dominik Stadler [Sun, 31 May 2015 21:02:39 +0000 (21:02 +0000)]
Add missing license header

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

9 years agoBug 57904: Add full source build from dist-packages to CI builds
Dominik Stadler [Sun, 31 May 2015 20:11:28 +0000 (20:11 +0000)]
Bug 57904: Add full source build from dist-packages to CI builds

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

9 years agoList more targets in help, make jar-src work standalone
Dominik Stadler [Sun, 31 May 2015 20:11:20 +0000 (20:11 +0000)]
List more targets in help, make jar-src work standalone

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

9 years agoSet version to 3.13-beta1
Dominik Stadler [Sun, 31 May 2015 20:10:08 +0000 (20:10 +0000)]
Set version to 3.13-beta1

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

9 years agoPOI-57975: clean up white spaces and other style issues in XWPF
Tim Allison [Fri, 29 May 2015 14:01:31 +0000 (14:01 +0000)]
POI-57975: clean up white spaces and other style issues in XWPF

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

9 years agoPOI-57889 -- actually trigger inclusion of CTNumLvl with document contributed by...
Tim Allison [Thu, 28 May 2015 19:08:24 +0000 (19:08 +0000)]
POI-57889 -- actually trigger inclusion of CTNumLvl with document contributed by Moritz Dorka on TIKA-1315

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

9 years agoNote on why ooxml needs scratchpad, for one part only
Nick Burch [Thu, 28 May 2015 11:17:41 +0000 (11:17 +0000)]
Note on why ooxml needs scratchpad, for one part only

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

9 years agoCorrect package
Nick Burch [Thu, 28 May 2015 11:15:07 +0000 (11:15 +0000)]
Correct package

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

9 years agoPull out the parts of TextPainter needed by XSLF from HSLF to common-SL in core ...
Nick Burch [Thu, 28 May 2015 11:13:23 +0000 (11:13 +0000)]
Pull out the parts of TextPainter needed by XSLF from HSLF to common-SL in core #57963

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

9 years ago#57963 Move the WP and SL interface definitions to core from scratchpad, so the OOXML...
Nick Burch [Thu, 28 May 2015 11:06:18 +0000 (11:06 +0000)]
#57963 Move the WP and SL interface definitions to core from scratchpad, so the OOXML classes can work without scratchpad

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

9 years agoFix inconsistent indents
Nick Burch [Thu, 28 May 2015 11:00:32 +0000 (11:00 +0000)]
Fix inconsistent indents

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

9 years ago#57951 Use BigDecimal in some cases in DataFormatter.formatRawCellContents, to avoid...
Nick Burch [Wed, 27 May 2015 17:15:17 +0000 (17:15 +0000)]
#57951 Use BigDecimal in some cases in DataFormatter.formatRawCellContents, to avoid rounding problems on JDK8. Patch from Robert Kish

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

9 years agoFix inconsistent indents
Nick Burch [Wed, 27 May 2015 17:10:45 +0000 (17:10 +0000)]
Fix inconsistent indents

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

9 years agoAdd WorkbookFactory.create() with a flag to allow to open files read-only, keep the...
Dominik Stadler [Tue, 26 May 2015 19:30:21 +0000 (19:30 +0000)]
Add WorkbookFactory.create() with a flag to allow to open files read-only, keep the current way of opening read/write as default to not break existing code.
Also adjust Javadoc somewhat.

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

9 years agoMake POIXMLDocument implement Closeable as it holds an OCPPackage with open resources...
Dominik Stadler [Tue, 26 May 2015 19:30:04 +0000 (19:30 +0000)]
Make POIXMLDocument implement Closeable as it holds an OCPPackage with open resources and thus should be closed after usage. Until now only XSSFWorkbook did this, but it makes sense for all derived classes.
Also make close() in POIXMLDocument public to not have to re-implement it in all sub-classes.

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

9 years agoAdd ignore - file has no content streams
Nick Burch [Tue, 26 May 2015 18:38:34 +0000 (18:38 +0000)]
Add ignore - file has no content streams

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

9 years ago#56791 Make NPOIFS the default when POIFSFileSystem is requested
Nick Burch [Tue, 26 May 2015 18:04:00 +0000 (18:04 +0000)]
#56791 Make NPOIFS the default when POIFSFileSystem is requested

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

9 years agoForce OPOIFS test to explicitly create OPOIFS instance
Nick Burch [Tue, 26 May 2015 18:03:29 +0000 (18:03 +0000)]
Force OPOIFS test to explicitly create OPOIFS instance

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

9 years agoForce OPOIFS test to explicitly create OPOIFS instance
Nick Burch [Tue, 26 May 2015 17:59:13 +0000 (17:59 +0000)]
Force OPOIFS test to explicitly create OPOIFS instance

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

9 years agoRemove a long-deprecated OPOIFS related method
Nick Burch [Tue, 26 May 2015 17:55:23 +0000 (17:55 +0000)]
Remove a long-deprecated OPOIFS related method

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

9 years agoFix warnings
Nick Burch [Tue, 26 May 2015 14:06:17 +0000 (14:06 +0000)]
Fix warnings

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

9 years agoFix testing for NPOIFS zero-length stream writing
Nick Burch [Tue, 26 May 2015 13:56:40 +0000 (13:56 +0000)]
Fix testing for NPOIFS zero-length stream writing

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

9 years agoFix NPOIFS to handle dodgy excel-95 file from bug #46904
Nick Burch [Tue, 26 May 2015 13:46:20 +0000 (13:46 +0000)]
Fix NPOIFS to handle dodgy excel-95 file from bug #46904

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

9 years agoMore 0 byte stream tests
Nick Burch [Tue, 26 May 2015 13:41:29 +0000 (13:41 +0000)]
More 0 byte stream tests

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

9 years agoAdd verification unit test for bug 47169
Dominik Stadler [Wed, 20 May 2015 19:13:36 +0000 (19:13 +0000)]
Add verification unit test for bug 47169

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

9 years agoApply fix reported in bug 47661 and add unit tests
Dominik Stadler [Wed, 20 May 2015 18:00:19 +0000 (18:00 +0000)]
Apply fix reported in bug 47661 and add unit tests

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

9 years agoPrevent problems reported in Bug 56574 by ensuring that Cells are properly removed...
Dominik Stadler [Tue, 19 May 2015 13:13:09 +0000 (13:13 +0000)]
Prevent problems reported in Bug 56574 by ensuring that Cells are properly removed when a row is overwritten by calling createRow() with it's rownum.

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

9 years agoUpdate to JaCoCo 0.7.4 and fix location of coverage data in build-output
Dominik Stadler [Tue, 19 May 2015 10:16:57 +0000 (10:16 +0000)]
Update to JaCoCo 0.7.4 and fix location of coverage data in build-output

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

9 years agoLet Eclipse add some more settings to the project files
Dominik Stadler [Tue, 19 May 2015 09:37:52 +0000 (09:37 +0000)]
Let Eclipse add some more settings to the project files

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

9 years agoMove location where document is held and adjust constructors and class-hierarchy...
Dominik Stadler [Sun, 17 May 2015 21:26:31 +0000 (21:26 +0000)]
Move location where document is held and adjust constructors and class-hierarchy accordingly

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

9 years agoAdjust error message to have the same error across different types of Workbook and...
Dominik Stadler [Tue, 12 May 2015 06:27:11 +0000 (06:27 +0000)]
Adjust error message to have the same error across different types of Workbook and revert test to check on common error message again

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

9 years agoFix unit test which asserts on actual error message
Dominik Stadler [Tue, 12 May 2015 04:54:47 +0000 (04:54 +0000)]
Fix unit test which asserts on actual error message

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

9 years agoUpdate documentation for POI 3.12
Andreas Beeker [Mon, 11 May 2015 23:49:42 +0000 (23:49 +0000)]
Update documentation for POI 3.12

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

9 years agoAdjust intendation
Dominik Stadler [Mon, 11 May 2015 20:03:36 +0000 (20:03 +0000)]
Adjust intendation

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

9 years agoProvide better exception if we would access out of bounds in arraycopy for Escher...
Dominik Stadler [Mon, 11 May 2015 20:00:42 +0000 (20:00 +0000)]
Provide better exception if we would access out of bounds in arraycopy for Escher properties

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

9 years agoAvoid possible NPE found via CommonCrawl files
Dominik Stadler [Mon, 11 May 2015 20:00:18 +0000 (20:00 +0000)]
Avoid possible NPE found via CommonCrawl files

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

9 years agoAdd checks for invalid row number in RowRecord to find corrupted files earlier
Dominik Stadler [Mon, 11 May 2015 19:59:52 +0000 (19:59 +0000)]
Add checks for invalid row number in RowRecord to find corrupted files earlier

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

9 years ago#56791 More updates from OPOIFS to NPOIFS
Nick Burch [Mon, 11 May 2015 19:00:12 +0000 (19:00 +0000)]
#56791 More updates from OPOIFS to NPOIFS

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

9 years ago#56791 More updates from OPOIFS to NPOIFS
Nick Burch [Mon, 11 May 2015 18:59:10 +0000 (18:59 +0000)]
#56791 More updates from OPOIFS to NPOIFS

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

9 years agoLeave POIFSFileSystem as a lightweight shim around OPOIFSFileSystem pending the final...
Nick Burch [Mon, 11 May 2015 18:21:20 +0000 (18:21 +0000)]
Leave POIFSFileSystem as a lightweight shim around OPOIFSFileSystem pending the final changeover for #56791

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

9 years ago#56791 More updates from OPOIFS to NPOIFS
Nick Burch [Mon, 11 May 2015 18:15:03 +0000 (18:15 +0000)]
#56791 More updates from OPOIFS to NPOIFS

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

9 years ago#56791 More updates from OPOIFS to NPOIFS
Nick Burch [Mon, 11 May 2015 18:04:30 +0000 (18:04 +0000)]
#56791 More updates from OPOIFS to NPOIFS

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

9 years agoAdd a deep re-write NPOIFS test
Nick Burch [Mon, 11 May 2015 18:00:45 +0000 (18:00 +0000)]
Add a deep re-write NPOIFS test

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

9 years agoCorrect zero byte entry support in NPOIFS
Nick Burch [Mon, 11 May 2015 17:53:59 +0000 (17:53 +0000)]
Correct zero byte entry support in NPOIFS

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

9 years agoDisabled NPOIFS unit test - problem with 0 length entries discovered working on ...
Nick Burch [Mon, 11 May 2015 15:27:59 +0000 (15:27 +0000)]
Disabled NPOIFS unit test - problem with 0 length entries discovered working on #56791

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