是否有任何框架在iphone上渲染后突出显示pdf文件上的文本 [英] Is there any framework to highlight text on pdf file after rendering on the iphone
问题描述
我正在尝试搜索通过 drawLayer
呈现的pdf上的单词。任何人都可以建议我如何在PDF上找到一个单词以及页面上单词的位置(坐标)?是否有任何可用的导入框架或任何可用的库?在谷歌花了更多时间后,我发现了一些样本来搜索pdf上的单词;这些是来自github的fastsamplepdf,随机创意
I am trying to work on searching a word on the pdf which is rendered through the drawLayer
. Can any one suggest how I should find a word on a pdf and the position (co-ordinates) of the word on the page? Is there any free framework to import or any libraries available? After spending more time with google I found some samples to search a word on pdf; those are fastsamplepdf from github, random ideas
我的工作
我见过fastsample pdf代码;我只理解使用
MY WORK
I seen fastsample pdf code; I understood only the parsing of the pdf to text using
+(MFDocumentManager *)documentManagerWithFilePath:
(NSString *)filePath;
和
-(NSString *)wholeTextForPage:
(NSUInteger)pageNr withProfile:(MFProfile *)p;
但是我找不到它们是如何突出显示的。请任何人帮我解决这个问题。请发表一些建议。
谢谢。
But I can't find how they are highlighted. Please can any one help me out with this. Please post some suggestions. Thank you.
推荐答案
参考
在iphone sdk的PDF中进行搜索功能需要哪些pdf运营商?
这篇关于是否有任何框架在iphone上渲染后突出显示pdf文件上的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!