isn't it sad that we dont have a column counterpart for HSSFRow?

On 5/4/05, J�r�mie LOPEZ <[EMAIL PROTECTED]> wrote: 
> 
> Hi all,
> 
> I'm able to set the desired column width in pixels using this:
> myHSSFSheet.setColumnWidth(columnIndex, (short) (widthInPixels * 37))
> but how can I set a column to adjust to its content width?
> 
> Is there some kind of "setShrinkToFit" method like in JExcel API, or how 
> can
> I check the largest value in the column to do it manually (I saw that we 
> can
> use FOP font metrics, but do I really need an extern framework, and has
> someone a code example)?
> 
> TIA,
> 
> Jeremie.
> 
> 


-- 
Abhi
trin-trin: 9810760474
************************************************
Love is the desire to do good to others

GREATEST is the one who LOVES all creations of GOD

Reply via email to