ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 PDFium Find()
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jrpcguru

USA
254 Posts

Posted - May 07 2021 :  19:44:32  Show Profile  Reply
The help file says that if there is nothing found, the result of
bResult := ImageEnView1.PdfViewer.Find( 'Adobe' );

is False. Unfortunately I find it is always True. I was trying to create a way to use Find/FindNext to search the whole document instead of a single page. I managed to get FindNext to recognize the end of a page and move to the next page. But if there is no find on the initial page, I can't detect that and move to another page and keep changing pages until the first Find is found.

Is there a way to search the whole document?
Is the fact that Find yields true all the time a bug?
I'm confused that HighlightText works for the entire document, but Find and FindNext do not.

J.R.

xequte

38127 Posts

Posted - May 09 2021 :  21:44:29  Show Profile  Reply
Hi JR

We have a fix for the Find Result.

PDFium does not support global find, so we'll need to implement that at the library level. We're looking into this.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

xequte

38127 Posts

Posted - May 10 2021 :  19:15:57  Show Profile  Reply
FYI, we have added full document search to 10.0.1

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

jrpcguru

USA
254 Posts

Posted - May 11 2021 :  10:06:46  Show Profile  Reply
That is great news. Thank you! I've been testing PDFium while I'm between projects. Shortly I will resume work on other things, giving plenty of time for these PDFium fixes to appear in your next release.

J.R.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: