Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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>

Comment on Re: win 32 OLE Selection property

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2015-12-01 00:48 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (790 votes), past polls