This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how can convert excel to pdf ." Watch "how can convert excel to pdf ." New topic

how can convert excel to pdf .

wang hong

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:
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 for an example).
lastly, jfreereport does pdf generation:
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
I used the above to go from java to excel and from excel to java.
Thank you
I agree. Here's the link:
subject: how can convert excel to pdf .
It's not a secret anymore!