257 Commits

Author SHA1 Message Date
Andrew C. Oliver
7c96ffd3b9 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
4756c85ce8 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
08a23e6608 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
a12cc580ce 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
ace2d2b80c 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
62b592f380 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
57952b2fac 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
2b35e8c56a 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
e7dbb5dea0 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
605e028ae5 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
737ca92120 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
f90b078b16 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
935233a930 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
e8437ec563 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
e6358cc739 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
a7f7251e11 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
eadfd0e017 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
b509a3fe4c 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
3b73e4f21c 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
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