This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes How to convert excel file into pdf? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to convert excel file into pdf?" Watch "How to convert excel file into pdf?" New topic
Author

How to convert excel file into pdf?

Umesh Roy
Greenhorn

Joined: Dec 11, 2007
Posts: 10
Your help in greatly appreciated..
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19656
    
  18

Have you tried searching?

I suggest you read the following links:
Show Some Effort
Search First
Not A Code Mill


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11170
    
  16

what are your parameters? There are tons of third party software options that will generate .pdf files. you could google for some of those.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Bobby Sharma
Ranch Hand

Joined: Mar 18, 2008
Posts: 574
    
    1

For convert excel to pdf,
you can check jxcell,a java spreadsheet component which can do most excel functions.

http://www.jxcell.net
http://www.javaworld.com/javaworld/jw-03-2004/jw-0322-poi.html
http://jexcelapi.sourceforge.net/

http://www-128.ibm.com/developerworks/xml/library/x-xslfo/
http://xmlgraphics.apache.org/fop/

or itext are the two methods I'd suggest looking at

http://www.lowagie.com/iText/

First play with excel and then convert it to pdf
by writing servlet/Jsp.

People posted a lot in Jsp section regarding 'how to create pdf'.

Also , you can take advantage of this thread :
http://www.theserverside.com/discussions/thread.tss?thread_id=37995

best regards,
omi
[ November 11, 2008: Message edited by: omi sharma ]

Back to Java , again.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41173
    
  45
+1 on what Fred said.

FOP will not help you, though - it works with XML and XSL-FO, not Excel files.


Ping & DNS - my free Android networking tools app
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to convert excel file into pdf?