If it is your web-site, why would you need to scrape its contents? Don't you have direct access to the data?If Win32::Word::Writer doesn't have a handy function to include images, the you must use Win32::OLE.
CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
| [reply] |
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
| [reply] |
Did you resole the problem? I have same. Let me now if yes, please. | [reply] |