如何在pdf,word,ppt等文档中搜索字符串 [英] How to search a string in documents like pdf, word, ppt

查看:190
本文介绍了如何在pdf,word,ppt等文档中搜索字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我需要在文件夹中的文档集合中搜索字符串.我有一个使用lucene.net和xapian的想法.

Hi everyone ,

I need to search string in a collection of documents in a folder. i had an idea of using lucene.net and xapian. Is there any code snippets to search string in documents??

推荐答案

您可能需要使用iTextSharp [ ^ ] for PDF.
you probably need to look into using the Interop[^] namespace(s) for Microsoft Office products, and something like iTextSharp[^] for PDF.


这篇关于如何在pdf,word,ppt等文档中搜索字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆