Good work. It needs some changes to support composite elements, though.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Steve Appling
> Sent: Tuesday, September 21, 2004 1:51 PM
> To: iText Mailing List
> Subject: Re: [iText-questions] Vertical alignment in PdfPCells
> 
> I'll try this again - the mailing list rejected my first 
> email because it
> had a zip in it.  The attached file is really a zip, rename 
> it and change
> the extension to zip.
> 
> I encountered a similar problem and added setUseAscender to 
> PdfPCell and
> ColumnText.  This allows you to have appropriate vertical alignment
> regardless of font.  I have a few other changes including
> setUseBorderPadding (which adjusts the padding based on 
> border widths) and
> support for variable color / width borders on each side of a PdfPCell.
> 
> I have attached my changed source as a zip that can be 
> applied on top of
> itext-paulo-138.
> 
> If you only want the useAscender part, you only need the useAscender
> setter/getter from PdfPCell, and the updated ColumnText and PdfLine.
> 
> Enjoy!
> 
> ----- Original Message ----- 
> From: "Christian Lauer" <[EMAIL PROTECTED]>
> To: "iText Mailing List" <[EMAIL PROTECTED]>
> Sent: Tuesday, September 21, 2004 2:20 AM
> Subject: [iText-questions] Vertical alignment in PdfPCells
> 
> 
> > Hi Paulo,
> >
> > an UJAC user had a interesting question about vertical alignment in
> > PdfPCells. The problem he discovered is that you can't 
> really perform a
> > top or middle alignment, not even with fixed leading set to zero and
> > multiplied leading set to 1.0. There will always be a 
> little extra space
> > between the top of the cell and the contents.
> >
> > And the workaround by manipulating the paddingTop attribute 
> is no ideal
> > solution too because it depends on the font size that's used.
> >
> > Is there a real solution for that problem?
> >
> > I've attached an test programm, which produces the problem.
> >
> > Best regards,
> > Christian
> >
> > -- 
> > Christian Lauer <[EMAIL PROTECTED]>
> >
> 


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to