238 Commits

Author SHA1 Message Date
Said Ryan Ackley
da28cafe97 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
8ae43fec69 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
5ce7336270 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
644e5db672 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
818f767f91 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
13ea5ee7ea 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
2fbaf69051 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
ca57c75669 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
3292424c37 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
88280e7259 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
4ad5c6ab99 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
a760493674 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
f5e7743dab 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
9868b6fec6 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
89200f48f9 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
298f39d228 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
41b2ae099b 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
17f56dc0c9 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
b1f76362a8 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
c9a239b582 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
40c021bec3 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
02ee5463b7 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
dbe7ec2966 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
f583c4a34f 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
d0ffb5ec71 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
753c2d7c6d 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
7c1e810bdb 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
48a94a3d0f 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
0cd9bb54f9 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
37d2daa9e9 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
f2ba9fff43 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
42d4eb63b1 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
49a1c34735 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
b35ab14e42 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
d52ae71cde 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
4c519dfd61 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
23a86e709a 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
2a1837f438 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
0e99347da6 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
0208c713c6 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
cc710a20f6 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
8ecb76b142 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
cbe0bd4caa 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
2b1cf258d5 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
2841f9de9e 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
a8286a8f18 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
b5b60b6d12 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
2ff6b171ca 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
ed12e196f2 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
9c5fdfbf9e 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