Commit Graph

547 Commits

Author SHA1 Message Date
Rainer Klute
959277eee5 Bug 21775
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353251 13f79535-47bb-0310-9956-ffa450edef68
2003-07-26 21:17:17 +00:00
Rainer Klute
203b9dcd5e *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353250 13f79535-47bb-0310-9956-ffa450edef68
2003-07-26 21:14:39 +00:00
Tetsuya Kitahata
9af1ac7f8a Rewinded: StringUtil.java: Sync to REL_2 BRANCH
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353249 13f79535-47bb-0310-9956-ffa450edef68
2003-07-26 08:53:22 +00:00
Rainer Klute
89c66423b4 Bug 21775
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353247 13f79535-47bb-0310-9956-ffa450edef68
2003-07-26 06:57:33 +00:00
Avik Sengupta
5aa6917b7c Merge from REL 2 BR:Added read support for unary plus and minus
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353246 13f79535-47bb-0310-9956-ffa450edef68
2003-07-25 20:11:27 +00:00
Shawn Laubach
df218dd45e Adding changes recently added to release 2. Includes rewrite of margin code, fixes for duplicate DataFormat, and cleanup of files I noticed that was 1 line.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353242 13f79535-47bb-0310-9956-ffa450edef68
2003-07-25 13:39:08 +00:00
Tetsuya Kitahata
a3c0dfd644 Fixed Weird Line Feed: Submitted by Toshiaki Kamoshida
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353239 13f79535-47bb-0310-9956-ffa450edef68
2003-07-24 16:58:09 +00:00
Andrew C. Oliver
7bf80d6965 comments
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/trunk@353224 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 15:29:20 +00:00
Andrew C. Oliver
eac9314581 shared formula ***pre-support*** doesn't work yet
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/trunk@353223 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 14:56:36 +00:00
Andrew C. Oliver
bdea32fe42 Beginnings of the performance-branch merge.
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/trunk@353222 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 02:48:17 +00:00
Andrew C. Oliver
cd3ac5e91f DoubleList for new poi-performance changes
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/trunk@353221 13f79535-47bb-0310-9956-ffa450edef68
2003-07-18 17:29:15 +00:00
Glen Stampoultzis
84cc8e8e03 Fixed some problems
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353220 13f79535-47bb-0310-9956-ffa450edef68
2003-07-18 12:20:18 +00:00
Shawn Laubach
4f7b99a548 Added reference in docs on how to get an instance of header/footer.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353200 13f79535-47bb-0310-9956-ffa450edef68
2003-07-09 20:21:15 +00:00
Shawn Laubach
976db97d3c Applied the pertinent patch for bug #21439 by Paul Pound to get the header/footer from the sheet and not a chart.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353199 13f79535-47bb-0310-9956-ffa450edef68
2003-07-09 20:20:22 +00:00
Glen Stampoultzis
a3d6a57ec3 Hex reader helper stuff.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353181 13f79535-47bb-0310-9956-ffa450edef68
2003-06-30 12:29:05 +00:00
Glen Stampoultzis
0e07f23fb3 Fixed concurrency problem in HexDump
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353179 13f79535-47bb-0310-9956-ffa450edef68
2003-06-30 12:20:55 +00:00
Danny Muid
886390a3da When shifting rows, added ability to shift the merged regions entirely
defined in that batch of rows.  If two cells are merged in a row, they
should still be merged after they're shifted.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353169 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 23:57:58 +00:00
Danny Muid
92bc16cca1 Fixing future bug when we support continue records for more than xxxx merged
regions.  Fetch the last merged record as the merged pointer if the current
one is killed.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353167 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 23:13:29 +00:00
Danny Muid
fb6c7e85de Round 2 with removing merged regions. The MergedRecords array would be emptied
when removing all the regions but the merged pointer was still being preserved.
Kill the pointer if the record is removed from the list so things are golden again.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353166 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 23:04:28 +00:00
Danny Muid
1c2ae742fd When removing one MergedRegion, the record was removed before it was ready,
causing a IndexOutOfBoundsException.  Shifted the remove after the get to fix
this.  TestCase should verify old functionality hasn't been broken.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353164 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 21:59:46 +00:00
Andrew C. Oliver
0ff1e673ab Fixed a rather nasty concurrency issue
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353161 13f79535-47bb-0310-9956-ffa450edef68
2003-06-26 22:10:54 +00:00
Glen Stampoultzis
3702367b37 Same changes as just went to the branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353160 13f79535-47bb-0310-9956-ffa450edef68
2003-06-26 13:33:47 +00:00
Tetsuya Kitahata
d768c461a6 Fixed line formatting. (2)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353148 13f79535-47bb-0310-9956-ffa450edef68
2003-06-19 13:14:14 +00:00
Tetsuya Kitahata
0efd3c5d47 Fixed line formatting.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353147 13f79535-47bb-0310-9956-ffa450edef68
2003-06-19 13:02:30 +00:00
Glen Stampoultzis
c8cc5be1d7 Missed the license header.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353140 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 13:16:09 +00:00
Glen Stampoultzis
80c47b4471 Fixed line formatting.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353139 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 13:06:34 +00:00
Glen Stampoultzis
6b4cc443c0 Fixing the line endings.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353129 13f79535-47bb-0310-9956-ffa450edef68
2003-06-14 05:52:21 +00:00
Danny Muid
dd33a37b2a Fixed support for Cloning SharedFormulas and FormulaAggregates leaving
out other values after it.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353115 13f79535-47bb-0310-9956-ffa450edef68
2003-06-02 02:47:44 +00:00
Danny Muid
6ef0113bfa Rolled back to older version and updated Copyright.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353111 13f79535-47bb-0310-9956-ffa450edef68
2003-05-27 23:58:44 +00:00
Danny Muid
779e381000 Fixed NameRecord deserialization when additional information (description) was specified
PR: 19862
Submitted by:
     lloydj@us.ibm.com


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353105 13f79535-47bb-0310-9956-ffa450edef68
2003-05-17 18:32:42 +00:00
Danny Muid
929dcf3fd5 Fixes AreaReference when a Sheet name is provided
PR: 19888
Submitted by:
     brett.knights@tanner.com
Test Case Provided by:
     Arne.Clauss@gedas.de


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353104 13f79535-47bb-0310-9956-ffa450edef68
2003-05-17 17:53:38 +00:00
Shawn Laubach
7b6ec9633e Added ability to copy row height during shift. Also gave the ability to reset the row height on a shift for the original rows.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353100 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 16:30:46 +00:00
Danny Muid
97fcb16032 Made sure all row records for the sheet are aggregated since rows are skipped
if a formula yields a String.
PR: 15062


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353095 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 12:39:08 +00:00
Danny Muid
b0d1df10d3 Patch to support reading in Shared Formulas
1) Added new Record: SharedFormulaRecord that is basically a storage area
2) Enabled ExpPtg to store and serialize data for repeating formulas
3) Updated the aggregates to store the SharedFormulaRecord appropriately


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353090 13f79535-47bb-0310-9956-ffa450edef68
2003-05-08 00:02:03 +00:00
Danny Muid
b693562626 FormulaParser patch to address:
1) embedded ifs
2) GreaterEqual, LessEqual, NotEqual
3) Refactored stringliteral detection
BR: 19079
Submitted By: fred at stsci dot edu


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353089 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 03:40:52 +00:00
Avik Sengupta
a1d25d01ea PR 13292, size of FuncPtg
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353087 13f79535-47bb-0310-9956-ffa450edef68
2003-05-06 15:30:52 +00:00
Avik Sengupta
e35ddf54f2 Aid debugging unknown ptgs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353086 13f79535-47bb-0310-9956-ffa450edef68
2003-05-06 13:08:08 +00:00
Avik Sengupta
3bcff21ed0 recognise new ptg
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353084 13f79535-47bb-0310-9956-ffa450edef68
2003-05-05 15:35:39 +00:00
Avik Sengupta
c730219f01 new ptg, doesnt do much yet
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353083 13f79535-47bb-0310-9956-ffa450edef68
2003-05-05 15:33:14 +00:00
Avik Sengupta
17bb993bcd PR 19634: Compiling error in jdk1.3
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353082 13f79535-47bb-0310-9956-ffa450edef68
2003-05-05 06:20:28 +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
444672612e Font names can sometimes be null.. We now accept this and can move on with
our serialization life.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353078 13f79535-47bb-0310-9956-ffa450edef68
2003-05-02 14:30:03 +00:00
Andrew C. Oliver
8d9e0a821d fixed. Check for reversions.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353073 13f79535-47bb-0310-9956-ffa450edef68
2003-05-01 12:50:06 +00:00
Andrew C. Oliver
09cd3214c7 unf*ck'd it. please stop doing this
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353072 13f79535-47bb-0310-9956-ffa450edef68
2003-05-01 12:43:37 +00:00
Andrew C. Oliver
424ff3e132 unf*cking it...whoever is doing this please stop
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353071 13f79535-47bb-0310-9956-ffa450edef68
2003-05-01 12:40:37 +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
2dafc6e092 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@353064 13f79535-47bb-0310-9956-ffa450edef68
2003-04-22 16:29:43 +00:00
Andrew C. Oliver
07912d07d5 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18090
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353056 13f79535-47bb-0310-9956-ffa450edef68
2003-04-11 02:58:23 +00:00
Danny Muid
81230699e2 FuncPtg stores 2 bytes of data where AbstractFuncPtg says it is 4 bytes long. Store the other 2 bytes when reading an excel file so that the "Warning: Data may have been lost" prompt is avoided after serialization.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353043 13f79535-47bb-0310-9956-ffa450edef68
2003-04-08 04:34:42 +00:00
Danny Muid
247157f3d3 FormulaRecord patch (and testcase) to preserve Excel's NaN representation when dealing with NaN formula value. We currently have NaN support in LittleEndian but the constant for NaN seems to change so we need to preserve the original bits on fill fields. Thanks Glen for your input!
PR: 18114, 18155
Submitted by:	Additional bug report submitted by jsun@teloptica.com (Jerry Sun)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353037 13f79535-47bb-0310-9956-ffa450edef68
2003-03-29 19:59:38 +00:00
Danny Muid
978c2a0491 Fixed spelling of UNKNOWN for unknown record types and fixed accordingly in the chart documentation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353036 13f79535-47bb-0310-9956-ffa450edef68
2003-03-27 22:14:48 +00:00
Avik Sengupta
0fcc9507a7 Add clone() to FormulaRecordAggregate
Original patch supplied by Henning Boeger
Changed to make it deeper clone, added clone to StringRecord in the process
Also added a test.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353033 13f79535-47bb-0310-9956-ffa450edef68
2003-03-20 20:01:17 +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
Avik Sengupta
57eb57fb35 Added license!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353031 13f79535-47bb-0310-9956-ffa450edef68
2003-03-18 19:10:25 +00:00
Avik Sengupta
3048751bca Added new class per bug 13478, to read data from low performance input streams.
Patch submitted by Jens Gerhard - thanks.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353030 13f79535-47bb-0310-9956-ffa450edef68
2003-03-18 18:58:43 +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
Avik Sengupta
16f6a467bf Fixed bug 17373 - incorrect handling of continue records after unknown records corrupting a template. Patch submitted by Csaba Nagy -- thanks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353024 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 15:49:04 +00:00
Danny Muid
f956d04130 Fixes NullPointerException for getMergedRegionAt(index) when the index provided is valid (ie, 2 merged regions, request for index 0 would return null).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353023 13f79535-47bb-0310-9956-ffa450edef68
2003-03-06 21:40:35 +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
b390fc6d80 fix for bug 14729 - cant merge more than 1027 times.
fix submitted by tony poppleton


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353020 13f79535-47bb-0310-9956-ffa450edef68
2003-03-01 17:56:55 +00:00
Avik Sengupta
09b1b6e909 Support for changing sheet order submitted by Ruel Loehr. Probably should also add access to this in usermodel?
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353018 13f79535-47bb-0310-9956-ffa450edef68
2003-03-01 17:32:26 +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
Rainer Klute
9ccba56e8e First preparations for HPSF writing functionality.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353013 13f79535-47bb-0310-9956-ffa450edef68
2003-02-22 14:27:16 +00:00
Avik Sengupta
b0c4a37953 Bug 17222: Workbook corruption when using sheet.addRow()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353009 13f79535-47bb-0310-9956-ffa450edef68
2003-02-21 15:59:58 +00:00
Glen Stampoultzis
4fb4cb6b95 Fixed misnamed method - thanks Marcantonio.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353007 13f79535-47bb-0310-9956-ffa450edef68
2003-02-16 00:55:25 +00:00
Rainer Klute
90e630a955 Fixed a bug reading timestamps wrongly sometimes, placing the files'
times in the Middle Ages. And no, neither Microsoft nor POI existed
back then.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353006 13f79535-47bb-0310-9956-ffa450edef68
2003-02-13 16:57:39 +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
Rainer Klute
c6814aa16c Completed the third main section of the HPSF HOW-TO.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353000 13f79535-47bb-0310-9956-ffa450edef68
2003-02-05 19:33:27 +00:00
Rainer Klute
0bb781cabc Formatting fixed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352995 13f79535-47bb-0310-9956-ffa450edef68
2003-02-01 13:28:28 +00:00
Rainer Klute
a40b753e09 Illegal Javadoc tag "@created" removed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352992 13f79535-47bb-0310-9956-ffa450edef68
2003-01-29 18:08:02 +00:00
Rainer Klute
0e93459a64 Comment improved.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352991 13f79535-47bb-0310-9956-ffa450edef68
2003-01-29 18:01:18 +00:00
Avik Sengupta
9645f12748 removed debug output
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352986 13f79535-47bb-0310-9956-ffa450edef68
2003-01-09 13:22:21 +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
9183c10d33 PR 15743: Add support for custom palettes: Submitted by Brian Sanders
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352978 13f79535-47bb-0310-9956-ffa450edef68
2003-01-02 11:17:57 +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
Rainer Klute
337480cb38 Bug 15720
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352974 13f79535-47bb-0310-9956-ffa450edef68
2002-12-30 18:30:22 +00:00
Rainer Klute
a080ded07e One-line file properly split into many lines.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352971 13f79535-47bb-0310-9956-ffa450edef68
2002-12-28 11:15:11 +00:00
Glen Stampoultzis
fcee68ae9f Fixed double spacing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352970 13f79535-47bb-0310-9956-ffa450edef68
2002-12-28 08:11:33 +00:00
Glen Stampoultzis
4dd943e6e6 Some cleanup
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352968 13f79535-47bb-0310-9956-ffa450edef68
2002-12-27 10:54:08 +00:00
Glen Stampoultzis
622e6619ba Empty private constructor not needed when alternative constructor is available.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352967 13f79535-47bb-0310-9956-ffa450edef68
2002-12-27 10:51:33 +00:00
Glen Stampoultzis
6d73597035 Some reformatting only.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352964 13f79535-47bb-0310-9956-ffa450edef68
2002-12-26 22:55:26 +00:00
Glen Stampoultzis
2eb1a142ca Some reformatting only.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352963 13f79535-47bb-0310-9956-ffa450edef68
2002-12-26 22:48:30 +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
f661c1b7f9 PR:15643 HSSFColor; submitted by Brian Sanders
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352959 13f79535-47bb-0310-9956-ffa450edef68
2002-12-25 17:18:03 +00:00
Glen Stampoultzis
7921ef4f7d Some charting work (this is not currently working so don't expect much).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352938 13f79535-47bb-0310-9956-ffa450edef68
2002-12-16 11:16:41 +00:00
Rainer Klute
52e83f0156 RecalcIdRecord added (bug 13500).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352935 13f79535-47bb-0310-9956-ffa450edef68
2002-12-11 19:40:58 +00:00
Rainer Klute
d9ef0d47cf HPSF: Reading Unicode properties are supported now.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352933 13f79535-47bb-0310-9956-ffa450edef68
2002-12-10 06:15:20 +00:00
Andrew C. Oliver
b153040a9e http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14375
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352931 13f79535-47bb-0310-9956-ffa450edef68
2002-11-28 19:32:52 +00:00
Andrew C. Oliver
1e00d428ad http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14269
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352930 13f79535-47bb-0310-9956-ffa450edef68
2002-11-28 19:26:20 +00:00
Andrew C. Oliver
5ab7cb4360 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13500
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352929 13f79535-47bb-0310-9956-ffa450edef68
2002-11-28 19:20:36 +00:00
Andrew C. Oliver
6d084e9831 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13483
Patch from Jens Gerhard

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352928 13f79535-47bb-0310-9956-ffa450edef68
2002-11-28 19:03:22 +00:00
Andrew C. Oliver
0930d66666 patch from Dennis Doubleday http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13076
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352927 13f79535-47bb-0310-9956-ffa450edef68
2002-11-28 18:57:35 +00:00
Andrew C. Oliver
3b4b6dd9ec preparations for event record factory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352923 13f79535-47bb-0310-9956-ffa450edef68
2002-11-23 19:03:00 +00:00
Andrew C. Oliver
e22743ac81 Changes for model factory/event factory (added model marker interface)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352921 13f79535-47bb-0310-9956-ffa450edef68
2002-11-23 18:58:52 +00:00
Andrew C. Oliver
e0a3d2ae56 model factory/event factory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352920 13f79535-47bb-0310-9956-ffa450edef68
2002-11-23 18:58:18 +00:00
Glen Stampoultzis
c56f037aa4 Opps. Looks like somewhere along the line a 1.4 dependancy was introduced. Committers: please compile with 1.3 before committing.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352918 13f79535-47bb-0310-9956-ffa450edef68
2002-11-14 23:25:20 +00:00
Andrew C. Oliver
8351737023 event record factory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352913 13f79535-47bb-0310-9956-ffa450edef68
2002-11-11 01:34:01 +00:00
Andrew C. Oliver
5d1a532cfd javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352908 13f79535-47bb-0310-9956-ffa450edef68
2002-11-08 02:49:51 +00:00
Andrew C. Oliver
b8f9260d23 think I may have fixed the encoding thing... maybe..... I hope..
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352907 13f79535-47bb-0310-9956-ffa450edef68
2002-11-08 02:34:08 +00:00
Andrew C. Oliver
ffd2ddd1ef http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11827
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352904 13f79535-47bb-0310-9956-ffa450edef68
2002-11-06 02:40:41 +00:00
Shawn Laubach
12fda87077 Added paper size constants.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352899 13f79535-47bb-0310-9956-ffa450edef68
2002-10-24 14:59:10 +00:00
Glen Stampoultzis
7cbb071a62 'AI' record support.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352897 13f79535-47bb-0310-9956-ffa450edef68
2002-10-20 06:16:34 +00:00
Andrew C. Oliver
b766ee6991 minor code change (setError) to expose field 5 to whomever is using the low
level apis.  (I needed it for something)
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352892 13f79535-47bb-0310-9956-ffa450edef68
2002-10-09 19:47:10 +00:00
Shawn Laubach
70eb3725d0 Corrected bug in HSSFDataFormat and added alias for text format. Updated documentation dealing with data format.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352887 13f79535-47bb-0310-9956-ffa450edef68
2002-10-09 12:41:58 +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
c023333fdb Move self from developer list to committer list and update emails (so people know who to complain to).
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352880 13f79535-47bb-0310-9956-ffa450edef68
2002-10-05 02:38:07 +00:00
Shawn Laubach
3e518a8d03 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13248
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352878 13f79535-47bb-0310-9956-ffa450edef68
2002-10-04 20:28:27 +00:00
Shawn Laubach
66e0e30813 Fixed code that adds a format record to keep indexes to xfpos and bspos correct.Bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13219
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352877 13f79535-47bb-0310-9956-ffa450edef68
2002-10-04 20:27:16 +00:00
Andrew C. Oliver
304301c757 fixed bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13092 NameRecord
no longer throws an NPE.  I think this is due to unknown PTGs. -Andy
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352875 13f79535-47bb-0310-9956-ffa450edef68
2002-10-01 21:43:16 +00:00
Andrew C. Oliver
e0b73de5bf you should now be able to check for date formats from the eventmodel
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352874 13f79535-47bb-0310-9956-ffa450edef68
2002-10-01 20:40:29 +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
c530fb5920 vba code no longer corrupted - http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10213
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352845 13f79535-47bb-0310-9956-ffa450edef68
2002-09-16 18:14:31 +00:00
Glen Stampoultzis
fb52b027c9 Applied patch: http://nagoya.apache.org/bugzilla/showattachment.cgi?attach_id=3040
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352844 13f79535-47bb-0310-9956-ffa450edef68
2002-09-13 11:27:17 +00:00
Andrew C. Oliver
6880121c7e http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12410
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352843 13f79535-47bb-0310-9956-ffa450edef68
2002-09-12 01:49:40 +00:00
Andrew C. Oliver
432f37476d jason height added to who we are page, patch from e. pugh:
http://nagoya.apache.org/bugzilla/showattachment.cgi?attach_id=3004

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352842 13f79535-47bb-0310-9956-ffa450edef68
2002-09-11 12:14:28 +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
53d4819628 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@352840 13f79535-47bb-0310-9956-ffa450edef68
2002-09-06 04:08:30 +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
ce178660f2 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10702
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352838 13f79535-47bb-0310-9956-ffa450edef68
2002-09-06 01:10:19 +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
d76058c234 The missing EqualPtg. sorry.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352835 13f79535-47bb-0310-9956-ffa450edef68
2002-09-04 00:36:48 +00:00
Andrew C. Oliver
a00135ad17 preliminary support for "if" formulas. Doesn't work yet because of this
strange "aggregate this stuff" function
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352834 13f79535-47bb-0310-9956-ffa450edef68
2002-09-02 21:16:29 +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
8b555a177c fixed error with HexDump
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352830 13f79535-47bb-0310-9956-ffa450edef68
2002-09-02 02:08:31 +00:00
Glen Stampoultzis
f8d89add04 Removed the call to doubleToRawLongBits()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352828 13f79535-47bb-0310-9956-ffa450edef68
2002-08-27 10:29:52 +00:00
Glen Stampoultzis
f42b7bbdbb Fixes to chart handling and to a hidden bug to do with where the beginning of the sheet is located. Also fixed an issue with doubles and the NaN values. Some of this could use some more refactoring.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352827 13f79535-47bb-0310-9956-ffa450edef68
2002-08-21 11:56:49 +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
Glen Stampoultzis
97eaffbdf7 New aggregate record... now if I could just fix these write errors I've been having I could fix the rest of it... :(
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352824 13f79535-47bb-0310-9956-ffa450edef68
2002-08-05 12:54:05 +00:00
Glen Stampoultzis
0ad7523480 Update to string record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352823 13f79535-47bb-0310-9956-ffa450edef68
2002-08-05 12:53:01 +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
Andrew C. Oliver
50609a09c9 get mad and throw a runtime error if users specify columns > 255
(more than Excel will allow)
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352821 13f79535-47bb-0310-9956-ffa450edef68
2002-08-01 18:18:16 +00:00
Rainer Klute
fe2a12a53b Javadoc updates: Removed some autogenerated comments and
added my own ones.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352819 13f79535-47bb-0310-9956-ffa450edef68
2002-07-30 14:56:02 +00:00
Avik Sengupta
6304b81aa3 fixed compilation error
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352818 13f79535-47bb-0310-9956-ffa450edef68
2002-07-29 14:05:52 +00:00
Glen Stampoultzis
0073f29004 Removed useless autogenerated comment
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352816 13f79535-47bb-0310-9956-ffa450edef68
2002-07-29 13:28:44 +00:00
Glen Stampoultzis
4d7e207efd String record added
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352815 13f79535-47bb-0310-9956-ffa450edef68
2002-07-29 13:25:46 +00:00
Andrew C. Oliver
bcf6cea52c backed out the code it caused this problem http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10393
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352814 13f79535-47bb-0310-9956-ffa450edef68
2002-07-28 22:54:43 +00:00
Andrew C. Oliver
69b7c79463 backed out this code it causes http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10393
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352813 13f79535-47bb-0310-9956-ffa450edef68
2002-07-28 22:50:41 +00:00
Glen Stampoultzis
e53e8b8894 Tidy up.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352810 13f79535-47bb-0310-9956-ffa450edef68
2002-07-27 01:46:44 +00:00
Andrew C. Oliver
556f6f6837 Added preliminary support for Palletes. Still need to write add/remove/change
functions.  Added this so that if someone else wants to finish it before I get
to it, they can. (have at it!)
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352806 13f79535-47bb-0310-9956-ffa450edef68
2002-07-25 05:10:23 +00:00
Rainer Klute
8609168fae First HPSF test cases added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352805 13f79535-47bb-0310-9956-ffa450edef68
2002-07-22 08:25:19 +00:00
Rainer Klute
dd6e097455 Fixed javadoc comment.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352803 13f79535-47bb-0310-9956-ffa450edef68
2002-07-22 08:22:23 +00:00
Andrew C. Oliver
63942824d9 made the exception meaningful
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352802 13f79535-47bb-0310-9956-ffa450edef68
2002-07-21 13:08:18 +00:00
Andrew C. Oliver
2f0e5cf987 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10884
Read write margins patch
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352797 13f79535-47bb-0310-9956-ffa450edef68
2002-07-21 03:53:25 +00:00
Andrew C. Oliver
88ef6ef1b6 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10884
patch to read and set margins
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352796 13f79535-47bb-0310-9956-ffa450edef68
2002-07-21 03:51:43 +00:00
Andrew C. Oliver
a3c338967e from russia with love (LOL)
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10548 #1
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352795 13f79535-47bb-0310-9956-ffa450edef68
2002-07-21 03:03:57 +00:00
Glen Stampoultzis
6c4dcf82e8 Bugzilla Bug 9831
Problems with the cell format when setting border


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352793 13f79535-47bb-0310-9956-ffa450edef68
2002-07-20 14:10:57 +00:00
Glen Stampoultzis
7303717d73 oops. just noticed a _very_ small javadoc problem
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352790 13f79535-47bb-0310-9956-ffa450edef68
2002-07-20 12:33:53 +00:00
Glen Stampoultzis
1c4f1d65f5 Fixed toString()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352789 13f79535-47bb-0310-9956-ffa450edef68
2002-07-20 12:33:18 +00:00
Glen Stampoultzis
f649d5bb21 Shawn's patch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352786 13f79535-47bb-0310-9956-ffa450edef68
2002-07-20 11:17:55 +00:00
Glen Stampoultzis
080d3bf414 Fixed bug 10943
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352785 13f79535-47bb-0310-9956-ffa450edef68
2002-07-20 07:49:19 +00:00
Rainer Klute
495abc1b7d Small bug fix for boolean properties that are "true".
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352783 13f79535-47bb-0310-9956-ffa450edef68
2002-07-18 15:51:39 +00:00
Andrew C. Oliver
eba0c7652d applied shawn's patch and tested http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10935
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352781 13f79535-47bb-0310-9956-ffa450edef68
2002-07-18 14:59:11 +00:00
Rainer Klute
b1fccf2aa9 Broken HPSF usage of POI's general little-endian classes fixed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352778 13f79535-47bb-0310-9956-ffa450edef68
2002-07-17 16:23:22 +00:00
Glen Stampoultzis
9102bc3f39 More refactoring of SST
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352777 13f79535-47bb-0310-9956-ffa450edef68
2002-07-17 14:18:03 +00:00
Said Ryan Ackley
37371cc919 made the read method compile
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352776 13f79535-47bb-0310-9956-ffa450edef68
2002-07-17 12:01:50 +00:00
Andrew C. Oliver
7aad8fe0e2 patch from Eric Ladner to correct an out of bounds on the formula string
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10735

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352772 13f79535-47bb-0310-9956-ffa450edef68
2002-07-15 02:06:22 +00:00
Andrew C. Oliver
c83b61e246 moved from o.a.p.h.record.formula package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352768 13f79535-47bb-0310-9956-ffa450edef68
2002-07-15 00:18:48 +00:00
Andrew C. Oliver
3c11bb59cf This is a collection of SheetReferences to be used throughout
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352767 13f79535-47bb-0310-9956-ffa450edef68
2002-07-15 00:17:30 +00:00
Andrew C. Oliver
4cb3c511f4 moved to model package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352766 13f79535-47bb-0310-9956-ffa450edef68
2002-07-15 00:15:33 +00:00
Andrew C. Oliver
fff3eb8fc5 While I don't consider this idea, I like it much better than having the
circular dependancies.  This should fix the bug I caused the other day by
removing Thread Local.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352765 13f79535-47bb-0310-9956-ffa450edef68
2002-07-15 00:14:40 +00:00
Andrew C. Oliver
b6b940ae56 smokey the bear says: Only you can prevent doublespacing...only you
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352764 13f79535-47bb-0310-9956-ffa450edef68
2002-07-14 21:44:01 +00:00
Andrew C. Oliver
8e92c6e9d1 removed thread safety stuff. We still need to revisit how this is being
done.  I dislike "currentBook" and would prefer some kind of context
mechanism or directly passing the book to the PTGs etc.  Perhaps a
"PTGWorkbookContextInterface" that defines set/getWorkbook etc etc.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352760 13f79535-47bb-0310-9956-ffa450edef68
2002-07-06 18:45:16 +00:00
Glen Stampoultzis
148afcc96f Backed out encoding default
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352758 13f79535-47bb-0310-9956-ffa450edef68
2002-07-05 05:30:30 +00:00
Glen Stampoultzis
751223318b Default to uncompressed so we don't get a million mails about this.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352756 13f79535-47bb-0310-9956-ffa450edef68
2002-07-05 04:10:36 +00:00
Andrew C. Oliver
8fbffbbae3 discovered that dotted border constant was wrong... reversed with another
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352751 13f79535-47bb-0310-9956-ffa450edef68
2002-07-04 04:48:17 +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
Andrew C. Oliver
4eb8d195bd This supposidly makes japanese text work.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352724 13f79535-47bb-0310-9956-ffa450edef68
2002-06-26 12:25:44 +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
Andrew C. Oliver
d6ec53d310 oops forgot a change I made for suckyviewer
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352714 13f79535-47bb-0310-9956-ffa450edef68
2002-06-22 20:31:23 +00:00
Glen Stampoultzis
d0380e4058 Minor changes of no consequence. Just checking in because I'm doing a release soon.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352710 13f79535-47bb-0310-9956-ffa450edef68
2002-06-20 12:43:44 +00:00
Avik Sengupta
3708898305 more data for more functions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352705 13f79535-47bb-0310-9956-ffa450edef68
2002-06-17 18:06:04 +00:00
Avik Sengupta
70c6ad8bce fix for bug 9908, gracefully warn and write back for unknown ptg in namerecord
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352704 13f79535-47bb-0310-9956-ffa450edef68
2002-06-17 17:20:16 +00:00
Glen Stampoultzis
511dbc0cea Various changes. SST refactoring which I'm not sure is worth it because I'm pretty sure SST recordsize calculation is all wrong. Added some logging stuff and also merged some stuff from 1.5 branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352701 13f79535-47bb-0310-9956-ffa450edef68
2002-06-15 06:04:26 +00:00
Avik Sengupta
ffe4a6d83e Add util method to check date formatting in Excel, submitted by Jason Hoffman
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352695 13f79535-47bb-0310-9956-ffa450edef68
2002-06-13 17:17:24 +00:00
Avik Sengupta
9ed02e1a27 additional classes handled, submitted by Jason Hoffman
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352692 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 18:06:52 +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
Glen Stampoultzis
8908e20c5d A fix for the bug that remained uncaught because I didn't write a testcase that I should have - once again proving to myself that test cases are wonderful things and that I skimp on doing them way too often.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352684 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 09:10:04 +00:00
Glen Stampoultzis
143979497c Some more hex reading utilities
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352679 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 08:18:06 +00:00
Avik Sengupta
44fc02cd84 compile under jdk1.2.2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352677 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 07:50:29 +00:00
Avik Sengupta
4c62750ea5 pretty printing from AttrPtg, submitted by Werner Froidevaux
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352673 13f79535-47bb-0310-9956-ffa450edef68
2002-06-11 21:17:44 +00:00
Nicola Ken Barozzi
e27d8be5e1 Removed runtime dependency from commons logging.
Now the PoiLogFactory will try to create a logger using the System property
named "org.apache.poi.util.POILogger".

If it fails, the NullLogger is used.
There is also a basic SystemOutLogger and the former CommonsLogger.

Haven't checked the code that much, but it compiles and POI works.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352672 13f79535-47bb-0310-9956-ffa450edef68
2002-06-11 21:07:58 +00:00
Avik Sengupta
b378514b24 dont want these any more, they have been refactored to AbstractFunctionPtg/FuncPtg/FuncVarPtg
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352670 13f79535-47bb-0310-9956-ffa450edef68
2002-06-11 20:37:01 +00:00
Avik Sengupta
e346cb4473 More formula enhancements, particularly for fixed args tFunc 0x21/41/61. Also try not to bomb on unknown Ptg
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352668 13f79535-47bb-0310-9956-ffa450edef68
2002-06-11 20:18:28 +00:00
Glen Stampoultzis
5140e0261d Merged from 1.5 (SST fixes).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352665 13f79535-47bb-0310-9956-ffa450edef68
2002-06-09 12:48:34 +00:00
Avik Sengupta
c8470551bb fix to bug 9518, submitted by Shawn Laubach
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352661 13f79535-47bb-0310-9956-ffa450edef68
2002-06-06 06:03:17 +00:00
Glen Stampoultzis
7b23ccd114 Merged from 1.5 branch.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352660 13f79535-47bb-0310-9956-ffa450edef68
2002-06-02 07:30:40 +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
c38fc6e7a0 Patches from Werner Froidevaux
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352649 13f79535-47bb-0310-9956-ffa450edef68
2002-05-26 23:19:58 +00:00
Andrew C. Oliver
995127c376 Bugzilla Bug 9426 - Drew Varner (who needs to start remembering to add himself in the author tags)
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352648 13f79535-47bb-0310-9956-ffa450edef68
2002-05-26 22:18:40 +00:00
Avik Sengupta
5fef5940be fix for bug 9114, reported and fix pointed by Tal Moshaiov
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352646 13f79535-47bb-0310-9956-ffa450edef68
2002-05-21 18:28:35 +00:00
Andrew C. Oliver
f75fb848ba Fixed tests for legend and implemented testresult for bitfields
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352645 13f79535-47bb-0310-9956-ffa450edef68
2002-05-19 21:40:59 +00:00
Andrew C. Oliver
c879ba8bd8 New record for graphing
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352643 13f79535-47bb-0310-9956-ffa450edef68
2002-05-19 18:52:35 +00:00
Andrew C. Oliver
b9a7d16826 oops forgot one
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352641 13f79535-47bb-0310-9956-ffa450edef68
2002-05-19 18:50:37 +00:00
Andrew C. Oliver
2ad78a7d9f We've got just about all the important graph records for a bar graph.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352640 13f79535-47bb-0310-9956-ffa450edef68
2002-05-19 18:48:52 +00:00