Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

on-the-fly pdf convertion

 
nazmun begum
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, we have used linux ES4 server.we need to convert any files to pdf.
we are able to do it only txt to pdf using iText.jar API. but our requirement is convert any files(.doc,xsl,txt,gif etc) to pdf on-the pdf file. please help me how to do it JSP Project.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is nothing in JSP for working with PDFs.
Moving to Other Open Source Projects where Apache-Fop, iText, etc.. are discussed.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DOC-to-PDF is hard. Have a look at OpenOffice, which can read DOC and generate PDFs (some links are here.

XSL is just text, so you can treat it just like you would treat text files. iText can handle images like GIFs as well as text.
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try using iText for on the fly pdf conversion.Not only pdf but a few other formats.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic