Commit Graph

46 Commits

Author SHA1 Message Date
Yegor Kozlov 28b6f4e2a3 merged with trunk r653489
git-svn-id: https://svn.apache.org/repos/asf/poi/tags/REL_3_1_BETA2@653490 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 14:20:39 +00:00
Nick Burch a51afa06f4 Nice and small change here... Update the formula parser code to use usermodel.HSSFWorkbook instead of model.Workbook. This should keep things a bit cleaner, and make it much easier for the formula code to work with XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648303 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 16:00:50 +00:00
Nick Burch bfd5ebe008 Mostly fix bug 42618 (really this time...) - can now open the file properly, but getCellFormula() is still playing up (bug #44306 opened for this)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@615859 13f79535-47bb-0310-9956-ffa450edef68
2008-01-28 12:18:12 +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
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 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 84e47bd7bb Bug37630: SQUASHED! Array Ptgs now implemented (at least the read and write functionality. No means to modify (yet!))
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@370987 13f79535-47bb-0310-9956-ffa450edef68
2006-01-21 05:40:07 +00:00
Jason Height 07f76e4bb6 Major landing of the following changes:
1) Full implementation of UnicodeStrings
2) exposure of RichText strings to the usermodel
3) Modification to SSTRecord to support duplicates. Fixes a few bugs
4) RecordInputStream *smart* ?? handeling of continue records!

Phew This took 6 months on and off to put together. Just happy to commit somethig

Report any problems!


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353769 13f79535-47bb-0310-9956-ffa450edef68
2005-08-18 07:06:44 +00:00
Avik Sengupta 668c108b82 Fix for bug 27272 : Unknown Ptg 3C and 3D
by Patrick Luby, thanks!
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353691 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 14:56:45 +00:00
Rainer Klute bf010cfa1b - Ironed out a whole bunch of Javadoc issues. Not that the documentation is any better now, but at least Javadoc complains no longer.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353622 13f79535-47bb-0310-9956-ffa450edef68
2005-01-02 01:00:53 +00:00
Glen Stampoultzis eeef2a1b12 Merged REL_2_BRANCH to head.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353586 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 08:52:54 +00:00
Glen Stampoultzis a4047ad573 New licence changes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353545 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 13:05:39 +00:00
Rainer Klute 2d858a367f More Javadoc issues fixed. "ant javadoc" now runs without any complaints. However, this does not mean the the documentation is fine. Please check your documentation!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353467 13f79535-47bb-0310-9956-ffa450edef68
2003-12-06 11:01:19 +00:00
Avik Sengupta e785cbdd46 Syncing to REL_2_BR: Macro functions and related fixes, by Paul Krause bug id:21444
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353326 13f79535-47bb-0310-9956-ffa450edef68
2003-08-31 06:16:57 +00:00
Avik Sengupta ca39e877a8 MERGE from REL_2_BRANCH: for better diffing during debugging, implement a toString method in Ptg
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353256 13f79535-47bb-0310-9956-ffa450edef68
2003-07-27 18:24:33 +00:00
Avik Sengupta 5aa6917b7c Merge from REL 2 BR:Added read support for unary plus and minus
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353246 13f79535-47bb-0310-9956-ffa450edef68
2003-07-25 20:11:27 +00:00
Danny Muid b693562626 FormulaParser patch to address:
1) embedded ifs
2) GreaterEqual, LessEqual, NotEqual
3) Refactored stringliteral detection
BR: 19079
Submitted By: fred at stsci dot edu


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353089 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 03:40:52 +00:00
Avik Sengupta 3bcff21ed0 recognise new ptg
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353084 13f79535-47bb-0310-9956-ffa450edef68
2003-05-05 15:35:39 +00:00
Avik Sengupta b59b8abe8e Addition of GreaterThan and LessThan in formulas (IF Functions)
Originally submitted by Cameron Riley (PR 16392). Thanks.
Added simple tests at high and low level, more complicated cases to be tested
<= and >= probably still wont work!
Had to apply diff by hand, one horrible line at a time (yikes!!)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353081 13f79535-47bb-0310-9956-ffa450edef68
2003-05-04 18:22:09 +00:00
Glen Stampoultzis 64967ec532 Changed copyright from 2002 to 2003
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353070 13f79535-47bb-0310-9956-ffa450edef68
2003-04-30 04:39:21 +00:00
Glen Stampoultzis 8d97fa765a Support for freezepanes / split panes / header rows and columns on printouts... see documentation for details.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353002 13f79535-47bb-0310-9956-ffa450edef68
2003-02-06 10:29:45 +00:00
Andrew C. Oliver 7ee81420f4 Bool formulas http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13078
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352865 13f79535-47bb-0310-9956-ffa450edef68
2002-10-01 17:37:47 +00:00
Andrew C. Oliver a7b2c9fb69 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11721 clone for sheets
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352836 13f79535-47bb-0310-9956-ffa450edef68
2002-09-05 00:26:28 +00:00
Andrew C. Oliver a00135ad17 preliminary support for "if" formulas. Doesn't work yet because of this
strange "aggregate this stuff" function
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352834 13f79535-47bb-0310-9956-ffa450edef68
2002-09-02 21:16:29 +00:00
Glen Stampoultzis f42b7bbdbb Fixes to chart handling and to a hidden bug to do with where the beginning of the sheet is located. Also fixed an issue with doubles and the NaN values. Some of this could use some more refactoring.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352827 13f79535-47bb-0310-9956-ffa450edef68
2002-08-21 11:56:49 +00:00
Andrew C. Oliver fff3eb8fc5 While I don't consider this idea, I like it much better than having the
circular dependancies.  This should fix the bug I caused the other day by
removing Thread Local.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352765 13f79535-47bb-0310-9956-ffa450edef68
2002-07-15 00:14:40 +00:00
Avik Sengupta 9ed02e1a27 additional classes handled, submitted by Jason Hoffman
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352692 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 18:06:52 +00:00
Avik Sengupta e346cb4473 More formula enhancements, particularly for fixed args tFunc 0x21/41/61. Also try not to bomb on unknown Ptg
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352668 13f79535-47bb-0310-9956-ffa450edef68
2002-06-11 20:18:28 +00:00
Avik Sengupta 2072902e33 Framework to set the class of a token
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352651 13f79535-47bb-0310-9956-ffa450edef68
2002-05-27 21:00:12 +00:00
Andrew C. Oliver c38fc6e7a0 Patches from Werner Froidevaux
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352649 13f79535-47bb-0310-9956-ffa450edef68
2002-05-26 23:19:58 +00:00
Avik Sengupta 65aa73beb4 committing patches supplied by Matthew McClain for bug 8757. This will handle most cases, since majority formulas expect value class params. Ptgs to be refactored for full functionality
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352600 13f79535-47bb-0310-9956-ffa450edef68
2002-05-06 18:23:24 +00:00
Andrew C. Oliver b065e8de26 Avik's patches http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8665
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352571 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 23:22:27 +00:00
Andrew C. Oliver f2a0d4f97a functions + att (optimized functions) looking good. Just filling out big ol function table.
Soon will support most excel functions with areas.  need arrays next.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352566 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 03:05:07 +00:00
Andrew C. Oliver 453fe100c5 got SUM working and some debug stuff.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352563 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 01:05:49 +00:00
Andrew C. Oliver e01cb449a6 avik's patches and stuff.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352560 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 00:18:29 +00:00
Andrew C. Oliver 263d320010 Made Formula Record cough up some info useful for debugging, made functions
get written, but they crash excel right now.  Areas seem to basically work.
I need to investigate further, at first glance, our xls looks the same as
Excel's.  Have to find out what its doing to make it crash like that.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352551 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 01:25:28 +00:00
Andrew C. Oliver 7bd031a16b Handles reading other forms of Reference PTG
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352547 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 22:31:55 +00:00
Andrew C. Oliver 1e7eb23ac0 changing to support > just ValueRef
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352544 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 21:35:57 +00:00
Andrew C. Oliver d576bbc109 made parenthesis work in and out
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352529 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 16:40:37 +00:00
Andrew C. Oliver 7aa28a6d00 removes parts of my former stuff in favor of aviks and adds concat operator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352527 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 16:33:57 +00:00
Andrew C. Oliver 37175f6907 Avik's latest formula patches
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352498 13f79535-47bb-0310-9956-ffa450edef68
2002-04-27 14:07:53 +00:00
Andrew C. Oliver 541a4620a1 Patches from libin, synch up, integrate...
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352471 13f79535-47bb-0310-9956-ffa450edef68
2002-04-23 22:24:41 +00:00
Andrew C. Oliver 002cddb7ca seperated out my experimental parsing stuff.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352455 13f79535-47bb-0310-9956-ffa450edef68
2002-04-20 23:42:10 +00:00
Andrew C. Oliver 7f3c088a68 went ahead and synced up. We'll get this up to spec shortly.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352442 13f79535-47bb-0310-9956-ffa450edef68
2002-04-18 12:00:53 +00:00
Andrew C. Oliver 895297512d Initial revision
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352063 13f79535-47bb-0310-9956-ffa450edef68
2002-01-31 02:22:28 +00:00