Menu

create PDF from HTML string

2005-09-02
2013-05-01
  • Nobody/Anonymous

    Is it possible to convert a string containing HTML code to a PDF file as it would look as a web page using itext?

    If so is this documented anywhere?

    Thanks.

     
    • Kazuya Ujihara

      Kazuya Ujihara - 2005-09-03

      I have to say it depends on the situation. iText supports XHTML and only limited tags. If the code is XHTML, there is a possibility.

      Kazuya Ujihara

       
      • Nobody/Anonymous

        How would I do that?

         
        • Kazuya Ujihara

          Kazuya Ujihara - 2006-09-04

          See example codes.

           
    • Nobody/Anonymous

      Do you have to have a HTML document on your server or can you have a string containing the HTML-code?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.