aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 19538
    
  16

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: 10905
    
  12

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: 550
    
    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: 39530
    
  27
+1 on what Fred said.

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


Ping & DNS - updated with new look and Ping home screen widget
 
jQuery in Action, 2nd edition
 
subject: How to convert excel file into pdf?