• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HTML to PDF

 
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wonder if there is any software that can convert html file to FDP. I seemed to come across such tools but have not used them for a long time.
iText may have limited capability to convert xml file thus XHTML.
Thanks.
 
author
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Bruce Jin:
I wonder if there is any software that can convert html file to FDP. I seemed to come across such tools but have not used them for a long time.
iText may have limited capability to convert xml file thus XHTML.
Thanks.



There's an entry about this in the FAQ.
There is limited XHTML to PDF support in com.lowagie.text.html (HtmlParser), but this is not a full blown HTML parser. Small HTML code snippets should be parsed with HtmlWorker (see chapter 14 of 'iText in Action').
 
Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the response.

If there is a full blown html to pdf parser wouldn�t that be wonderful? It is so easy to construct html files.
 
Bruno Lowagie
author
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Bruce Jin:
If there is a full blown html to pdf parser wouldn�t that be wonderful? It is so easy to construct html files.


There's ICEBrowser using iText (but ICEBrowser isn't free).
There's HTMLDoc.
And I'll look into the comment that was posted on the FAQ recently.
It would be nice to use the HTML parser that comes with the JDK in combination with iText to render HTML to PDF.
 
Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the info.

HTMLDoc is not free either. $69.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic