• 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

how can convert excel to pdf .

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
using java, i can open a excel file, i want to change excel file into pdf. how can i do with it.
 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i don't know excel-to-pdf, but looking at this as a java-to-pdf issue, here are some potentials...
iText is a java pdf library:
http://www.lowagie.com/iText/
also, if you want to get into the xml world, you can go excel-to-xml-to-pdf. the xml-to-pdf part would be handled using xslt and xsl-fo (see http://xml.apache.org/fop/ for an example).
lastly, jfreereport does pdf generation:
http://www.object-refinery.com/jfreereport/
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just curious ... how did you wind up opening the Excel file?
 
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://jakarta.apache.org/poi/hssf/index.html
I used the above to go from java to excel and from excel to java.
Thank you
Garandi
 
reply
    Bookmark Topic Watch Topic
  • New Topic