Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: How can I create MS Word 2013 documents using Perl?

by sundialsvc4 (Abbot)
on Jul 30, 2014 at 19:21 UTC ( #1095657=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How can I create MS Word 2013 documents using Perl?
in thread How can I create MS Word 2013 documents using Perl?

Dialogs are still a serious problem with Word and other applications.   If you are able to generate, reliably and accurately, a “transportable” format that you know your version will accept, then that is definitely a good alternative.   It will probably be best to let the Microsoft application itself generate the document that can then be used as a programmatic basis for what comes next, e.g. by turning it into a Template or something like that.   But it can still turn out to be a crap-shoot.

If you do use a Perl module to generate the base document, I definitely would shoot for one of these transportable formats, versus trying to emulate Microsoft’s file-madnesses ... and in any case I would be sure to use the most-current and most-recently-updated CPAN module that you can possibly lay your hands on, whatever one that turns out to be.   If it is “a few years old,” even, there could be problems.   Test the holy-hell out of whatever you do finally come up with, and then pray that Redmond will smile.


Comment on Re^3: How can I create MS Word 2013 documents using Perl?
Re^4: How can I create MS Word 2013 documents using Perl?
by exixx (Acolyte) on Jul 31, 2014 at 16:22 UTC

    When using OLE to more recent MS Office versions, it's usually most helpful to turn off all the warnings before operating and then turn them back on when done. I've found this to be useful for preventing popup dialogs. Got to remember to turn them back on though...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1095657]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2014-12-25 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls