问题
I need to parse a word document and find out some key words from that file. I have gone through some solutions to read doc files like using COM or using third party tools. Is there any other way to read word document without using these two? I am using asp.net with c#.
回答1:
You can use the IFilter interface, which is part of Microsoft's Indexing Service. It supports binary Word files. More information:
http://www.codeproject.com/KB/cs/IFilter.aspx
回答2:
Haven't personally used this but http://docx.codeplex.com/ is one of the recommended Word Doc Manipulation Libraries on the popular Most useful free .NET libraries? post
来源:https://stackoverflow.com/questions/5241973/parse-a-word-document-using-asp-net