Nick Burch
551573dd95
Bit more towards XSSF name support for #56737 , will need some deeper changes though to fully implement
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611830 13f79535-47bb-0310-9956-ffa450edef68
2014-07-18 22:50:54 +00:00
Nick Burch
c9d90732e5
Add disabled unit tests for bug #56737 , which currently fails (differently) for HSSF and XSSF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611400 13f79535-47bb-0310-9956-ffa450edef68
2014-07-17 16:18:39 +00:00
Nick Burch
696b9d6406
Fix for #56702 - If a cell is of type numeric but has an empty <v/> tag, return as 0
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1610482 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 18:53:39 +00:00
Nick Burch
92f1cd20da
Add a disabled unit test for bug #56420
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1607661 13f79535-47bb-0310-9956-ffa450edef68
2014-07-03 14:30:47 +00:00
Dominik Stadler
8c6e7e06aa
Fix for 56563 - Multithreading bug when reading 2 similar files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1597637 13f79535-47bb-0310-9956-ffa450edef68
2014-05-26 20:03:08 +00:00
Nick Burch
6cc94cdae8
Handle date format strings in an iso8601 style format, with a T in them. Fixes bug #54034
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1597038 13f79535-47bb-0310-9956-ffa450edef68
2014-05-23 09:18:16 +00:00
Nick Burch
2bde35b8ff
Patch from Yaniv Kunda from bug #56274 - Fix SXSSF writing of tables when creating from a template
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1596624 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 17:08:25 +00:00
Dominik Stadler
47ea1aa486
Bug 53691: Fix a copy/paste error in CFRuleRecord.clone()
...
also make CFRuleRecord.toString() print out more information which caused the bug to be much harder to find
Add unit tests to verify/reproduce this
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1596251 13f79535-47bb-0310-9956-ffa450edef68
2014-05-20 14:01:22 +00:00
Dominik Stadler
38b5621723
Bug 56170: Fix a problem with cells in workbooks becoming disconnected from XMLBeans whenever columns need to be reordered during writing the file. This happens because setCArray() disconnects any previously stored array-item but we try to re-use them. So we need to recreate the CTCell and set it in the XSSFCell to make this work in all currently tested cases.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1595659 13f79535-47bb-0310-9956-ffa450edef68
2014-05-18 19:18:27 +00:00
Dominik Stadler
8f04bf295e
Fix Bug 56514, add missing null-check if simple shape does not have any text
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1595127 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 07:09:55 +00:00
Dominik Stadler
8e6c459d83
Bug 56325: fix Exception when removing sheets with named ranges in the workbook
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1595048 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 21:14:52 +00:00
Nick Burch
ee0cddaf9a
Excel 2007 and later allows for more than 3 Conditional Formatting rules per sheet, so change our hard limit to logging a compatibility warning. Test file from Pau Coma Ramirez from bug #56482
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1591959 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 15:49:23 +00:00
Nick Burch
e7dff43065
Fix bug #56450 - Avoid a NPE if a comment has no associated NoteRecord (but we still don't know where it belongs)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589770 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 15:42:53 +00:00
Dominik Stadler
0974acc778
Bug 56315: Make rounding in MathX.round() behave equal to Excel, adjust/enhance some more tests in MathX
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1588538 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 18:20:15 +00:00
Nick Burch
32b69ac9b9
Add another test file for bug #47251 , from Joe Yuan, and a disabled test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1583825 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 23:27:05 +00:00
Nick Burch
6d2ecdeac2
Fix bug #56278 - Support loading .xlsx files with no Styles Table
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1578518 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 19:02:21 +00:00
Dominik Stadler
01ae06cc94
Add missing test-file for bug 56169
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1577908 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 17:31:25 +00:00
Dominik Stadler
d9009484a6
Bug 55923: Fix compare/sorting of nodes in exported XML
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1564050 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 20:56:43 +00:00
Dominik Stadler
19ed26f156
Bug 55924: Avoid errors during exporting XML if there are numeric cells without value, also verify in tests that XML can always be parsed
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1564045 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 20:17:59 +00:00
Dominik Stadler
d7028dcf09
Bug 55926: Handle numeric formula values when exporting to XML
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1564028 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 19:46:41 +00:00
Dominik Stadler
503ce1e6c4
Bug 55927: Handle date types when exporting to XML
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1564011 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 19:19:14 +00:00
Nick Burch
eb2e8ffe0a
Patch from Shaun Kalley from bug #56022 - XSSF Event Text Extractor header/footer support
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563657 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 16:39:53 +00:00
Dominik Stadler
d6463c11e4
Add missing test-file for Bug 56017
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563588 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 10:38:45 +00:00
Andreas Beeker
c1a7ab3860
Bug 53282 - Hyperlink with a non-breaking space throws java.lang.IllegalStateException
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563540 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 01:56:02 +00:00
Dominik Stadler
7db6081827
Bug 56011: Use default style if the cell style attribute is not present
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563470 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 20:54:09 +00:00
Andreas Beeker
30d9106d9a
- Bug 51585 - WorkbookFactory.create() hangs when creating a workbook
...
- adapted relevant test-classes to Junit4 to support timeout handling
- tab / space cleanup
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1561435 13f79535-47bb-0310-9956-ffa450edef68
2014-01-26 02:18:53 +00:00
Andreas Beeker
1eba8faedb
Bug 35897 - Password protected files
...
+ Junit4 modifications, needed for expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1557281 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 23:14:03 +00:00
Dominik Stadler
2a08a1dd10
Bug 55850: fix NullPointerException during extraction from XSSF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1549007 13f79535-47bb-0310-9956-ffa450edef68
2013-12-08 08:35:20 +00:00
Dominik Stadler
18f9a3e88e
Bug 55640, added reproducer, a fix for the Exception cases and some verify-tests to ensure future
...
changes are checked via unit tests. There might be more work pending to
make grouping fully work the same way as Excel does.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1547153 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 19:14:03 +00:00
Dominik Stadler
6618473e64
Bug 55745: fix handling of tables in XSSF if there are comments as well, there is not much sense in leaving the loop on the first instance of comment table and skipping all the other tables.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1546385 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 15:15:59 +00:00
Nick Burch
4ae76ffddc
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
2013-11-07 22:39:11 +00:00
Nick Burch
d45b6acef3
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
2013-11-07 21:56:49 +00:00
Cédric Walter
224b66e8d4
Bug 55742: fixed mirr FormulaEvalTestData.xls tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1539451 13f79535-47bb-0310-9956-ffa450edef68
2013-11-06 20:09:43 +00:00
Cédric Walter
fc086aba47
Bug 55724: implementation of Excel PERCENTILE function
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1539154 13f79535-47bb-0310-9956-ffa450edef68
2013-11-05 22:11:18 +00:00
Cédric Walter
d8c54be1aa
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
2013-11-04 22:52:06 +00:00
Cédric Walter
eab0adda8b
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
2013-11-04 21:27:12 +00:00
Cédric Walter
6cb3b01753
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
2013-11-04 21:09:40 +00:00
Dominik Stadler
8d345b13d0
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
2013-11-02 10:01:01 +00:00
Cédric Walter
b43a685b6c
Bug 55036: patch for missing function Dec2HEx
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1531395 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 19:16:43 +00:00
Cédric Walter
1d8a31724a
Bug 55057: patch for missing function Hex2Dec
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1531393 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 19:06:33 +00:00
Cédric Walter
c70043f1d5
Bug 55116: patch for missing function Dec2Bin
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1531390 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 18:49:19 +00:00
Cédric Walter
be144a48fd
Bug 55055: patch for missing function Bin2Dec
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1531386 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 18:39:22 +00:00
Cédric Walter
ed1fc84a38
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
2013-10-10 10:10:54 +00:00
Cédric Walter
8c2e38892e
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
2013-10-08 12:54:35 +00:00
Cédric Walter
f49f20daec
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
2013-10-07 09:42:38 +00:00
Dominik Stadler
43b74b0253
Apply patch from bug 55341
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1527397 13f79535-47bb-0310-9956-ffa450edef68
2013-09-29 20:23:20 +00:00
Dominik Stadler
e6ed66a126
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
2013-09-09 09:24:05 +00:00
Dominik Stadler
17e8880dcd
Bug 54524: Fix border case in FormulaShifter
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1517676 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 20:09:19 +00:00
Dominik Stadler
b79d4fda52
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
2013-08-23 18:56:32 +00:00
Dominik Stadler
13e08c3e92
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
2013-08-23 18:56:11 +00:00