How to convert a word document to a text file in c# without using microsoft.office.interop?

心已入冬 提交于 2019-12-11 05:29:01

问题


I have plenty of different versions of word documents which have to be converted to text files.
I hope this link brings you right way How to extract text from Word files using C#? I want to read the content of the word document and remove all the formats(just have words in text files). I have done by using microsoft.office.interop(here, always instantiate a Word on the client) which is not recommended. So I am trying to create a c# project which should convert word to text automatically. Can anyone suggest me any 3rd party tool which should be efficient open source or reasonable price for all the versions of word to text file conversion in c#?

With Regards, Shanthini


回答1:


Finally I found solution which perfectly works for me at the moment. I haven't test with 10000 documents. Here you go., http://sourceforge.net/projects/word-reader/?source=dlp Comments and suggestions are expecting about this solution...

Thank you, Shanthini



来源:https://stackoverflow.com/questions/17046358/how-to-convert-a-word-document-to-a-text-file-in-c-sharp-without-using-microsoft

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!