aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* The Event User Model fake-workbook for formula evaluations needs to know ↵Nick Burch2014-07-193-6/+21
| | | | | | about the sheet names git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611946 13f79535-47bb-0310-9956-ffa450edef68
* Fix Generics warningsNick Burch2014-07-191-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611944 13f79535-47bb-0310-9956-ffa450edef68
* The way that HSSF and XSSF stores references to external sheets are rather ↵Nick Burch2014-07-1910-117/+301
| | | | | | different, so begin to reflect that in how we parse their formulas into Ptgs git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611906 13f79535-47bb-0310-9956-ffa450edef68
* There can be more than one linked ExternalLinks table for a workbook #56744Nick Burch2014-07-194-13/+128
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611890 13f79535-47bb-0310-9956-ffa450edef68
* Turns out that .xlsx files can have multiple link tables, add a test file ↵Nick Burch2014-07-192-0/+7
| | | | | | which shows this (support to follow) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611878 13f79535-47bb-0310-9956-ffa450edef68
* Convert test to junit 4, and stub out the additional 3d ref tests we need to ↵Nick Burch2014-07-191-7/+56
| | | | | | pass for #56737 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611877 13f79535-47bb-0310-9956-ffa450edef68
* Stub the unit test which is the next thing to need to work for progress on ↵Nick Burch2014-07-181-4/+27
| | | | | | #56737 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611833 13f79535-47bb-0310-9956-ffa450edef68
* Bit more towards XSSF name support for #56737, will need some deeper changes ↵Nick Burch2014-07-183-8/+26
| | | | | | though to fully implement git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611830 13f79535-47bb-0310-9956-ffa450edef68
* Initial support for XSSF External Links tables, which hold references to ↵Nick Burch2014-07-184-2/+280
| | | | | | other workbooks referenced by formulas and names. #56744 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611828 13f79535-47bb-0310-9956-ffa450edef68
* Leave part disabled for nowNick Burch2014-07-181-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611755 13f79535-47bb-0310-9956-ffa450edef68
* Start to support formula parsing of sheet-specified named ranges, required ↵Nick Burch2014-07-1810-60/+192
| | | | | | for a full fix to bug #56737 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611753 13f79535-47bb-0310-9956-ffa450edef68
* Update bug reference numbers, and bring over part of a test from unfixed ↵Nick Burch2014-07-184-16/+36
| | | | | | that is now working (rest remains broken) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611728 13f79535-47bb-0310-9956-ffa450edef68
* Have WorkbookEvaluator process NameXPtgs, rather than returning a NameXEval ↵Nick Burch2014-07-185-27/+86
| | | | | | which later places didn't handle. Largely allows us to process the .xls version of the test file for #56737 (but filenames aren't quite the same as in Excel) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611711 13f79535-47bb-0310-9956-ffa450edef68
* #56737 Sometimes Excel writes an internal reference to a local name in an ↵Nick Burch2014-07-185-19/+116
| | | | | | odd way, without an ExternalNameRecord, try to detect and work around those git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611681 13f79535-47bb-0310-9956-ffa450edef68
* Add disabled unit tests for bug #56737, which currently fails (differently) ↵Nick Burch2014-07-174-0/+78
| | | | | | for HSSF and XSSF git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611400 13f79535-47bb-0310-9956-ffa450edef68
* Fix for #56702 - If a cell is of type numeric but has an empty <v/> tag, ↵Nick Burch2014-07-143-1/+28
| | | | | | return as 0 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1610482 13f79535-47bb-0310-9956-ffa450edef68
* This bug has been fixed, so re-enable the unit testNick Burch2014-07-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1607662 13f79535-47bb-0310-9956-ffa450edef68
* Add a disabled unit test for bug #56420Nick Burch2014-07-032-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1607661 13f79535-47bb-0310-9956-ffa450edef68
* Update the CheckFunctionsSupported example to take advantage of the new ↵Nick Burch2014-07-031-4/+9
| | | | | | NotImplementedFunctionException to identify the function that is missing git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1607589 13f79535-47bb-0310-9956-ffa450edef68
* When throwing an exception during formula evaluation, if this is due to an ↵Nick Burch2014-07-036-24/+91
| | | | | | unimplemented function, have a more specific exception type git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1607588 13f79535-47bb-0310-9956-ffa450edef68
* Formula evaluation and error handling example - reports what cells can't be ↵Nick Burch2014-07-031-0/+156
| | | | | | evaluated, and (TODO) what functions are used but not implemented git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1607583 13f79535-47bb-0310-9956-ffa450edef68
* Now that XSSFWorkbook can be closed, the older path based constructor no ↵Nick Burch2014-07-031-33/+25
| | | | | | longer needs to be deprecated #56537 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1607536 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56537: Update javadoc to reflect the addition of Closeable to WorkbookDominik Stadler2014-07-022-3/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1607390 13f79535-47bb-0310-9956-ffa450edef68
* Upgrade to latest JaCoCo 0.7.1Dominik Stadler2014-07-021-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1607384 13f79535-47bb-0310-9956-ffa450edef68
* BUG 54771: add class to svnTim Allison2014-06-161-0/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1602960 13f79535-47bb-0310-9956-ffa450edef68
* BUG 54771 extract text from SDTs at the cell level within a table rowTim Allison2014-06-1615-119/+469
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1602955 13f79535-47bb-0310-9956-ffa450edef68
* Make a start on an Ant task to generate an OSGi jar, for #53866Nick Burch2014-06-162-0/+105
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1602846 13f79535-47bb-0310-9956-ffa450edef68
* Revert upgrade to XMLBeans 2.6.0 to properly discuss on the mailinglist firstDominik Stadler2014-06-127-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1602075 13f79535-47bb-0310-9956-ffa450edef68
* Add missing @Overrides, reformat some files, increase coverage slightly,Dominik Stadler2014-06-1121-400/+686
| | | | | | | comments, fix Eclipse warnings and add close() calls in some tests and in HMEFMessage() to close files during tests correctly. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1602008 13f79535-47bb-0310-9956-ffa450edef68
* Update XMLBeans to version 2.6.0Dominik Stadler2014-06-117-10/+10
| | | | | | | | Conflicts: .classpath git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1602006 13f79535-47bb-0310-9956-ffa450edef68
* Fix inconsistent indentNick Burch2014-06-111-16/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1601930 13f79535-47bb-0310-9956-ffa450edef68
* #56537 close method for SXSSF tooNick Burch2014-06-111-15/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1601917 13f79535-47bb-0310-9956-ffa450edef68
* Partial fix for #56537 - Have Workbook offer a close() method, which in turn ↵Nick Burch2014-06-114-7/+71
| | | | | | closes the NPOIFS or OPC resource from which it was loaded git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1601901 13f79535-47bb-0310-9956-ffa450edef68
* Add a note about file resources, see bug #56537Nick Burch2014-06-041-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1600326 13f79535-47bb-0310-9956-ffa450edef68
* When finding the CTCol object for a XSSF Sheet column, as we often have to ↵Nick Burch2014-06-041-2/+9
| | | | | | traverse most of the list, and we are mostly reading not changing, switch to fetching all the objects as an array in one go, rather than fetching one at a time, which is hopefully faster. Aims to help bug #56556 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1600319 13f79535-47bb-0310-9956-ffa450edef68
* Add workaround for IBM JDK where Ant populates classname instead of ↵Dominik Stadler2014-05-291-0/+7
| | | | | | className for some reason git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1598264 13f79535-47bb-0310-9956-ffa450edef68
* HSSFCell should follow XSSF, and allow setting a null-style to return to the ↵Nick Burch2014-05-292-1/+43
| | | | | | default style, fixes bug #56572 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1598258 13f79535-47bb-0310-9956-ffa450edef68
* Update to latest Ant 1.9.4 and add ant-launcher which is used inDominik Stadler2014-05-292-3/+11
| | | | | | ExcelAnt tests to make it easier to run these tests in Eclipse git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1598226 13f79535-47bb-0310-9956-ffa450edef68
* Remove null-checks that can never be reachedDominik Stadler2014-05-293-13/+24
| | | | | | add test for ExcelAnt setString git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1598225 13f79535-47bb-0310-9956-ffa450edef68
* Increase the font-inaccuracy for one unit test as some machines have fonts ↵Dominik Stadler2014-05-271-1/+1
| | | | | | that lead to lower values, e.g. we get only 770 instead of 980 for Jenkins build on IBM JDK and on some local Windows machines git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1597873 13f79535-47bb-0310-9956-ffa450edef68
* Fix for 56563 - Multithreading bug when reading 2 similar filesDominik Stadler2014-05-264-15/+83
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1597637 13f79535-47bb-0310-9956-ffa450edef68
* If a NoteRecord has no author tag, it seems it can sometimes be double ↵Nick Burch2014-05-232-3/+6
| | | | | | padded. Fixes #47251 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1597098 13f79535-47bb-0310-9956-ffa450edef68
* Handle date format strings in an iso8601 style format, with a T in them. ↵Nick Burch2014-05-234-6/+46
| | | | | | Fixes bug #54034 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1597038 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Yaniv Kunda from bug #56274 - Fix SXSSF writing of tables when ↵Nick Burch2014-05-214-6/+82
| | | | | | creating from a template git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1596624 13f79535-47bb-0310-9956-ffa450edef68
* Move some tests from "unfixed" to "normal" test classes as the underlying ↵Dominik Stadler2014-05-202-126/+138
| | | | | | | | bug is now fixed. Also make on of the unfixed bugs cause an actual failure so it is justified to stay in "unfixed" git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1596261 13f79535-47bb-0310-9956-ffa450edef68
* Bug 53691: Fix a copy/paste error in CFRuleRecord.clone()Dominik Stadler2014-05-204-20/+109
| | | | | | | 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
* Bug 56170: Fix a problem with cells in workbooks becoming disconnected from ↵Dominik Stadler2014-05-185-70/+193
| | | | | | 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
* Apache POI - Use assertArrayEquals() instead of assertTrue(Arrays.equals()), ↵Dominik Stadler2014-05-1656-427/+435
| | | | | | this way we get better information on failure git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1595190 13f79535-47bb-0310-9956-ffa450edef68
* Fix Bug 56514, add missing null-check if simple shape does not have any textDominik Stadler2014-05-163-27/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1595127 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56325: fix Exception when removing sheets with named ranges in the workbookDominik Stadler2014-05-155-10/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1595048 13f79535-47bb-0310-9956-ffa450edef68