]> source.dussan.org Git - poi.git/log
poi.git
17 years agoAdd standard licence header for contrib directory
Mark Thomas [Mon, 15 Jan 2007 22:41:39 +0000 (22:41 +0000)]
Add standard licence header for contrib directory

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

17 years agoLicense comment fixed.
Rainer Klute [Mon, 15 Jan 2007 17:56:52 +0000 (17:56 +0000)]
License comment fixed.

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

17 years agoRefactor the TextPropCollection and TextProp classes into their own model package...
Nick Burch [Mon, 15 Jan 2007 17:00:41 +0000 (17:00 +0000)]
Refactor the TextPropCollection and TextProp classes into their own model package. Some of the logic in StyleTextPropAtom should probably be refactored out too, but that's still to do

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

17 years agoFix for bug #41357, by moving byte array creation until after we've decided that...
Nick Burch [Mon, 15 Jan 2007 16:40:03 +0000 (16:40 +0000)]
Fix for bug #41357, by moving byte array creation until after we've decided that we have a valid picture

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

17 years agoUpdate the order of the TextProps, as it seems not to be based quite on the mask...
Nick Burch [Mon, 15 Jan 2007 15:22:39 +0000 (15:22 +0000)]
Update the order of the TextProps, as it seems not to be based quite on the mask order. Fix from Yegor, from bug #40143

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

17 years agogit-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496331 13f79535-47bb...
Mark Thomas [Mon, 15 Jan 2007 14:36:03 +0000 (14:36 +0000)]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496331 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd standard svn properties
Mark Thomas [Mon, 15 Jan 2007 14:34:55 +0000 (14:34 +0000)]
Add standard svn properties

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

17 years agoAdd standard licence header
Mark Thomas [Mon, 15 Jan 2007 14:27:03 +0000 (14:27 +0000)]
Add standard licence header

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

17 years agoAdd standard svn properties
Mark Thomas [Mon, 15 Jan 2007 14:19:03 +0000 (14:19 +0000)]
Add standard svn properties

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

17 years agoRemove copyright notice - it is now in the notice file.
Mark Thomas [Mon, 15 Jan 2007 13:16:45 +0000 (13:16 +0000)]
Remove copyright notice - it is now in the notice file.

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

17 years agoThrow an exception if a picture claims to have a negative amount of data. Should...
Nick Burch [Fri, 12 Jan 2007 14:19:35 +0000 (14:19 +0000)]
Throw an exception if a picture claims to have a negative amount of data. Should avoid problem in bug #41357

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

17 years agoHandle the fact that StyleTextPropAtom needs to work with a text length that's one...
Nick Burch [Thu, 11 Jan 2007 16:18:30 +0000 (16:18 +0000)]
Handle the fact that StyleTextPropAtom needs to work with a text length that's one larger than the underlying text it represents. (Fix from Yegor from bug #40143)

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

17 years agoUpdate with new knowledge of how this all works, from bug #41176
Nick Burch [Tue, 9 Jan 2007 18:51:29 +0000 (18:51 +0000)]
Update with new knowledge of how this all works, from bug #41176

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

17 years agoYegor's patch from bug #41242
Nick Burch [Fri, 5 Jan 2007 17:38:54 +0000 (17:38 +0000)]
Yegor's patch from bug #41242

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

17 years agoremove build errors
Avik Sengupta [Tue, 2 Jan 2007 12:51:27 +0000 (12:51 +0000)]
remove build errors

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

17 years agoadd license to build file
Avik Sengupta [Tue, 2 Jan 2007 12:50:54 +0000 (12:50 +0000)]
add license to build file

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

17 years agoupdate jindent file
Avik Sengupta [Tue, 2 Jan 2007 08:21:56 +0000 (08:21 +0000)]
update jindent file

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

17 years agoComment support from bug 41198, patch from Yegor
Nick Burch [Mon, 1 Jan 2007 21:02:22 +0000 (21:02 +0000)]
Comment support from bug 41198, patch from Yegor

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

17 years agoSwitching from ASL 1.1 to AL 2.0 - no one had a reason for these being this way on...
Henri Yandell [Sun, 31 Dec 2006 22:28:52 +0000 (22:28 +0000)]
Switching from ASL 1.1 to AL 2.0 - no one had a reason for these being this way on the mailing list

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

17 years agoInclude NOTICE and LICENSE in the maven targetted jars too
Nick Burch [Thu, 28 Dec 2006 21:28:03 +0000 (21:28 +0000)]
Include NOTICE and LICENSE in the maven targetted jars too

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

17 years agoOnly have a NOTICE file in /legal/ (it's always included at root level in all files...
Nick Burch [Thu, 28 Dec 2006 21:18:45 +0000 (21:18 +0000)]
Only have a NOTICE file in /legal/ (it's always included at root level in all files we produce)

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

17 years agoInclude the NOTICE and LICENSE files in the root of the Jars we build. When building...
Nick Burch [Thu, 28 Dec 2006 21:11:43 +0000 (21:11 +0000)]
Include the NOTICE and LICENSE files in the root of the Jars we build. When building the dist zip and tar files, have them output into a sensible directory name (rather than the current directory), and have them include a single copy of NOTICE and LICENSE

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

17 years agoUpdate NOTICE, as per latest guidelines
Nick Burch [Thu, 28 Dec 2006 17:45:42 +0000 (17:45 +0000)]
Update NOTICE, as per latest guidelines

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

17 years agoAdded my OpenPGP public key.
Rainer Klute [Sat, 23 Dec 2006 15:23:45 +0000 (15:23 +0000)]
Added my OpenPGP public key.

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

17 years agoAdd my key used for signing releases
Nick Burch [Sat, 23 Dec 2006 13:47:55 +0000 (13:47 +0000)]
Add my key used for signing releases

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

17 years agocopy2license run on these (after a bit of munging)
Henri Yandell [Fri, 22 Dec 2006 21:07:34 +0000 (21:07 +0000)]
copy2license run on these (after a bit of munging)

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

17 years agoApplied copy2license script to the files that were converted by dos2unix. ant jar...
Henri Yandell [Fri, 22 Dec 2006 21:00:02 +0000 (21:00 +0000)]
Applied copy2license script to the files that were converted by dos2unix. ant jar continues to pass.

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

17 years agoApplying dos2unix on some of the Java files. The copy2license script isn't picking...
Henri Yandell [Fri, 22 Dec 2006 20:56:04 +0000 (20:56 +0000)]
Applying dos2unix on some of the Java files. The copy2license script isn't picking up the dos line endings. Hopefully not a problem for anyone

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

17 years agoApplying the copy2license.pl script (with tiny modification to allow for more whitesp...
Henri Yandell [Fri, 22 Dec 2006 19:18:16 +0000 (19:18 +0000)]
Applying the copy2license.pl script (with tiny modification to allow for more whitespace than it expects in the POI header) to all files. ant jar succeeds, and the svn diff has been verified by eye. Still more files to do, this is the first pass.

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

17 years agoFixing the svn browse url so my email can be allow'd on the mailing list prior to...
Henri Yandell [Tue, 19 Dec 2006 06:27:04 +0000 (06:27 +0000)]
Fixing the svn browse url so my email can be allow'd on the mailing list prior to doing lots of src header fixing commits

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

17 years agoTry to work with files that don't have a master SlideListWithText, but go straight...
Nick Burch [Thu, 14 Dec 2006 11:50:54 +0000 (11:50 +0000)]
Try to work with files that don't have a master SlideListWithText, but go straight into a Slides one. Throw a better exception on slides with a mixed first SlideListWithText (see bug 41176 for more details)

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

17 years agoIf we have a picture of type 0, don't even bother trying to create a PictureData...
Nick Burch [Thu, 14 Dec 2006 11:49:56 +0000 (11:49 +0000)]
If we have a picture of type 0, don't even bother trying to create a PictureData object for it

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

17 years agoBump version up to 3.0 alpha 3 tags/REL_3_0_ALPHA3@486618
Nick Burch [Wed, 13 Dec 2006 12:25:14 +0000 (12:25 +0000)]
Bump version up to 3.0 alpha 3

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

17 years agoSwitch the position of one tag, so an older version of forrest likes it
Nick Burch [Tue, 12 Dec 2006 20:52:05 +0000 (20:52 +0000)]
Switch the position of one tag, so an older version of forrest likes it

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

17 years agoWhen sorting the contents of a directory, do so in a way that doesn't upset Excel...
Nick Burch [Tue, 12 Dec 2006 18:21:41 +0000 (18:21 +0000)]
When sorting the contents of a directory, do so in a way that doesn't upset Excel when it comes to Macros. Correct logic from Bill, and fix+test from Yegor. See bug #39234

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

17 years agoSupport Excel files which contain a WORKBOOK entry, rather than the usual Workbook...
Nick Burch [Thu, 30 Nov 2006 16:15:55 +0000 (16:15 +0000)]
Support Excel files which contain a WORKBOOK entry, rather than the usual Workbook one. Fixes bug 40840

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

17 years agoSupport compressed pictures properly, from bug #41032
Nick Burch [Wed, 29 Nov 2006 14:49:40 +0000 (14:49 +0000)]
Support compressed pictures properly, from bug #41032

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

17 years agoUpdate from Yegor in bug 41046 - support background shapes and fills
Nick Burch [Tue, 28 Nov 2006 15:55:27 +0000 (15:55 +0000)]
Update from Yegor in bug 41046 - support background shapes and fills

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

17 years agoDitch a few calls to System.out, in favour of calls to POILogger
Nick Burch [Tue, 28 Nov 2006 15:54:39 +0000 (15:54 +0000)]
Ditch a few calls to System.out, in favour of calls to POILogger

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

17 years agoWe need to ensure we have the main code compiled before running contrib and scratchpa...
Nick Burch [Tue, 28 Nov 2006 15:53:54 +0000 (15:53 +0000)]
We need to ensure we have the main code compiled before running contrib and scratchpad tests

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

17 years agoFix for bug 41015 - add in another paragraph property
Nick Burch [Tue, 28 Nov 2006 15:34:20 +0000 (15:34 +0000)]
Fix for bug 41015 - add in another paragraph property

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

17 years agoadded amol to the list
Amol S. Deshmukh [Tue, 28 Nov 2006 15:05:40 +0000 (15:05 +0000)]
added amol to the list

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

17 years agosuperclass for logical functions
Amol S. Deshmukh [Sun, 26 Nov 2006 06:15:17 +0000 (06:15 +0000)]
superclass for logical functions

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

17 years agoupdated to include additional tests for IF()
Amol S. Deshmukh [Sun, 26 Nov 2006 06:14:54 +0000 (06:14 +0000)]
updated to include additional tests for IF()

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

17 years agoinitial version
Amol S. Deshmukh [Sun, 26 Nov 2006 06:14:11 +0000 (06:14 +0000)]
initial version

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

17 years agoimplemented IF() function
Amol S. Deshmukh [Sun, 26 Nov 2006 06:13:29 +0000 (06:13 +0000)]
implemented IF() function

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

17 years agoadded testcases for functions: if, islogical, isnontext, isnumber, isref, istext...
Amol S. Deshmukh [Sun, 26 Nov 2006 06:12:46 +0000 (06:12 +0000)]
added testcases for functions: if, islogical, isnontext, isnumber, isref, istext, left, right

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

17 years agoreplaced use of deprecated calls to get string value from cell
Amol S. Deshmukh [Sun, 26 Nov 2006 06:11:36 +0000 (06:11 +0000)]
replaced use of deprecated calls to get string value from cell

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

17 years agoFixed:
Amol S. Deshmukh [Wed, 22 Nov 2006 23:12:06 +0000 (23:12 +0000)]
Fixed:
1. evaluateInCell failed if the cell originally contained a numeric value
2. Sheet references were not handled correctly

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

17 years agoremoved use of deprecated calls to get the String value of a cell
Amol S. Deshmukh [Tue, 21 Nov 2006 22:17:34 +0000 (22:17 +0000)]
removed use of deprecated calls to get the String value of a cell

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

17 years agoDetect when the Current User stream is too short, and give a more helpful exception...
Nick Burch [Mon, 20 Nov 2006 12:26:51 +0000 (12:26 +0000)]
Detect when the Current User stream is too short, and give a more helpful exception in that case

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

17 years agoAvoid an exception when getting the default bitmap image size on some JVMs
Nick Burch [Mon, 13 Nov 2006 11:13:55 +0000 (11:13 +0000)]
Avoid an exception when getting the default bitmap image size on some JVMs

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

18 years agoSupport for DIB picture types, from Bug 40740
Nick Burch [Tue, 17 Oct 2006 18:12:43 +0000 (18:12 +0000)]
Support for DIB picture types, from Bug 40740

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

18 years agoSupport for Master Sheets from Yegor (bug 40753)
Nick Burch [Tue, 17 Oct 2006 18:01:19 +0000 (18:01 +0000)]
Support for Master Sheets from Yegor (bug 40753)

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

18 years agoDon't depend on source files being utf8 for test to work
Nick Burch [Tue, 17 Oct 2006 17:52:18 +0000 (17:52 +0000)]
Don't depend on source files being utf8 for test to work

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

18 years agoIf we hit an unknown picture type, don't break completely - report an error but carry...
Nick Burch [Thu, 12 Oct 2006 11:26:05 +0000 (11:26 +0000)]
If we hit an unknown picture type, don't break completely - report an error but carry on without the picture

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

18 years agoFix for NPE in bug #40036. The TextBox will still be fairly useless though
Nick Burch [Tue, 26 Sep 2006 15:53:21 +0000 (15:53 +0000)]
Fix for NPE in bug #40036. The TextBox will still be fairly useless though

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

18 years agoFOP fix from bug #39086
Nick Burch [Tue, 26 Sep 2006 14:54:45 +0000 (14:54 +0000)]
FOP fix from bug #39086

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

18 years agoFrom bug #38616 - support for extracting images from word files, plus tests for this
Nick Burch [Tue, 26 Sep 2006 14:46:39 +0000 (14:46 +0000)]
From bug #38616 - support for extracting images from word files, plus tests for this

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

18 years agoDon't just assume we'll only have container records for the shape's escher records
Nick Burch [Tue, 26 Sep 2006 14:14:59 +0000 (14:14 +0000)]
Don't just assume we'll only have container records for the shape's escher records

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

18 years agoHandle the case where a StyleTextPropAtom has a mask that codes for more properties...
Nick Burch [Tue, 26 Sep 2006 11:19:30 +0000 (11:19 +0000)]
Handle the case where a StyleTextPropAtom has a mask that codes for more properties than we have data for (+tests for this)

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

18 years agoSupport alignment and indent levels for HSLF - patch from Yegor in bug #40324
Nick Burch [Tue, 19 Sep 2006 22:47:44 +0000 (22:47 +0000)]
Support alignment and indent levels for HSLF - patch from Yegor in bug #40324

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

18 years agoImproved picture support for HSLF, from Yegor in bug 40388
Nick Burch [Tue, 19 Sep 2006 22:37:38 +0000 (22:37 +0000)]
Improved picture support for HSLF, from Yegor in bug 40388

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

18 years agoUpdate a cvs link to an svn one
Nick Burch [Fri, 15 Sep 2006 10:22:19 +0000 (10:22 +0000)]
Update a cvs link to an svn one

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

18 years agoBug 30635: getLastCellNum return last cell num + 1. Made this clear in javadoc.
Jason Height [Mon, 11 Sep 2006 11:34:49 +0000 (11:34 +0000)]
Bug 30635: getLastCellNum return last cell num + 1. Made this clear in javadoc.

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

18 years agoBUG 27496: get/setPageBreak and get/getColumnBreak now work correctly if a template...
Jason Height [Fri, 8 Sep 2006 21:09:48 +0000 (21:09 +0000)]
BUG 27496: get/setPageBreak and get/getColumnBreak now work correctly if a template excel file is loaded which does not contain PaneRecords is loaded.

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

18 years agoreplaced use of String.contains(..) with String.indexOf(..) >= 0 to make it JDK1...
Amol S. Deshmukh [Tue, 29 Aug 2006 14:50:39 +0000 (14:50 +0000)]
replaced use of String.contains(..) with String.indexOf(..) >= 0 to make it JDK1.4 compatible

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

18 years agoJust removed a bunch of unused imports etc. Reduces eclipse warnings
Jason Height [Tue, 29 Aug 2006 07:47:00 +0000 (07:47 +0000)]
Just removed a bunch of unused imports etc. Reduces eclipse warnings

Jason

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

18 years agobug 23631: support for getting the current pane information in excel
Jason Height [Tue, 29 Aug 2006 03:27:11 +0000 (03:27 +0000)]
bug 23631: support for getting the current pane information in excel

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

18 years agobug 31044: Corrected parsing of references which contain double sheet names ie 'Sheet...
Jason Height [Mon, 28 Aug 2006 12:18:10 +0000 (12:18 +0000)]
bug 31044: Corrected parsing of references which contain double sheet names ie 'Sheet 1'!F1:'Sheet 1'!F10.

Although i have hacked it a bit such that it gets translated to 'Sheet 1'!F1:F10

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

18 years agoBug 33736: Applied patch for Column Hiding. Thanks
Jason Height [Mon, 28 Aug 2006 04:44:32 +0000 (04:44 +0000)]
Bug 33736: Applied patch for Column Hiding. Thanks

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

18 years agoBug28755: CellReference will throws IllegalArgumentException when an illegal cell...
Jason Height [Mon, 28 Aug 2006 03:54:04 +0000 (03:54 +0000)]
Bug28755: CellReference will throws IllegalArgumentException when an illegal cell reference is provided.

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

18 years agoBug36646: Ret3dPtg to include quotes when sheetname contains a space.
Jason Height [Mon, 28 Aug 2006 03:39:13 +0000 (03:39 +0000)]
Bug36646: Ret3dPtg to include quotes when sheetname contains a space.

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

18 years agoHopefully fixed scratchpad test org.apache.poi.hssf/record/formula/functions/TestEver...
Jason Height [Mon, 28 Aug 2006 00:31:36 +0000 (00:31 +0000)]
Hopefully fixed scratchpad test org.apache.poi.hssf/record/formula/functions/TestEverything.java from running out of memory and killing gump

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

18 years agoRemoved EXPERIMENTAL indication on the formula support.
Jason Height [Sun, 27 Aug 2006 12:03:14 +0000 (12:03 +0000)]
Removed EXPERIMENTAL indication on the formula support.

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

18 years agoAdded explicit RecordFormatException when a FilePass record (indicating that the...
Jason Height [Sun, 27 Aug 2006 12:00:36 +0000 (12:00 +0000)]
Added explicit RecordFormatException when a FilePass record (indicating that the workbook is encrypted) is encountered. (due to bug 27548)

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

18 years agoBug 38796: Check for null in PageBreakRecord
Jason Height [Sun, 27 Aug 2006 11:17:22 +0000 (11:17 +0000)]
Bug 38796: Check for null in PageBreakRecord

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

18 years agoThrow exception rather than returning NO IDEA SHARED FORMULA
Jason Height [Sun, 27 Aug 2006 01:04:53 +0000 (01:04 +0000)]
Throw exception rather than returning NO IDEA SHARED FORMULA

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

18 years agoForgot to reset shared formula option during conversion
Jason Height [Sat, 26 Aug 2006 08:52:24 +0000 (08:52 +0000)]
Forgot to reset shared formula option during conversion

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

18 years agoFound a case where the shared formula does not resolve. This was in the test case...
Jason Height [Sat, 26 Aug 2006 08:23:22 +0000 (08:23 +0000)]
Found a case where the shared formula does not resolve. This was in the test case for the org.apache.poi.hssf.record.formula.eval.TextEverything

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

18 years agobug 40285: Corrected index of CellIterator. In addition made CelIterator obey the...
Jason Height [Fri, 25 Aug 2006 22:24:47 +0000 (22:24 +0000)]
bug 40285: Corrected index of CellIterator. In addition made CelIterator obey the Iterator contract wrt exceptions.

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

18 years ago1. when formula parse fails, reported error now includes the "pointer"
Amol S. Deshmukh [Thu, 24 Aug 2006 16:42:52 +0000 (16:42 +0000)]
1. when formula parse fails, reported error now includes the "pointer"
2. added the case of interpreting a missing argument as MissingArgPtg

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

18 years agotest case that checks to see if a case of MissingArgsPtg in the formula string is...
Amol S. Deshmukh [Thu, 24 Aug 2006 16:41:12 +0000 (16:41 +0000)]
test case that checks to see if a case of MissingArgsPtg in the formula string is handled correctly

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

18 years agoBug: 40267 squashed.
Jason Height [Fri, 18 Aug 2006 07:44:57 +0000 (07:44 +0000)]
Bug: 40267 squashed.
Thanks Richard, good catch. Keep it up!

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

18 years agoAccess to Saved By Information - patch from Trejkaz in bug #38647
Nick Burch [Mon, 14 Aug 2006 10:29:49 +0000 (10:29 +0000)]
Access to Saved By Information - patch from Trejkaz in bug #38647

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

18 years agogit-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430976 13f79535-47bb...
Sean Sullivan [Sat, 12 Aug 2006 05:28:45 +0000 (05:28 +0000)]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430976 13f79535-47bb-0310-9956-ffa450edef68

18 years agoThrow a more useful exception in the case of word95 documents
Nick Burch [Thu, 10 Aug 2006 12:20:24 +0000 (12:20 +0000)]
Throw a more useful exception in the case of word95 documents

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

18 years agoIf we're created with an InputStream, check to see if it's really RTF before proceeding
Nick Burch [Thu, 10 Aug 2006 12:12:27 +0000 (12:12 +0000)]
If we're created with an InputStream, check to see if it's really RTF before proceeding

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

18 years agoIn setCellFormula(String) the Ptg stack in FormulaRecord is cleared before filling...
Amol S. Deshmukh [Wed, 9 Aug 2006 20:26:40 +0000 (20:26 +0000)]
In setCellFormula(String) the Ptg stack in FormulaRecord is cleared before filling it with new values. Prior to this fix, repeated calls to setCellFormula would keep accumulating Ptgs in the stack although only the topmost "size" number of Ptgs would ever be used.

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

18 years agobugfix 38396: Exponential numbers are now handled by the formula parser
Amol S. Deshmukh [Wed, 9 Aug 2006 20:03:36 +0000 (20:03 +0000)]
bugfix 38396: Exponential numbers are now handled by the formula parser

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

18 years agoTweak comments about needing to use svn version, and add pointer to unit tests
Nick Burch [Mon, 7 Aug 2006 12:28:15 +0000 (12:28 +0000)]
Tweak comments about needing to use svn version, and add pointer to unit tests

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

18 years agoMade a bit of a meal out of the Shared formula patch, some of our test cases failed...
Jason Height [Thu, 27 Jul 2006 14:15:11 +0000 (14:15 +0000)]
Made a bit of a meal out of the Shared formula patch, some of our test cases failed. Guess that is a good thing. Now working.

Committed patch provided in Bug 40024. Avik, sorry bet you to it.

Committed a patch to Bug 13249. HSSF will now raise an exception if a name is provided that is case-insensitive match to an existing name. In addition the getNameIndex now performs a case-insensitive search. This now matches excel behaviour.

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

18 years agoSHARED FORMULA SUPPORT:
Jason Height [Tue, 25 Jul 2006 14:30:34 +0000 (14:30 +0000)]
SHARED FORMULA SUPPORT:

Implemented my long standing (but incomplete) patch attached to Bug 26502.

Now shared formula conversion is working. Tested against file attached to Bug 26502 and Bug 18311.

TestValueRecordAggregate fails with the patch at the moment, too tired to look at. Will do tomorrow.

Jason

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

18 years agoBug 17890: Corrected exception text for zero byte file.
Jason Height [Tue, 25 Jul 2006 12:19:31 +0000 (12:19 +0000)]
Bug 17890: Corrected exception text for zero byte file.

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

18 years agoClean up of HSSFDataFormat. Whilst Bug 22456 was probably not an issue with the previ...
Jason Height [Tue, 25 Jul 2006 11:50:55 +0000 (11:50 +0000)]
Clean up of HSSFDataFormat. Whilst Bug 22456 was probably not an issue with the previous code, these changes are even better ;-) Squashing Bug 22456 now.

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

18 years agoException Chaining: Added support for java 1.4 style exception chaining. Believe...
Jason Height [Mon, 24 Jul 2006 12:40:25 +0000 (12:40 +0000)]
Exception Chaining: Added support for java 1.4 style exception chaining. Believe that POI is targeted at 1.4 nowdays so this should not cause an issue.

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

18 years agoBug 38486: Added handling of special 0x40 (64 dec) color.
Jason Height [Mon, 24 Jul 2006 12:18:48 +0000 (12:18 +0000)]
Bug 38486: Added handling of special 0x40 (64 dec) color.

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

18 years agoBug 26916: Corrected javadoc to indicate ArrayIndexOutOfBounds may be thrown.
Jason Height [Sun, 23 Jul 2006 06:46:06 +0000 (06:46 +0000)]
Bug 26916: Corrected javadoc to indicate ArrayIndexOutOfBounds may be thrown.

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

18 years agoYegor's TxMasterStyleAtom code from Bug #40057
Nick Burch [Tue, 18 Jul 2006 16:44:57 +0000 (16:44 +0000)]
Yegor's TxMasterStyleAtom code from Bug #40057

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

18 years agoAdd lookups for the common text alignments
Nick Burch [Tue, 18 Jul 2006 16:25:20 +0000 (16:25 +0000)]
Add lookups for the common text alignments

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