aspose file tools*
The moose likes Java in General and the fly likes how can convert excel to pdf . Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how can convert excel to pdf ." Watch "how can convert excel to pdf ." New topic
Author

how can convert excel to pdf .

wang hong
Greenhorn

Joined: Apr 08, 2003
Posts: 3
using java, i can open a excel file, i want to change excel file into pdf. how can i do with it.
john guthrie
Ranch Hand

Joined: Aug 05, 2002
Posts: 124
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/
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Just curious ... how did you wind up opening the Excel file?


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Garandi Garandi
Ranch Hand

Joined: Jan 07, 2003
Posts: 192
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how can convert excel to pdf .
 
Similar Threads
PDF to Excel conversion using Java
Save a page as PDF or Excel file
How to Convert word to pdf using java api ??
Incorrect Colum/Size Error while converting from java to excel
Save a webpage as PDF or Excel file