Commit Graph

1051 Commits

Author SHA1 Message Date
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
Jason Height
f120f93536 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
2b241e6823 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
4cd31ff316 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 Muid
e533ca4d75 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
e57ffd3bf5 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
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
2ad62ccff7 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
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
Rainer Klute
9f0fb6e148 Forrest URL added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353284 13f79535-47bb-0310-9956-ffa450edef68
2003-08-02 19:49:16 +00:00
Rainer Klute
68b2ea323f Remove user-specific eclipse settings from the repository and added them to .cvsignore
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353281 13f79535-47bb-0310-9956-ffa450edef68
2003-08-02 19:34:30 +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
02eaa94535 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
250442a0a2 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
f4d8913964 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
Andrew C. Oliver
b14f2927bf this is the pre3 release...
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353268 13f79535-47bb-0310-9956-ffa450edef68
2003-07-28 18:45:14 +00:00
Rainer Klute
4d6ffc7b93 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
4d9102eee3 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
71060cc5c7 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
6e37d3327e 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
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
Shawn Laubach
1214a0004c 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
abd6068a14 Ignore the build directory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353236 13f79535-47bb-0310-9956-ffa450edef68
2003-07-24 01:50:28 +00:00
Andrew C. Oliver
c3e8016fcf make rel 2 branch run tests under gump
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353235 13f79535-47bb-0310-9956-ffa450edef68
2003-07-23 01:28:26 +00:00
Glen Stampoultzis
fd7e42b9d3 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
f719da9ca8 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
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
Andrew C. Oliver
7be98ee10c 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
181ff7fb54 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
Avik Sengupta
c472df8fd1 Bug id 20696
Workbook.getSheetIndex() needs to ignore case.
Submitted by Eric Lander .. thanks!


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353183 13f79535-47bb-0310-9956-ffa450edef68
2003-07-01 14:52:15 +00:00
Avik Sengupta
a67d868825 Bug id 21027
Patch to fix misc clone issues, submitted by Nial Pemberton .. thanks!


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353182 13f79535-47bb-0310-9956-ffa450edef68
2003-07-01 14:47:34 +00:00
Glen Stampoultzis
ff5c232ffb Fixed concurrency problem in HexDump
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353180 13f79535-47bb-0310-9956-ffa450edef68
2003-06-30 12:21:50 +00:00
Glen Stampoultzis
230c71eae7 Removed some unused stuff from our good friend the unknown record. Also fixed a little bug that probably wasn't effecting anyone.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353173 13f79535-47bb-0310-9956-ffa450edef68
2003-06-28 05:52:14 +00:00
Glen Stampoultzis
9dcb5587ea Fixing the line endings and problem make readData public.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353172 13f79535-47bb-0310-9956-ffa450edef68
2003-06-28 05:43:09 +00:00
Danny Muid
a6e14b5490 SharedFormula clone patch that was already applied to HEAD
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353171 13f79535-47bb-0310-9956-ffa450edef68
2003-06-28 00:21:47 +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
9c9b3a6094 rolled concurrency fix into branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353162 13f79535-47bb-0310-9956-ffa450edef68
2003-06-26 22:16:28 +00:00
Glen Stampoultzis
f66a003844 Removed some unused fields. This commit shall be known as the mini-performance-branch-which-is-not-actually-a-branch.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353159 13f79535-47bb-0310-9956-ffa450edef68
2003-06-26 13:00:04 +00:00
Glen Stampoultzis
b0e436a71e A real implementation of the ExtSST record. The old implementation just wrote a fake record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353158 13f79535-47bb-0310-9956-ffa450edef68
2003-06-26 12:33:35 +00:00
Avik Sengupta
07bc7cde0f Spell Check
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353124 13f79535-47bb-0310-9956-ffa450edef68
2003-06-08 19:40:48 +00:00
Avik Sengupta
063c2cc756 for better diffing during debugging, implement a toString method in Ptg
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353123 13f79535-47bb-0310-9956-ffa450edef68
2003-06-08 12:30:43 +00:00
Avik Sengupta
17e488c73b cleaning mess of no newlines... AGAIN. dunno how many more to gocvs diff src/java/org/apache/poi/hssf/record/ExternSheetRecord.java
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353119 13f79535-47bb-0310-9956-ffa450edef68
2003-06-04 12:24:13 +00:00
Avik Sengupta
c8b99afcae Removed the mess created by lost line endings. PLEASE take care the next time you commit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353118 13f79535-47bb-0310-9956-ffa450edef68
2003-06-03 13:14:47 +00:00
Avik Sengupta
b2bd33c3bf Added read support for unary plus and minus. Parser to be updated
for write support.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353117 13f79535-47bb-0310-9956-ffa450edef68
2003-06-03 12:42:09 +00:00
Avik Sengupta
0e21588438 Added ability to debug testcases using jpda, also refactored a bit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353116 13f79535-47bb-0310-9956-ffa450edef68
2003-06-02 08:03:30 +00:00