Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2015-07-05 06:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls