Parse a word document using ASP.NET

假装没事ソ 提交于 2019-12-08 11:20:21

问题


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

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