]> source.dussan.org Git - poi.git/log
poi.git
10 years agoBug 55768: added Line charts support and setting axis tick marks, title
Cédric Walter [Fri, 22 Nov 2013 18:26:11 +0000 (18:26 +0000)]
Bug 55768: added Line charts support and setting axis tick marks, title

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

10 years agoBug 54676: added new chart axis type: Category axis
Cédric Walter [Fri, 22 Nov 2013 17:45:00 +0000 (17:45 +0000)]
Bug 54676: added new chart axis type: Category axis

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

10 years agoPatch from Andreas Beeker from bug #53475 - Switch XWPF test to JUnit 4, so that...
Nick Burch [Thu, 21 Nov 2013 11:18:23 +0000 (11:18 +0000)]
Patch from Andreas Beeker from bug #53475 - Switch XWPF test to JUnit 4, so that we can skip one part of the tests if the JVM doesn't support larger keys

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

10 years agoPatch from Andreas Beeker from bug #53475 - further OOXML Encryption support, coverin...
Nick Burch [Tue, 12 Nov 2013 11:37:45 +0000 (11:37 +0000)]
Patch from Andreas Beeker from bug #53475 - further OOXML Encryption support, covering more ciphers

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

10 years agoFormatting standards are all spaces, not mixed tabs, so fix the Eclipse preferences
Nick Burch [Tue, 12 Nov 2013 11:35:40 +0000 (11:35 +0000)]
Formatting standards are all spaces, not mixed tabs, so fix the Eclipse preferences

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

10 years agoFix whitespace
Nick Burch [Tue, 12 Nov 2013 11:32:10 +0000 (11:32 +0000)]
Fix whitespace

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

10 years agoAnother test file from Andreas Beekerndreas Beeker from bug #53475
Nick Burch [Tue, 12 Nov 2013 11:18:59 +0000 (11:18 +0000)]
Another test file from Andreas Beekerndreas Beeker from bug #53475

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

10 years agoMore JavaDoc tweaks, and suppress deprecated warnings where these are expected
Nick Burch [Tue, 12 Nov 2013 09:55:46 +0000 (09:55 +0000)]
More JavaDoc tweaks, and suppress deprecated warnings where these are expected

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

10 years agoConsistent indenting, based on current POI style guide
Nick Burch [Tue, 12 Nov 2013 09:53:57 +0000 (09:53 +0000)]
Consistent indenting, based on current POI style guide

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

10 years agoFix some JavaDocs, and add a generic constructor based on ZipEntrySource
Nick Burch [Tue, 12 Nov 2013 09:51:13 +0000 (09:51 +0000)]
Fix some JavaDocs, and add a generic constructor based on ZipEntrySource

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

10 years agoReduce duplication by replacing lots of deprecated methods with calls to their replac...
Nick Burch [Mon, 11 Nov 2013 23:08:36 +0000 (23:08 +0000)]
Reduce duplication by replacing lots of deprecated methods with calls to their replacement (which is basically the same code anyway)

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

10 years agoTry to make a few OPCPackage error messages more helpful, and slightly reform the...
Nick Burch [Mon, 11 Nov 2013 23:03:00 +0000 (23:03 +0000)]
Try to make a few OPCPackage error messages more helpful, and slightly reform the configure code block to make it hopefully easier to read

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

10 years agoBugzilla 55560 : Patch for hiding slides in HSLF
Yegor Kozlov [Sat, 9 Nov 2013 11:57:21 +0000 (11:57 +0000)]
Bugzilla 55560 : Patch for hiding slides in HSLF

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

10 years agoPatch 53176 - Fixed auto shapes render problem in pptx files
Yegor Kozlov [Sat, 9 Nov 2013 11:32:55 +0000 (11:32 +0000)]
Patch 53176 - Fixed auto shapes render problem in pptx files

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

10 years agoUnit tests for Shrink To Fit cell style support (#55661)
Nick Burch [Thu, 7 Nov 2013 22:39:11 +0000 (22:39 +0000)]
Unit tests for Shrink To Fit cell style support (#55661)

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

10 years agoStart on HSSF/XSSF Shrink To Fit support, see bug #55661
Nick Burch [Thu, 7 Nov 2013 22:28:06 +0000 (22:28 +0000)]
Start on HSSF/XSSF Shrink To Fit support, see bug #55661

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

10 years agoPatch from Andreas Beeker from bug #49237 - HSSF Row Style XfIndex is 12 not 16 bits...
Nick Burch [Thu, 7 Nov 2013 21:56:49 +0000 (21:56 +0000)]
Patch from Andreas Beeker from bug #49237 - HSSF Row Style XfIndex is 12 not 16 bits of data

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

10 years agoPatch from Andreas Beeker from bug #53475 - CSPName may not always be present on...
Nick Burch [Thu, 7 Nov 2013 21:29:14 +0000 (21:29 +0000)]
Patch from  Andreas Beeker from bug #53475 - CSPName may not always be present on OOXML encrypted documents, plus test

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

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