[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Ruby and OpenOffice

Martin DeMello

4/9/2006 5:35:00 PM

I've looked through the ruby/oo.o projects out there, but the
documentation is a bit on the sparse side, and I'm still not sure if
they do what I want. What I'm trying to do is write 'builder' code; i.e.
a ruby program that spits out an openoffice document using ruby syntax
to create tables, use fonts and styles, etc., or template approach
where I can use some sort of simplified markup language and end up with
an openoffice document. Anyone?

Another approach I'm looking at is generating OOBasic scripts from ruby,
but that seems somewhat roundabout.

martin
1 Answer

James Herdman

4/9/2006 9:01:00 PM

0

IIRC, OO.o uses XML to markup their documents. If your data starts as
an XML document, you could probably apply an XSLT to it to convert it
over to the OO.o format. It might be laborious, but I think the
community would appreciate it. I think you've stumbled upon a new Ruby
project =)

James H.