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

Re: win 32 OLE Selection property

by rpnoble419 (Pilgrim)
on Aug 22, 2012 at 13:41 UTC ( #989040=note: print w/replies, xml ) Need Help??

in reply to win 32 OLE Selection property

Are you working with MS Word 2007 or 2010 docx files? If so you can open the file (its a Zip file) and process the /word/document.xml file. The paragraph start tag looks like this: <w:p w:rsidR="00E56F3D" w:rsidRDefault="00E56F3D" w:rsidP="00E56F3D"> and ends with this </w:p>. You will need to combine the sub tabs to create a whole paragraph as the text is not contiguous (its broken up by formatting tags). The actual paragraph text is contained in tags that are wrapped by <w:t>...</w:t>

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://989040]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2017-07-25 21:58 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (382 votes). Check out past polls.