Forum: Ruby Library for writing ODF files

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B1d59a804bd67487c964bc505a8eb892?d=identicon&s=25 Thiago Arrais (Guest)
on 2008-11-18 21:58
(Received via mailing list)
Last week I needed to generate a report in the format of an ODF
spreadsheet and
couldn't find a suitable Ruby library for outputing ODF. There is
something
called RubyODF (at http://rubyforge.org/projects/rubyodf/ ), but it is
capable
only of reading documents, not writing them.

After much searching I ended up writing my own library. For lack of a
better
name (and creativity), I called it rODF. It is not available as a gem
yet, but
the code is available in GitHub at
http://github.com/thiagoarrais/rodf/tree/master

I did already use this library successfully to generate some
spreadsheets and it
pretty much works (if you need to do exactly what I needed, anyway). The
files
read correctly in OpenOffice.org and KOffice, but I don't think it is
ready for
mass consumption yet.

I thought I would share this to find out if there is already another
solution
for this problem in Ruby that I wasn't able to find or if I should go on
with
this effort.

Cheers,

Thiago Arrais
621080472679266b8e9b81aff4800398?d=identicon&s=25 Saji N. Hameed (Guest)
on 2008-11-19 03:31
(Received via mailing list)
* Thiago Arrais <thiago.arrais@gmail.com> [2008-11-19 05:54:18 +0900]:

> Last week I needed to generate a report in the format of an ODF spreadsheet and
> couldn't find a suitable Ruby library for outputing ODF. There is something
> called RubyODF (at http://rubyforge.org/projects/rubyodf/ ), but it is capable
> only of reading documents, not writing them.
>
> After much searching I ended up writing my own library. For lack of a better
> name (and creativity), I called it rODF. It is not available as a gem yet, but
> the code is available in GitHub at
> http://github.com/thiagoarrais/rodf/tree/master
>

Wonderful news! Look forward to being able to write other ODF documents
(word processing esp.) using your library. Any plans for extending it
for other kinds of documents?

saji

--
Saji N. Hameed

APEC Climate Center                  +82 51 668 7470
National Pension Corporation Busan Building 12F
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705      saji@apcc21.net
KOREA
D1f1c20467562fc1d8c8aa0d328def62?d=identicon&s=25 Florian Gilcher (skade)
on 2008-11-19 10:08
(Received via mailing list)
By the way,

there is a read-only library for Spreadsheets called ROO, which is more
advanced then RubyODF. I know that the author is interested in writing
capabilities but does not have the time to implement it alone.

Maybe you should drop him a line.

Regards,
Florian Gilcher
B1d59a804bd67487c964bc505a8eb892?d=identicon&s=25 Thiago Arrais (Guest)
on 2008-11-20 05:21
(Received via mailing list)
On Tue, Nov 18, 2008 at 11:25 PM, Saji N. Hameed <saji@apcc21.net>
wrote:
> Wonderful news! Look forward to being able to write other ODF documents
> (word processing esp.) using your library. Any plans for extending it
> for other kinds of documents?

Spreadsheets are enough for me for the time being. As I said, I was
already able to generate the reports I needed to generate using rODF.
But other kinds of documents certainly will be requested some time in
the future. My plan is to add features as needed and accept
contributions in case they show up.

Regards,

Thiago Arrais
This topic is locked and can not be replied to.