http://qs1969.pair.com?node_id=757405


in reply to Insert an image into a Word document

Win32::Word::Writer is essentially a convenience wrapper around Win32::OLE. The Writer docs contains some advice on how to figure out how to automate Word in general.

I don't think it will be difficult. It would mostly be about translating VBA scripts into Perl, and the Win32::Word::Writer source has plenty of examples on how to do that. The OLE Word and Document objects are both available to call methods on.

If you do implement it as part of Win32::Word::Writer, I'd be happy to accept patches (just send me whole updated files if you don't know how to create a patch file).

/J

  • Comment on Re: Insert an image into a Word document