Hi,
   
  i wrote the following code to convert HTML file to PDF:
   
  FileReader fr = new FileReader("c:/file.html"); 
     // step 4: we add a paragraph to the document
   
   
   
   ArrayList elementlist = HTMLWorker.parseToList(fr, null);
   for (int i = 0; i < elementlist.size(); i++) {
    Paragraph paragraph=new Paragraph();
   Element element = (Element)elementlist.get(i);
  document.add(element);
   
  but in the pdf file elements corresponding to html tags are sovrapposed. 
  There are solution to this problem?
   
  Thanks.

                
---------------------------------
 L'email della prossima generazione? Puoi averla con la  nuova Yahoo! Mail
-------------------------------------------------------------------------
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
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to