1st: use HSSFCellStyle.setWrapText()
 2nd: I dont think there is any method in UserModel for this. But you can do 
this by writing your own method which sets the font size of the cell by 
calculating the width of the string and the cell.

hope this helps
 On 5/13/05, yama <[EMAIL PROTECTED]> wrote: 
> 
> Hi, all
> 
> I'd like to controll character in a cell.
> 
> http://homepage1.nifty.com/kenzo30/ex_kisonyu/images/zu_syosiki_haiti.gif
> (excell format setting in Japanese)
> 
> 1st:by break, express all char
> ("W_" short cut in pic)
> 
> 2nd:by reduction, express all char
> ("K_" short cut in pic)
> 
> anybody know?
> 
> regards
> yama
> 
> __________________________________
> Do You Yahoo!?
> Upgrade Your Life
> http://bb.yahoo.co.jp/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> Mailing List: http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
> 
> 


-- 
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