Hello,

I'd like to read a PDF file and write it as a HTML file. Is it possible to do it with itext?

I was trying to do something like that using the code below but it looks like that from a PdfReader I can't retrieve the read document.

PdfDocument document = new PdfDocument();
PdfReader pdf = new PdfReader("HelloWorldPdf.pdf");
document = pdf.getDocument(); //i wish I could do something like that
HtmlWriter html = HtmlWriter.getInstance(document,
                                        new 
FileOutputStream("HelloWorldHtml.html"));

Is there a way to do something similar to that via the API?

Thanks,
Kenety




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to