Commit Graph

78 Commits

Author SHA1 Message Date
No Author 8f25bb9dc2 This commit was manufactured by cvs2svn to create tag 'before21444'.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/tags/before21444@353314 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 19:18:19 +00:00
Andrew C. Oliver 7374603552 removed non-multiplatform/1.3.x unit test
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353085 13f79535-47bb-0310-9956-ffa450edef68
2003-05-06 12:41:37 +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
Andrew C. Oliver 5b16f75117 line feeds are good
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353074 13f79535-47bb-0310-9956-ffa450edef68
2003-05-01 13:00:46 +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
Andrew C. Oliver 470fbc4620 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18947
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353065 13f79535-47bb-0310-9956-ffa450edef68
2003-04-22 16:39:01 +00:00
Avik Sengupta cd1a9a6452 Further to bug 17491:set sheet order - now made accessible from usermodel, rudimentary testcase added. Testcase to be enhanced.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353032 13f79535-47bb-0310-9956-ffa450edef68
2003-03-18 19:26:12 +00:00
Danny Muid 83b4c947da Support for the SUMIF formula and non-alpha string literals
PR:
 Also fixes Bug #17582
Obtained from:
Submitted by:
 Test case for non-alpha string literals provided by ext-jens.riis@nokia.com (Jens Riis)
Reviewed by:
 Thanks Avik for your FormulaParser help


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353028 13f79535-47bb-0310-9956-ffa450edef68
2003-03-17 04:47:58 +00:00
Danny Muid 9dfd573ce7 FormulaParser changes to support IF function(s)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353027 13f79535-47bb-0310-9956-ffa450edef68
2003-03-15 01:57:41 +00:00
Danny Muid 8fca746cb1 Added remove and another PrintArea setting method and documentation update
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353025 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 21:52:37 +00:00
Danny Muid ad2d4ed3eb Print Area Patch
RFE Bug #14089
 Also Includes Name Reference refactoring to support references of the form: Sheet1!$A$1:$B$4 instead of Sheet1.$A$1:$B$4
PR:
 Bug #9632
 Bug #16411
 Bug #16315
 Bug #13775 (1.5 Bug)
Submitted by:
 testMultiNamedRange (TestNamedRange.java) Test Case Submitted by czhang@cambian.com (Chun Zhang)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353021 13f79535-47bb-0310-9956-ffa450edef68
2003-03-06 20:41:17 +00:00
Avik Sengupta 163938a466 testcase for changing sheet order
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353019 13f79535-47bb-0310-9956-ffa450edef68
2003-03-01 17:55:36 +00:00
Avik Sengupta e378cb0b2d fixed clone sheet bug. Thanks to:
Alessandro Vernet for a patch thats part of this commit
Toshiaki Kamoshida for a testcase and lots of debugging
Dennis Doubleday & Henning Boeger for reporting the bugs
Jason Height who wrote cloneSheet in the first place.
Sorry it took so long to patch.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353017 13f79535-47bb-0310-9956-ffa450edef68
2003-03-01 14:27:43 +00:00
Shawn Laubach 8ca979d116 Fix for bug #15019. NullPointerException in shiftRows. Added the test case and moved the other test case into the file. Put Toshiaki Kamoshida as an author of the test case. Test failed. Added patch. Test worked.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353004 13f79535-47bb-0310-9956-ffa450edef68
2003-02-09 21:12:35 +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
Avik Sengupta 30e58e3952 PR: 16145 - tests delete their output files
Submitted by: Brian Sanders


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352988 13f79535-47bb-0310-9956-ffa450edef68
2003-01-26 20:34:39 +00:00
Avik Sengupta 1f65eb415b added new files for custom palette patch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352979 13f79535-47bb-0310-9956-ffa450edef68
2003-01-02 15:09:15 +00:00
Avik Sengupta 5052940511 PR:15677
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352975 13f79535-47bb-0310-9956-ffa450edef68
2003-01-01 09:24:39 +00:00
Glen Stampoultzis 04e78aae67 Some reformatting only.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352965 13f79535-47bb-0310-9956-ffa450edef68
2002-12-26 23:14:09 +00:00
Avik Sengupta babbf9384f PR:15324- styles in formula cells; submitted by Danny Mui
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352961 13f79535-47bb-0310-9956-ffa450edef68
2002-12-25 17:36:05 +00:00
Avik Sengupta edad0e388a PR:15537 - set active cell in sheet; submitted by Brian Sanders
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352960 13f79535-47bb-0310-9956-ffa450edef68
2002-12-25 17:27:08 +00:00
Avik Sengupta 737b732f1a PR:15037 - Unit Tests for 1904 date windowing; submitted by Dan Sherman
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352937 13f79535-47bb-0310-9956-ffa450edef68
2002-12-12 09:02:26 +00:00
Andrew C. Oliver 9c206deed3 unit test for date formula
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352898 13f79535-47bb-0310-9956-ffa450edef68
2002-10-24 02:14:29 +00:00
Andrew C. Oliver 8801e51f7e javadoc'd it.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352893 13f79535-47bb-0310-9956-ffa450edef68
2002-10-09 20:38:00 +00:00
Andrew C. Oliver 4805961e1a totally needs some javadoc (working on it now) .. This is TestHSSFCell
which I wrote for the upcoming commercial version of POI called SOA Workbook.
This just tests that boolean and error cells are supported.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352891 13f79535-47bb-0310-9956-ffa450edef68
2002-10-09 19:45:23 +00:00
Glen Stampoultzis a46e6bdc12 Some changes to record generation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352885 13f79535-47bb-0310-9956-ffa450edef68
2002-10-09 00:05:55 +00:00
Shawn Laubach 4119cfbcc4 Added ability to shift rows in a sheet.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352881 13f79535-47bb-0310-9956-ffa450edef68
2002-10-07 16:26:24 +00:00
Shawn Laubach 89e9ee6890 Added test case to ensure that user defined formats get written to the file and then read back properly. Helps ensure bugs like http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13248 does not reoccur.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352879 13f79535-47bb-0310-9956-ffa450edef68
2002-10-04 20:33:22 +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 e8a78447ac http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12349
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352841 13f79535-47bb-0310-9956-ffa450edef68
2002-09-11 02:30:43 +00:00
Andrew C. Oliver 32543e4e8c *read only* support for optimized ifs. meaning "if(A1=A3,A1,A2)" and stuff.
This optimized if has the conceptual clarity of a featherweight elephant
carrier used as a pizza topping.  This concludes my therapy session.  I love
this project :-).  Next week I'll try and get write support underway unless
someone beats me to it.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352839 13f79535-47bb-0310-9956-ffa450edef68
2002-09-06 03:56: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 72965e9a0d Added (test first) test case for if formulas
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352833 13f79535-47bb-0310-9956-ffa450edef68
2002-09-02 16:13:48 +00:00
Andrew C. Oliver 0cb31a8d4d http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11010 - great patch by
sergei.... if he'd learn to do diff -u patches instead of the nasty kind I'd be
loving his work alot right now ;-)
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352831 13f79535-47bb-0310-9956-ffa450edef68
2002-09-02 02:11:16 +00:00
Andrew C. Oliver 9f435bb6e8 custom data formats patch: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11068
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352825 13f79535-47bb-0310-9956-ffa450edef68
2002-08-15 14:13:34 +00:00
Avik Sengupta 3b6f854e14 writing string formulas now work
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352822 13f79535-47bb-0310-9956-ffa450edef68
2002-08-03 18:16:54 +00:00
Avik Sengupta a6974eddf4 Refactoring for names, and tests. More to follow. Only publicly viewable change is setSheetName in HSSFName is now private, since it was dangerous.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352736 13f79535-47bb-0310-9956-ffa450edef68
2002-07-01 17:29:31 +00:00
Avik Sengupta 70c361f9dd better support for sheet functions.... more refactoring after i have written tests for named range. Inclueds a fix for bug 9632
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352725 13f79535-47bb-0310-9956-ffa450edef68
2002-06-26 18:05:40 +00:00
Avik Sengupta 3d30c55466 first cut support for sheet references. Writing works fine, reading also works except for bug 9632 .. which means that the formula string retrieved is incorrect. will fix soon
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352723 13f79535-47bb-0310-9956-ffa450edef68
2002-06-25 08:35:16 +00:00
Avik Sengupta 1ef8d27a1e fix for bug 9802, we write simple sum ptg, tho we can also read attr ptg. trying to write an attr ptg messes up the class change algo.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352687 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 12:40:03 +00:00
Avik Sengupta ecc283b69d updated tests without ReferenceUtil
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352669 13f79535-47bb-0310-9956-ffa450edef68
2002-06-11 20:20:41 +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 b7511eba7a great patch by craig@adaptivetrade.com (Craig Kelley) --
Now rows are interperated properly as ushorts versus shorts  (java ints)


PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352609 13f79535-47bb-0310-9956-ffa450edef68
2002-05-10 03:01:11 +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
Avik Sengupta 9a6fc596dd absolute refs in area references, plus some tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352599 13f79535-47bb-0310-9956-ffa450edef68
2002-05-05 16:55:41 +00:00
Avik Sengupta 94998b29f5 Absolute vs relative references now work .. refactored ReferenceUtils in the bargain
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352598 13f79535-47bb-0310-9956-ffa450edef68
2002-05-04 15:45:05 +00:00
Avik Sengupta 8ac8b510cf fixed the tests, but they still work
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352596 13f79535-47bb-0310-9956-ffa450edef68
2002-05-03 15:47:20 +00:00
Andrew C. Oliver 46e32166e4 wow... I thought I was doing test first....but um...it turns out it already works. Avik ROCKS!!!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352575 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 01:41:51 +00:00
Andrew C. Oliver 1ea726c701 probably nothing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352573 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 01:19:28 +00:00
Andrew C. Oliver 3d1b59dbb3 oops left off avik's test case
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352572 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 01:11:05 +00:00