Commit Graph

360 Commits

Author SHA1 Message Date
Glen Stampoultzis
54082fe268 Missed something with repeating rows and columns
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353566 13f79535-47bb-0310-9956-ffa450edef68
2004-07-03 12:25:12 +00:00
Glen Stampoultzis
6ab34bac0b Patch from Michael to fix bug 28203
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353565 13f79535-47bb-0310-9956-ffa450edef68
2004-06-27 11:21:13 +00:00
Glen Stampoultzis
8a2f845479 Fix for bug 29747
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353564 13f79535-47bb-0310-9956-ffa450edef68
2004-06-27 11:08:02 +00:00
Glen Stampoultzis
2090d7dcab Bugfix: http://issues.apache.org/bugzilla/show_bug.cgi?id=24925
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353552 13f79535-47bb-0310-9956-ffa450edef68
2004-04-29 07:04:04 +00:00
Glen Stampoultzis
4718592e15 Fixed some drawString positioning problems with EscherGraphics.java
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353538 13f79535-47bb-0310-9956-ffa450edef68
2004-03-21 22:38:55 +00:00
Glen Stampoultzis
486f0a474b More license stuff. Boy this is fun.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353514 13f79535-47bb-0310-9956-ffa450edef68
2004-02-28 12:56:00 +00:00
Glen Stampoultzis
e46cc85c16 Applying new license
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353513 13f79535-47bb-0310-9956-ffa450edef68
2004-02-22 11:54:53 +00:00
Danny Muid
c96db64e3c Removed variable that stores the number of merged regions in
its record since the array should be the basis for this number.  Less
manual index tracking, the better.

Thanks for problem report!
PR: 27005
Reported by: skalchihin@mgsm.ru


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353510 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 16:48:17 +00:00
Glen Stampoultzis
8e27ed87eb Biff viewer changes for office drawing support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353498 13f79535-47bb-0310-9956-ffa450edef68
2004-02-10 22:01:31 +00:00
Glen Stampoultzis
9ef45e5f61 User model for drawing format support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353497 13f79535-47bb-0310-9956-ffa450edef68
2004-02-10 22:00:27 +00:00
Glen Stampoultzis
3df231642a Model for drawing format support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353496 13f79535-47bb-0310-9956-ffa450edef68
2004-02-10 21:59:21 +00:00
Glen Stampoultzis
104093d45e Escher records for drawing format support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353495 13f79535-47bb-0310-9956-ffa450edef68
2004-02-10 21:58:00 +00:00
Danny Muid
bf326c25a0 Patch to support Horizontal and Vertical Page breaks, included testcases
and files.
PR:
Obtained from:
Submitted by:	
Reviewed by:	
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@353493 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 22:41:27 +00:00
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
Avik Sengupta
8d576a6466 Formula Parser fixes with tests, by Peter M Murray
Bug 25457.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353474 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 07:49:16 +00:00
Shawn Laubach
b676e6b839 Added static to the constants. Also, file had lost all newlines and fixed this along the way (which is why it looks like a big commit).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353471 13f79535-47bb-0310-9956-ffa450edef68
2003-12-31 15:33:29 +00:00
Danny Muid
6502a1a361 Really clone the merged regions...Thanks to Jason for pointing this out.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353453 13f79535-47bb-0310-9956-ffa450edef68
2003-11-17 21:32:11 +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
Jason Height
23a825f060 Fix to 24519. Call to getCustomPalette() from a newly created workbook
now works


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353440 13f79535-47bb-0310-9956-ffa450edef68
2003-11-09 21:01:52 +00:00
Shawn Laubach
8fcb89ec40 Fix supplied for bug 24397 where some compilation got ambiguous classes. Explicitly imports the classes. Patch supplied by Jean-Pierre Paris.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353437 13f79535-47bb-0310-9956-ffa450edef68
2003-11-04 19:29:55 +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
fe417c02ba 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
Jason Height
242817389a 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
1736810bb7 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
351a6859f5 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
2ef26b5ff5 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
aec407bceb 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
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
fd2cc4b7d1 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
Jason Height
1afc8c1cb4 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
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
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
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
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
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
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
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
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
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