Commit Graph

1599 Commits

Author SHA1 Message Date
Nick Burch 066910f3c0 Add ExObjList support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497107 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 18:09:24 +00:00
Nick Burch 1557708b2a Add ExHyperlink tests against a real file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497090 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 17:12:26 +00:00
Nick Burch a2bc714fa3 Add support for ExHyperlink and ExHyperlinkAtom
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497079 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:59:45 +00:00
Nick Burch 255bc5a9c3 Support InteractiveInfo, the parent of InteractiveInfoAtom
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497061 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:17:46 +00:00
Nick Burch 3577d348c3 Initial, basic support for InteractiveInfoAtom
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497058 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:05:26 +00:00
Nick Burch b892245d39 Tweak comments and variable names, to make the wacky colour stuff as BGR not RGB clearer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496782 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 17:22:38 +00:00
Avik Sengupta adb7397d71 testcases for still unfixed bugs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496739 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 15:52:31 +00:00
Avik Sengupta ef6a48b79e Testcases for bugs. Thanks Yegor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496633 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 09:23:18 +00:00
Mark Emlyn David Thomas 2b23708839 Add standard licence header for src/documentation/content directory
Add svn properties where not present


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496536 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 23:11:09 +00:00
Mark Emlyn David Thomas 05e1338a24 Add standard licence header for src/documentation/skins directory
Add XML declaration where not present


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496534 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 23:06:53 +00:00
Mark Emlyn David Thomas af9a3f3616 Add standard licence header for src/types directory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496533 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 23:04:42 +00:00
Mark Emlyn David Thomas 2c47c06087 Add standard licence header for src/testcases directory
Set svn properties where not already set

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496532 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 23:00:17 +00:00
Mark Emlyn David Thomas 574a714a91 Add standard licence header for src/resources directory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496531 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 22:55:27 +00:00
Mark Emlyn David Thomas aeadb0d819 Add standard licence header for src/records directory
Add XML declarations where not present

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496529 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 22:53:32 +00:00
Mark Emlyn David Thomas 7b3258a456 Add standard licence header for src/java directory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496526 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 22:46:35 +00:00
Mark Emlyn David Thomas 346cacfbe3 Add standard licence header for src/examples directory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496525 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 22:44:18 +00:00
Mark Emlyn David Thomas 0c70803bb0 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
2007-01-15 22:41:39 +00:00
Rainer Klute 834dcb151d License comment fixed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496419 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 17:56:52 +00:00
Nick Burch 16b4ba157a 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
2007-01-15 17:00:41 +00:00
Nick Burch 0d2f337be6 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
2007-01-15 16:40:03 +00:00
Nick Burch 3b14ab1eb2 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
2007-01-15 15:22:39 +00:00
Mark Emlyn David Thomas dec3b4b591 git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496331 13f79535-47bb-0310-9956-ffa450edef68 2007-01-15 14:36:03 +00:00
Mark Emlyn David Thomas a07ff5e91c Add standard licence header
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496329 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 14:27:03 +00:00
Nick Burch ad857c6fbc 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
2007-01-12 14:19:35 +00:00
Nick Burch ff124420a0 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
2007-01-11 16:18:30 +00:00
Nick Burch e7c94a114b 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
2007-01-09 18:51:29 +00:00
Nick Burch 11adac96b2 Yegor's patch from bug #41242
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@493098 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 17:38:54 +00:00
Avik Sengupta 31438381be remove build errors
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491788 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 12:51:27 +00:00
Avik Sengupta 2544e115b5 update jindent file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491759 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 08:21:56 +00:00
Nick Burch e423cc45ed 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
2007-01-01 21:02:22 +00:00
Henri Yandell c5b9d25328 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
2006-12-31 22:28:52 +00:00
Henri Yandell 2d415f54fa 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
2006-12-22 21:07:34 +00:00
Henri Yandell 81357fd328 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
2006-12-22 21:00:02 +00:00
Henri Yandell 094505af85 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
2006-12-22 20:56:04 +00:00
Henri Yandell fca4623791 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
2006-12-22 19:18:16 +00:00
Nick Burch f067316bb0 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
2006-12-14 11:50:54 +00:00
Nick Burch 5c5dcf0d4f 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
2006-12-14 11:49:56 +00:00
Nick Burch 59a3012c86 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
2006-12-12 20:52:05 +00:00
Nick Burch b2535a5b58 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
2006-12-12 18:21:41 +00:00
Nick Burch 3f3a52e12b 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
2006-11-30 16:15:55 +00:00
Nick Burch f86c96a2ab 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
2006-11-29 14:49:40 +00:00
Nick Burch 5984e70059 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
2006-11-28 15:55:27 +00:00
Nick Burch f09b28bcd5 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
2006-11-28 15:54:39 +00:00
Nick Burch 0bf725ae46 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
2006-11-28 15:34:20 +00:00
Amol S. Deshmukh aca2ade290 added amol to the list
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480079 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 15:05:40 +00:00
Amol S. Deshmukh b6d7c5ec34 superclass for logical functions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479294 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:15:17 +00:00
Amol S. Deshmukh ae6f6b3d1a 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
2006-11-26 06:14:54 +00:00
Amol S. Deshmukh 0bce29d37c initial version
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479290 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:14:11 +00:00
Amol S. Deshmukh 3cad882697 implemented IF() function
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479289 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:13:29 +00:00
Amol S. Deshmukh c2bd2b7b1c 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
2006-11-26 06:12:46 +00:00
Amol S. Deshmukh ad43b3a7ab 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
2006-11-26 06:11:36 +00:00
Amol S. Deshmukh 1fd5b611a3 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
2006-11-22 23:12:06 +00:00
Amol S. Deshmukh 471bb226a4 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
2006-11-21 22:17:34 +00:00
Nick Burch fd3bbdbd1c 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
2006-11-20 12:26:51 +00:00
Nick Burch 23303f691f 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
2006-11-13 11:13:55 +00:00
Nick Burch 59ced4d73e 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
2006-10-17 18:12:43 +00:00
Nick Burch 5f167f01b2 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
2006-10-17 18:01:19 +00:00
Nick Burch 966759c29b 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
2006-10-17 17:52:18 +00:00
Nick Burch 353eafdd29 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
2006-10-12 11:26:05 +00:00
Nick Burch ccc494626e 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
2006-09-26 15:53:21 +00:00
Nick Burch 9d50165790 FOP fix from bug #39086
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@450068 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 14:54:45 +00:00
Nick Burch 34878d8f01 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
2006-09-26 14:46:39 +00:00
Nick Burch 31e27577bd 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
2006-09-26 14:14:59 +00:00
Nick Burch 93d416796d 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
2006-09-26 11:19:30 +00:00
Nick Burch f038906105 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
2006-09-19 22:47:44 +00:00
Nick Burch 6e1236c74a 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
2006-09-19 22:37:38 +00:00
Nick Burch 79606540c1 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
2006-09-15 10:22:19 +00:00
Jason Height 8d29205cbd 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
2006-09-11 11:34:49 +00:00
Jason Height 19ced80f3c 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
2006-09-08 21:09:48 +00:00
Amol S. Deshmukh 373e9d5613 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
2006-08-29 14:50:39 +00:00
Jason Height 5e3eb6beff 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
2006-08-29 07:47:00 +00:00
Jason Height d22cec2588 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
2006-08-29 03:27:11 +00:00
Jason Height 2bbff11ea5 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
2006-08-28 12:18:10 +00:00
Jason Height 1b451b3e8a 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
2006-08-28 04:44:32 +00:00
Jason Height 602869877e 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
2006-08-28 03:54:04 +00:00
Jason Height bde0ed706b 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
2006-08-28 03:39:13 +00:00
Jason Height d636083355 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
2006-08-28 00:31:36 +00:00
Jason Height c522b4ff39 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
2006-08-27 12:03:14 +00:00
Jason Height 5d8423bd13 Added explicit RecordFormatException when a FilePass record (indicating that the workbook is encrypted) is encountered.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437370 13f79535-47bb-0310-9956-ffa450edef68
2006-08-27 12:00:36 +00:00
Jason Height b5ad05cdd1 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
2006-08-27 11:17:22 +00:00
Jason Height b0336924a4 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
2006-08-27 01:04:53 +00:00
Jason Height 6e9b265462 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
2006-08-26 08:52:24 +00:00
Jason Height 76a2ebcf6e 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
2006-08-26 08:23:22 +00:00
Jason Height 6759fe7790 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
2006-08-25 22:24:47 +00:00
Amol S. Deshmukh c371aa983d 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
2006-08-24 16:42:52 +00:00
Amol S. Deshmukh 8a926c028c 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
2006-08-24 16:41:12 +00:00
Jason Height 3f82bd9b71 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
2006-08-18 07:44:57 +00:00
Nick Burch 3ed8893246 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
2006-08-14 10:29:49 +00:00
Sean Sullivan 3e447c8572 git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430976 13f79535-47bb-0310-9956-ffa450edef68 2006-08-12 05:28:45 +00:00
Nick Burch ec2a2ca3ca 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
2006-08-10 12:20:24 +00:00
Nick Burch b11c11fb65 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
2006-08-10 12:12:27 +00:00
Amol S. Deshmukh ab27ce3720 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
2006-08-09 20:26:40 +00:00
Amol S. Deshmukh c17abf116c 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
2006-08-09 20:03:36 +00:00
Nick Burch 15ab04860a 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
2006-08-07 12:28:15 +00:00
Jason Height 6c2dba2f3d 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
2006-07-27 14:15:11 +00:00
Jason Height 94429ddb32 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
2006-07-25 14:30:34 +00:00
Jason Height 79d49c2b67 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
2006-07-25 12:19:31 +00:00
Jason Height 3ffa62ef21 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
2006-07-25 11:50:55 +00:00
Jason Height 4aea586fe5 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
2006-07-24 12:40:25 +00:00
Jason Height f20d43c9b3 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
2006-07-24 12:18:48 +00:00