[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Library to create MS Excel / OpenOffice calc files?

RHaus

5/17/2007 5:37:00 PM

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.

--
Posted via http://www.ruby-....

4 Answers

james.d.masters

5/18/2007 10:30:00 PM

0

On May 17, 10:36 am, Roman Hausner <roman.haus...@gmail.com> wrote:
> 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.
>
> --
> Posted viahttp://www.ruby-....

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

Charles L.

5/19/2007 1:08:00 AM

0

unknown wrote:
> On May 17, 10:36 am, Roman Hausner <roman.haus...@gmail.com> wrote:
>> --
>> Posted viahttp://www.ruby-....
>
> Here is a blog on using Ruby to access various Windows applications
> which includes information on MS Excel:
> http://rubyonwindows.blo....
> 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...).
- 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/.... latest
version mightn't be up there, so ask if you need any help).


--
Posted via http://www.ruby-....

Michael Fellinger

5/20/2007 12:53:00 PM

0

On 5/18/07, Roman Hausner <roman.hausner@gmail.com> wrote:
> 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/project...

>
> --
> Posted via http://www.ruby-....
>
>

Hannes Wyss

5/21/2007 6:55:00 AM

0

On 5/17/07, Roman Hausner <roman.hausner@gmail.com> wrote:
> Is there a working library that lets me create files in MS Excel format?

http://rubyforge.org/projects/sp...

hth
Hannes