Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

PDF Conversion

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm working on a project in which it is required to convert the reports being generated to PDF format. can anybody help me out in this regard?
Also, i need to know if there is any special class which converts the HTML reports being generated to b converted into XLS, DOC and RTF format.
Thanks in advance
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've not done anything specific in Java on this issue. However, i've done something in VC++. The clipboard concepts can almost copt anything to anything else, and do the format conversion for you automatically. If it is your own object, you need write your own code to do the conversion.
Hope this will give you a little direction to think.
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by manoj kumar:
I'm working on a project in which it is required to convert the reports being generated to PDF format. can anybody help me out in this regard?
Also, i need to know if there is any special class which converts the HTML reports being generated to b converted into XLS, DOC and RTF format.
Thanks in advance

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I assume your output is an HTML stream. You can pipe this stream into a number of converters freely available on the Web (into PDF, DOC, RTF, not sure about XLS nor why would you want it anyway) to create the format you need.
Do some googling to find out how to download them. Once you have the converters use Java to sequence the appropriate system calls. This seems to me the most expeditious approach.
 
Die Fledermaus does not fear such a tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic