Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to convert excel file into pdf?

 
Umesh Roy
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your help in greatly appreciated..
 
Rob Spoor
Sheriff
Pie
Posts: 20527
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried searching?

I suggest you read the following links:
Show Some Effort
Search First
Not A Code Mill
 
fred rosenberger
lowercase baba
Bartender
Posts: 12122
30
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what are your parameters? There are tons of third party software options that will generate .pdf files. you could google for some of those.
 
Bobby Sharma
Ranch Hand
Posts: 598
3
Google App Engine jQuery Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
+1 on what Fred said.

FOP will not help you, though - it works with XML and XSL-FO, not Excel files.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic