From: Richard Jones <rich@annexia.org>
To: Jon Harrop <jon@ffconsultancy.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: OT: Commercial Support and Programming Languages
Date: Wed, 7 Nov 2007 19:28:56 +0000 [thread overview]
Message-ID: <20071107192855.GA22099@furbychan.cocan.org> (raw)
In-Reply-To: <200711071607.51274.jon@ffconsultancy.com>
On Wed, Nov 07, 2007 at 04:07:51PM +0000, Jon Harrop wrote:
> Another subject that I have discovered from my work on F# is the usefulness of
> interoperability, specifically being able to manipulate Excel spreadsheets
> from F#. I'm writing web analytics software for our company in OCaml and I'd
> like to inject the results into OpenOffice's spreadsheet. Any idea how to do
> that?
It's funny you should mention these, because all three are possible
under OCaml (and I've done two and a half of them).
You can manipulate Excel using http://tech.motion-twin.com/ocamole.html
(only OCaml on Windows, mind you).
You can write Excel spreadsheets via a number of routes. Probably
easiest is to use the CSV library from http://merjis.com/developers/csv
to write CSV files, which is exactly what we did for web log analysis
(http://merjis.com/developers/weblogs). Another alternative is to go
via perl4caml & use the Perl module which does this.
Writing OpenOffice spreadsheets is easier because you can write ODF
directly, and put it into a ZIP file in the right format using
something like CamlZip. I did this for OO writer documents, and have
some code if you want to take a look at it.
Rich.
--
Richard Jones
Red Hat
next prev parent reply other threads:[~2007-11-07 19:29 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-04 12:01 Smoke Vector Graphics: source code licenses for sale Jon Harrop
2007-11-04 15:06 ` [Caml-list] " Oliver Bandel
2007-11-04 16:12 ` skaller
2007-11-04 16:48 ` Oliver Bandel
2007-11-04 17:45 ` skaller
2007-11-04 21:29 ` Oliver Bandel
2007-11-04 17:47 ` David Allsopp
2007-11-04 21:25 ` Oliver Bandel
2007-11-04 16:58 ` Industry looks for commercial OCaml support? Oliver Bandel
2007-11-04 17:52 ` [Caml-list] " skaller
2007-11-04 21:39 ` Oliver Bandel
2007-11-05 3:32 ` skaller
2007-11-05 3:58 ` OT: Commercial Support and Programming Languages Robert Fischer
2007-11-05 5:04 ` [Caml-list] " Jon Harrop
2007-11-07 15:55 ` Alan Falloon
2007-11-07 16:07 ` [Caml-list] " Jon Harrop
2007-11-07 16:35 ` Edgar Friendly
2007-11-07 16:41 ` Jon Harrop
2007-11-07 17:16 ` Edgar Friendly
2007-11-07 18:46 ` Christophe TROESTLER
2007-11-07 19:28 ` Richard Jones [this message]
2007-11-05 7:22 ` [Caml-list] " skaller
2007-11-05 5:05 ` [Caml-list] Industry looks for commercial OCaml support? Jon Harrop
2007-11-04 18:29 ` [Caml-list] Smoke Vector Graphics: source code licenses for sale Vincent Hanquez
2007-11-08 18:28 ` Alexandre Pilkiewicz
2007-11-08 19:09 ` Luc Maranget
2007-11-08 20:24 ` Alexandre Pilkiewicz
2007-11-08 20:53 ` Edgar Friendly
2007-11-08 23:04 ` Oliver Bandel
2007-11-08 19:14 ` Brian Hurt
2007-11-08 23:08 ` Richard Jones
2007-11-09 12:16 ` Gerd Stolpmann
2007-11-09 12:31 ` Richard Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071107192855.GA22099@furbychan.cocan.org \
--to=rich@annexia.org \
--cc=caml-list@inria.fr \
--cc=jon@ffconsultancy.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox