Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Converting HTML output from iText back to PDF

ravi shankar

2007-08-11

Replies:

Hi

I have a iText Java program which creates a pdf file and also gives out the html string of it.
I am actually modifying the current html string in a rich text plugin FCKEditor with changes in some words .
Can iText convert that html output string back to PDF? (I guess I need to have the xhtml tags for this)
if so how?. Is it mandatory to use xsl/xml to convert that into a PDF?

And , when we generate a pdf as well as html , are the page breaks of the both the pdf and html placed in same positions? (will they have same formatting and same no. of pages when printed?)

And also, I am currently using PDFPTable in the pdf file. In some example I noted that SimpleTable is being used for RTF files.
So , if the tables are to be visible in both PDF and Html , do I have to use SimpleTable and SimpleCell instead of PDFPTable?

Thanks in advance
Ravi


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.