Library for writing ODF files


#1

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

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 A.


#2

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 removed_email_address@domain.invalid
KOREA


#3

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 G.


#4

On Tue, Nov 18, 2008 at 11:25 PM, Saji N. Hameed removed_email_address@domain.invalid
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 A.