I am using the Java version of the library, version 1.4.5  I am trying to
convert an HTML page to a PDF document using HTMLWorker.  I am doing a simple
conversion:

Document pdfDocument = new Document(PageSize.A4, 20, 20, 20, 20);
HTMLWorker worker = new HTMLWorker(pdfDocument);
StringReader sReader = new StringReader(displayHTML);
worker.parse(sReader);

The html document has an stylesheet embedded inside <style> tags.

The PDF document that gets created seems to lose all the formatting.  What is
going wrong?

Don


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to