java - Convert html to pdf with linked documents inline -


i need convert bundle of static html documents single pdf file programmatically on server side on java/j2ee platform using batch process preferably. pdf files distributed site users offline browsing of web pages.

the major points of requirements are:

  1. the banner @ top should not present in final pdf document.
  2. the navigation bar on left should transformed pdf bookmarks html hyperlinks.
  3. all hyperlinked contents (html/pdf/doc/docx etc.) present in web pages should part of final pdf document pdf bookmarks.

is there standard open source way of doing this?

try apache fop. used convert xml pdf , think can same html/dom. website has a whole section on running fop in java application , there's example code dom pdf.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -