-
1. Re: any plugin api to find text ?
lrosenth Sep 25, 2009 12:59 AM (in response to arvindg007)There are rich APIs for searching in a PDF via the SDK.
-
2. Re: any plugin api to find text ?
Patrick Leckey Sep 25, 2009 7:21 AM (in response to arvindg007)Look at the PDWordFinder or PDEText areas of the SDK, depending on which one suits your purpose best. There is also a PDWordFinder sample in the SnippetRunner included in the SDK download.
-
3. Re: any plugin api to find text ?
arvindg007 Sep 30, 2009 12:15 AM (in response to Patrick Leckey)Hi,
I want to simulate find Text , find next feature in my application. And I think Acrobat Plugin will have some api similar to iac_api named
CAcroAVDoc::FindText. But I didn't find in the plug-in reference document.
And I also looked PDWordFinder sample code but looks like to simulate findtext thru this , we need to scan whole document first and then compare the word and then we need to highlight it. So good amount of code, I have to write to simulate FindText.
So don't we have any other way or api by which we can simulate FindText, Find next easily . And also I want to know which plugin api use PDFindFlags (mentioned in the plug-in reference document).
Please let me know your inputs.
Regards,
Arvind
-
4. Re: any plugin api to find text ?
Patrick Leckey Sep 30, 2009 1:09 PM (in response to arvindg007)I guess it depends on your definition of "a good amount of code". I believe the PDWordFinder sample in the SDK is barely over 100 lines (for the functional parts, not including the generic setup required for any plug-in).
If you want something that will find and highlight words in 3 lines, but with MUCH less control over the search and what you can do with the results you should check out the IAC section of the SDK.



