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

13 years agoMove the SBAT/BAT cutoff constant to POIFSConstants
Nick Burch [Mon, 27 Dec 2010 04:04:47 +0000 (04:04 +0000)]
Move the SBAT/BAT cutoff constant to POIFSConstants

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

13 years agoMore NPOIFS tests
Nick Burch [Mon, 27 Dec 2010 01:51:10 +0000 (01:51 +0000)]
More NPOIFS tests

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

13 years agoStart on PropertyTable support for NPOIFS, and more NPOIFS tests
Nick Burch [Thu, 23 Dec 2010 09:21:49 +0000 (09:21 +0000)]
Start on PropertyTable support for NPOIFS, and more NPOIFS tests

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

13 years agoOutput the correct header value
Nick Burch [Thu, 23 Dec 2010 09:19:39 +0000 (09:19 +0000)]
Output the correct header value

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

13 years agoFix warnings, typos etc
Nick Burch [Thu, 23 Dec 2010 09:18:04 +0000 (09:18 +0000)]
Fix warnings, typos etc

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

13 years agoAdd NPOIFSFileSystem support for identifying free blocks, along with partial unit...
Nick Burch [Thu, 23 Dec 2010 08:02:50 +0000 (08:02 +0000)]
Add NPOIFSFileSystem support for identifying free blocks, along with partial unit tests for it

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

13 years agoMore NPOIFSFileSystem and NPOIFSStream read unit tests, along with details of a few...
Nick Burch [Thu, 23 Dec 2010 07:08:50 +0000 (07:08 +0000)]
More NPOIFSFileSystem and NPOIFSStream read unit tests, along with details of a few more tests still to be written

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

13 years agoInitial NPOIFS low level stream reader and writer. Still needs unit tests, but should...
Nick Burch [Wed, 22 Dec 2010 08:52:17 +0000 (08:52 +0000)]
Initial NPOIFS low level stream reader and writer. Still needs unit tests, but should allow reading and writing to a basic stream of (big) blocks

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

13 years agoMore BATBlock related methods for identifying size and list offsets, plus tests
Nick Burch [Wed, 22 Dec 2010 08:41:28 +0000 (08:41 +0000)]
More BATBlock related methods for identifying size and list offsets, plus tests

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

13 years agoAdd initial low level code for HMEF, an implementation of TNEF (aka winmail.dat)...
Nick Burch [Wed, 22 Dec 2010 05:04:19 +0000 (05:04 +0000)]
Add initial low level code for HMEF, an implementation of TNEF (aka winmail.dat). Currently processes core attributes, but not embedded MAPI ones, and still needs to do more for extraction

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

13 years agoRefactor the common LZW decompression code out into utils
Nick Burch [Tue, 21 Dec 2010 05:18:34 +0000 (05:18 +0000)]
Refactor the common LZW decompression code out into utils

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

13 years agoMore PropertyTable refactoring - pull common code out into a Base, so we can plug...
Nick Burch [Mon, 20 Dec 2010 09:30:32 +0000 (09:30 +0000)]
More PropertyTable refactoring - pull common code out into a Base, so we can plug in a different block reader/writer for NIO

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

13 years agoPOIFS Property refactoring ready for NIO support
Nick Burch [Mon, 20 Dec 2010 09:06:47 +0000 (09:06 +0000)]
POIFS Property refactoring ready for NIO support

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

13 years agoAdd a couple more chunk types
Nick Burch [Mon, 20 Dec 2010 07:18:31 +0000 (07:18 +0000)]
Add a couple more chunk types

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

13 years agoBit more on NPOIFSFileSystem, and some typo fixes in documentation
Nick Burch [Sun, 19 Dec 2010 11:43:54 +0000 (11:43 +0000)]
Bit more on NPOIFSFileSystem, and some typo fixes in documentation

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

13 years agoChange how the NIO block read works, to re-use the byte array for the from-InputStrea...
Nick Burch [Sun, 19 Dec 2010 08:53:36 +0000 (08:53 +0000)]
Change how the NIO block read works, to re-use the byte array for the from-InputStream case. Also start on reading the FAT blocks for NPOIFSFileSystem

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

13 years agoInitial work on a NIO POIFSFileSystem. Currently is able to open the file and read...
Nick Burch [Sun, 19 Dec 2010 08:06:48 +0000 (08:06 +0000)]
Initial work on a NIO POIFSFileSystem. Currently is able to open the file and read the header, but no more

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

13 years agoMove CloseIgnoringInputStream out to its own class, and add more helper methods
Nick Burch [Sun, 19 Dec 2010 08:05:44 +0000 (08:05 +0000)]
Move CloseIgnoringInputStream out to its own class, and add more helper methods

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

13 years agoMake BATBlock useful for read (was previously write only)
Nick Burch [Sun, 19 Dec 2010 07:17:14 +0000 (07:17 +0000)]
Make BATBlock useful for read (was previously write only)

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

13 years agoMove more of the logic from HeaderBlockWriter to HeaderBlock
Nick Burch [Sun, 19 Dec 2010 06:35:54 +0000 (06:35 +0000)]
Move more of the logic from HeaderBlockWriter to HeaderBlock

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

13 years agoStart to merge the POIFS classes HeaderBlockReader and HeaderBlockWriter into a commo...
Nick Burch [Sun, 19 Dec 2010 05:54:11 +0000 (05:54 +0000)]
Start to merge the POIFS classes HeaderBlockReader and HeaderBlockWriter into a common HeaderBlock class

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

13 years agoTests and tweaks to the NIO DataSource code
Nick Burch [Sun, 19 Dec 2010 04:59:49 +0000 (04:59 +0000)]
Tests and tweaks to the NIO DataSource code

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

13 years agoStart on lower memory POIFS implementation - data source to provide common access...
Nick Burch [Sat, 18 Dec 2010 10:18:43 +0000 (10:18 +0000)]
Start on lower memory POIFS implementation - data source to provide common access to array of bytes and files

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

13 years agoImprove the HDGF LZW code.
Nick Burch [Thu, 16 Dec 2010 07:41:41 +0000 (07:41 +0000)]
Improve the HDGF LZW code.
Some tweaks to the decompression, and more tests, but mostly work on the compression side. We can now compress small streams properly, and these round-trip fine. However, some longer streams don't compress correctly, and more work on that is still needed (see the disabled unit test)

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

13 years agoInside ExtractorFactory, support finding embedded OOXML documents and providing extra...
Nick Burch [Thu, 16 Dec 2010 07:39:21 +0000 (07:39 +0000)]
Inside ExtractorFactory, support finding embedded OOXML documents and providing extractors for them

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

13 years agoSupport for continued NameRecords, see bugzilla 50244
Yegor Kozlov [Tue, 14 Dec 2010 18:17:59 +0000 (18:17 +0000)]
Support for continued NameRecords, see bugzilla 50244

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

13 years agoFix bug #50416 - Correct shifting of the first or last row in a sheet by multiple...
Nick Burch [Tue, 14 Dec 2010 06:41:08 +0000 (06:41 +0000)]
Fix bug #50416 - Correct shifting of the first or last row in a sheet by multiple rows

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

13 years agoFix bug #50440 - Support evaluating formulas with newlines in them, which XSSF may...
Nick Burch [Mon, 13 Dec 2010 05:39:39 +0000 (05:39 +0000)]
Fix bug #50440 - Support evaluating formulas with newlines in them, which XSSF may have (but HSSF may not)

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

13 years agoAdded XSSF EventModel support for inline strings. Adds unit test for this for the...
Nick Burch [Mon, 13 Dec 2010 05:07:19 +0000 (05:07 +0000)]
Added XSSF EventModel support for inline strings. Adds unit test for this for the event model extractor, and another for the usermodel extractor which already supported it

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

13 years agoAdd a test .xlsx file which includes both normal and inline string cells
Nick Burch [Mon, 13 Dec 2010 04:36:53 +0000 (04:36 +0000)]
Add a test .xlsx file which includes both normal and inline string cells

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

13 years agomark GutsRecord as terminating row blocks, prevent exception when reading workbooks...
Yegor Kozlov [Sat, 11 Dec 2010 13:48:18 +0000 (13:48 +0000)]
mark GutsRecord as terminating row blocks, prevent exception when reading workbooks with unexpected GutsRecords, see Bugzilla 50426

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

13 years agoadded a unit test for not reproducible bug #49156
Yegor Kozlov [Sat, 11 Dec 2010 13:09:12 +0000 (13:09 +0000)]
added a unit test for not reproducible bug #49156

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

13 years agoAdded implementation for MROUND(), VAR() and VARP()
Yegor Kozlov [Sat, 11 Dec 2010 12:41:17 +0000 (12:41 +0000)]
Added implementation for MROUND(), VAR() and VARP()

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

13 years agocode cleanup as suggested in Bugzilla 50446
Yegor Kozlov [Fri, 10 Dec 2010 15:43:59 +0000 (15:43 +0000)]
code cleanup as suggested in Bugzilla 50446

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

13 years agoSupport for IRR() function, see Bugzilla 50409. Includes fix for Bugzilla 50437
Yegor Kozlov [Fri, 10 Dec 2010 14:20:35 +0000 (14:20 +0000)]
Support for IRR() function, see Bugzilla 50409. Includes fix for Bugzilla 50437

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

13 years ago Improved performance of RowRecordsAggregate.getStartRowNumberForBlock / getEndRowNum...
Yegor Kozlov [Wed, 8 Dec 2010 16:53:24 +0000 (16:53 +0000)]
 Improved performance of RowRecordsAggregate.getStartRowNumberForBlock / getEndRowNumberForBlock, see Bugzilla 47405

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

13 years ago Avoid crashing Excel when sorting XSSFSheet autofilter, see Bugzilla 50315
Yegor Kozlov [Thu, 2 Dec 2010 15:23:35 +0000 (15:23 +0000)]
 Avoid crashing Excel when sorting XSSFSheet autofilter, see Bugzilla 50315

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

13 years agorevert visibility raised for testing
Yegor Kozlov [Mon, 29 Nov 2010 06:22:59 +0000 (06:22 +0000)]
revert visibility raised for testing

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

13 years agoimproved work with UDFs and Analysis Toolpack functions, ATP functions are enabled...
Yegor Kozlov [Sun, 28 Nov 2010 12:03:52 +0000 (12:03 +0000)]
improved work with UDFs and Analysis Toolpack functions, ATP functions are enabled by default and user can create / evaluate them just like built-in functions, both HSSF andf XSSF are supported

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

13 years agoimproved LinkTable to support registering external UDFs.
Yegor Kozlov [Sat, 27 Nov 2010 06:30:03 +0000 (06:30 +0000)]
improved LinkTable to support registering external UDFs.

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

13 years agotweaked javac targets and set includeantruntime=false to avoid warnings by Ant 1.8.1
Yegor Kozlov [Thu, 25 Nov 2010 10:28:02 +0000 (10:28 +0000)]
tweaked javac targets and set includeantruntime=false to avoid warnings by Ant 1.8.1

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

13 years agomoved ptg classes to org.apache.poi.ss.formula.ptg
Yegor Kozlov [Wed, 24 Nov 2010 16:54:26 +0000 (16:54 +0000)]
moved ptg classes to org.apache.poi.ss.formula.ptg

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

13 years agomoved ptg classes to org.apache.poi.ss.formula.ptg
Yegor Kozlov [Wed, 24 Nov 2010 16:50:47 +0000 (16:50 +0000)]
moved ptg classes to org.apache.poi.ss.formula.ptg

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

13 years agomoved ptg classes to org.apache.poi.ss.formula.ptg
Yegor Kozlov [Wed, 24 Nov 2010 16:47:37 +0000 (16:47 +0000)]
moved ptg classes to org.apache.poi.ss.formula.ptg

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

13 years agomoved ptg classes to org.apache.poi.ss.formula.ptg
Yegor Kozlov [Wed, 24 Nov 2010 16:46:02 +0000 (16:46 +0000)]
moved ptg classes to org.apache.poi.ss.formula.ptg

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