This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
    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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

HTML to PDF Conversion using Java  RSS feed

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi, I have a set of HTML files which has links pointing to one another and also pointing to a set of PDF files.

Folder Structure

../HTML/*.html
../PDF/*.pdf
also
../PDF/SubFolder1/Sub1.1/*.pdf
../PDF/SubFolder1/Sub1.2/*.pdf

I would like to know, if its possible to convert and merge all these files into one single PDF and have the newly converted HTML files retain their link destination to the various PDF files and HTML files.

This task is possible with the Acrobat Professional tool, where in we select Create PDF from web page and select the option to get Entire Site, so this way all the HTML files and their link destination files (i.e. other HTML files and PDF files) are included in the newly created single PDF File.

I have tried using iText, but it does not retain the link destinations correctly, in that it still thinks the link is a web link instead of a normal pdf bookmark or a pdf link. Any help from you would be really appreciated, Thank you.

Regards,
Amar Mahtani
 
Sheriff
Posts: 21426
94
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please Use One Thread Per Question. Let's continue here.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!