pickm wrote:
> Which Chunk? I am generically changing all fonts that come out of the
> HTMLWorker, but when the element that comes out is a PdfPTable, the
> chunk.size() is zero. I have also tried to dig into the table, and the
> rows, and use the getCells() method, but that throws a null pointer
gt;> To: itext-questions@lists.sourceforge.net
>> Subject: Re: [iText-questions] HTMLWorker tables and fonts
>>
>>
>> Any ideas on how to change the font in a PdfPTable after it
>> has been created?
>> Is there a way to iterate through it and access each ce
You'll to change the font in the Chunk.
Paulo
> -Original Message-
> From: pickm [mailto:picke...@hotmail.com]
> Sent: Monday, March 02, 2009 1:51 PM
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] HTMLWorker tables and fonts
>
&
Any ideas on how to change the font in a PdfPTable after it has been created?
Is there a way to iterate through it and access each cell?
I attempted to use the newer getCells() method in PdfPRow, and then change
the font of the phrases, but that did not work.
Is there an example in the book tha
I have a tried a couple different things, and I didn't find anything specific
in the mailing list.
I am parsing HTML text into a PDF and I want to change all fonts to be the
same. for most elements coming from HTMLWorker, I simply iterate through
the Chunks and chunk.getFont().setFamily(FontFac