Hi All I'm not able to find a method to write Html text into a Template. I must use a Template cause of I don't know the number of the total pages.
I've create a class called DocElement that extends Paragraph and implements DocListner I've used HTMLWorker to write Html text into a DocElement object I've added the DocElement object to a PdfPCell of a PdfPTable I've write that PdfPTable to the PdfTemplate using the method writeSelectedRows It works fine for all html tags except for tag table. So If my Html is <p>before<table><tr><td>Col A</td><td>Col B</td><td>Col C</td></tr></table>after</p> In the PDF I can see only "before after" without the table. If I add the DocElement object to the Document instead of the PdfTemplate, the Html text is write correctly with the table too. How can I write the Html text correctly to the Template too? Many Thanks and Regards Tantalo Christian
------------------------------------------------------------------------------
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
