I must admit I found that confusing when I first looked at that stuff.  At
the moment the API follows the layout of the internal structure rather than
how the user tends to think about things.

Having said that I don't want to make any more changes to the interface
until after 1.5 is out, then all bets are off and I'll be making bigish
changes.

Regards,

Glen

----- Original Message -----
From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
To: "POI Development" <[EMAIL PROTECTED]>
Sent: Tuesday, March 12, 2002 12:04 PM
Subject: Re: Can "set" but can't "get" HSSFFont?


> yessir, use "getFontIndex()"  off of the style then getFontAt off of the
> HSSFWorkbook.
>
> I guess we should probably stick a convieince method in there..  Thought
> glen?
>
> (in truth the Font is a member of the workbook and not the style..)
>
>
> On Mon, 2002-03-11 at 11:59, D. Alvarado wrote:
> > I noticed the HSSFCellStyle class has a "setFont" but no "getFont"
method.  Therefore, I was
> > wondering how to write an equivalent "getFont" method or at least some
series of operations that
> > will give me the HSSFFont object stored in the HSSFCellStyle object.
> >
> > Thanks, Dave A.
> --
> http://www.superlinksoftware.com
> http://jakarta.apache.org/poi - port of Excel/Word/OLE 2 Compound
> Document
>                             format to java
> http://developer.java.sun.com/developer/bugParade/bugs/4487555.html
> - fix java generics!
> The avalanche has already started. It is too late for the pebbles to
> vote.
> -Ambassador Kosh
>


Reply via email to