Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要解析一个word文档并从该文件中找出一些关键词。我已经通过一些解决方案来读取文档文件,例如使用 COM 或使用第三方工具。有没有其他方法可以不使用这两个来阅读word文档?我正在使用带有 c# 的 asp.net。
没有亲自使用过,但http://docx.codeplex.com/是在流行的最有用的免费 .NET 库中推荐的 Word Doc Manipulation Libraries 之一?邮政
您可以使用 IFilter 接口,它是 Microsoft 索引服务的一部分。它支持二进制 Word 文件。更多信息:
http://www.codeproject.com/KB/cs/IFilter.aspx