]> source.dussan.org Git - poi.git/log
poi.git
10 years agoBug 55742: fixed mirr FormulaEvalTestData.xls tests
Cédric Walter [Wed, 6 Nov 2013 20:09:43 +0000 (20:09 +0000)]
Bug 55742: fixed mirr FormulaEvalTestData.xls tests

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

10 years agoBug 55742: fixed hex2dec tests
Cédric Walter [Wed, 6 Nov 2013 20:04:22 +0000 (20:04 +0000)]
Bug 55742: fixed hex2dec tests

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

10 years agoBug 55724: implementation of excel percentile function, added unit test
Cédric Walter [Wed, 6 Nov 2013 17:12:13 +0000 (17:12 +0000)]
Bug 55724: implementation of excel percentile function, added unit test

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

10 years agoBug 54696: Add overlay setting to ChartLegend
Cédric Walter [Tue, 5 Nov 2013 22:35:54 +0000 (22:35 +0000)]
Bug 54696: Add overlay setting to ChartLegend

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

10 years agoBug 55724: implementation of Excel PERCENTILE function
Cédric Walter [Tue, 5 Nov 2013 22:11:18 +0000 (22:11 +0000)]
Bug 55724: implementation of Excel PERCENTILE function

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

10 years agofixed red build, cause by invalid java 5 method isEmpty and unmappable character...
Cédric Walter [Tue, 5 Nov 2013 20:46:20 +0000 (20:46 +0000)]
fixed red build, cause by invalid java 5 method isEmpty and unmappable character for encoding ASCII

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

10 years agoBug 55024: MIRR Formula implementation review, added error handling and FormulaEvalTe...
Cédric Walter [Mon, 4 Nov 2013 22:52:06 +0000 (22:52 +0000)]
Bug 55024: MIRR Formula implementation review, added error handling and FormulaEvalTest.xls

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

10 years agoBug 54535: Bug in INTERCEPT and SLOPE, review and integration test added to FormulaEv...
Cédric Walter [Mon, 4 Nov 2013 21:27:12 +0000 (21:27 +0000)]
Bug 54535: Bug in INTERCEPT and SLOPE, review and integration test added to FormulaEvalTestData.xls

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

10 years agoBug 55742: Apply patch for Oct2Dec and refactor Hex2Dec to also use BaseNumberUtils...
Cédric Walter [Mon, 4 Nov 2013 21:09:40 +0000 (21:09 +0000)]
Bug 55742: Apply patch for Oct2Dec and refactor Hex2Dec to also use BaseNumberUtils.convertToDecimal

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

10 years agoBug 52400: fix handling some types of TNEF files, make HMEFMessage.HEADER_SIGNATURE...
Dominik Stadler [Sun, 3 Nov 2013 12:43:42 +0000 (12:43 +0000)]
Bug 52400: fix handling some types of TNEF files, make HMEFMessage.HEADER_SIGNATURE int as it is handled as int everywhere, move .dat files to HMEF sample dir, cover some border cases in HMEFMessage, add another .dat sample file

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

10 years agoAdd more output to assertion in test-case that is sometimes failing, see e.g. Jenkins...
Dominik Stadler [Sun, 3 Nov 2013 10:11:09 +0000 (10:11 +0000)]
Add more output to assertion in test-case that is sometimes failing, see e.g. Jenkins build #170...

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

10 years agoAdd slightly more coverage for ExcelAntWorkbookUtil
Dominik Stadler [Sat, 2 Nov 2013 20:58:22 +0000 (20:58 +0000)]
Add slightly more coverage for ExcelAntWorkbookUtil

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

10 years agoFix Bug 54400 by updating the index in the LinkTable whenever sheets are
Dominik Stadler [Sat, 2 Nov 2013 10:01:01 +0000 (10:01 +0000)]
Fix Bug 54400 by updating the index in the LinkTable whenever sheets are
removed.

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

10 years agoFix bug #55733 - XWPFWordExtractor need
Nick Burch [Fri, 1 Nov 2013 19:43:46 +0000 (19:43 +0000)]
Fix bug #55733 - XWPFWordExtractor need
s to handle .docx files with neither headers nor footers

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

10 years agoAllow formatting of formula error cells, giving back the error string that Excel...
Nick Burch [Thu, 31 Oct 2013 16:53:03 +0000 (16:53 +0000)]
Allow formatting of formula error cells, giving back the error string that Excel shows #55729

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

10 years agoSlightly more test-coverage in HSSFSheet/XSSFSheet/SXSSFSheet and fix some Eclipse...
Dominik Stadler [Wed, 30 Oct 2013 22:26:13 +0000 (22:26 +0000)]
Slightly more test-coverage in HSSFSheet/XSSFSheet/SXSSFSheet and fix some Eclipse warnings

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

10 years agoAdd scratchpad-resources to .classpath make TestExtractorFactory run in Eclipse
Dominik Stadler [Sun, 27 Oct 2013 08:33:59 +0000 (08:33 +0000)]
Add scratchpad-resources to .classpath make TestExtractorFactory run in Eclipse

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

10 years agoRe-use functionality from HSSFWorkbook in dev-tools to find the
Dominik Stadler [Sun, 27 Oct 2013 08:16:29 +0000 (08:16 +0000)]
Re-use functionality from HSSFWorkbook in dev-tools to find the
dir-entry-name to make special names like WORKBOOK or BOOK work, handle
a special case in ExternalNameRecord when the flag states that there is
data, but no data remains in the stream, slightly improve error-output
in DirectoryNode, adjust all dev-tools-tests to not report stack-traces
any more for expected failures and try with HSSFWorkbook to decide if it
is an expected failure or now.

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

11 years agoAdd reproducer tests for Bug 53515, disabled as we do not fix any of the
Dominik Stadler [Sat, 26 Oct 2013 10:05:24 +0000 (10:05 +0000)]
Add reproducer tests for Bug 53515, disabled as we do not fix any of the
reported issues. Also fix some Ecliipse warnings.

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

11 years agoBug 49940: Apply patch to avoid XmlValueDisconnectedException when
Dominik Stadler [Sat, 26 Oct 2013 07:31:47 +0000 (07:31 +0000)]
Bug 49940: Apply patch to avoid XmlValueDisconnectedException when
saving a file twice and enable reproducing unit test

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

11 years agoAdd a number of tests for the dev-tools. The tests iterate over all .xls
Dominik Stadler [Fri, 25 Oct 2013 21:57:48 +0000 (21:57 +0000)]
Add a number of tests for the dev-tools. The tests iterate over all .xls
files that are found under test-data, any newly added file or
code-change which breaks one of the dev-tools will cause the tests to
fail in the future. Known broken files can be excluded.

Also fixes two points where some files could cause BiffViewer to fail.

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

11 years agoPatch 55612 - Performance improvement in HSSFCellStyle.getDataFormatString()
Yegor Kozlov [Fri, 25 Oct 2013 18:41:24 +0000 (18:41 +0000)]
Patch 55612 - Performance improvement in  HSSFCellStyle.getDataFormatString()

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

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