]> source.dussan.org Git - poi.git/log
poi.git
13 years agofixed typos
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

13 years agoupdated index.xml and download.xml for 3.8 beta1
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

13 years agoinclude poi-excelant
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

13 years agoRefactor the HMEF contents checks to use a superclass, and stub out the Rtf Message...
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

13 years agoTwo more differences between the LZW in HDGF and HMEF:
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

13 years agoAdd a unit test for bug #50833
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

13 years agoAdd unit test showing that bug #50867 works fine
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

13 years agoAdd unit test showing that bug #48877 no longer applies
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

13 years agoFix bug #50718 - More helpful error message when you try to create a CellReference...
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

13 years agoFix bug #50784 - XSSFColors return by XSSFFont now have theme information applied...
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

13 years agoHopefully fix bug #50846 - Improve how XSSFColor inherits from Themes, by pushing...
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

13 years agoFix documentation typo
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

13 years agoFix bug #50847 - XSSFFont now accepts the full range of Charsets from FontChartset
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

13 years agoFix generics warnings
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

13 years agoFrom bug #50786 - Speed up calls to HSSFColor.getIndexHash() by returning a cached...
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

13 years agoAdd documentation for the HMEF (TNEF/winmail.dat) support so far.
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

13 years agoset version.id to 3.8-beta2
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

13 years agoant target to create patches
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

13 years agoChange related formulas and named ranges when XSSFWorkbook.setSheetName is called...
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

13 years agoSetting the locale doesn't seem to set the timezone, so do that explicitly to ensure...
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

13 years agoFix a couple of license headers, and tweak the rat settings so it runs clean
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

13 years agoTweak the attribute getter names on Attachments, and add MAPI+TNEF Attribute unit...
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

13 years agoAdd a TNEF extractor class, which can be run from the command line to extract out...
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

13 years agoImprove HMEF handling of typed attributes (Strings and Dates), for both TNEF and...
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

13 years agoSwitch HMEF attributes to a factory scheme for creation, then add subtypes for cleane...
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

13 years agoRefactor the TNEF Attributes to better match the MAPI ones, and move both into their...
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

13 years agoTweak XSSFPrintSetup to make it a little clearer what happens, and add a round-trip...
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

13 years agomention ExcelAnt in status.xml
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

13 years agoStart on unit tests for HMEF. Quite a bit is still stubbed out, and it shows that...
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

13 years agotweaked validation of xml to keep Gump quiet
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

13 years agoFix bug #32903 - Correct XBAT chaining explanation in /poifs/fileformat.html
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

13 years agoFix bug #50829 - Support for getting the tables associated with a XSSFSheet
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

13 years agoMore on XSSFColor and ARGB vs RGB for bug #50299 - provide methods to let you get...
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

13 years agoSwitch Picture processing in HSLFSlideShow to be lazy-loading, to speed things up...
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

13 years agoUpdate the HSSF/XSSF comments documentation to include some more steps that are neede...
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

13 years agomerged with excelant branch
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

13 years agoUse stax:stax-api instead of org.apache.geronimo.specs:geronimo-stax-api_1.0_spec...
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

13 years agotest Ant file with ExcelAnt targets excelant excelant
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

13 years agoinitial import of ExcelAnt tasks, see Bugzilla 50610
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

13 years agoAdd a unit test that shows bug #48079 no longer applies, and we can resize columns...
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

13 years agoFix bug #50786 - Fix XSSFColor to fetch the RGB values of old-style indexed colours
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

13 years agoFix generics warnings
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

13 years agoFix bug #50299 with patch from Andrei - Fix XSSFColor fetching of white and black...
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

13 years agoAdd a disabled unit test for bug #50784. We need to add support for XSSF Colours...
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

13 years agoFix bug #50795 - Avoid NPE from xmlbeans when moving XSSF Comments from one cell...
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

13 years agoFix a couple more 1.6isms
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

13 years agoFix a 1.6ism
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

13 years agoFix bug #46664 - When creating HSSF Print Areas, ensure the named range is reference...
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

13 years agoFix bug #50756 - When formatting numbers based on their Cell Style, treat GENERAL...
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

13 years agocreated a branch for adoption of excelant
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

13 years agofixed HSSFWorkbook.createCellStyle to throw exception if the maximum number of cell...
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

13 years agofixed a regression caused by not escaped dollar sumbols, see r1061288 and Bugzilla...
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

13 years agoFix bug #50539 - Better fix for html-style br tags (invalid XML) inside XSSF documents
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

13 years agohwpf: ignore invalid style reference
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

13 years agohwpf: ignore null-reference to parent stylesheet (bug#50688)
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

13 years agohwpf: ignore incorrect ListFormatOverride reference that causes IndexOutOfBoundException
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

13 years agoRemove un-used imports
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

13 years agoFix bug #49928 for HSSF too - refactor HSSFDataFormat to allow overriding of built...
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

13 years agoadded implementations for CLEAN(), CHAR() and ADDRESS(), see Bugzilla 50607
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

13 years agoremove System.out.println() from the test code
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

13 years agoUser Defined Function Documentation/Example, see Bugzilla 50587
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

13 years agoUpdate the HMEF page with the latest status of the code
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

13 years agoStart on TNEF RTF attribute decompression, but not quite finished yet
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

13 years agoAdd support for custom MAPI Properties (0x8000 and above, plus unknown lower ones)
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

13 years agoHMEF dumping and properties tweaks
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

13 years agoStart to decode the MAPI Properties in the TNEF stream for HMEF
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

13 years agohwpf: fix ArrayIndexOutOfBoundsException in Range.getCharacterRun() (TIKA-577)
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

13 years agoMAPIProperty is a better fit name for HSMF, so change the name before it gets too...
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

13 years agoCopy the MAPI type information over completely to HSMF
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

13 years agoMore converting of HSMF code to use strongly type attributes
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

13 years agoAdd a HSMF dev tool for listing the chunks with their types and names
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

13 years agoStart converting HSMF code to use the new strongly type MAPIAttribute class for looku...
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

13 years agoCreate a new HSMF MAPI Attributes class to hold the attribute list in a strongly...
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

13 years agoIn NPOIFS, close the file we opened in more exception cases
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

13 years agoAdd NPOIFS section to the documentation
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

13 years agoMore NPOIFS tests
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

13 years agoTweak HSLF and HWPF to work well with NPOIFS, and add unit tests for this
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

13 years agoAdd unit test for using HSSF with both POIFS and NPOIFS
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

13 years agoFix generics warnings, and add another constructor
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

13 years agoTweak NPOIFS constructors so that if you have a FileChannel, you can pass it in,...
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

13 years agoNPOIFS needs an explicit close, as it has to keep the File / buffer around to read...
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

13 years agoRefactor DocumentInputStream so that it can transparently handle both old style and...
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

13 years agoAdd a NPOIFS aware createDocumentInputStream method to DirectoryNode, and use it...
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

13 years agoSince a DirectoryNode has a reference to the underlying POIFSFileSystem, tidy up...
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

13 years agoMore NPOIFS BAT vs XBAT confusion fixes. Also fixes recent POIFS regression on big...
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

13 years agoMore NPOIFS XBAT updates
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

13 years agoFix the name of the RootProperty, as it never changes
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

13 years agoXBAT logic in NPOIFS was incorrect - it's a chain of doubly indirect, not singly...
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

13 years agoImplement a NPOIFS document reader, and add tests which use it
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

13 years agoAllow POIFSLister to switch between the two different POIFS implementations when...
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

13 years agoAdd NPOIFS high level Document implementation
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

13 years agoStart on refactoring ready to support NPOIFS Directory/Document nodes
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

13 years agoPartial NPOIFS write implementation, and tidy up of methods around this
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

13 years agoAdd TODOs for further stream writing work
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

13 years agoMore NPOIFSStream unit tests
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

13 years agoMore NPOIFSStream tests, and explicit free support+test
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

13 years agoAdd NPOIFS SBAT tests, and stub out a few future tests
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

13 years agoAdd tests for the NPOIFS mini stream
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

13 years agoMore NPOIFSStream unit tests, and stub out a few future ones too
Nick Burch [Mon, 27 Dec 2010 06:55:51 +0000 (06:55 +0000)]
More NPOIFSStream unit tests, and stub out a few future ones too

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

13 years agoStart to support the MiniStream, by extracting out the BlockStore superclass and...
Nick Burch [Mon, 27 Dec 2010 06:50:05 +0000 (06:50 +0000)]
Start to support the MiniStream, by extracting out the BlockStore superclass and implementing a SBAT/Stream based mini block version

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