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