Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 20, 2012 05:41 AM by sreejukg
Participant
1571 Points
497 Posts
Jun 20, 2012 05:18 AM|LINK
hi
i have big word document. this document is explanation of 100 topic.
i need 2 thing:
1- read the word file and fin this topic dynamicaly and show them to users. (topics have diffrent style from other text in word doc).
2- when user click on each topic. i read the explenation of selected topic from wold and show that to user
any idea ?
All-Star
27543 Points
4109 Posts
Jun 20, 2012 05:41 AM|LINK
If you are using word 2007 or later (with extention .docx), this means the files uses XML format namely Open XML, which makes easy to read from external applications. Refer the below SDK that helps you to do thing programatically
http://msdn.microsoft.com/en-us/library/bb448854
If you just want to extract text from word document, you may refer the below.
http://www.codeproject.com/Articles/20529/Using-DocxToText-to-Extract-Text-from-DOCX-Files
There are lot of third party components available(They are not free )... Refer the below
http://www.aspose.com/categories/.net-components/aspose.words-for-.net/default.aspx
hope this helps
reza141414
Participant
1571 Points
497 Posts
reading specific part of word document
Jun 20, 2012 05:18 AM|LINK
hi
i have big word document. this document is explanation of 100 topic.
i need 2 thing:
1- read the word file and fin this topic dynamicaly and show them to users. (topics have diffrent style from other text in word doc).
2- when user click on each topic. i read the explenation of selected topic from wold and show that to user
any idea ?
dont forget to mark as answerd...
sreejukg
All-Star
27543 Points
4109 Posts
Re: reading specific part of word document
Jun 20, 2012 05:41 AM|LINK
If you are using word 2007 or later (with extention .docx), this means the files uses XML format namely Open XML, which makes easy to read from external applications. Refer the below SDK that helps you to do thing programatically
http://msdn.microsoft.com/en-us/library/bb448854
If you just want to extract text from word document, you may refer the below.
http://www.codeproject.com/Articles/20529/Using-DocxToText-to-Extract-Text-from-DOCX-Files
There are lot of third party components available(They are not free )... Refer the below
http://www.aspose.com/categories/.net-components/aspose.words-for-.net/default.aspx
hope this helps
My Blog