Library to create MS Excel / OpenOffice calc files?

R

Roman Hausner

Is there a working library that lets me create files in MS Excel format?
OpenOffice calc would be good in addition, but the primary requirement
is that we can create excel documents on the fly, and on a non-Windows
platform. This should work by either filling an excel template or by
creating an excel file from scratch with all the required formatting and
filled-in data.

This is possible in perl, but since we decided to implement that web
application in RoR, I would prefer to do this with Ruby.
 
J

james.d.masters

Is there a working library that lets me create files in MS Excel format?
OpenOffice calc would be good in addition, but the primary requirement
is that we can create excel documents on the fly, and on a non-Windows
platform. This should work by either filling an excel template or by
creating an excel file from scratch with all the required formatting and
filled-in data.

This is possible in perl, but since we decided to implement that web
application in RoR, I would prefer to do this with Ruby.

Here is a blog on using Ruby to access various Windows applications
which includes information on MS Excel: http://rubyonwindows.blogspot.com/.
Although the libraries discussed in this blog will probably not work
on non-Windows platform. But I thought that it might be worth
mentioning.
 
C

Charles Lowe

unknown said:
Here is a blog on using Ruby to access various Windows applications
which includes information on MS Excel:
http://rubyonwindows.blogspot.com/.
Although the libraries discussed in this blog will probably not work
on non-Windows platform. But I thought that it might be worth
mentioning.

- I think POI4R allows writing excel files (see
http://jakarta.apache.org/poi/poi-ruby.html).
- Or, you can just write open office calc files, which isn't too hard,
and just convert them to excel using openoffice (i've done this in a
ruby script before).
- Or, you can try using my ruby-perl bridge, and just using the perl
library in question (see http://code.google.com/p/ruby-perl/. latest
version mightn't be up there, so ask if you need any help).
 
M

Michael Fellinger

Is there a working library that lets me create files in MS Excel format?
OpenOffice calc would be good in addition, but the primary requirement
is that we can create excel documents on the fly, and on a non-Windows
platform. This should work by either filling an excel template or by
creating an excel file from scratch with all the required formatting and
filled-in data.

This is possible in perl, but since we decided to implement that web
application in RoR, I would prefer to do this with Ruby.
http://rubyforge.org/projects/energon/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top