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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 years agoYegor's update from bug #39991 - better identification of what underlying picture...
Nick Burch [Fri, 14 Jul 2006 09:18:44 +0000 (09:18 +0000)]
Yegor's update from bug #39991 - better identification of what underlying picture data a picture object relates to

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

18 years agoExpose the underlying TextRun
Nick Burch [Thu, 13 Jul 2006 09:24:39 +0000 (09:24 +0000)]
Expose the underlying TextRun

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

18 years agoAdd in a main() method, so people can stop moaning
Nick Burch [Wed, 12 Jul 2006 11:22:50 +0000 (11:22 +0000)]
Add in a main() method, so people can stop moaning

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

18 years agoAdd ant task for building the maven/ibiblio friendly binary and source jar files...
Nick Burch [Tue, 4 Jul 2006 18:17:24 +0000 (18:17 +0000)]
Add ant task for building the maven/ibiblio friendly binary and source jar files, and creating a .pom for them

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

18 years agoRemove a bit of debug code
Nick Burch [Mon, 3 Jul 2006 21:27:09 +0000 (21:27 +0000)]
Remove a bit of debug code

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

18 years agoGet to a consistent indent
Nick Burch [Mon, 3 Jul 2006 20:59:09 +0000 (20:59 +0000)]
Get to a consistent indent

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

18 years agoYegor's Slide Title patch from bug 39948
Nick Burch [Mon, 3 Jul 2006 20:53:08 +0000 (20:53 +0000)]
Yegor's Slide Title patch from bug 39948

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

18 years agoAdd correct detection for encrypted powerpoint files. An exception will be thrown...
Nick Burch [Mon, 3 Jul 2006 20:34:41 +0000 (20:34 +0000)]
Add correct detection for encrypted powerpoint files. An exception will be thrown if they are encountered.\n(As we don't know how the encryption is done, we can't do any decryption of these files)

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

18 years agoAdd Nick and Yegor to the list
Nick Burch [Mon, 3 Jul 2006 09:28:11 +0000 (09:28 +0000)]
Add Nick and Yegor to the list

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

18 years agoSupport re-ordering of slides, now that we know how slider ordering works
Nick Burch [Sun, 2 Jul 2006 16:02:20 +0000 (16:02 +0000)]
Support re-ordering of slides, now that we know how slider ordering works

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

18 years agoHelper method for when moving stuff about in an array, plus test
Nick Burch [Sun, 2 Jul 2006 15:21:12 +0000 (15:21 +0000)]
Helper method for when moving stuff about in an array, plus test

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

18 years agoupgrade jar verions: Log4j, Commons Logging,
Sean Sullivan [Wed, 28 Jun 2006 02:41:57 +0000 (02:41 +0000)]
upgrade jar verions: Log4j, Commons Logging,
Commons BeanUtils, Commons Collections, Commons Lang

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

18 years agoHopefully fix bug 39228 - big overhaul of how slides and notes are build, based on...
Nick Burch [Tue, 27 Jun 2006 18:15:32 +0000 (18:15 +0000)]
Hopefully fix bug 39228 - big overhaul of how slides and notes are build, based on Yegor's discoveries. Hopefully, we now return the right slide #, and in the right order

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

18 years agoUpdate Document to offer the SlideListWithTexts by name, and change addSlide to add...
Nick Burch [Tue, 27 Jun 2006 11:42:29 +0000 (11:42 +0000)]
Update Document to offer the SlideListWithTexts by name, and change addSlide to add to the right SlideListWithText. (Based on a bug, the number I don't have to hand, doh\!)

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

18 years agoAdd action for alpha 2 release
Nick Burch [Fri, 16 Jun 2006 17:41:12 +0000 (17:41 +0000)]
Add action for alpha 2 release

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

18 years agoRelease 3.0 alpha 2
Nick Burch [Fri, 16 Jun 2006 17:12:07 +0000 (17:12 +0000)]
Release 3.0 alpha 2

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

18 years agoTweak rich text handling
Nick Burch [Fri, 16 Jun 2006 16:32:07 +0000 (16:32 +0000)]
Tweak rich text handling

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

18 years agoOn some JVMs, the problem family dialog has a capital D - change the skips to also...
Nick Burch [Fri, 16 Jun 2006 15:27:24 +0000 (15:27 +0000)]
On some JVMs, the problem family dialog has a capital D - change the skips to also skip on Dialog (should hopefully fix gump errors)

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

18 years agoOn some JVMs, the problem family dialog has a capital D - change the skips to also...
Nick Burch [Fri, 16 Jun 2006 15:21:30 +0000 (15:21 +0000)]
On some JVMs, the problem family dialog has a capital D - change the skips to also skip on Dialog (should hopefully fix gump errors)

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

18 years agoTweak comments
Nick Burch [Fri, 16 Jun 2006 15:03:01 +0000 (15:03 +0000)]
Tweak comments

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

18 years agoAllow fetching and changing the character set, eg to support wingdings fonts (bug...
Nick Burch [Fri, 16 Jun 2006 14:48:09 +0000 (14:48 +0000)]
Allow fetching and changing the character set, eg to support wingdings fonts (bug #39389)

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

18 years agoFix for bug 39800 - if the Array size in the simple block doesn't inclde the size...
Nick Burch [Tue, 13 Jun 2006 16:59:34 +0000 (16:59 +0000)]
Fix for bug 39800 - if the Array size in the simple block doesn't inclde the size of the header, make a note of this, and do the same when we write back out

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

18 years agoTests for new RichText code
Nick Burch [Tue, 13 Jun 2006 14:58:46 +0000 (14:58 +0000)]
Tests for new RichText code

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

18 years agoRefactor to allow easy testing of multiple files. Will enable a second file when...
Nick Burch [Tue, 13 Jun 2006 14:58:24 +0000 (14:58 +0000)]
Refactor to allow easy testing of multiple files. Will enable a second file when bug #39800 is fixed

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

18 years agoHopefully handle the building and using of RichTextRuns correctly. Should include...
Nick Burch [Tue, 13 Jun 2006 14:57:34 +0000 (14:57 +0000)]
Hopefully handle the building and using of RichTextRuns correctly. Should include proper handling of the +1 length in the styles (Bug 39177), and shared character/paragraph styles (Bugs 39547 and 38544)

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

18 years agoSome PersistPtrHolders seem to reference records stored after them. Add a second...
Nick Burch [Tue, 13 Jun 2006 14:54:52 +0000 (14:54 +0000)]
Some PersistPtrHolders seem to reference records stored after them. Add a second pass to cope with these cases

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

18 years agoAdd a currently broken test, which highlights a bug (bug report to follow)
Nick Burch [Tue, 13 Jun 2006 13:19:14 +0000 (13:19 +0000)]
Add a currently broken test, which highlights a bug (bug report to follow)

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

18 years agoSome initial changes that are needed to fix bug #38544
Nick Burch [Mon, 12 Jun 2006 16:07:29 +0000 (16:07 +0000)]
Some initial changes that are needed to fix bug #38544

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

18 years agoNew dev program for helping us understand how SlideListWithTexts interact
Nick Burch [Mon, 12 Jun 2006 15:16:44 +0000 (15:16 +0000)]
New dev program for helping us understand how SlideListWithTexts interact

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