]>
source.dussan.org Git - poi.git/log
Nick Burch [Mon, 21 Jul 2014 09:44:21 +0000 (09:44 +0000)]
Allow creating a CollaboratingWorkbooksEnvironment from a Map too, not only a pair of arrays
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1612218 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Mon, 21 Jul 2014 07:35:09 +0000 (07:35 +0000)]
Correct non-sheet-based NameXPxg formula rendering, and add tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1612203 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sun, 20 Jul 2014 19:24:42 +0000 (19:24 +0000)]
More unit tests for #56737 and #56752
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1612157 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sun, 20 Jul 2014 19:13:45 +0000 (19:13 +0000)]
Comments updates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1612156 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sun, 20 Jul 2014 18:56:35 +0000 (18:56 +0000)]
Change how we update sheet names in XSSF formulas and names, when renaming sheets, to take advantage of the simpler structure that Pxg now offers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1612151 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sun, 20 Jul 2014 18:53:27 +0000 (18:53 +0000)]
XSSF Pxgs must escape sheet names where required when generating the formula string
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1612150 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sun, 20 Jul 2014 18:48:48 +0000 (18:48 +0000)]
Common interface across the XSSF Ptg / Pxg classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1612149 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sun, 20 Jul 2014 18:14:47 +0000 (18:14 +0000)]
Rename missing from previous commit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1612140 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sun, 20 Jul 2014 17:51:51 +0000 (17:51 +0000)]
Update the formula evaluator to support XSSF style external named ranges too
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1612133 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 19 Jul 2014 21:27:28 +0000 (21:27 +0000)]
Better reporting on why a test is failing, and partial NameXPxg eval
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1611969 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 19 Jul 2014 21:00:21 +0000 (21:00 +0000)]
Complete the XSSF Formula Parser tests for #56737
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1611963 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 19 Jul 2014 20:51:23 +0000 (20:51 +0000)]
Move towards supporting same workbook named ranges in external style for xssf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1611961 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 19 Jul 2014 20:30:31 +0000 (20:30 +0000)]
Start to add XSSF specific handling for NameX (named ranges or functions from another file) #56737
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1611958 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 19 Jul 2014 19:42:07 +0000 (19:42 +0000)]
Provide XSSF-style external sheet support for areas, similar to the recent cell reference support. #56737
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1611950 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 19 Jul 2014 19:23:13 +0000 (19:23 +0000)]
Fix inconsistent indents/whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1611949 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 19 Jul 2014 19:19:06 +0000 (19:19 +0000)]
Start to update how the formula parser looks up sheets from formula ptgs, to account for the differences in how HSSF and XSSF store references to external sheets. For #56737
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1611948 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 19 Jul 2014 19:11:54 +0000 (19:11 +0000)]
Fix inconsistent indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1611947 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 19 Jul 2014 19:10:47 +0000 (19:10 +0000)]
The Event User Model fake-workbook for formula evaluations needs to know about the sheet names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1611946 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 19 Jul 2014 19:00:09 +0000 (19:00 +0000)]
Fix Generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1611944 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 19 Jul 2014 12:49:41 +0000 (12:49 +0000)]
The way that HSSF and XSSF stores references to external sheets are rather 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
Nick Burch [Sat, 19 Jul 2014 11:27:46 +0000 (11:27 +0000)]
There can be more than one linked ExternalLinks table for a workbook #56744
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1611890 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 19 Jul 2014 10:09:00 +0000 (10:09 +0000)]
Turns out that .xlsx files can have multiple link tables, add a test file which shows this (support to follow)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1611878 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 19 Jul 2014 10:08:20 +0000 (10:08 +0000)]
Convert test to junit 4, and stub out the additional 3d ref tests we need to pass for #56737
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1611877 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 18 Jul 2014 23:02:51 +0000 (23:02 +0000)]
Stub the unit test which is the next thing to need to work for progress on #56737
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1611833 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 18 Jul 2014 22:50:54 +0000 (22:50 +0000)]
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
Nick Burch [Fri, 18 Jul 2014 22:48:59 +0000 (22:48 +0000)]
Initial support for XSSF External Links tables, which hold references to 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
Nick Burch [Fri, 18 Jul 2014 18:30:54 +0000 (18:30 +0000)]
Leave part disabled for now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1611755 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 18 Jul 2014 18:30:16 +0000 (18:30 +0000)]
Start to support formula parsing of sheet-specified named ranges, required for a full fix to bug #56737
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1611753 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 18 Jul 2014 17:27:37 +0000 (17:27 +0000)]
Update bug reference numbers, and bring over part of a test from unfixed that is now working (rest remains broken)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1611728 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 18 Jul 2014 16:58:38 +0000 (16:58 +0000)]
Have WorkbookEvaluator process NameXPtgs, rather than returning a NameXEval 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
Nick Burch [Fri, 18 Jul 2014 15:59:55 +0000 (15:59 +0000)]
#56737 Sometimes Excel writes an internal reference to a local name in an 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
Nick Burch [Thu, 17 Jul 2014 16:18:39 +0000 (16:18 +0000)]
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
Nick Burch [Mon, 14 Jul 2014 18:53:39 +0000 (18:53 +0000)]
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
Nick Burch [Thu, 3 Jul 2014 14:46:32 +0000 (14:46 +0000)]
This bug has been fixed, so re-enable the unit test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1607662 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Thu, 3 Jul 2014 14:30:47 +0000 (14:30 +0000)]
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
Nick Burch [Thu, 3 Jul 2014 11:21:03 +0000 (11:21 +0000)]
Update the CheckFunctionsSupported example to take advantage of the new 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
Nick Burch [Thu, 3 Jul 2014 11:20:32 +0000 (11:20 +0000)]
When throwing an exception during formula evaluation, if this is due to an 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
Nick Burch [Thu, 3 Jul 2014 10:56:25 +0000 (10:56 +0000)]
Formula evaluation and error handling example - reports what cells can't be 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
Nick Burch [Thu, 3 Jul 2014 05:45:21 +0000 (05:45 +0000)]
Now that XSSFWorkbook can be closed, the older path based constructor no longer needs to be deprecated #56537
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1607536 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Wed, 2 Jul 2014 15:05:05 +0000 (15:05 +0000)]
Bug 56537: Update javadoc to reflect the addition of Closeable to Workbook
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1607390 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Wed, 2 Jul 2014 14:48:59 +0000 (14:48 +0000)]
Upgrade to latest JaCoCo 0.7.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1607384 13f79535 -47bb-0310-9956-
ffa450edef68
Tim Allison [Mon, 16 Jun 2014 18:53:28 +0000 (18:53 +0000)]
BUG 54771: add class to svn
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1602960 13f79535 -47bb-0310-9956-
ffa450edef68
Tim Allison [Mon, 16 Jun 2014 18:46:00 +0000 (18:46 +0000)]
BUG 54771 extract text from SDTs at the cell level within a table row
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1602955 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Mon, 16 Jun 2014 11:15:31 +0000 (11:15 +0000)]
Make a start on an Ant task to generate an OSGi jar, for #53866
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1602846 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Thu, 12 Jun 2014 07:08:21 +0000 (07:08 +0000)]
Revert upgrade to XMLBeans 2.6.0 to properly discuss on the mailinglist first
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1602075 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Wed, 11 Jun 2014 20:36:30 +0000 (20:36 +0000)]
Add missing @Overrides, reformat some files, increase coverage slightly,
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
Dominik Stadler [Wed, 11 Jun 2014 20:32:52 +0000 (20:32 +0000)]
Update XMLBeans to version 2.6.0
Conflicts:
.classpath
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1602006 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 11 Jun 2014 15:38:26 +0000 (15:38 +0000)]
Fix inconsistent indent
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1601930 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 11 Jun 2014 14:38:32 +0000 (14:38 +0000)]
#56537 close method for SXSSF too
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1601917 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 11 Jun 2014 13:48:54 +0000 (13:48 +0000)]
Partial fix for #56537 - Have Workbook offer a close() method, which in turn 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
Nick Burch [Wed, 4 Jun 2014 16:34:16 +0000 (16:34 +0000)]
Add a note about file resources, see bug #56537
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1600326 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 4 Jun 2014 15:58:14 +0000 (15:58 +0000)]
When finding the CTCol object for a XSSF Sheet column, as we often have to 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
Dominik Stadler [Thu, 29 May 2014 12:04:51 +0000 (12:04 +0000)]
Add workaround for IBM JDK where Ant populates classname instead of className for some reason
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1598264 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Thu, 29 May 2014 11:39:50 +0000 (11:39 +0000)]
HSSFCell should follow XSSF, and allow setting a null-style to return to the default style, fixes bug #56572
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1598258 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Thu, 29 May 2014 09:16:29 +0000 (09:16 +0000)]
Update to latest Ant 1.9.4 and add ant-launcher which is used in
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
Dominik Stadler [Thu, 29 May 2014 09:15:33 +0000 (09:15 +0000)]
Remove null-checks that can never be reached
add test for ExcelAnt setString
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1598225 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Tue, 27 May 2014 20:45:25 +0000 (20:45 +0000)]
Increase the font-inaccuracy for one unit test as some machines have fonts 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
Dominik Stadler [Mon, 26 May 2014 20:03:08 +0000 (20:03 +0000)]
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
Nick Burch [Fri, 23 May 2014 14:07:20 +0000 (14:07 +0000)]
If a NoteRecord has no author tag, it seems it can sometimes be double padded. Fixes #47251
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1597098 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 23 May 2014 09:18:16 +0000 (09:18 +0000)]
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
Nick Burch [Wed, 21 May 2014 17:08:25 +0000 (17:08 +0000)]
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
Dominik Stadler [Tue, 20 May 2014 14:12:19 +0000 (14:12 +0000)]
Move some tests from "unfixed" to "normal" test classes as the underlying 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
Dominik Stadler [Tue, 20 May 2014 14:01:22 +0000 (14:01 +0000)]
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
Dominik Stadler [Sun, 18 May 2014 19:18:27 +0000 (19:18 +0000)]
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
Dominik Stadler [Fri, 16 May 2014 13:25:45 +0000 (13:25 +0000)]
Apache POI - Use assertArrayEquals() instead of assertTrue(Arrays.equals()), 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
Dominik Stadler [Fri, 16 May 2014 07:09:55 +0000 (07:09 +0000)]
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
Dominik Stadler [Thu, 15 May 2014 21:14:52 +0000 (21:14 +0000)]
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
Dominik Stadler [Thu, 15 May 2014 21:14:32 +0000 (21:14 +0000)]
Avoid unnecessary string creation/concatination for numeric conversion, use Double.toString() instead
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1595047 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Thu, 15 May 2014 10:15:04 +0000 (10:15 +0000)]
Add a HSSF print paper size constant for "printer default" for bug #56509
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1594848 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Wed, 14 May 2014 21:14:16 +0000 (21:14 +0000)]
Bug 56468 - Writing a workbook more than once corrupts the file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1594721 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Tue, 13 May 2014 11:31:18 +0000 (11:31 +0000)]
fix some Eclipse warnings, unnecessary null-check and missing close() in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1594201 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sun, 11 May 2014 21:16:40 +0000 (21:16 +0000)]
Based on reading of the new file format docs, start to tweak how fixed length vs variable length / multi-valued properties are handled
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1593861 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Thu, 8 May 2014 15:17:22 +0000 (15:17 +0000)]
Outlook sometimes stores a codepage of ANSI when it means 1252, detect and alias, fixes bug #53983
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1593306 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Thu, 8 May 2014 14:49:21 +0000 (14:49 +0000)]
Implement a few more MAPI property types
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1593298 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Thu, 8 May 2014 14:46:43 +0000 (14:46 +0000)]
Fix inconsistent indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1593297 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Mon, 5 May 2014 21:41:31 +0000 (21:41 +0000)]
Bug 56486 - Add XOR obfuscation/decryption support to HSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1592636 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sun, 4 May 2014 21:17:18 +0000 (21:17 +0000)]
Bug 56269 - DateFormat - Rounding of fractionals
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1592419 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sun, 4 May 2014 20:58:42 +0000 (20:58 +0000)]
The NPOIFS-classes result currently in left-over memory mapped buffers.
These are actually hard to workaround, so for Windows the test is ignored, if this error happens.
http://stackoverflow.com/questions/
3602783 /file-access-synchronized-on-java-object
Apart of that, the RandomFileAccess instance is saved in the FileBackedDataSource as it needs to
be closed instead of the Channel.
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=
4796385
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1592418 13f79535 -47bb-0310-9956-
ffa450edef68
Dominik Stadler [Sun, 4 May 2014 08:05:32 +0000 (08:05 +0000)]
File leak detector: Close streams in some tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1592315 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 2 May 2014 15:49:23 +0000 (15:49 +0000)]
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
Nick Burch [Fri, 2 May 2014 09:15:23 +0000 (09:15 +0000)]
Generics warnings fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1591838 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Mon, 28 Apr 2014 14:19:13 +0000 (14:19 +0000)]
Provide a convenience method for creating a PropertySet from a Directory + Entry
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590650 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Mon, 28 Apr 2014 14:03:18 +0000 (14:03 +0000)]
Fix generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590642 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Mon, 28 Apr 2014 09:22:58 +0000 (09:22 +0000)]
Update the HPSF change properties example to use NPOIFS + in-place writes, and have NPOIFS give a helpful error if you try to in-place write on a read only open
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590577 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Mon, 28 Apr 2014 06:35:39 +0000 (06:35 +0000)]
Get NPOIFS in-place-write working!
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590556 13f79535 -47bb-0310-9956-
ffa450edef68
Andreas Beeker [Sat, 26 Apr 2014 23:37:40 +0000 (23:37 +0000)]
junit4 fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590327 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 26 Apr 2014 22:50:00 +0000 (22:50 +0000)]
More on the HPFS in-place NPOIFS write tests, and a note about what is still to do for them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590319 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 26 Apr 2014 22:43:23 +0000 (22:43 +0000)]
Fix javadoc layout
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590317 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 26 Apr 2014 21:51:28 +0000 (21:51 +0000)]
Convert the HPSF test to JUnit 4, and add a bit more testing for NPOIFS
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590309 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 26 Apr 2014 21:33:19 +0000 (21:33 +0000)]
Stream tests for NDocumentOutputStream
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590303 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 25 Apr 2014 23:34:09 +0000 (23:34 +0000)]
NDocumentOutputStream write logic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590191 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 25 Apr 2014 23:33:16 +0000 (23:33 +0000)]
Fix inconsistent whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590190 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 25 Apr 2014 23:07:00 +0000 (23:07 +0000)]
Begin to support and test in-place changes to documents within a NPOIFS stream
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590185 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 25 Apr 2014 22:40:51 +0000 (22:40 +0000)]
Support for replacing the contents of a Document in a NPOIFSFileSytem, in place
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590177 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 25 Apr 2014 22:05:46 +0000 (22:05 +0000)]
Complete NPOIFS write tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590162 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 25 Apr 2014 22:00:30 +0000 (22:00 +0000)]
When deleting a document in NPOIFS, free the underlying blocks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590160 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 25 Apr 2014 21:23:10 +0000 (21:23 +0000)]
More progress with the write/read npoifs tests, but one bug still to go....
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590153 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 25 Apr 2014 21:11:26 +0000 (21:11 +0000)]
Refactor some of the NPOIFS write tests, and begin on the last missing write test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590149 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 25 Apr 2014 21:10:52 +0000 (21:10 +0000)]
Add a getEntryNames() method to POIFS/NPOIFS directory entries, to make listing easier
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590148 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 25 Apr 2014 20:38:55 +0000 (20:38 +0000)]
Finish off the next NPOIFS write text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1590133 13f79535 -47bb-0310-9956-
ffa450edef68