Re: cvs commit: jakarta-poi/build/jakarta-poi/docs/apidocs/org/apache/poi/util - New directory

2002-03-07 Thread Stefano Mazzocchi
[EMAIL PROTECTED] wrote: > > acoliver02/03/06 18:27:54 > > jakarta-poi/build/jakarta-poi/docs/apidocs/org/apache/poi/util - New directory I would *strongly* suggest to avoid adding things that can be autogenerated (such as javadocs) in the CVS repository, the Apache CVS is already big eno

Re: cvs commit: jakarta-poi/build/jakarta-poi/docs/apidocs/org/apache/poi/util - New directory

2002-03-07 Thread Andrew C. Oliver
Hi Stefano, I totally agree, here is the problem: I've offered to write this script provided with the relevant server/directory information. I've offered to help however I can to get the POI website up, the builds and releases up, etc. No one has taken me up on it. Via CVS is the ONLY way mod

Re: DO NOT REPLY [Bug 6802] - Format Cells... dialog does notpopup

2002-03-07 Thread Andrew C. Oliver
Wow that does help... I wonder if there is something in the RowRecord that we're not setting correctly? Any thoughts Glen? On Thu, 2002-03-07 at 00:56, [EMAIL PROTECTED] wrote: > DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG > RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT >

RE: [ poi-Bugs-522488 ] failed to create HSSFWorkbook

2002-03-07 Thread Hoffman, Jason
Thanks Glen, I can verify that fixed my bug. Might I propose someone update the log4j.jar file in the lib dir under CVS? It appears to be the 1.2alpha7 level, which is NOT backwards compatible with log4j1.1x. I used the log4j 1.2beta4 with my build this morning, and it seems to be working gre

FontMetrics from HSSFFont?

2002-03-07 Thread D. Alvarado
This is sort of along the lines of a question I asked earlier about getting the pixel width given a String of text (This would help me set an Excel column's width). Andy made a couple of suggestions, one of which was use the java.awt.FontMetrics object, which has methods to return the advan

Re: FontMetrics from HSSFFont?

2002-03-07 Thread acoliver
I think you have to construct an AWT font class. But I want a clean room impl. for POI. You'll have to construct an AWT Font using the info in HSSFFont. >On Thu, 7 Mar 2002 15:24:29 -0500 "D. Alvarado" <[EMAIL PROTECTED]> wrote. >This is sort of along the lines of a question I asked earlier abo

Re: FontMetrics from HSSFFont?

2002-03-07 Thread Rainer Klute
>I think you have to construct an AWT font class. But I want a clean room >impl. for POI. You'll have to construct an AWT Font using the info in >HSSFFont. What do you mean by "clean room"? AWT is standard Java. Best regards Rainer Klute RAINER KLUTE IT-CONSULTI

Re: Re: FontMetrics from HSSFFont?

2002-03-07 Thread D. Alvarado
> I think you have to construct an AWT font class. But I want a clean room > impl. for POI. You'll have to construct an AWT Font using the info in > HSSFFont. > I don't think it's too much of a stretch to create a java.awt.Font class using the class's constructor: Font(String name, int sty

Re: Re: Re: FontMetrics from HSSFFont?

2002-03-07 Thread acoliver
>On Thu, 7 Mar 2002 16:11:35 -0500 "D. Alvarado" <[EMAIL PROTECTED]> wrote. >> I think you have to construct an AWT font class. But I want a clean room >> impl. for POI. You'll have to construct an AWT Font using the info in >> HSSFFont. >> > >I don't think it's too much of a stretch to create

RE: FontMetrics from HSSFFont?

2002-03-07 Thread Hatzenbeler, Tim
Title: RE: FontMetrics from HSSFFont? I run a JVM on an AS/400  it's an IBM midrange computer, and it does not have a graphical interface.. So to use AWT classes, they created this RAWT class that you link over the AWT classes that make tcp/ip calls to a PC, to handle font metrics..  It reall

Re: RE: Thanks for POI

2002-03-07 Thread acoliver
>On Thu, 7 Mar 2002 14:06:21 -0800 "Young, Matthew" <[EMAIL PROTECTED]> wrote. >Andy, thanks! I sent the attachment in a following email. > >As for int vs. short, does Excel expect unsigned short or signed short? If >it's unsigned, then you should use int and make sure it's >0. If not, than >I

RE: FontMetrics from HSSFFont?

2002-03-07 Thread Danny Angus
Yeah, JDK 1.4 supplies a headless (no paging device, no font server) graphics context, providing access to much, but significantly *not* all, of the graphics primitives of the awt packages. However .. it does not provide good support for fonts, the built in fonts Helvetica and Times (is that righ

Re: Question for HSSFCellStyle, Font etc

2002-03-07 Thread Andrew C. Oliver
On Thu, 2002-03-07 at 18:06, Young, Matthew wrote: > Andy, > > Quick question. IS it true that the CellStyle, Font objects etc are shared > internally? For example, if I create one CellStyle object and use apply it > to more than one cells, than all those cell shared this style? And, if I > modi

RE: FontMetrics from HSSFFont?

2002-03-07 Thread Andrew C. Oliver
The question is: Using this, can you get a reliable measure on what the size of the string "Hello World!!" is using 12 point Arial? If not...we need our own. Your graphic is very cool BTW. Have you looked at Batik? It, other than that causing Cocoon's dependency on X, has some really cool c

Glen, how do I use this thing or Andy eats humble pie

2002-03-07 Thread Andrew C. Oliver
Hi Glen, So, remember all that crap I said about "just as fast to hand code it"... Well...um... How do I use this record generator thingy? Word has a few records with over 200 fields. I think I'm ready for the XML descriptor with the generator Yes...that would do nicely... Thanks, An

Re: FontMetrics from HSSFFont?

2002-03-07 Thread Rainer Klute
"D. Alvarado" <[EMAIL PROTECTED]> wrote: >... But now it gets tricky. There is no method in Font that returns a FontMetrics >object. You need your Graphics instance. It has a getFontMetrics(Font) method. >I suppose now I'm venturing into pure Java territory, and perhaps outside the scope >of

Re: FontMetrics from HSSFFont?

2002-03-07 Thread Said Ackley
This is one way to get a FontMetrics object w/o a Graphics object StyleContext context = StyleContext.getDefaultStyleContext(); Font font = new Font(...); FontMetrics fm = context.getFontMetrics(font); - Original Message - From: "Rainer Klute" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

Re: FontMetrics from HSSFFont?

2002-03-07 Thread Andrew C. Oliver
Great tip! The prob is we still need to use AWT and it doesn't give us the fonts we need on every platform... On Thu, 2002-03-07 at 20:46, Said Ackley wrote: > This is one way to get a FontMetrics object w/o a Graphics object > > StyleContext context = StyleContext.getDefaultStyleContext(); > F

Re: First release from our new home ...

2002-03-07 Thread Andrew C. Oliver
Just FYI: this is a development build in preparation for POI 1.5. On Thu, 2002-03-07 at 21:16, Marc wrote: > jakarta-poi-1.4583-dev-bin.tar > jakarta-poi-1.4583-dev-bin.tar.gz > jakarta-poi-1.4583-dev-bin.zip > jakarta-poi-1.4583-dev-src.tar > jakarta-poi-1.4583-dev-src.tar.gz > jakarta-poi-1.458

Re: FontMetrics from HSSFFont?

2002-03-07 Thread Andrew C. Oliver
On Thu, 2002-03-07 at 16:23, Rainer Klute wrote: > "D. Alvarado" <[EMAIL PROTECTED]> wrote: > >... But now it gets tricky. There is no method in Font that returns a FontMetrics > >object. > > You need your Graphics instance. It has a getFontMetrics(Font) method. > > > >I suppose now I'm ventu

First release from our new home ...

2002-03-07 Thread Marc
jakarta-poi-1.4583-dev-bin.tar jakarta-poi-1.4583-dev-bin.tar.gz jakarta-poi-1.4583-dev-bin.zip jakarta-poi-1.4583-dev-src.tar jakarta-poi-1.4583-dev-src.tar.gz jakarta-poi-1.4583-dev-src.zip have all been place in our old sourceforge home (http://poi.sourceforge.net/jakarta-poi-1.4583-dev-bin.t

Re: DO NOT REPLY [Bug 6802] - Format Cells... dialog does notpopup

2002-03-07 Thread Glen Stampoutlzis
I think the only way to tell is to generate a basic spreadsheet manually and with poi and compare. -- Glen - Original Message - From: "Andrew C. Oliver" <[EMAIL PROTECTED]> To: "POI Development" <[EMAIL PROTECTED]> Sent: Friday, March 08, 2002 1:08 AM Subject: Re: DO NOT REPLY [Bug 6802

Re: Re: Re: FontMetrics from HSSFFont?

2002-03-07 Thread Glen Stampoutlzis
> > > >I don't think it's too much of a stretch to create a java.awt.Font class > using the class's > >constructor: > > > >Font(String name, int style, int size), > > > >and it's straightforward to extract the necessary HSSFFont parameters to > pass into the Font > >constructor. But now it gets t

Re: Glen, how do I use this thing or Andy eats humble pie

2002-03-07 Thread Glen Stampoutlzis
Slightly broken at the moment. Will fix then explain. -- Glen - Original Message - From: "Andrew C. Oliver" <[EMAIL PROTECTED]> To: "POI Development" <[EMAIL PROTECTED]> Sent: Friday, March 08, 2002 11:37 AM Subject: Glen, how do I use this thing or Andy eats humble pie > Hi Glen, > >

RE: FontMetrics from HSSFFont?

2002-03-07 Thread Danny Angus
> -Original Message- > From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 08, 2002 12:14 AM > To: POI Development > Subject: RE: FontMetrics from HSSFFont? > > > The question is: Using this, can you get a reliable measure on what the > size of the string "Hello Worl

RE: FontMetrics from HSSFFont?

2002-03-07 Thread Danny Angus
> Great tip! The prob is we still need to use AWT and it doesn't give us > the fonts we need on every platform... they won't necessarily *be* available on every platform :-( > > On Thu, 2002-03-07 at 20:46, Said Ackley wrote: > > This is one way to get a FontMetrics object w/o a Graphics object

RE: Re: Re: FontMetrics from HSSFFont?

2002-03-07 Thread Danny Angus
>please donate a FontMetrics that just takes a > font name > > and knows about a standard set (basic unix and windows fonts without > > depending on awt or swing). Otherwise, eventually I'll get around to it > but > > not yet. > > > > -Andy > > Sounds like what we need is a separate program that

Re: FontMetrics from HSSFFont?

2002-03-07 Thread Nicola Ken Barozzi
>On Thu, 2002-03-07 at 20:46, Said Ackley wrote: > > This is one way to get a FontMetrics object w/o a Graphics object > > > > StyleContext context = StyleContext.getDefaultStyleContext(); > > Font font = new Font(...); > > FontMetrics fm = context.getFontMetrics(font); > > From: "Andrew C. Oliv

RE: First release from our new home ...

2002-03-07 Thread Danny Angus
All, Done http://jakarta.apache.org/builds/jakarta-poi/dev Sorry for the delay, I'm in the UK, I went to bed ! d. > -Original Message- > From: Marc [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 08, 2002 2:16 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: First release from