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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Problems with text search
  FAQ FAQ  Forum Search   Register Register  Login Login

Problems with text search

 Post Reply Post Reply
Author
Message
Marco View Drop Down
Team Player
Team Player


Joined: 09 Nov 10
Location: Livorno
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco Quote  Post ReplyReply Direct Link To This Post Topic: Problems with text search
    Posted: 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
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Marco View Drop Down
Team Player
Team Player


Joined: 09 Nov 10
Location: Livorno
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco Quote  Post ReplyReply Direct Link To This Post 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..
Back to Top
Marco View Drop Down
Team Player
Team Player


Joined: 09 Nov 10
Location: Livorno
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
Marco View Drop Down
Team Player
Team Player


Joined: 09 Nov 10
Location: Livorno
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco Quote  Post ReplyReply Direct Link To This Post Posted: 19 Nov 14 at 4:38PM
Some suggestions?..I've to solve this problem..
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Marco View Drop Down
Team Player
Team Player


Joined: 09 Nov 10
Location: Livorno
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 26 Nov 14 at 12:03PM
Hi Marco,
 
this is the technical support page from Debenu:
 
Cheers, Ingo
Cheers,
Ingo

Back to Top
Marco View Drop Down
Team Player
Team Player


Joined: 09 Nov 10
Location: Livorno
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco Quote  Post ReplyReply Direct Link To This Post Posted: 03 Dec 14 at 9:28AM
Hi Ingo, something about the bug-fixed?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store