Add the chunks to the phrase.
Best Regards,
Paulo Soares
----- Original Message -----
From: "Jasper, Manfred" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 29, 2004 15:01
Subject: [iText-questions] various fonts as Phrase in a PdfPCell
> Hello All,
>
> I need your help regarding the usage of various fonts in a PdfPCell.
> I'm using a phrase in a PdfPCell like the following source code.
> nestedTable.addCell(new PdfPCell(new Phrase("text should be
> displayed in standardFont, but some parts also should be displayed as bold
> or as red", standardFont)));
>
> But I need to show some parts of the text as bold or in red color without
> any line-wrap.
> I know that I have to use chunks with different fonts.
> But how can I add them to one textline in a PdfPCell.
>
> Thanks for your help,
>
> Manfred
>
>
>
>
>
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions