Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

perl and ms office

by sumit07 (Novice)
on Aug 22, 2012 at 09:32 UTC ( #988992=perlquestion: print w/replies, xml ) Need Help??
sumit07 has asked for the wisdom of the Perl Monks concerning the following question:

I wanted to add custom properties to a word document using perl can any one help me with this ?

Replies are listed 'Best First'.
Re: perl and ms office
by Anonymous Monk on Aug 22, 2012 at 09:44 UTC
Re: perl and ms office
by GlitchMr (Sexton) on Aug 22, 2012 at 09:47 UTC

    I don't know what you mean by custom properties, but you may be interested in Win32::Word::Writer module which can be used to modify Word documents (Word has to be installed to use it).

      i meant custom document properties right click a doc file go to properties and you can see
Re: perl and ms office
by rpnoble419 (Pilgrim) on Aug 22, 2012 at 13:18 UTC
    What version of MS Word? If you use the 97-2003 format, you will need to use Win32::OLE. The newer format is a zip file that contains an XML document you can process using any number of the XML modules found on CPAN.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://988992]
Approved by moritz
[shmem]: LanX: ah, that one. You'll get the bug reports also :P
[Discipulus]: upvote me! i'll make pm great again! ;=)
[shmem]: Discipulus reminds me of an irish saying: "I would guess a tomorrow can wait 'til this day is done" :-)
[LanX]: nite! :)
[Discipulus]: or a spanish one: ' qui mucho se despide no quiere despedirse'

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-04-29 22:51 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (534 votes). Check out past polls.