[Ironruby-core] Prior art of manipulating OpenXML with IronRuby ?

Kevin Radcliffe kevin.radcliffe at gmail.com
Wed Oct 14 12:20:12 EDT 2009

Sorry, I also should have noted that this code also relies on win32ole.rb.
The one from Merlin\Main\Languages\Ruby\Libs for the interop
Best Regards,

On Wed, Oct 14, 2009 at 10:12 AM, Kevin Radcliffe
<kevin.radcliffe at gmail.com> wrote:
> I'm attaching a couple of files because I had to do something very
> similar just recently.
> This isn't super clean, as I'm still testing this functionality, but
> it might serve as a starting point anyway.
> I am calling c# code to require WorkBook.rb first. (Mostly just a
> shortcut I grabbed from the excel interop tests)
> I am then passing a fairly simple domain object into the
> 'BuildRequestVolumeWorkBooks.rb' through "CallerInput"
> Then I set "CallerOutput" So I can grab the filenames generated after
> applying my data to the template.
> Sounds very much in line with what you're trying to accomplish, but
> again, maybe just as a starting point.
> Best Regards,
> Kevin Radcliffe
> On Wed, Oct 14, 2009 at 9:45 AM, Thibaut Barrère
> <thibaut.barrere at gmail.com> wrote:
>>> whoops. i thought you meant Excel/Word *automation*, my bad.
>> Well, it could have been the case, but I'm avoiding that on purpose :)
>> My goal is more or less to rely on word/excel editable templates where I
>> inject data (fields, rows...) a bit like in Documatic (excellent project
>> although not active anymore afaik:
>> http://stonecode.svnrepository.com/documatic/trac.cgi/wiki)
>> @Ryan: pretty much what I had in mind, except I didn't know about Eric
>> White's examples. Thanks a lot!
>> I'll see if there is some benefit to wrap this up in an IronRuby gem (and
>> will share it if it does).
>> best,
>> Thibaut
>> --
>> http://www.learnivore.com
>> _______________________________________________
>> Ironruby-core mailing list
>> Ironruby-core at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/ironruby-core

More information about the Ironruby-core mailing list