kris carlier wrote: > Good morning/afternoon/evening, It's good morning for me (I live in Belgium too).
> Situation: an existing web-application using server-side Java, generating > HTML output that gets printed afterwards. OK. > Not identical on all types of browsers, so the conversion to PDF is (one > of ?) the correct solution(s). That's the reason why iText was created originally. > AFAIU, the idea would be to describe the lay-out of the page(s) in i-text > format, and later on, using a different writer, generating html or pdf. > Don't hesitate to correct me when wrong. Hmm... Generating HTML is possible with iText, but I doubt it if many people use it. I wrote the HtmlWriter mainly for debugging purposes. > Question: is there something that can at least roughly convert existing > html code to the i-text format? http://itext.ugent.be/library/question.php?id=40 > Since itext describes a document, just as HTML up to a certain level, > there should be some similarities, that might be convert-able? HTML is a poor format to describe layout, so there is a high risk the resulting PDF will have a poor layout too. Don't expect too much from it. Depending on the source you are using to generate the HTML, it may be easier/more rewarding to create the PDF from scratch (as you phrased it). br, Bruno ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
