poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhi <aggarwal.a...@gmail.com>
Subject Re: character controll
Date Fri, 13 May 2005 08:28:51 GMT
Hi Zlatan
 yeah it can be done but low level record writing is involved. 
I had seen a posting that i think might help.. so i am replying to mailing 
list so that u get ur answer..

 On 5/13/05, Zlatan Hirovic <hirovich@hotmail.com> wrote: 
> 
> Hi , all
> 
> 2nd question:
> How about using "ExtendedFormatRecord.setShrinkToFit(true)" ?
> (but I don know how to program...)
> 
> Zlatan
> 
> > >
> > > hey Abhi
> > >
> > > can calculate height of string/cell but how to find width of string?
> > > there is no constant value i can multiply with the string length to 
> > > get the width?
> > >
> > > though m not facing any prob as such as of now, but just curious to
> > > know if its possible!
> > >
> > > On 5/13/05, Abhi < aggarwal.abhi@gmail.com> wrote:
> > > > 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 <paris_texas_travis@yahoo.co.jp > 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: poi-user-unsubscribe@jakarta.apache.org
> > > > > 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 
> > > >
> > > >
> > >
> > > --
> > > "Do U have it in u?"
> > >
> >
> >
> >
> >--
> >Abhi
> >trin-trin: 9810760474
> >************************************************ 
> >Love is the desire to do good to others
> >
> >GREATEST is the one who LOVES all creations of GOD
> 
> 


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

GREATEST is the one who LOVES all creations of GOD

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message