Ruby and OpenOffice

Discussion in 'Ruby' started by Martin DeMello, Apr 9, 2006.

  1. 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
    Martin DeMello, Apr 9, 2006
    #1
    1. Advertising

  2. Martin DeMello

    James H. Guest

    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.
    James H., Apr 9, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. atransiciel

    Jakarta POI API and OpenOffice

    atransiciel, Aug 3, 2004, in forum: Java
    Replies:
    0
    Views:
    450
    atransiciel
    Aug 3, 2004
  2. Ed
    Replies:
    2
    Views:
    3,232
  3. Sells, Fred

    pyuno and oootools with OpenOffice 2.0

    Sells, Fred, May 4, 2006, in forum: Python
    Replies:
    0
    Views:
    309
    Sells, Fred
    May 4, 2006
  4. Sybren Stuvel

    [Article] OpenOffice.org and Python

    Sybren Stuvel, Sep 5, 2006, in forum: Python
    Replies:
    5
    Views:
    269
    M├ęta-MCI
    Sep 6, 2006
  5. Daniel Carrera

    Opinion: Ruby + OpenOffice.org

    Daniel Carrera, Feb 9, 2004, in forum: Ruby
    Replies:
    5
    Views:
    209
    Phil Tomson
    Feb 10, 2004
Loading...

Share This Page