Commit Graph

366 Commits

Author SHA1 Message Date
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
Andrew C. Oliver
7393982224 Finished my work converting HPSF to use the org.apache.poi.util.LittleEndian
implementation.  ClassID and poibrowser/PropertySetDescriptorRendeder are probably broken.  I couldn't figure out what ClassID is meaning to do someone else
who understands the code there will have to work on it.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352639 13f79535-47bb-0310-9956-ffa450edef68
2002-05-19 18:09:26 +00:00
Andrew C. Oliver
13935d307f Forgot to check in support functions for yet ANOTHER way that Excel handles strings (makes 3-4th way)
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352638 13f79535-47bb-0310-9956-ffa450edef68
2002-05-19 17:54:07 +00:00
Andrew C. Oliver
eef90ca3f3 probably nothing
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352637 13f79535-47bb-0310-9956-ffa450edef68
2002-05-19 15:55:12 +00:00
Andrew C. Oliver
b8d575029d Object Link record
PR:
Obtained from:
Submitted by:
Reviewed by:


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


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352634 13f79535-47bb-0310-9956-ffa450edef68
2002-05-19 15:53:38 +00:00
Andrew C. Oliver
8e547247a8 new records
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352632 13f79535-47bb-0310-9956-ffa450edef68
2002-05-19 15:51:48 +00:00
Andrew C. Oliver
f988fbe0de new object link record (graphing)
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352628 13f79535-47bb-0310-9956-ffa450edef68
2002-05-18 16:22:10 +00:00
Andrew C. Oliver
fa78e9c938 supports new added graphing record types
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352627 13f79535-47bb-0310-9956-ffa450edef68
2002-05-18 16:21:01 +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
019c62dddd fixes for series text
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352624 13f79535-47bb-0310-9956-ffa450edef68
2002-05-18 15:54:29 +00:00
Andrew C. Oliver
45447a131b patch 9085
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352623 13f79535-47bb-0310-9956-ffa450edef68
2002-05-17 03:25:13 +00:00
Andrew C. Oliver
1e5961f2df Added new record types to biff viewer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352618 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 19:13:42 +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
49562f6301 Added UInt
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352614 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 14:51:33 +00:00
Andrew C. Oliver
7ae47e6d37 Surgery
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352613 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 14:48:00 +00:00
Andrew C. Oliver
46a9bd9bff surgery
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352612 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 14:47:24 +00:00
Andrew C. Oliver
976e19fcc3 patch applied from Sivan Kievit - please put in @author tags in the future
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352610 13f79535-47bb-0310-9956-ffa450edef68
2002-05-10 12:34:03 +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
5bdb69f931 finishing Libin's work.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352604 13f79535-47bb-0310-9956-ffa450edef68
2002-05-07 23:38:06 +00:00
Andrew C. Oliver
646bb536bb Workbook now works with new signature of SupBook
Property - kludged to compile for HPSF
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352603 13f79535-47bb-0310-9956-ffa450edef68
2002-05-06 23:25:35 +00:00
Andrew C. Oliver
d730457ed7 sup book record -- comments, some rearranging of the furniture.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352602 13f79535-47bb-0310-9956-ffa450edef68
2002-05-06 22:50:57 +00:00
Avik Sengupta
65aa73beb4 committing patches supplied by Matthew McClain for bug 8757. This will handle most cases, since majority formulas expect value class params. Ptgs to be refactored for full functionality
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352600 13f79535-47bb-0310-9956-ffa450edef68
2002-05-06 18:23:24 +00:00
Avik Sengupta
9a6fc596dd absolute refs in area references, plus some tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352599 13f79535-47bb-0310-9956-ffa450edef68
2002-05-05 16:55:41 +00:00
Avik Sengupta
94998b29f5 Absolute vs relative references now work .. refactored ReferenceUtils in the bargain
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352598 13f79535-47bb-0310-9956-ffa450edef68
2002-05-04 15:45:05 +00:00
Avik Sengupta
0dd5e6e74d Make jdepend happy - removing test main method since package records should not depend on package usermodel
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352597 13f79535-47bb-0310-9956-ffa450edef68
2002-05-03 16:12:03 +00:00
Rainer Klute
2ac503512a Enhancements from Drew for boolean properties. Plus doc change for DWord.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352594 13f79535-47bb-0310-9956-ffa450edef68
2002-05-03 07:29:09 +00:00
Andrew C. Oliver
14dada7c69 shawn's patches
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352593 13f79535-47bb-0310-9956-ffa450edef68
2002-05-03 04:56:42 +00:00
Andrew C. Oliver
92ad59a0ab Shawn's patch
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352592 13f79535-47bb-0310-9956-ffa450edef68
2002-05-03 04:55:07 +00:00
Rainer Klute
fcd67c04e8 Return type of getScale() fixed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352585 13f79535-47bb-0310-9956-ffa450edef68
2002-05-02 16:03:41 +00:00
Rainer Klute
54a2c116c0 Correct return type for getLinksDirty() - but it is still unimplemented.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352582 13f79535-47bb-0310-9956-ffa450edef68
2002-05-02 08:11:10 +00:00
Andrew C. Oliver
1831910703 I feel this has exited the purely experimental stage. While no means a production thing,
we're in the development stage firmly forging forward.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352580 13f79535-47bb-0310-9956-ffa450edef68
2002-05-02 00:49:56 +00:00
Rainer Klute
8961539973 Added Drew's thumbnail enhancements.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352578 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 09:31:52 +00:00
Rainer Klute
15e71ecb67 Javadoc fix.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352577 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 09:29:46 +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
Andrew C. Oliver
fb5a020060 Got them there functions rolling. Look at implementing the instantiation of the hash differently
later


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352574 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 01:21:05 +00:00
Andrew C. Oliver
b065e8de26 Avik's patches http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8665
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352571 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 23:22:27 +00:00
Andrew C. Oliver
f30f67e65c killed per avik's instruction
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352570 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 23:01:33 +00:00
Andrew C. Oliver
0f5072657e javadoc mostly
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352569 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 04:43:17 +00:00
Andrew C. Oliver
416f094bdd applied 8632
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352567 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 03:51:03 +00:00
Andrew C. Oliver
f2a0d4f97a functions + att (optimized functions) looking good. Just filling out big ol function table.
Soon will support most excel functions with areas.  need arrays next.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352566 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 03:05:07 +00:00
Andrew C. Oliver
32691debfd area references are relative by default
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352564 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 02:02:01 +00:00
Andrew C. Oliver
453fe100c5 got SUM working and some debug stuff.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352563 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 01:05:49 +00:00
Andrew C. Oliver
b8802bb429 Aviks patches for numbers mostly.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352562 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 00:19:49 +00:00
Andrew C. Oliver
e01cb449a6 avik's patches and stuff.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352560 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 00:18:29 +00:00
Glen Stampoultzis
fdf9f51622 Some testing related stuff. The first shot at a sanity tester for XLS record structure. Needs heaps more checks but it's a start.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352558 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 11:10:29 +00:00
Glen Stampoultzis
b8d8aa4d86 Little bug in BiffViewer.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352557 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 11:09:04 +00:00
Andrew C. Oliver
263d320010 Made Formula Record cough up some info useful for debugging, made functions
get written, but they crash excel right now.  Areas seem to basically work.
I need to investigate further, at first glance, our xls looks the same as
Excel's.  Have to find out what its doing to make it crash like that.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352551 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 01:25:28 +00:00
Andrew C. Oliver
bca318f1fc prematurely checking in to avoid compilation errors for others
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352550 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 00:33:28 +00:00
Andrew C. Oliver
f3a963cdfd does range resolution...doh I meant to check this in awhile ago
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352549 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 00:25:21 +00:00
Andrew C. Oliver
91df898367 deleted DummyFunctionPtg and renamed it to FunctionPtg (fixing to implement)
Added Range creation to FormulaParser (sorry to steal all teh fun Avik, just i want to get this flying!)
Made area ptg work.  Boy that was some crappy stuff I did back in Oct/November for
prelim formula stuff.  What the heck was I thinking.  Yuck!


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352548 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 23:43:35 +00:00
Andrew C. Oliver
7bd031a16b Handles reading other forms of Reference PTG
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352547 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 22:31:55 +00:00
Andrew C. Oliver
d0c85667da changed ValueReferencePtg to REferencePtg -- will do ValueReferencePtg via subclass
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352546 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 22:22:47 +00:00
Andrew C. Oliver
1e7eb23ac0 changing to support > just ValueRef
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352544 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 21:35:57 +00:00
Andrew C. Oliver
6cd65c0fc0 took out some print statements and stuff.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352537 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 20:51:31 +00:00
Andrew C. Oliver
a3fc345121 Holy schisse - cell referenecs seem to be working at least for simple formulas
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352535 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 18:45:10 +00:00
Andrew C. Oliver
ab97dacce6 created functions to go the other direction row,col = cellref "A1"
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352534 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 18:23:06 +00:00
Andrew C. Oliver
9683424c14 off by 1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352533 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 18:02:21 +00:00
Andrew C. Oliver
a56eec71b7 removed print statements left in.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352532 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 18:01:39 +00:00
Andrew C. Oliver
2dfd98f5a4 added class to support reference conversion A1 = 0,0 B1 = 0,1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352531 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 17:57:03 +00:00
Andrew C. Oliver
16d78b324c oops left this added class off of my previous commit... it povides concat ptg
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352530 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 16:42:21 +00:00
Andrew C. Oliver
d576bbc109 made parenthesis work in and out
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352529 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 16:40:37 +00:00
Andrew C. Oliver
7aa28a6d00 removes parts of my former stuff in favor of aviks and adds concat operator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352527 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 16:33:57 +00:00
Andrew C. Oliver
1bfafdbd21 removing mroe of my stuff. Liek Avik's better
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352525 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 15:55:37 +00:00
Andrew C. Oliver
fd604cb56c rollign out some of my stuff. Like Avik's stuff better. (for formulas)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352524 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 15:52:58 +00:00
Andrew C. Oliver
a327fa328d fixed order of operators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352522 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 15:35:38 +00:00
Andrew C. Oliver
fd71ea023c work on PowerPtg
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352521 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 15:17:44 +00:00
Rainer Klute
5c4cf7f864 Mail address scrambled.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352518 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 06:39:55 +00:00
Andrew C. Oliver
57df1eb21f how in hte heck did I leave this off?
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352517 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 05:37:39 +00:00
Glen Stampoultzis
58a0ff577e Merge from 1.5 branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352513 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 05:22:19 +00:00
Andrew C. Oliver
299fcceb90 Now provides string formula, reads simple formulas, mmmm formulas
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352511 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 02:04:58 +00:00
Andrew C. Oliver
0a6a844dda Wow... Fixed sizing bug 8592 -- see bug for details. Basically we couldn't
handle variable sized value records (formulas are the only one we do so far).
Now we're a bit less efficient (reiterate through all at the end for size
calculations), but it works and is probably more flexible.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352508 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 00:44:40 +00:00
Andrew C. Oliver
f4ecdbb4ce removed ties to deprecated HSSFColorConstants class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352507 13f79535-47bb-0310-9956-ffa450edef68
2002-04-27 21:54:10 +00:00
Andrew C. Oliver
6963779cb2 removed obsolecent deprecated class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352506 13f79535-47bb-0310-9956-ffa450edef68
2002-04-27 21:50:39 +00:00
Andrew C. Oliver
d2738922a8 Fixes for formulas
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352502 13f79535-47bb-0310-9956-ffa450edef68
2002-04-27 17:26:06 +00:00
Andrew C. Oliver
1a047e0529 wrong package name for HSSFUserException?
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352500 13f79535-47bb-0310-9956-ffa450edef68
2002-04-27 14:12:27 +00:00
Andrew C. Oliver
22e457feec wrong package names?
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352499 13f79535-47bb-0310-9956-ffa450edef68
2002-04-27 14:11:16 +00:00
Andrew C. Oliver
37175f6907 Avik's latest formula patches
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352498 13f79535-47bb-0310-9956-ffa450edef68
2002-04-27 14:07:53 +00:00
Andrew C. Oliver
ee498b5208 looks like I had stuff locally that I forgot to commit (oops) . Thsi patch from Carey Sublette
Makes the event based API abortable.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352497 13f79535-47bb-0310-9956-ffa450edef68
2002-04-27 13:33:04 +00:00
Rainer Klute
3db6dc348c Info on getThumbnail() added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352493 13f79535-47bb-0310-9956-ffa450edef68
2002-04-27 09:39:40 +00:00
Andrew C. Oliver
e3a5f20f8b missing import
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352492 13f79535-47bb-0310-9956-ffa450edef68
2002-04-27 01:48:26 +00:00
Andrew C. Oliver
5d1bc31c98 Fixes previously failing unit test (class cast exception in creating workbook...tried to cast
to ExternSheet when it was an UnknownRecord due to omission from RecordFactory.
Points out an annoying feature of HSSF architecture..  SID is used for identification instead
of instanceof for the purpose of efficiency and...cleanliness but in the event of unknown
record you can have an unfortunate mismatch.  Not sure what an acceptable solution is.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352490 13f79535-47bb-0310-9956-ffa450edef68
2002-04-27 01:32:58 +00:00
Rainer Klute
0173730c4e Link to Microsoft docs added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352489 13f79535-47bb-0310-9956-ffa450edef68
2002-04-26 06:22:42 +00:00