]>
source.dussan.org Git - poi.git/log
Yegor Kozlov [Fri, 11 Mar 2011 17:33:36 +0000 (17:33 +0000)]
fixed setting named styles to HSSFCells. see Bugzilla 50912
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1080689 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Fri, 11 Mar 2011 09:33:22 +0000 (09:33 +0000)]
fixed RecordFormatException when reading unicode strings with photenic data, see Bugzilla 50779
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1080496 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Wed, 9 Mar 2011 10:59:13 +0000 (10:59 +0000)]
fixed typos
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1079742 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Wed, 9 Mar 2011 08:11:58 +0000 (08:11 +0000)]
updated index.xml and download.xml for 3.8 beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1079691 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Mon, 7 Mar 2011 12:33:22 +0000 (12:33 +0000)]
include poi-excelant
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1078760 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 5 Mar 2011 15:37:24 +0000 (15:37 +0000)]
Refactor the HMEF contents checks to use a superclass, and stub out the Rtf Message body tests (disabled as there looks to be a padding issue still to solve)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1078304 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 5 Mar 2011 15:25:39 +0000 (15:25 +0000)]
Two more differences between the LZW in HDGF and HMEF:
* Little Endian vs Big Endian storage of the code position
* Initial dictionary position is the end of pre-fill, if there is one, rather than always being position 0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1078300 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 4 Mar 2011 21:09:02 +0000 (21:09 +0000)]
Add a unit test for bug #50833
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1078135 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 4 Mar 2011 17:31:52 +0000 (17:31 +0000)]
Add unit test showing that bug #50867 works fine
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1078065 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 4 Mar 2011 17:06:01 +0000 (17:06 +0000)]
Add unit test showing that bug #48877 no longer applies
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1078057 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 4 Mar 2011 16:17:21 +0000 (16:17 +0000)]
Fix bug #50718 - More helpful error message when you try to create a CellReference with #REF!
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1078039 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 4 Mar 2011 15:05:18 +0000 (15:05 +0000)]
Fix bug #50784 - XSSFColors return by XSSFFont now have theme information applied to them, as XSSFFont is now ThemesTable aware
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1077986 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 4 Mar 2011 14:38:13 +0000 (14:38 +0000)]
Hopefully fix bug #50846 - Improve how XSSFColor inherits from Themes, by pushing the logic out of XSSFCellStyle and into ThemesTable + make it easier to call
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1077968 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 4 Mar 2011 14:10:03 +0000 (14:10 +0000)]
Fix documentation typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1077954 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 4 Mar 2011 14:01:14 +0000 (14:01 +0000)]
Fix bug #50847 - XSSFFont now accepts the full range of Charsets from FontChartset
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1077950 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 4 Mar 2011 12:56:25 +0000 (12:56 +0000)]
Fix generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1077923 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 4 Mar 2011 12:50:02 +0000 (12:50 +0000)]
From bug #50786 - Speed up calls to HSSFColor.getIndexHash() by returning a cached, unmodifiable Map. HSSFColor.getModifiableIndexHash() provides access to the old (slow but modifiable) functionality
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1077920 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 4 Mar 2011 11:59:23 +0000 (11:59 +0000)]
Add documentation for the HMEF (TNEF/winmail.dat) support so far.
Also add a little bit to the HPBF docs, and tweak build.xml to check the right files when deciding if the docs are up to date.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1077891 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Fri, 4 Mar 2011 11:53:59 +0000 (11:53 +0000)]
set version.id to 3.8-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1077890 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Fri, 4 Mar 2011 11:15:43 +0000 (11:15 +0000)]
ant target to create patches
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1077880 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Fri, 4 Mar 2011 11:15:01 +0000 (11:15 +0000)]
Change related formulas and named ranges when XSSFWorkbook.setSheetName is called, see Bugzilla 47100
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1077878 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 4 Mar 2011 11:06:59 +0000 (11:06 +0000)]
Setting the locale doesn't seem to set the timezone, so do that explicitly to ensure the tests behave for everyone
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1077874 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 4 Mar 2011 11:00:13 +0000 (11:00 +0000)]
Fix a couple of license headers, and tweak the rat settings so it runs clean
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1077865 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Thu, 3 Mar 2011 17:06:37 +0000 (17:06 +0000)]
Tweak the attribute getter names on Attachments, and add MAPI+TNEF Attribute unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1076685 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Thu, 3 Mar 2011 13:01:07 +0000 (13:01 +0000)]
Add a TNEF extractor class, which can be run from the command line to extract out the message body and attachments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1076607 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Thu, 3 Mar 2011 12:41:39 +0000 (12:41 +0000)]
Improve HMEF handling of typed attributes (Strings and Dates), for both TNEF and MAPI attributes, and use this to allow easier access to common file parts. Then use this in the attachment unit tests.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1076603 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 2 Mar 2011 17:52:12 +0000 (17:52 +0000)]
Switch HMEF attributes to a factory scheme for creation, then add subtypes for cleaner code. Also adds a few more tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1076310 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 2 Mar 2011 15:25:35 +0000 (15:25 +0000)]
Refactor the TNEF Attributes to better match the MAPI ones, and move both into their own package
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1076251 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Tue, 1 Mar 2011 21:02:43 +0000 (21:02 +0000)]
Tweak XSSFPrintSetup to make it a little clearer what happens, and add a round-trip unit test for it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1076022 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Tue, 1 Mar 2011 18:25:47 +0000 (18:25 +0000)]
mention ExcelAnt in status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1075966 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Tue, 1 Mar 2011 18:12:44 +0000 (18:12 +0000)]
Start on unit tests for HMEF. Quite a bit is still stubbed out, and it shows that the LZW isn't quite right yet (so tests disabled)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1075955 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Sat, 26 Feb 2011 20:52:50 +0000 (20:52 +0000)]
tweaked validation of xml to keep Gump quiet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1074920 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 25 Feb 2011 22:12:54 +0000 (22:12 +0000)]
Fix bug #32903 - Correct XBAT chaining explanation in /poifs/fileformat.html
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1074718 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 25 Feb 2011 21:44:09 +0000 (21:44 +0000)]
Fix bug #50829 - Support for getting the tables associated with a XSSFSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1074710 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 25 Feb 2011 21:21:45 +0000 (21:21 +0000)]
More on XSSFColor and ARGB vs RGB for bug #50299 - provide methods to let you get at either 3 byte RGB, or 4 byte ARGB, whichever you prefer for your needs.
Includes the new patch from bug #50299 for 3 colour RGB black/white being inverted from Excel
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1074703 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 23 Feb 2011 19:01:24 +0000 (19:01 +0000)]
Switch Picture processing in HSLFSlideShow to be lazy-loading, to speed things up if you're only interested in text stuff
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1073883 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 23 Feb 2011 15:27:38 +0000 (15:27 +0000)]
Update the HSSF/XSSF comments documentation to include some more steps that are needed to have the comments always show up properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1073780 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Wed, 23 Feb 2011 11:52:28 +0000 (11:52 +0000)]
merged with excelant branch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1073707 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Wed, 23 Feb 2011 10:37:03 +0000 (10:37 +0000)]
Use stax:stax-api instead of org.apache.geronimo.specs:geronimo-stax-api_1.0_spec, see Bugzilla 50581
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1073683 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Sat, 19 Feb 2011 06:12:10 +0000 (06:12 +0000)]
test Ant file with ExcelAnt targets
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/excelant@
1072260 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Fri, 18 Feb 2011 20:04:50 +0000 (20:04 +0000)]
initial import of ExcelAnt tasks, see Bugzilla 50610
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/excelant@
1072119 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 18 Feb 2011 18:02:47 +0000 (18:02 +0000)]
Add a unit test that shows bug #48079 no longer applies, and we can resize columns when there are more than 32767 rows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1072093 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 18 Feb 2011 17:41:42 +0000 (17:41 +0000)]
Fix bug #50786 - Fix XSSFColor to fetch the RGB values of old-style indexed colours
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1072082 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 18 Feb 2011 17:41:17 +0000 (17:41 +0000)]
Fix generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1072080 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 18 Feb 2011 16:44:05 +0000 (16:44 +0000)]
Fix bug #50299 with patch from Andrei - Fix XSSFColor fetching of white and black background themes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1072053 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 18 Feb 2011 15:45:59 +0000 (15:45 +0000)]
Add a disabled unit test for bug #50784. We need to add support for XSSF Colours to pull details from their parent theme where there is one
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1072027 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 18 Feb 2011 15:29:22 +0000 (15:29 +0000)]
Fix bug #50795 - Avoid NPE from xmlbeans when moving XSSF Comments from one cell to another
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1072022 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 11 Feb 2011 22:38:18 +0000 (22:38 +0000)]
Fix a couple more 1.6isms
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1069975 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 11 Feb 2011 22:35:20 +0000 (22:35 +0000)]
Fix a 1.6ism
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1069974 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 11 Feb 2011 12:36:57 +0000 (12:36 +0000)]
Fix bug #46664 - When creating HSSF Print Areas, ensure the named range is reference based not value based
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1069780 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 11 Feb 2011 12:31:40 +0000 (12:31 +0000)]
Fix bug #50756 - When formatting numbers based on their Cell Style, treat GENERAL the same as the more typical General
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1069775 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Fri, 11 Feb 2011 10:19:52 +0000 (10:19 +0000)]
created a branch for adoption of excelant
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/excelant@
1069732 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Fri, 11 Feb 2011 10:03:25 +0000 (10:03 +0000)]
fixed HSSFWorkbook.createCellStyle to throw exception if the maximum number of cell styles was exceeded
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1069730 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Thu, 10 Feb 2011 14:07:04 +0000 (14:07 +0000)]
fixed a regression caused by not escaped dollar sumbols, see r1061288 and Bugzilla 49928
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1069396 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 4 Feb 2011 16:42:57 +0000 (16:42 +0000)]
Fix bug #50539 - Better fix for html-style br tags (invalid XML) inside XSSF documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1067217 13f79535 -47bb-0310-9956-
ffa450edef68
Maxim Valyanskiy [Mon, 31 Jan 2011 09:55:10 +0000 (09:55 +0000)]
hwpf: ignore invalid style reference
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1065538 13f79535 -47bb-0310-9956-
ffa450edef68
Maxim Valyanskiy [Mon, 31 Jan 2011 09:27:44 +0000 (09:27 +0000)]
hwpf: ignore null-reference to parent stylesheet (bug#50688)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1065535 13f79535 -47bb-0310-9956-
ffa450edef68
Maxim Valyanskiy [Thu, 27 Jan 2011 12:42:12 +0000 (12:42 +0000)]
hwpf: ignore incorrect ListFormatOverride reference that causes IndexOutOfBoundException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1064110 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 21 Jan 2011 10:33:46 +0000 (10:33 +0000)]
Remove un-used imports
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1061723 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Thu, 20 Jan 2011 13:20:24 +0000 (13:20 +0000)]
Fix bug #49928 for HSSF too - refactor HSSFDataFormat to allow overriding of built in formats, and tweak the format unit tests to do the same check for HSSF and XSSF. Also corrects some builtin formats for new HSSFWorkbooks which were slightly off
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1061288 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Wed, 19 Jan 2011 12:30:18 +0000 (12:30 +0000)]
added implementations for CLEAN(), CHAR() and ADDRESS(), see Bugzilla 50607
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1060788 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Wed, 19 Jan 2011 12:28:54 +0000 (12:28 +0000)]
remove System.out.println() from the test code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1060787 13f79535 -47bb-0310-9956-
ffa450edef68
Yegor Kozlov [Wed, 19 Jan 2011 09:22:24 +0000 (09:22 +0000)]
User Defined Function Documentation/Example, see Bugzilla 50587
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1060724 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Thu, 13 Jan 2011 13:56:02 +0000 (13:56 +0000)]
Update the HMEF page with the latest status of the code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1058557 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Thu, 13 Jan 2011 13:53:02 +0000 (13:53 +0000)]
Start on TNEF RTF attribute decompression, but not quite finished yet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1058555 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 12 Jan 2011 18:14:49 +0000 (18:14 +0000)]
Add support for custom MAPI Properties (0x8000 and above, plus unknown lower ones)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1058262 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 12 Jan 2011 17:22:40 +0000 (17:22 +0000)]
HMEF dumping and properties tweaks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1058243 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 12 Jan 2011 16:45:02 +0000 (16:45 +0000)]
Start to decode the MAPI Properties in the TNEF stream for HMEF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1058226 13f79535 -47bb-0310-9956-
ffa450edef68
Maxim Valyanskiy [Wed, 12 Jan 2011 15:16:50 +0000 (15:16 +0000)]
hwpf: fix ArrayIndexOutOfBoundsException in Range.getCharacterRun() (TIKA-577)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1058176 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 12 Jan 2011 12:45:51 +0000 (12:45 +0000)]
MAPIProperty is a better fit name for HSMF, so change the name before it gets too widely used
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1058116 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 12 Jan 2011 12:43:25 +0000 (12:43 +0000)]
Copy the MAPI type information over completely to HSMF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1058114 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Tue, 11 Jan 2011 16:11:23 +0000 (16:11 +0000)]
More converting of HSMF code to use strongly type attributes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1057712 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Tue, 11 Jan 2011 16:01:42 +0000 (16:01 +0000)]
Add a HSMF dev tool for listing the chunks with their types and names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1057708 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Tue, 11 Jan 2011 15:35:29 +0000 (15:35 +0000)]
Start converting HSMF code to use the new strongly type MAPIAttribute class for lookups, and add a dev class for listing the defined attributes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1057698 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Tue, 11 Jan 2011 14:42:40 +0000 (14:42 +0000)]
Create a new HSMF MAPI Attributes class to hold the attribute list in a strongly typed way, based on the MSDN published properties list
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1057665 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 5 Jan 2011 09:42:00 +0000 (09:42 +0000)]
In NPOIFS, close the file we opened in more exception cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1055379 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 1 Jan 2011 07:07:16 +0000 (07:07 +0000)]
Add NPOIFS section to the documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1054207 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 1 Jan 2011 06:49:53 +0000 (06:49 +0000)]
More NPOIFS tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1054199 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 1 Jan 2011 05:42:36 +0000 (05:42 +0000)]
Tweak HSLF and HWPF to work well with NPOIFS, and add unit tests for this
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1054191 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 1 Jan 2011 05:30:11 +0000 (05:30 +0000)]
Add unit test for using HSSF with both POIFS and NPOIFS
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1054190 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Sat, 1 Jan 2011 05:28:30 +0000 (05:28 +0000)]
Fix generics warnings, and add another constructor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1054189 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Fri, 31 Dec 2010 00:46:00 +0000 (00:46 +0000)]
Tweak NPOIFS constructors so that if you have a FileChannel, you can pass it in, but that the File based one will tidy up after itself in the event of errors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1054033 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Thu, 30 Dec 2010 00:58:28 +0000 (00:58 +0000)]
NPOIFS needs an explicit close, as it has to keep the File / buffer around to read from. Adds a close method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053777 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 29 Dec 2010 07:28:10 +0000 (07:28 +0000)]
Refactor DocumentInputStream so that it can transparently handle both old style and new style POIFS Documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053562 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 29 Dec 2010 03:30:07 +0000 (03:30 +0000)]
Add a NPOIFS aware createDocumentInputStream method to DirectoryNode, and use it in POIDocument. Also fix indent in the latter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053522 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 29 Dec 2010 03:19:46 +0000 (03:19 +0000)]
Since a DirectoryNode has a reference to the underlying POIFSFileSystem, tidy up the POIDocument constructor to not need both passing in
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053521 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 29 Dec 2010 03:00:46 +0000 (03:00 +0000)]
More NPOIFS BAT vs XBAT confusion fixes. Also fixes recent POIFS regression on big files, and adds a POIFS unit test for XBAT containing files (previously there wasn't one)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053511 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 29 Dec 2010 01:34:56 +0000 (01:34 +0000)]
More NPOIFS XBAT updates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053504 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 29 Dec 2010 01:34:18 +0000 (01:34 +0000)]
Fix the name of the RootProperty, as it never changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053503 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Wed, 29 Dec 2010 01:05:01 +0000 (01:05 +0000)]
XBAT logic in NPOIFS was incorrect - it's a chain of doubly indirect, not singly indirect BATs. Start to correct
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053495 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Tue, 28 Dec 2010 08:52:50 +0000 (08:52 +0000)]
Implement a NPOIFS document reader, and add tests which use it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053279 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Tue, 28 Dec 2010 07:16:12 +0000 (07:16 +0000)]
Allow POIFSLister to switch between the two different POIFS implementations when listing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053274 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Tue, 28 Dec 2010 07:15:38 +0000 (07:15 +0000)]
Add NPOIFS high level Document implementation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053273 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Tue, 28 Dec 2010 06:21:40 +0000 (06:21 +0000)]
Start on refactoring ready to support NPOIFS Directory/Document nodes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053269 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Tue, 28 Dec 2010 05:31:32 +0000 (05:31 +0000)]
Partial NPOIFS write implementation, and tidy up of methods around this
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053261 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Tue, 28 Dec 2010 04:46:12 +0000 (04:46 +0000)]
Add TODOs for further stream writing work
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053251 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Tue, 28 Dec 2010 04:43:19 +0000 (04:43 +0000)]
More NPOIFSStream unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053250 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Tue, 28 Dec 2010 04:29:18 +0000 (04:29 +0000)]
More NPOIFSStream tests, and explicit free support+test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053249 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Mon, 27 Dec 2010 07:53:05 +0000 (07:53 +0000)]
Add NPOIFS SBAT tests, and stub out a few future tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053016 13f79535 -47bb-0310-9956-
ffa450edef68
Nick Burch [Mon, 27 Dec 2010 07:39:57 +0000 (07:39 +0000)]
Add tests for the NPOIFS mini stream
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@
1053014 13f79535 -47bb-0310-9956-
ffa450edef68