Fun! I don’t know of any, but sounds like some light wrappers around
IronRuby’s COM interop would be good enough. Of course, you could also
write an addin for Office to provide some UI for managing scripts and
such inside Office apps. I vaguely remember someone talking about this a
while ago, but I’m not sure if anything came from it.
But you’re more interested in manipulating .docx/.xlsx files, rather
than automating the actual apps, right? I would hope that using REXML
isn’t your only option =P
can you provide some more detail? with very much earlier version of
ironruby, i’ve fiddled with the idea of converting VB code that does
that to ruby but gave up thinking it was too early to try.
On Wed, Oct 14, 2009 at 5:03 PM, Thibaut Barrère
<[email protected]mailto:[email protected]> wrote:
Hi,
I’m going to need manipulation of Excel/Word documents for a production
app - I’ll use IronRuby there.
Did anyone develop some kind of tool or dsl to handle these
manipulations already ?
I’d like to avoid reinventing the wheel if it’s the case,
I’ll definitely keep you posted on the output - it’s more likely that
I’ll
manipulate xslx directly (or through the OpenXML SDK) than using
automation.
One might even think about doing this in a Mono-compatible fashion (that
would interest quite a bunch of guys out there, me think)… Not sure if
there’s some fancy way to rely on the OpenXML SDK from Mono though.
In any way, thanks for all the answers - and I’ll definitely keep you
posted
on my findings.
I just heard from Eric. He said he has heard of no plans to either open up
the Open XML SDK or create a Mono-compatible version, so it looks like
interop is the way to go, unless you want to reverse engineer the Open XML
SDK.
I just heard from Eric. He said he has heard of no plans to either open
up
the Open XML SDK or create a Mono-compatible version, so it looks like
interop is the way to go, unless you want to reverse engineer the Open
XML
SDK.