Commit Graph

104 Commits

Author SHA1 Message Date
Avik Sengupta c966975782 fix for bug 25695
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353479 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 19:08:43 +00:00
Danny Muid b08a252916 The cloned reference for merged cells did not create a new collection,
so deletes cascaded to the original.
Reported by: huri@users.sourceforge.net
PR:  22720


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353451 13f79535-47bb-0310-9956-ffa450edef68
2003-11-17 21:10:35 +00:00
Avik Sengupta d6fac7a361 fix for bug 16560. Probably more documentation reqd.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353426 13f79535-47bb-0310-9956-ffa450edef68
2003-10-30 18:07:33 +00:00
Avik Sengupta d988eb7bd2 testcase for bug 18800
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353424 13f79535-47bb-0310-9956-ffa450edef68
2003-10-30 17:20:26 +00:00
Avik Sengupta 2de64d96e5 Testcase for 24215
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353422 13f79535-47bb-0310-9956-ffa450edef68
2003-10-30 16:23:42 +00:00
Avik Sengupta a26c21dbcc added testcase for bug 19599
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353420 13f79535-47bb-0310-9956-ffa450edef68
2003-10-28 10:28:54 +00:00
Avik Sengupta d193c7c1a4 More double byte string read Testcases!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353418 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 03:56:31 +00:00
Avik Sengupta fcd6ef1334 Testcase for bug 13224 - reference to Name
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353416 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 03:38:57 +00:00
Avik Sengupta 1787340889 Added testcases for the double byte string read error.
We need to careful about regressions, particularly in HEAD


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353415 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 03:04:11 +00:00
Shawn Laubach ea54575258 Update to Quick Guide to better represent what the Fit To example is for.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353407 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 17:16:03 +00:00
Avik Sengupta 926262df8d Sheet naming checks caused a test failure in cloneSheet.
CloneSheet used an invalid character, which we now dont allow! Corrected.
Good thing we have tests!!


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353393 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 16:45:01 +00:00
Avik Sengupta 153364c993 Testcases for bug 15375
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353383 13f79535-47bb-0310-9956-ffa450edef68
2003-10-08 18:07:32 +00:00
Avik Sengupta 8d5e50f113 testcase for bug 14330
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353380 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 17:40:08 +00:00
Avik Sengupta 62a5ad3c80 testcase for bug 14460
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353376 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 17:25:31 +00:00
Avik Sengupta 4aee13442d Testcase for bug 15353
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353374 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 10:16:28 +00:00
Avik Sengupta 70a2698295 testcases for bug 23094
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353369 13f79535-47bb-0310-9956-ffa450edef68
2003-09-23 18:42:40 +00:00
Avik Sengupta 3e26a5403a access the result of string formulas
getStringValue on HSSFCell now returns the formula result if it's a string formula


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353325 13f79535-47bb-0310-9956-ffa450edef68
2003-08-30 13:41:56 +00:00
Avik Sengupta a1b3efa614 Facility to use Macro functions in formulas.
Major functionality upgrade, thanks to Paul Krause
Some of the Named Range and Area3d functionality can now be enhanced using the features of this patch.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353315 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 19:40:05 +00:00
Avik Sengupta e1c8093b7a Bug id 21722: Protect record to Sheets
Submitted by Rick Berman..Thanks.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353310 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 18:54:28 +00:00
Avik Sengupta e035d3ecfd Testcase for bug 13769 .. thanks michael tosdevin
the bug has already been fixed in 2.0pre3


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353278 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 19:59:49 +00:00
Avik Sengupta abe41db286 bug 15228 and related fixes:
1. Correct structure of NamePtg
2. Correct Unicode handling of strings in StyleRecord and StringPtg
3. Workaround for SheetReferences
4. Ensure correct handling in NameRecord if we cant parse PTGs
5. Ensure correct order of String and SharFormula records
6. Testcase!


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353244 13f79535-47bb-0310-9956-ffa450edef68
2003-07-25 18:22:20 +00:00
Shawn Laubach b6967b691a Added features to test and change the display of gridlines, formulas, and row/column headings. This is in reference to bug 21884. Started keeping track of the WindowTwoRecord reference to easy update without a search. Modified other procedures to use the reference where possible.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353243 13f79535-47bb-0310-9956-ffa450edef68
2003-07-25 14:28:52 +00:00
Shawn Laubach 466f9aa1d3 Fixed the problem in bug# 16756 by making sure the same HSSFDataFormat object is returned for a given book. Also included the new margin code that Mr. Oliver wanted (just because in was in the particular directory).
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353241 13f79535-47bb-0310-9956-ffa450edef68
2003-07-24 19:22:34 +00:00
No Author 4a12af1b72 This commit was manufactured by cvs2svn to create branch 'REL_2_BRANCH'.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353207 13f79535-47bb-0310-9956-ffa450edef68
2003-07-13 13:16:33 +00:00
Danny Muid c7f251cdca Adding the shift mergedRegion ability to the Release 2 Branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353170 13f79535-47bb-0310-9956-ffa450edef68
2003-06-28 00:00:56 +00:00
Danny Muid 1b39aeae22 Fixed merged pointer issues and brought over from HEAD
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353168 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 23:21:17 +00:00
Danny Muid 97cdd24242 Committing RemoveMerged fix to the release branch.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353165 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 22:05:20 +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