Print Page | Close Window

Problems with text search

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3014
Printed Date: 04 May 24 at 8:39AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Problems with text search
Posted By: Marco
Subject: Problems with text search
Date 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



Replies:
Posted By: mLipok
Date 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


Posted By: Marco
Date 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..


Posted By: Marco
Date 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?


Posted By: Marco
Date Posted: 19 Nov 14 at 4:38PM
Some suggestions?..I've to solve this problem..


Posted By: mLipok
Date 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.



-------------
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


Posted By: Marco
Date 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.


Posted By: mLipok
Date 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 
http://eepurl.com/fbOwE" rel="nofollow - Sign up for the Debenu PDF Library Newsletter

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


Posted By: Ingo
Date Posted: 26 Nov 14 at 12:03PM
Hi Marco,
 
this is the technical support page from Debenu:
http://www.debenu.com/support/contact/" rel="nofollow - http://www.debenu.com/support/contact/
 
Cheers, Ingo


-------------
Cheers,
Ingo



Posted By: Marco
Date Posted: 03 Dec 14 at 9:28AM
Hi Ingo, something about the bug-fixed?


Posted By: Ingo
Date 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




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk