English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Smoke Vector Graphics: source code licenses for sale
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-11-07 (17:16)
From: Edgar Friendly <thelema314@g...>
Subject: Re: [Caml-list] Re: OT: Commercial Support and Programming Languages
Jon Harrop wrote:
> On Wednesday 07 November 2007 16:35, you wrote:
>> Depending on the complexity of your results, you *might* succeed at
>> outputting a CSV file and having OO.org import that.  It probably won't
>> look like a final product, but might serve as a base for some OO macros
>> to clean up.
> Can an OCaml program command OpenOffice to overwrite a current worksheet with 
> the contents of a CSV file? I'm doing that by hand at the moment...
OO.org has UNO, which is available through Java, OO Basic, MS OLE and
the CLI.  There's supposedly Python bindings too.  To do what you want,
I expect you'll need some bindings to UNO, which don't exist ATM, but
CamlIDL might get you to OLE easy enough (never used it, tho), or some
of the new caml-java might get you through the java route.  A weak
binding might not take that much work to write.