Hi All, In our project, we are having a requirement to convert html file to PDF file. For that, we are using IText API. If the HTML has some image in its body, IText API fails to put that image in PDF and it throws the following exception. ExceptionConverter: java.io.FileNotFoundException: D:\cid:870001313@01022011-2B8B (The system cannot find the file specified). 1. If the html has some image in its body then is it possible to read that image and make it as attachment to that PDF file? I have attached the source code (Truncate.java) what I have used for conversion of html to PDF using IText. 2. If the html has some tables then the generated PDF loses the table format and simply puts the data in PDF. We need the table in the generated PDF as it is in the HTML. Do you have any solutions or suggestions for the above two issues please suggest us. If you have any other API apart from IText which will fulfill our requirement please suggest us. Balaji Thimma Santharam [cid:[email protected]] Portal & Content Management Capability, IDC * : +91 44 39 26 28 02 ? : +91 99 41 21 7077 * : balaji.t.santharam<mailto:[email protected]>@accenture.com<mailto:[email protected]> AIM: Thimma Balaji
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
<<inline: image001.jpg>>
Truncate.java
Description: Truncate.java
------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions 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
