Commit Graph

124 Commits

Author SHA1 Message Date
Jason Height 6ab6d0a295 PR: 19974
Obtained from:
Submitted by:
Reviewed by:

This patch fixes writeing VERY long > 8228 character strings. Existing SST serialisation had problem with calculation and writing to multiple continue records.

Also fixed some test case errors introduced by my last patch for DBCell and IndexRecords


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353607 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 03:37:56 +00:00
Glen Stampoultzis dbacc2b8f3 Centralized creation of temp files and made the default operation to delete on exit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353606 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 05:49:01 +00:00
Glen Stampoultzis 1823459ab0 Bugzilla Bug 27929 - finally :-)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353599 13f79535-47bb-0310-9956-ffa450edef68
2004-09-19 02:26:30 +00:00
Glen Stampoultzis eeef2a1b12 Merged REL_2_BRANCH to head.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353586 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 08:52:54 +00:00
Glen Stampoultzis e16b4b948d Some tests were checkin to the wrong source tree
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353550 13f79535-47bb-0310-9956-ffa450edef68
2004-04-19 10:55:45 +00:00
Glen Stampoultzis 8ed7b3777f Some fixes to the branch. Lots left to do. Boolean records aren't supported at all. Empty spreadsheets have issues but this is a start on getting things healthy again.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353549 13f79535-47bb-0310-9956-ffa450edef68
2004-04-18 13:02:48 +00:00
Glen Stampoultzis aa76cdd314 This is a much more comprehensive test suite for ValueRecordsAggregate. All these tests need to be passed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353548 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 13:46:40 +00:00
Glen Stampoultzis a4047ad573 New licence changes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353545 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 13:05:39 +00:00
Danny Muid 9d2c36fad3 Really clone the merged regions...Thanks to Jason for pointing this out.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353454 13f79535-47bb-0310-9956-ffa450edef68
2003-11-17 21:34:06 +00:00
Danny Muid b552f42f82 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/trunk@353452 13f79535-47bb-0310-9956-ffa450edef68
2003-11-17 21:17:41 +00:00
Avik Sengupta 3c78911f82 fix for 13921, sync from branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353412 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 02:01:21 +00:00
Jason Height dc44a8bd39 Fixed the double byte bugs in SSTDeserializer. Testcases provided in bugs 15556 and 22742 now work.
Patch for the rel 2.0 branch will follow shortly.

PR: 15556, 22742
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353395 13f79535-47bb-0310-9956-ffa450edef68
2003-10-14 06:54:00 +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 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
Avik Sengupta ffe20f3e80 PR 13292, size of FuncPtg
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353088 13f79535-47bb-0310-9956-ffa450edef68
2003-05-06 15:37:10 +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
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
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 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
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
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
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
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
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
Glen Stampoultzis 54018b5b18 Test case for bound sheet record... it seems okay.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352809 13f79535-47bb-0310-9956-ffa450edef68
2002-07-27 01:45:43 +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
Glen Stampoultzis 7076f5c4d8 More testing... you can never have enough... :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352774 13f79535-47bb-0310-9956-ffa450edef68
2002-07-15 13:22:50 +00:00
Andrew C. Oliver f69f32a679 moved to o.a.p.h.model package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352769 13f79535-47bb-0310-9956-ffa450edef68
2002-07-15 00:19:41 +00:00
Glen Stampoultzis 9a940f370e Somes tests for the record size calculation class... My initial attempt and trying to understand the record size calculation stuff. BTW, I still don't get it. :(
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352729 13f79535-47bb-0310-9956-ffa450edef68
2002-06-27 13:17:12 +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
Glen Stampoultzis b05947a181 A testcase that I should have added before.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352683 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 09:07:51 +00:00
Glen Stampoultzis 1f61f0058b Split out SSTDeserializer specific classes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352682 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 08:33:44 +00:00
Glen Stampoultzis 8f149403cc Use the new 'sections' feature
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352681 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 08:24:12 +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
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
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 7077f9e2e4 test for parsing strings, submitted by Werner Froidevaux
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352654 13f79535-47bb-0310-9956-ffa450edef68
2002-05-28 12:41:17 +00:00
Avik Sengupta 4b0501381f sorry, license!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352647 13f79535-47bb-0310-9956-ffa450edef68
2002-05-21 18:36: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 a743c4248d new test for new graphing record
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352644 13f79535-47bb-0310-9956-ffa450edef68
2002-05-19 18:53:18 +00:00
Andrew C. Oliver a108d90329 new Test for plot area record
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352635 13f79535-47bb-0310-9956-ffa450edef68
2002-05-19 15:53:53 +00:00
Andrew C. Oliver 23bcf0f5b9 New object link record (graphing) -- unit test
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352629 13f79535-47bb-0310-9956-ffa450edef68
2002-05-18 16:22:55 +00:00
Andrew C. Oliver 70ff48aa8a finally figured out how to get the strings in here to work... Excel has an ENTIRELY different (I think this makes like 3 or 4) to write strings for this record. Many Microsoft sucks at this programming stuff.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352625 13f79535-47bb-0310-9956-ffa450edef68
2002-05-18 15:56:21 +00:00
Andrew C. Oliver d2672d5e76 implemented tick record (grphing thing) --
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352617 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 19:06:04 +00:00
Andrew C. Oliver 2dea29ad21 see the src/records/definitions/axis_options_record.xml for the details
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352616 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 17:23:48 +00:00
Andrew C. Oliver b7511eba7a great patch by craig@adaptivetrade.com (Craig Kelley) --
Now rows are interperated properly as ushorts versus shorts  (java ints)


PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352609 13f79535-47bb-0310-9956-ffa450edef68
2002-05-10 03:01:11 +00:00
Andrew C. Oliver 324dbe8839 New record for charts and corresponding BIFFViewer and unit test
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352606 13f79535-47bb-0310-9956-ffa450edef68
2002-05-08 01:46:11 +00:00
Andrew C. Oliver e475ccfe2c Added SC window magnification...fixed error on res001 that has been bugging me.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352605 13f79535-47bb-0310-9956-ffa450edef68
2002-05-08 00:22:33 +00:00
Andrew C. Oliver 15617dc8c9 created unit test for sup book record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352601 13f79535-47bb-0310-9956-ffa450edef68
2002-05-06 22:50:22 +00:00
Avik Sengupta f68bee6bfd adding test for formula parser
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352583 13f79535-47bb-0310-9956-ffa450edef68
2002-05-02 12:52:13 +00:00
Glen Stampoultzis 950559e41a Charting, charting, charting... getting there... bit by bit.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352576 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 08:02:19 +00:00
Glen Stampoultzis 605439f062 Sheet properties record. Poi yum.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352459 13f79535-47bb-0310-9956-ffa450edef68
2002-04-22 07:12:26 +00:00
Glen Stampoultzis 986dd8a3e4 New record plus added a check in the record generator.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352445 13f79535-47bb-0310-9956-ffa450edef68
2002-04-18 12:54:29 +00:00
Andrew C. Oliver 70ddda0697 created stub of a unit test for formula record.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352432 13f79535-47bb-0310-9956-ffa450edef68
2002-04-17 22:47:39 +00:00
Glen Stampoultzis ea50e6186c Added linked data record.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352411 13f79535-47bb-0310-9956-ffa450edef68
2002-04-14 12:43:57 +00:00
Glen Stampoultzis 8998095ae8 New chart record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352400 13f79535-47bb-0310-9956-ffa450edef68
2002-04-12 14:40:36 +00:00
Glen Stampoultzis a47e836eae Axis used record implementation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352282 13f79535-47bb-0310-9956-ffa450edef68
2002-03-25 10:39:42 +00:00
Glen Stampoultzis 8059beb4c3 Series label record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352281 13f79535-47bb-0310-9956-ffa450edef68
2002-03-25 10:29:27 +00:00
Glen Stampoultzis 044b3e7092 Area format record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352280 13f79535-47bb-0310-9956-ffa450edef68
2002-03-25 10:08:16 +00:00
Glen Stampoultzis 114950f0b2 New record.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352247 13f79535-47bb-0310-9956-ffa450edef68
2002-03-18 11:30:36 +00:00
Glen Stampoultzis c43859cd84 New record... Slowly but surely. Wonder if I have enough to make a whole chart yet?
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352246 13f79535-47bb-0310-9956-ffa450edef68
2002-03-18 11:03:56 +00:00
Glen Stampoultzis 2a7b04d945 Update for the chart record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352167 13f79535-47bb-0310-9956-ffa450edef68
2002-03-09 12:41:12 +00:00
Glen Stampoultzis 6f3e9c7ab1 Another record for graphing... I'm on a roll tonight
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352166 13f79535-47bb-0310-9956-ffa450edef68
2002-03-09 12:23:36 +00:00
Glen Stampoultzis 6ba6e80980 Another graph record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352165 13f79535-47bb-0310-9956-ffa450edef68
2002-03-09 12:06:55 +00:00
Glen Stampoultzis 975f5f5ab3 More records for graphing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352163 13f79535-47bb-0310-9956-ffa450edef68
2002-03-09 11:13:27 +00:00
Glen Stampoultzis e452f11e28 Record generator fix plus new record. Must write email regarding it's uses but first got to sleep. 2am.. zzzz
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352159 13f79535-47bb-0310-9956-ffa450edef68
2002-03-08 15:07:30 +00:00
Glen Stampoultzis 2c71e35be2 Added new chart record and readded record generation support to the build; it got lost
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352145 13f79535-47bb-0310-9956-ffa450edef68
2002-03-04 00:05:33 +00:00
Glen Stampoultzis b08d62388c Fixed email address
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352086 13f79535-47bb-0310-9956-ffa450edef68
2002-02-11 04:23:11 +00:00
Glen Stampoultzis 524f9c630e New chart record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352081 13f79535-47bb-0310-9956-ffa450edef68
2002-02-10 05:24:17 +00:00
Glen Stampoultzis 610960234d Test for units record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352080 13f79535-47bb-0310-9956-ffa450edef68
2002-02-10 05:11:00 +00:00
Glen Stampoultzis 9411fb08d8 Added support for automatic record generation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352078 13f79535-47bb-0310-9956-ffa450edef68
2002-02-10 04:32:07 +00:00
Andrew C. Oliver 895297512d Initial revision
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352063 13f79535-47bb-0310-9956-ffa450edef68
2002-01-31 02:22:28 +00:00