Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
Problems with text search |
Post Reply
|
| Author | |
Marco
Team Player
Joined: 09 Nov 10 Location: Livorno Status: Offline Points: 40 |
Post Options
Thanks(0)
Quote Reply
Topic: Problems with text searchPosted: 17 Nov 14 at 8:00AM |
|
During my tests, I see that with the CTRL+F keyboard shortcut the search integrated goes well,
but if I call "manually" the methods listed above I've a problem with these functions: - bool SearchPDFText(String SearchText) Starts search for specified text in current PDF Document and selects first result. Returns FALSE if the search failed. - void NextSearchResult(void) Navigates to next result of successful text search using SearchPDFText. - void PrevSearchResult(void) Navigates to previous result of successful text search using SearchPDFText. The problem is that the SearchPDFText returns true but doesn't select the first result, and the other functions (NextSearchResult and PrevSearchResult) don't select nothing. Can you help me? Thanks, regards Edited by Marco - 17 Nov 14 at 8:02AM |
|
![]() |
|
mLipok
Senior Member
Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 Nov 14 at 8:14AM |
|
I see you talk about Viewer SDK
btw. Can you give any test PDF file ? |
|
|
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600 |
|
![]() |
|
Marco
Team Player
Joined: 09 Nov 10 Location: Livorno Status: Offline Points: 40 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 Nov 14 at 11:29AM |
|
In the viewer, I've added a textbox to find a string in the document I've opened correctly.
If I search a string, the SearchPDFText returns true but doesn't select the first result, and the other functions (NextSearchResult and PrevSearchResult) don't select nothing. Otherwise, in the same document, with the CTRL+F keyboard shortcut the search works correctly.. |
|
![]() |
|
Marco
Team Player
Joined: 09 Nov 10 Location: Livorno Status: Offline Points: 40 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 Nov 14 at 3:44PM |
|
In others tests, I've seen that the SearchPDFText returns true always (even if the text to find is not in the document)...why?
|
|
![]() |
|
Marco
Team Player
Joined: 09 Nov 10 Location: Livorno Status: Offline Points: 40 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 Nov 14 at 4:38PM |
|
Some suggestions?..I've to solve this problem..
|
|
![]() |
|
mLipok
Senior Member
Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 Nov 14 at 5:34PM |
|
are You refering to: Debenu PDF Viewer SDK Quick Start Guide.pdf ?
Which says: " bool SearchPDFText(String SearchText) Starts search for specified text in current PDF Document and selects first result. Returns FALSE if the search failed. void NextSearchResult(void) Navigates to next result of successful text search using SearchPDFText. void PrevSearchResult(void) Navigates to previous result of successful text search using SearchPDFText. " I do some test $oDPVS.SearchPDFText('e') $oDPVS.NextSearchResult() $oDPVS.NextSearchResult() $oDPVS.PrevSearchResult() And it really do not select any results. Edited by mLipok - 19 Nov 14 at 5:35PM |
|
|
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600 |
|
![]() |
|
Marco
Team Player
Joined: 09 Nov 10 Location: Livorno Status: Offline Points: 40 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 Nov 14 at 3:47PM |
|
Ok,
please contact me when the bug will be fixed, so I'll can to buy the Debenu PDF Viewer SDK license. Thanks a lot, regards. |
|
![]() |
|
mLipok
Senior Member
Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 Nov 14 at 8:57PM |
|
Marco I'am not one of Debenu Team member.
I'am just a normal Debenu Client and forum member. btw. I post to DebenuTeam BugReport ...... If you want to be informed about new relases, You can Cheers. mLipok |
|
|
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600 |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 Nov 14 at 12:03PM |
|
Hi Marco,
this is the technical support page from Debenu: Cheers, Ingo
|
|
|
Cheers,
Ingo |
|
![]() |
|
Marco
Team Player
Joined: 09 Nov 10 Location: Livorno Status: Offline Points: 40 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 Dec 14 at 9:28AM |
|
Hi Ingo, something about the bug-fixed?
|
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 Dec 14 at 9:12PM |
|
Hi Marco,
as long as you're not posting the bug on the official support page this bug (if it's a bug) won't be fixed i fear ;-) I'm only a forum- and library-user from the "first hour". Cheers, Ingo |
|
|
Cheers,
Ingo |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store