Hi,

thanks for the info.
Is there a way to determine if a Text fits in a cell from within a  CellEvent?

regards
Mike

Am Donnerstag, 22. September 2005 10:49 schrieb Paulo Soares:
> If it worked like that in 1.02b it was a bug. A PdfPCellEvent must
> provide the real cell dimensions, in this case the fixed height.
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On
> > Behalf Of Michael Seib
> > Sent: Thursday, September 22, 2005 7:24 AM
> > To: itext-questions@lists.sourceforge.net
> > Subject: [iText-questions] using CellEvent to check wether
> > Text fits in cell or not
> >
> > Hi,
> >
> > i would like to use the Cell Event to check wether a certain
> > text fits in a
> > cell or not.
> > With version 1.02b I used the method setFixedHeight for
> > PdfPCell to set the
> > height the cell should use. In the CellEvent I then checked
> > if the current
> > height of the cell [cell.height()} is larger than the
> > fixedHeight and then
> > put a * into the cell to tell the user to look in the
> > appendix for the
> > complete text.
> > With version 1.3 the actual height of the cell seems to be
> > limited to the
> > fixedHeight, so I can't check height > fixedHeight any more.
> > Also all text
> > that doesn't fit in is truncated.
> > Is this correct?
> > What can I do to make it work again.
> >
> > Thanks in advance and
> > best regards
> > Mike
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by:
> > Tame your development challenges with Apache's Geronimo App Server.
> > Download it for free - -and be entered to win a 42" plasma tv
> > or your very
> > own Sony(tm)PSP.  Click here to play:
> > http://sourceforge.net/geronimo.php
> > _______________________________________________
> > iText-questions mailing list
> > iText-questions@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to