Commit Graph

472 Commits

Author SHA1 Message Date
Avik Sengupta
e785cbdd46 Syncing to REL_2_BR: Macro functions and related fixes, by Paul Krause bug id:21444
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353326 13f79535-47bb-0310-9956-ffa450edef68
2003-08-31 06:16:57 +00:00
Rainer Klute
f85ef3c94e HPSF writing capability added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353321 13f79535-47bb-0310-9956-ffa450edef68
2003-08-30 09:13:53 +00:00
Rainer Klute
79f4e5f844 Hex dump with byte positions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353319 13f79535-47bb-0310-9956-ffa450edef68
2003-08-30 09:05:19 +00:00
Rainer Klute
b48213a4a4 Apache license added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353317 13f79535-47bb-0310-9956-ffa450edef68
2003-08-25 19:46:00 +00:00
Rainer Klute
917ef14acc No longer needed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353316 13f79535-47bb-0310-9956-ffa450edef68
2003-08-25 19:42:13 +00:00
Avik Sengupta
a86adc3f6f Add protect record to sheet. Sync from REL_2_BRANCH ..Thanks Rick Berman
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353311 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 19:01:52 +00:00
Rainer Klute
4e855eadb1 - Fixed a bug that occured when reading a section with properties that are not stored with ascending offsets in the property list.
- An error message is printed to standard error now when an unsupported variant type occurs. The data bytes are still available.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353307 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 15:12:22 +00:00
Rainer Klute
f3bb5efecf Added a method for a formatted hex dump.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353306 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 14:49:35 +00:00
Shawn Laubach
306976c259 Updates for the display of gridlines, formulas, and such because I forgot to do this when I added it to the release.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353305 13f79535-47bb-0310-9956-ffa450edef68
2003-08-22 17:21:20 +00:00
Tetsuya Kitahata
e7266f81c9 PR:18846
Obtained from:
Submitted by:	kamoshida.toshiaki@future.co.jp (Toshiaki Kamoshida)
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353304 13f79535-47bb-0310-9956-ffa450edef68
2003-08-19 14:07:40 +00:00
Rainer Klute
5819887172 Writing preparations
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353285 13f79535-47bb-0310-9956-ffa450edef68
2003-08-03 20:16:46 +00:00
Rainer Klute
7e303c76c2 Javadoc, formatting and style improvements
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353280 13f79535-47bb-0310-9956-ffa450edef68
2003-08-02 19:02:28 +00:00
Avik Sengupta
90716a5462 Slow input stream patch, bug 13478
Thanks Tony Chao and Chris Nokleberg
Added to HEAD, not fully tested, since HEAD is unstable atm.
 fully tested in Branch


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353275 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 19:35:19 +00:00
Avik Sengupta
38bd509f7f bug 19961, John Lloyd
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353274 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 19:01:47 +00:00
Avik Sengupta
42ea21bdca apply to head: bug id 21674: Javadoc changes. Submitted by Eric Ladner. Thanks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353273 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 17:55:36 +00:00
Avik Sengupta
8f5f1f96e7 MERGE from REL_2_BRANCH: bug 15228 and related fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353261 13f79535-47bb-0310-9956-ffa450edef68
2003-07-27 19:15:16 +00:00
Avik Sengupta
22cd7c3015 MERGE from REL_2_BRANCH: Bug id 21086
incorrect comparison of RGB values in HSSFPalette
  submitted by Tobias Haubner


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353260 13f79535-47bb-0310-9956-ffa450edef68
2003-07-27 18:53:53 +00:00
Avik Sengupta
385be78c67 MERGE from REL_2_BRANCH: Bug id 20696
Workbook.getSheetIndex() needs to ignore case.
  Submitted by Eric Lander


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353259 13f79535-47bb-0310-9956-ffa450edef68
2003-07-27 18:52:24 +00:00
Avik Sengupta
942a0ea929 MERGE from REL_2_BRANCH: Bug id 21027
Patch to fix misc clone issues, submitted by Nial Pemberton


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353258 13f79535-47bb-0310-9956-ffa450edef68
2003-07-27 18:49:52 +00:00
Avik Sengupta
96f3f74ba3 MERGE from REL_2_BRANCH: Spell Check
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353257 13f79535-47bb-0310-9956-ffa450edef68
2003-07-27 18:26:34 +00:00
Avik Sengupta
ca39e877a8 MERGE from REL_2_BRANCH: for better diffing during debugging, implement a toString method in Ptg
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353256 13f79535-47bb-0310-9956-ffa450edef68
2003-07-27 18:24:33 +00:00
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