]> source.dussan.org Git - poi.git/log
poi.git
11 years agoFix some Eclipse warnings, remove trailing whitespaces
Dominik Stadler [Thu, 24 Oct 2013 19:58:19 +0000 (19:58 +0000)]
Fix some Eclipse warnings, remove trailing whitespaces

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

11 years agoHave HSSFWorkbook check for an encrypted .xlsx file when opening, and give a helpful...
Nick Burch [Wed, 23 Oct 2013 09:43:28 +0000 (09:43 +0000)]
Have HSSFWorkbook check for an encrypted .xlsx file when opening, and give a helpful error if found, plus tests. Fixes #55692

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

11 years agoPatch from bug #55650 from Andrej - Avoid AIOOBE if a non-existant Xfs is requested...
Nick Burch [Tue, 22 Oct 2013 22:04:16 +0000 (22:04 +0000)]
Patch from bug #55650 from Andrej - Avoid AIOOBE if a non-existant Xfs is requested for a styleAvoid AIOOBE if a non-existant Xfs is requested for a style

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

11 years agoTry to make the eclipse classpath more general - place the output under /build/,...
Nick Burch [Tue, 22 Oct 2013 19:35:41 +0000 (19:35 +0000)]
Try to make the eclipse classpath more general - place the output under /build/, remove hard coded jar source paths, re-order entries to make it easier to see what we have, and use the default JDK not a hard coded version

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

11 years agoBug 55369: Add support for collapsing rows in SXSSF
Dominik Stadler [Sun, 20 Oct 2013 18:04:08 +0000 (18:04 +0000)]
Bug 55369: Add support for collapsing rows in SXSSF

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

11 years agoPatch 55611 - Performance improvement in DateUtil.isADateFormat(int, String)
Yegor Kozlov [Sat, 19 Oct 2013 14:12:15 +0000 (14:12 +0000)]
Patch 55611 - Performance improvement in DateUtil.isADateFormat(int, String)

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

11 years agoPatch 55611 - Performance improvement in DateUtil.isADateFormat(int, String)
Yegor Kozlov [Sat, 19 Oct 2013 13:53:19 +0000 (13:53 +0000)]
Patch 55611 - Performance improvement in DateUtil.isADateFormat(int, String)

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

11 years agoAdd Eclipse project files and settings to make it easier to start hacking on POI...
Dominik Stadler [Wed, 16 Oct 2013 19:59:29 +0000 (19:59 +0000)]
Add Eclipse project files and settings to make it easier to start hacking on POI in Eclipse

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

11 years agoBug 55658: don't fail in SXSSF if a numeric cell is overwritten with a string
Dominik Stadler [Wed, 16 Oct 2013 19:47:21 +0000 (19:47 +0000)]
Bug 55658: don't fail in SXSSF if a numeric cell is overwritten with a string

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

11 years agoChange from having actual zero bytes in java code to java-string notation for unicode...
Dominik Stadler [Mon, 14 Oct 2013 19:44:30 +0000 (19:44 +0000)]
Change from having actual zero bytes in java code to java-string notation for unicode-zero to avoid trouble with this file in Sonar when using PostgreSQL (which seems to fall over binary data in text files). The resulting test should be the same with the \u0000 notation

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

11 years agoBugzilla 55578 - Support embedding OLE1.0 packages in HSSF
Yegor Kozlov [Sun, 13 Oct 2013 07:39:40 +0000 (07:39 +0000)]
Bugzilla 55578 - Support embedding OLE1.0 packages in HSSF

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

11 years agoBugzilla 49658 - Support embedding EMF/WMF pictures in HSSF
Yegor Kozlov [Sun, 13 Oct 2013 07:20:36 +0000 (07:20 +0000)]
Bugzilla 49658 - Support embedding EMF/WMF pictures in HSSF

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

11 years agoBug 55036: fixed red build (Dec2Hex)
Cédric Walter [Sat, 12 Oct 2013 06:28:51 +0000 (06:28 +0000)]
Bug 55036: fixed red build (Dec2Hex)

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

11 years agoBug 55036: patch for missing function Dec2HEx
Cédric Walter [Fri, 11 Oct 2013 19:16:43 +0000 (19:16 +0000)]
Bug 55036: patch for missing function Dec2HEx

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

11 years agoBug 55057: patch for missing function Hex2Dec
Cédric Walter [Fri, 11 Oct 2013 19:06:33 +0000 (19:06 +0000)]
Bug 55057: patch for missing function Hex2Dec

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

11 years agoBug 55116: patch for missing function Dec2Bin
Cédric Walter [Fri, 11 Oct 2013 18:49:19 +0000 (18:49 +0000)]
Bug 55116: patch for missing function Dec2Bin

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

11 years agoBug 55055: patch for missing function Bin2Dec
Cédric Walter [Fri, 11 Oct 2013 18:39:22 +0000 (18:39 +0000)]
Bug 55055: patch for missing function Bin2Dec

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

11 years agoBug 55649: WORKDAY Function returns incorrect date when spanning a weekend, or the...
Cédric Walter [Thu, 10 Oct 2013 21:54:52 +0000 (21:54 +0000)]
Bug 55649: WORKDAY Function returns incorrect date when spanning a weekend, or the start date is a weekend

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

11 years agoFix #55647 - When creating a temp file, ensure the name isn't already taken
Nick Burch [Thu, 10 Oct 2013 16:20:07 +0000 (16:20 +0000)]
Fix #55647 - When creating a temp file, ensure the name isn't already taken

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

11 years agoBug 55058: patch for missing function FactDouble
Cédric Walter [Thu, 10 Oct 2013 10:10:54 +0000 (10:10 +0000)]
Bug 55058: patch for missing function FactDouble
Returns the double factorial of a number: FACTDOUBLE(number)

Number     is the value for which to return the double factorial. If number is not an integer, it is truncated.

Remarks
If number is nonnumeric, FACTDOUBLE returns the #VALUE! error value.
If number is negative, FACTDOUBLE returns the #NUM! error value.

Has  a cache for more speed of previously calculated factorial
Add additional sanity check/integration test FormulaEvalTestData.xls

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

11 years agoBug 55081: patch for missing function WEEKNUM
Cédric Walter [Tue, 8 Oct 2013 12:54:35 +0000 (12:54 +0000)]
Bug 55081: patch for missing function WEEKNUM
Add simple spreadsheet with Excel 2003, and another with 2013 (both fresh files)

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

11 years ago Bug 55037: patch for missing function DELTA
Cédric Walter [Mon, 7 Oct 2013 09:42:38 +0000 (09:42 +0000)]
 Bug 55037: patch for missing function DELTA
 Add missing TestDeltaFunctionsFromSpreadsheet and register Delta in AnalysisToolPak

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

11 years agoApply patch from bug 55341
Dominik Stadler [Sun, 29 Sep 2013 20:23:20 +0000 (20:23 +0000)]
Apply patch from bug 55341

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

11 years agoPotential NPE in PPExtractor; found while working on TIKA-1171
Tim Allison [Fri, 27 Sep 2013 19:35:14 +0000 (19:35 +0000)]
Potential NPE in PPExtractor; found while working on TIKA-1171

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

11 years agoincrement build beta version to 3.10-beta3; forgot to as part of last release...doh.
Tim Allison [Fri, 27 Sep 2013 15:53:53 +0000 (15:53 +0000)]
increment build beta version to 3.10-beta3; forgot to as part of last release...doh.

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

11 years agoPOI-54722 table text in ppt files
Tim Allison [Fri, 27 Sep 2013 15:45:55 +0000 (15:45 +0000)]
POI-54722 table text in ppt files

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

11 years agoSupport more hashing formats for OOXML protected documents, for bug #55544
Nick Burch [Wed, 11 Sep 2013 22:22:30 +0000 (22:22 +0000)]
Support more hashing formats for OOXML protected documents, for bug #55544

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

11 years agoSample file from bug #55544 - encrypted with sha512 as the hash algorythm
Nick Burch [Wed, 11 Sep 2013 22:08:12 +0000 (22:08 +0000)]
Sample file from bug #55544 - encrypted with sha512 as the hash algorythm

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

11 years agoRemove Eclipse warnings, remove duplicate test, rename tests to also run tests in...
Dominik Stadler [Mon, 9 Sep 2013 09:41:31 +0000 (09:41 +0000)]
Remove Eclipse warnings, remove duplicate test, rename tests to also run tests in base class

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

11 years agoBug 53798: Add fix for XmlValueDisconnectException during shifting rows
Dominik Stadler [Mon, 9 Sep 2013 09:24:05 +0000 (09:24 +0000)]
Bug 53798: Add fix for XmlValueDisconnectException during shifting rows

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

11 years agoBug 54524: Fix border case in FormulaShifter
Dominik Stadler [Mon, 26 Aug 2013 20:09:19 +0000 (20:09 +0000)]
Bug 54524: Fix border case in FormulaShifter

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

11 years agoFix regression introduced by r1516969
Dominik Stadler [Sat, 24 Aug 2013 18:33:00 +0000 (18:33 +0000)]
Fix regression introduced by r1516969

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

11 years agoExclude TestUnfixedBugs from OOXMLLite to avoid confusing output in ant-build of...
Dominik Stadler [Sat, 24 Aug 2013 18:32:45 +0000 (18:32 +0000)]
Exclude TestUnfixedBugs from OOXMLLite to avoid confusing output in ant-build of ooxml-lite

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

11 years agoMore unit tests for column conversion, and avoid the use of Math.pow based on the...
Nick Burch [Fri, 23 Aug 2013 19:00:01 +0000 (19:00 +0000)]
More unit tests for column conversion, and avoid the use of Math.pow based on the suggestion from github-6

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

11 years agoTried to reproduce Bug 47090, but seems to be fixed now.
Dominik Stadler [Fri, 23 Aug 2013 18:56:32 +0000 (18:56 +0000)]
Tried to reproduce Bug 47090, but seems to be fixed now.

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

11 years agoAdd testcase which tries to reproduce Bug 48495, but seems to be fixed
Dominik Stadler [Fri, 23 Aug 2013 18:56:11 +0000 (18:56 +0000)]
Add testcase which tries to reproduce Bug 48495, but seems to be fixed
now.

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

11 years agoSome Eclipse warnings removed
Dominik Stadler [Fri, 23 Aug 2013 18:54:05 +0000 (18:54 +0000)]
Some Eclipse warnings removed

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

11 years agoAdd some explicit tests for column letter to/from number conversion
Nick Burch [Fri, 23 Aug 2013 18:52:18 +0000 (18:52 +0000)]
Add some explicit tests for column letter to/from number conversion

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

11 years agoRemove some @author tags, as per http://poi.apache.org/guidelines.html#CodeStyle
Nick Burch [Fri, 23 Aug 2013 18:42:57 +0000 (18:42 +0000)]
Remove some @author tags, as per http://poi.apache.org/guidelines.html#CodeStyle

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

11 years agoStart to remove @author tags, as per http://poi.apache.org/guidelines.html#CodeStyle
Nick Burch [Fri, 23 Aug 2013 18:36:41 +0000 (18:36 +0000)]
Start to remove @author tags, as per http://poi.apache.org/guidelines.html#CodeStyle

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

11 years agoInspired by github pull-6, use a StringBuilder for quicker string appending
Nick Burch [Fri, 23 Aug 2013 18:30:01 +0000 (18:30 +0000)]
Inspired by github pull-6, use a StringBuilder for quicker string appending

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

11 years agofix some Eclipse warnings, adjust some unit tests slightly
Dominik Stadler [Fri, 23 Aug 2013 10:44:39 +0000 (10:44 +0000)]
fix some Eclipse warnings, adjust some unit tests slightly

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

11 years agoFix unit test for Bug 50298 some more
Dominik Stadler [Wed, 21 Aug 2013 22:57:26 +0000 (22:57 +0000)]
Fix unit test for Bug 50298 some more

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

11 years agoAdjust test for Bug 50298 to not leave a temporary file behind and
Dominik Stadler [Wed, 21 Aug 2013 22:19:58 +0000 (22:19 +0000)]
Adjust test for Bug 50298 to not leave a temporary file behind and
enhance the test with some more cases of moving/changing/removing sheet
order/names

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

11 years agoBug 50298: Fix corruption of Workbook when setting sheet order. The
Dominik Stadler [Wed, 21 Aug 2013 22:08:20 +0000 (22:08 +0000)]
Bug 50298: Fix corruption of Workbook when setting sheet order. The
boundssheets themselves were adjusted, but not the corresponding
records.

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

11 years agoAlso fix some Eclipse warnings while hunting Bugs: Generics, unused
Dominik Stadler [Wed, 21 Aug 2013 22:06:07 +0000 (22:06 +0000)]
Also fix some Eclipse warnings while hunting Bugs: Generics, unused
variables, ...

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

11 years agoPush the fix for bug #55248 up to the Sheet interface (was XSSF only before)
Nick Burch [Wed, 21 Aug 2013 09:41:15 +0000 (09:41 +0000)]
Push the fix for bug #55248 up to the Sheet interface (was XSSF only before)

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

11 years agoBug 52233: try to fix this without breaking the format of xlsx-files.
Dominik Stadler [Tue, 20 Aug 2013 18:44:44 +0000 (18:44 +0000)]
Bug 52233: try to fix this without breaking the format of xlsx-files.
The set to null is necessary to not have an empty <cols/> element in the
xlsx, however later on stuff breaks if no colsArray is availalbe,
therefore we now re-create the empty cols array if we did remove it
before.

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

11 years agoRevert changes from rev. 1513916 as it severly broke writing valid xlsx files
Dominik Stadler [Tue, 20 Aug 2013 15:03:18 +0000 (15:03 +0000)]
Revert changes from rev. 1513916 as it severly broke writing valid xlsx files

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

11 years agoBug 55043: patch for missing function QUOTIENT
Cédric Walter [Fri, 16 Aug 2013 18:54:35 +0000 (18:54 +0000)]
Bug 55043: patch for missing function QUOTIENT

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

11 years agoBug 55082: patch for missing function ROMAN
Cédric Walter [Fri, 16 Aug 2013 18:28:18 +0000 (18:28 +0000)]
Bug 55082: patch for missing function ROMAN

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

11 years agoBug 55080: patch for missing function IMREAL
Cédric Walter [Fri, 16 Aug 2013 18:13:40 +0000 (18:13 +0000)]
Bug 55080: patch for missing function IMREAL

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

11 years agoBug 55079: patch for missing function IMAGINARY
Cédric Walter [Fri, 16 Aug 2013 17:59:01 +0000 (17:59 +0000)]
Bug 55079: patch for missing function IMAGINARY

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

11 years agoBug 54720: Support for Row/Col Area Range like 8:8 or H:H
Cédric Walter [Fri, 16 Aug 2013 17:35:16 +0000 (17:35 +0000)]
Bug 54720: Support for Row/Col Area Range like 8:8 or H:H

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

11 years agoBug 54723: Support for percentage in VALUE() function
Cédric Walter [Fri, 16 Aug 2013 17:15:47 +0000 (17:15 +0000)]
Bug 54723: Support for percentage in VALUE() function

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

11 years agoBug 54786: Fix missing quoting in date formatting, add a number of unit
Dominik Stadler [Fri, 16 Aug 2013 09:38:47 +0000 (09:38 +0000)]
Bug 54786: Fix missing quoting in date formatting, add a number of unit
tests which verify the new formatting options.

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

11 years ago55419 and refactor SimpleFraction
Tim Allison [Thu, 15 Aug 2013 01:46:25 +0000 (01:46 +0000)]
55419 and refactor SimpleFraction

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

11 years agoBug 52233: Do not make the XSSFSheet invalid during write(), I could not find out...
Dominik Stadler [Wed, 14 Aug 2013 14:57:44 +0000 (14:57 +0000)]
Bug 52233: Do not make the XSSFSheet invalid during write(), I could not find out why the ColsArray was set to null in the write() method. By removing this the writing of the sheet does not invalidate the Workbook any more and makes the test case work fine.

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

11 years agoVarious small Eclipse warning fixes,
Dominik Stadler [Wed, 14 Aug 2013 08:25:51 +0000 (08:25 +0000)]
Various small Eclipse warning fixes,
also ensure close() of stream in Ant-Task, although WorkbookFactory usually takes care of this, however in exception-cases it could be missing

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

11 years agoUpdate to JaCoCo 0.6.3 and svn-ignore the .zip file as well
Dominik Stadler [Wed, 14 Aug 2013 08:20:21 +0000 (08:20 +0000)]
Update to JaCoCo 0.6.3 and svn-ignore the .zip file as well

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

11 years agoBug 55195: use interface instead of implementation for
Dominik Stadler [Mon, 12 Aug 2013 20:27:08 +0000 (20:27 +0000)]
Bug 55195: use interface instead of implementation for
NumericValueEval and others.

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

11 years agoFix how coverage-reporting is triggered, was effectively disabled always currently...
Dominik Stadler [Mon, 12 Aug 2013 19:43:40 +0000 (19:43 +0000)]
Fix how coverage-reporting is triggered, was effectively disabled always currently because of how Ant if/unless works

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

11 years agoBug 55380: Fix endless loop in CellRangeUtil.mergeCellRanges() by not trying to merge...
Dominik Stadler [Mon, 12 Aug 2013 19:13:10 +0000 (19:13 +0000)]
Bug 55380: Fix endless loop in CellRangeUtil.mergeCellRanges() by not trying to merge overlapping regions any more, the implementation is buggy and even tagged TODO - unit test missing. The code is hard to understand and bug-free-ness is better than catching all possible merges imho.
Also add many cases to the unit tests and reformat code slightly as well
as fixing some Generics-Warnings.

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

11 years ago55347 - integrate textbox text extraction with Excel extractors
Tim Allison [Thu, 8 Aug 2013 14:04:07 +0000 (14:04 +0000)]
55347 - integrate textbox text extraction with Excel extractors

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

11 years agoPOI 55361 trigger to load CTMoveBookmark in TestXWPFParagraph
Tim Allison [Thu, 8 Aug 2013 13:42:01 +0000 (13:42 +0000)]
POI 55361 trigger to load CTMoveBookmark in TestXWPFParagraph

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

11 years agoPOI-55294 and 52186
Tim Allison [Mon, 5 Aug 2013 16:17:17 +0000 (16:17 +0000)]
POI-55294 and 52186

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

11 years agoAdjust build.xml to run JaCoCo coverage when running unit tests when
Dominik Stadler [Sun, 4 Aug 2013 16:38:01 +0000 (16:38 +0000)]
Adjust build.xml to run JaCoCo coverage when running unit tests when
flag coverage.enabled is set to true, download necessary jars, add jacoco:coverage
to junit targets and a testcoveragereport target which produces the coverage report.
Also fix a test that is affected by JaCoCo and add slightly more coverage in another test.

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

11 years agoPOI-55292 with added files
Tim Allison [Wed, 31 Jul 2013 00:21:04 +0000 (00:21 +0000)]
POI-55292 with added files

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

11 years agoPOI-55292
Tim Allison [Wed, 31 Jul 2013 00:19:07 +0000 (00:19 +0000)]
POI-55292

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

11 years agoadded ratted out Apache license to HPSFPropertiesOnlyDocument
Tim Allison [Mon, 29 Jul 2013 19:36:24 +0000 (19:36 +0000)]
added ratted out Apache license to HPSFPropertiesOnlyDocument

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

11 years agoadded key to KEYS
Tim Allison [Mon, 29 Jul 2013 18:58:26 +0000 (18:58 +0000)]
added key to KEYS

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

11 years agotesting svn commit with test doc for 55292
Tim Allison [Mon, 29 Jul 2013 18:15:20 +0000 (18:15 +0000)]
testing svn commit with test doc for 55292

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

11 years agoEnsure the interface and implementation javadocs share the same warnings, and paragra...
Nick Burch [Mon, 15 Jul 2013 21:45:21 +0000 (21:45 +0000)]
Ensure the interface and implementation javadocs share the same warnings, and paragraph-ise to look nicer

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

11 years agoBug 55248: Add methods for showInPane() using int and unit test to verify it can...
Dominik Stadler [Sat, 13 Jul 2013 05:37:41 +0000 (05:37 +0000)]
Bug 55248: Add methods for showInPane() using int and unit test to verify it can handle more than 32767 rows

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

11 years agoAdd more unit tests to cover more of HSSFWorkbook and HSSFSheet, check one more case...
Dominik Stadler [Fri, 12 Jul 2013 19:21:12 +0000 (19:21 +0000)]
Add more unit tests to cover more of HSSFWorkbook and HSSFSheet, check one more case of IndexOutOfBoundsException

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

11 years agoAdd reproducing unit tests to TestUnfixedBugs for Bug 53798 and Bug 54071
Dominik Stadler [Tue, 9 Jul 2013 13:55:54 +0000 (13:55 +0000)]
Add reproducing unit tests to TestUnfixedBugs for Bug 53798 and Bug 54071

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

11 years agoRefactor to avoid logic duplication on the property value -> string conversion
Nick Burch [Wed, 3 Jul 2013 11:36:11 +0000 (11:36 +0000)]
Refactor to avoid logic duplication on the property value -> string conversion

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

11 years agoFix bug #55191 - Avoid a ClassCastException if a HPSF string property isn't directly...
Nick Burch [Wed, 3 Jul 2013 11:24:01 +0000 (11:24 +0000)]
Fix bug #55191 - Avoid a ClassCastException if a HPSF string property isn't directly stored as a string

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

11 years agoFix build broken by previous checkin by creating a TestUnfixedBugs for ooxml as well...
Dominik Stadler [Mon, 1 Jul 2013 08:03:40 +0000 (08:03 +0000)]
Fix build broken by previous checkin by creating a TestUnfixedBugs for ooxml as well and excluding the new test-class in test-ooxml similar to the main tests.

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

11 years agoBug 54084: Add testcase which reproduces the bug, no fix available yet
Dominik Stadler [Sun, 30 Jun 2013 22:47:26 +0000 (22:47 +0000)]
Bug 54084: Add testcase which reproduces the bug, no fix available yet

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

11 years agoAdjust build.xml to update to junit 4.11
Dominik Stadler [Sun, 30 Jun 2013 20:49:51 +0000 (20:49 +0000)]
Adjust build.xml to update to junit 4.11
Also allow to specify a pattern to only run certain unit tests.

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

11 years agoAdd a test to show that bug #53150 has been fixed by the recent fraction work
Nick Burch [Wed, 26 Jun 2013 20:40:26 +0000 (20:40 +0000)]
Add a test to show that bug #53150 has been fixed by the recent fraction work

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

11 years agoHave MAPIMessage try the codepage properties to get the ascii encoding, before fallin...
Nick Burch [Wed, 26 Jun 2013 18:46:37 +0000 (18:46 +0000)]
Have MAPIMessage try the codepage properties to get the ascii encoding, before falling back to the existing logic around content type parsing

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

11 years agoHSMF generally wants Java Lang style encoding names, which HPSF has always worked...
Nick Burch [Wed, 26 Jun 2013 18:44:51 +0000 (18:44 +0000)]
HSMF generally wants Java Lang style encoding names, which HPSF has always worked with Java NIO ones, so add a flag to CodePageUtil to let you select which style to return

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

11 years agoDeprecate the old HPSF codepage Constants list, and change the code to use the new...
Nick Burch [Wed, 26 Jun 2013 18:20:37 +0000 (18:20 +0000)]
Deprecate the old HPSF codepage Constants list, and change the code to use the new CodePageUtil class instead for their codepage work

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

11 years agoBring the numeric CodePage support from HPSF (constants and converters) out to a...
Nick Burch [Wed, 26 Jun 2013 18:18:21 +0000 (18:18 +0000)]
Bring the numeric CodePage support from HPSF (constants and converters) out to a new Util class, so that HSMF can later use it

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

11 years agoMore unit tests for the HSMF fixed sized property values (a few still remain to be...
Nick Burch [Wed, 26 Jun 2013 17:45:57 +0000 (17:45 +0000)]
More unit tests for the HSMF fixed sized property values (a few still remain to be fixed though)

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

11 years agoMake the fixed sized properties parser more flexible in the face of slightly duff...
Nick Burch [Wed, 26 Jun 2013 17:03:26 +0000 (17:03 +0000)]
Make the fixed sized properties parser more flexible in the face of slightly duff data

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

11 years agoDig out the normal type for some more common properties
Nick Burch [Wed, 26 Jun 2013 16:58:11 +0000 (16:58 +0000)]
Dig out the normal type for some more common properties

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

11 years agoSupport decoding a few more property types
Nick Burch [Wed, 26 Jun 2013 16:17:00 +0000 (16:17 +0000)]
Support decoding a few more property types

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

11 years agoMore friendly output of byte arrays for property values in HSMFDump
Nick Burch [Wed, 26 Jun 2013 16:03:09 +0000 (16:03 +0000)]
More friendly output of byte arrays for property values in HSMFDump

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

11 years agoFix inconsistent whitespace in HSMF test files
Nick Burch [Wed, 26 Jun 2013 15:28:25 +0000 (15:28 +0000)]
Fix inconsistent whitespace in HSMF test files

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

11 years agoFix inconsistent whitespace in HSMF files
Nick Burch [Wed, 26 Jun 2013 15:23:29 +0000 (15:23 +0000)]
Fix inconsistent whitespace in HSMF files

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

11 years agoEnsure the indenting is consistent within the file, and then make some minor updates...
Nick Burch [Wed, 26 Jun 2013 14:57:36 +0000 (14:57 +0000)]
Ensure the indenting is consistent within the file, and then make some minor updates to the JavaDocs (language, clarity etc)

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

11 years agoFix JavaDoc warnings
Nick Burch [Wed, 26 Jun 2013 00:56:28 +0000 (00:56 +0000)]
Fix JavaDoc warnings

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

11 years agoConvert classes with a assertContains method to using the new POITestCase common...
Nick Burch [Wed, 26 Jun 2013 00:49:41 +0000 (00:49 +0000)]
Convert classes with a assertContains method to using the new POITestCase common parent class, which has it there

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

11 years agoAdd disabled unit test for bug #54916
Nick Burch [Wed, 26 Jun 2013 00:45:18 +0000 (00:45 +0000)]
Add disabled unit test for bug #54916

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

11 years agoNew parent test class, which includes the common assertContains pattern
Nick Burch [Wed, 26 Jun 2013 00:44:35 +0000 (00:44 +0000)]
New parent test class, which includes the common assertContains pattern

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

11 years agoJavaDoc fix - missing >
Nick Burch [Wed, 26 Jun 2013 00:21:40 +0000 (00:21 +0000)]
JavaDoc fix - missing >

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

11 years agoAdd a write method to HPSFPropertiesOnlyDocument, and use this to finish the unit...
Nick Burch [Wed, 26 Jun 2013 00:18:41 +0000 (00:18 +0000)]
Add a write method to HPSFPropertiesOnlyDocument, and use this to finish the unit tests for bug #54233

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