I’m having trouble finding a module to edit open office files. I know
they are stored as xml inside a zip file, but I don’t want to have to
roll my own solution unless necessary. There is oo4r but that hasn’t
been updated in over 2 years and there is no documentation. Is there a
more recent and or documented module that will let me edit open office
documents?
Have you tried win32ole? If you have a decent OLE object browser you
should be able to find what you need.
I think Charlie means OpenOffice.org documents. How would win32ole do
that?
I’m also interested in this. I may have a project or two coming up in
the near future that will require me to do some automation with
various OO.o documents, and I’d love to do the work in Ruby.
–
– AL –
charlie bowman wrote:
I’m having trouble finding a module to edit open office files. I know
they are stored as xml inside a zip file, but I don’t want to have to
roll my own solution unless necessary. There is oo4r but that hasn’t
been updated in over 2 years and there is no documentation. Is there a
more recent and or documented module that will let me edit open office
documents?
This program is to convert odf (open document format) to xhtml. It might
be a good starting point for what you want to do.
http://books.evc-cit.info/odf_utils/ruby_to_xhtml.html
And this project
http://www.jus.uio.no/sisu/
is able to output to odf.
Edwin
P.S. OpenOffice 2 and later uses odf as its default file format.
Yes, I mean OpenOffice.org documents. I know that oo4r is a possiblilty
but since I can’t find a tutorial on using it, it will be pretty hard to
get it working. I know the author frequents this list. Maybe he can
shed some light on the status of oo4r and it’s compatibility with
OpenOffice 2.0.