865 Commits

Author SHA1 Message Date
Avik Sengupta
ee3eb38160 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
749ff5363b 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
07fa95cb03 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
ac4787a2b6 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
efff225a03 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
Avik Sengupta
f59c9868b7 bug 17374 - typo in HSSFFont
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353413 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 02:40:12 +00:00
Shawn Laubach
ed4119e73c 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
Jason Height
d8e4668aea Branch. Dont forget to set the palette pos of the new palette record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353404 13f79535-47bb-0310-9956-ffa450edef68
2003-10-14 23:22:29 +00:00
Jason Height
4f8a7a6ee9 Changed initial palette pos to -1 so we know when it has been set.
Part of fix for 16559


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353401 13f79535-47bb-0310-9956-ffa450edef68
2003-10-14 22:44:55 +00:00
Jason Height
9013850885 Patch for bug 16559.
Custom Palettes now work.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353400 13f79535-47bb-0310-9956-ffa450edef68
2003-10-14 22:43:42 +00:00
Jason Height
ac16615ca4 Fix for big strings
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353398 13f79535-47bb-0310-9956-ffa450edef68
2003-10-14 07:53:07 +00:00
Jason Height
5de3bdc7ac Updates to test to reflect change of API
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353397 13f79535-47bb-0310-9956-ffa450edef68
2003-10-14 07:42:38 +00:00
Jason Height
90d952ef6d Patch to fix bugs 15556 and 22742.
Double byte handeling of SSTDeserializer now works.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353396 13f79535-47bb-0310-9956-ffa450edef68
2003-10-14 07:18:17 +00:00
Avik Sengupta
cb22ce4036 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
6afe98d50a Someone said Concatenate doesnt work, so here's a testcase to prove that it works
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353392 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 16:42:17 +00:00
Avik Sengupta
102147a40b PR: 13921
Sheet name should not be greater than 31 chars and should not contain \/?*[]


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353385 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 19:21:57 +00:00
Avik Sengupta
4f84d2d379 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
3bd401164b 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
e9adff397e adding file back as binary
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353378 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 17:28:35 +00:00
Avik Sengupta
271c5cb62c sorry, will add back with -kb
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353377 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 17:26:52 +00:00
Avik Sengupta
ecd840acae 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
a537f19d78 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
Jason Height
60d303c075 ExtSST serialization pacth to fix corruption when there are a large number of strings in the SST record.
It seems that only 128 buckets can be serialized. This patch addresses this excel oddity.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353372 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 08:08:05 +00:00
Avik Sengupta
6ee42ed591 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
Jason Height
e6ffb1fe92 Back patched my changes from HEAD
- Zero length LabelRecord
  - Incorrect offset for LabelRecord
  - ExtSST serializetion (length not calculated correctly)
  - StringRecord is in value section


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353367 13f79535-47bb-0310-9956-ffa450edef68
2003-09-23 00:35:16 +00:00
Glen Stampoultzis
802f50a784 Fixed bug relating to rewriting empty workbooks. The aggregates were not being added to the records in this case.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353363 13f79535-47bb-0310-9956-ffa450edef68
2003-09-21 09:58:24 +00:00
Glen Stampoultzis
85f45b89f3 Small unimportant fix to example code.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353359 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 10:52:44 +00:00
Danny Mui
39625616b7 Changed merged region tracking to use object pointers rather than
index pointers so we don't have to make sure the indices are up to date.
PR: 22922	
Submitted by:	xuemin@appresso.com (Xuemin Guan)
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS:   If this change addresses a PR in the problem report tracking
CVS:   database, then enter the PR number(s) here.
CVS: Obtained from:
CVS:   If this change has been taken from another system, such as NCSA,
CVS:   then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS:   If this code has been contributed to Apache by someone else; i.e.,
CVS:   they sent us a patch or a new module, then include their name/email
CVS:   address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS:   If we are doing pre-commit code reviews and someone else has
CVS:   reviewed your changes, include their name(s) here.
CVS:   If you have not had it reviewed then delete this line.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353343 13f79535-47bb-0310-9956-ffa450edef68
2003-09-06 18:56:29 +00:00
Glen Stampoultzis
2651c864cb Fixed up some issues with the system out logger.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353334 13f79535-47bb-0310-9956-ffa450edef68
2003-09-04 03:47:25 +00:00
Avik Sengupta
b0473f7518 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
ba9adbac75 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
adf6cc4bf1 Macro functions testcase
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353313 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 19:18:19 +00:00
Avik Sengupta
734dd0f85f 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
d47d39368e 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
39abecc815 Slow input stream patch, bug 13478
Thanks Tony Chao and Chris Nokleberg


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353277 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 19:36:37 +00:00
(no author)
58dc8eb202 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@353276 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 19:35:19 +00:00
Avik Sengupta
7076f37ab3 bug id 21674: Javadoc changes. Submitted by Eric Ladner. Thanks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353272 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 17:55:09 +00:00
Rainer Klute
8cefbc27d9 Test case fixed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353266 13f79535-47bb-0310-9956-ffa450edef68
2003-07-28 16:45:39 +00:00
Avik Sengupta
db7a21d5e4 Made code compilable, on behalf Rainer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353262 13f79535-47bb-0310-9956-ffa450edef68
2003-07-28 10:18:13 +00:00
Rainer Klute
9349ec0539 Bug 21775
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353254 13f79535-47bb-0310-9956-ffa450edef68
2003-07-26 22:01:37 +00:00
(no author)
16d980df5c 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@353253 13f79535-47bb-0310-9956-ffa450edef68
2003-07-26 22:01:37 +00:00
Avik Sengupta
b5b9a5eb07 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
f4b2cb8a2c 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
4e0bf36b6c 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
Shawn Laubach
0a5eee5799 Applied the pertinent patch for bug #21439 by Paul Pound to get the header/footer from the sheet and not a chart.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353240 13f79535-47bb-0310-9956-ffa450edef68
2003-07-24 18:42:46 +00:00
Glen Stampoultzis
81cb9fe739 Fixed a small problem with hex dump
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353209 13f79535-47bb-0310-9956-ffa450edef68
2003-07-13 13:51:53 +00:00
Glen Stampoultzis
f80ad897df A few things for the 2.0-pre2 release.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353208 13f79535-47bb-0310-9956-ffa450edef68
2003-07-13 13:16:33 +00:00
(no author)
b809343b65 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
Andrew C. Oliver
c3ce777e0d pandering to google
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353188 13f79535-47bb-0310-9956-ffa450edef68
2003-07-03 18:35:01 +00:00
Avik Sengupta
26585a3072 Bug id 21086
incorrect comparison of RGB values in HSSFPalette
submitted by Tobias Haubner .. thanks!


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353184 13f79535-47bb-0310-9956-ffa450edef68
2003-07-01 15:07:59 +00:00