I'm sorry, it's not actually the addCell that's throwing a fit, it's
doc.add(table) and the error message is "All the fonts must be embedded"
which is understandable, being PDF/A. Could you suggest a way of mentioning
the font here please?
PdfPTable table = new PdfPTable(1);
table.addCell("1.1");
doc.add(table);
Thanks
Paulo Soares wrote:
>
> addCell can have many argument types, not only String.
>
> Paulo
>
> ----- Original Message -----
> From: "Andrew Joseph" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Sunday, June 17, 2007 11:35 PM
> Subject: [iText-questions] PDF/A, fonts and table addCell
>
>
>> I'm new to Java & iText, so please bear with me. I'm
>> trying to generate a PDF/A-1b document using iText and
>> when I try to do a ".addCell" to add values in a
>> table, the program complains about the font not being
>> embedded, I'm able to specify the font with Chunk and
>> Paragraph, but not addCell. Is there any way to do it?
>> Thanks
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
>
>
--
View this message in context:
http://www.nabble.com/PDF-A%2C-fonts-and-table-addCell-tf3937557.html#a11187412
Sent from the iText - General mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/