Re: [iText-questions] HTMLWorker tables and fonts

2009-03-03 Thread 1T3XT info
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

Re: [iText-questions] HTMLWorker tables and fonts

2009-03-02 Thread pickm
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

Re: [iText-questions] HTMLWorker tables and fonts

2009-03-02 Thread Paulo Soares
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 > &

Re: [iText-questions] HTMLWorker tables and fonts

2009-03-02 Thread pickm
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

[iText-questions] HTMLWorker tables and fonts

2009-02-26 Thread pickm
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