Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CPDF_TextPageFind Class Reference

#include <cpdf_textpagefind.h>

+ Collaboration diagram for CPDF_TextPageFind:

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_TextPageFindCreate (const CPDF_TextPage *pTextPage, const WideString &findwhat, const Options &options, absl::optional< size_t > startPos)
 

Detailed Description

Definition at line 22 of file cpdf_textpagefind.h.

Constructor & Destructor Documentation

◆ ~CPDF_TextPageFind()

CPDF_TextPageFind::~CPDF_TextPageFind ( )
default

Member Function Documentation

◆ Create()

std::unique_ptr< CPDF_TextPageFind > CPDF_TextPageFind::Create ( const CPDF_TextPage * pTextPage,
const WideString & findwhat,
const Options & options,
absl::optional< size_t > startPos )
static

Definition at line 175 of file cpdf_textpagefind.cpp.

◆ FindNext()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FindPrev()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCurOrder()

int CPDF_TextPageFind::GetCurOrder ( ) const

Definition at line 340 of file cpdf_textpagefind.cpp.

Referenced by FindPrev(), and FPDFText_GetSchResultIndex().

+ Here is the caller graph for this function:

◆ GetMatchedCount()

int CPDF_TextPageFind::GetMatchedCount ( ) const

Definition at line 344 of file cpdf_textpagefind.cpp.

Referenced by FindPrev(), and FPDFText_GetSchCount().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: