Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdf_textpagefind.h>
Classes | |
struct | Options |
Public Member Functions | |
~CPDF_TextPageFind () | |
bool | FindNext () |
bool | FindPrev () |
int | GetCurOrder () const |
int | GetMatchedCount () const |
Static Public Member Functions | |
static std::unique_ptr< CPDF_TextPageFind > | Create (const CPDF_TextPage *pTextPage, const WideString &findwhat, const Options &options, absl::optional< size_t > startPos) |
Definition at line 22 of file cpdf_textpagefind.h.
|
default |
|
static |
Definition at line 175 of file cpdf_textpagefind.cpp.
bool CPDF_TextPageFind::FindNext | ( | ) |
Definition at line 213 of file cpdf_textpagefind.cpp.
References fxcrt::WideString::Back(), CPDF_TextPageFind::Options::bConsecutive, fxcrt::WideString::IsEmpty(), and fxcrt::WideString::operator[]().
Referenced by FindPrev(), and FPDFText_FindNext().
bool CPDF_TextPageFind::FindPrev | ( | ) |
Definition at line 305 of file cpdf_textpagefind.cpp.
References CPDF_TextPageFind::Options::bConsecutive, FindNext(), GetCurOrder(), and GetMatchedCount().
Referenced by FPDFText_FindPrev().
int CPDF_TextPageFind::GetCurOrder | ( | ) | const |
Definition at line 340 of file cpdf_textpagefind.cpp.
Referenced by FindPrev(), and FPDFText_GetSchResultIndex().
int CPDF_TextPageFind::GetMatchedCount | ( | ) | const |
Definition at line 344 of file cpdf_textpagefind.cpp.
Referenced by FindPrev(), and FPDFText_GetSchCount().