Hi, Thanks for the links Balder.
I tried to render the enclosed html file to pdf and I did not get a good result. Please check the attachments.
I used this code snippet: Document document = new Document(PageSize.LETTER);PdfWriter instance = PdfWriter.getInstance(document, new FileOutputStream("/home/mramos/html3.pdf"));
document.open(); FileReader br = new FileReader("/home/mramos/pdf_cfadmin2.html"); XMLWorkerHelper worker = XMLWorkerHelper.getInstance(); worker.parseXHtml(instance, document, br); document.close(); Any help is much appreciated. Many thanks!Title: TEST PASTE
Call Flow Summary of GTLookUp
Username: test
Exported Date & Time: October 14, 2011 02:23 PM
Username: test
Exported Date & Time: October 14, 2011 02:23 PM
TEST PASTE : Summary
Node# | Instruction | Choice | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1.0 |
ü Test ü Test Ø Test · Test 1) Test 2) Test 3) Test 1 Test1.1 Test1.1.1 Test
|
html3.pdf
Description: Adobe PDF document
------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php