This function has been removed in december 2008
because it was incorrect, and unable to handle text
in non latin languages.
For a correct implementation, see function search_text in
djvulibre-3.5/gui/shared/QT/qd_search_dialog.cpp.
However I advise you against using the internal apis
of the reference library. The public api is documented
in files ddjvuapi.h and miniexp.h. The function
ddjvu_document_get_pagetext give full access
to the text information. For an implementation
of search, see functions miniexp_search_text
in djview/src/qdjviewsidebar.cpp.
- L.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Leon.
Thanks.
I using reference library (3.5.x)
but
removed
DJVUREFAPI GList<Zone *> search_string(
GUTF8String string,
int & start_pos,
const bool search_fwd,
const bool match_case,
const bool whole_word=false ) const;
function on this version or before ?
search_string() function is very useful
====
DjVuTXT.h version is
// $Id: DjVuText.h,v 1.29 2005/02/08 22:02:03 stang Exp $
// $Name: Bob_1050 $
Thanks, Leon.
This function has been removed in december 2008
because it was incorrect, and unable to handle text
in non latin languages.
For a correct implementation, see function search_text in
djvulibre-3.5/gui/shared/QT/qd_search_dialog.cpp.
However I advise you against using the internal apis
of the reference library. The public api is documented
in files ddjvuapi.h and miniexp.h. The function
ddjvu_document_get_pagetext give full access
to the text information. For an implementation
of search, see functions miniexp_search_text
in djview/src/qdjviewsidebar.cpp.
- L.
:)