Public Member Functions | |
PageTextLinks (const TextPage &page) | |
Constructor, from a parsed PDF page. More... | |
PageTextLinks (const PageTextLinks &other) | |
Constructor, with another PageTextLinks object. More... | |
~PageTextLinks () | |
Destructor. | |
TextLink | GetTextLink (int index) |
Get a text link object by index. More... | |
int | GetTextLinkCount () |
Get the count of the URL formatted texts, in related PDF page. More... | |
bool | IsEmpty () const |
Check whether current object is empty or not. More... | |
bool | operator!= (const PageTextLinks &other) const |
Not equal operator. More... | |
PageTextLinks & | operator= (const PageTextLinks &other) |
Assign operator. More... | |
bool | operator== (const PageTextLinks &other) const |
Equal operator. More... | |
![]() | |
FS_HANDLE | Handle () const |
Get the handle of current object. More... | |
In a PDF page, some text content may represent a hypertext link to a website or a resource on the internet, or an e-mail address. Class PageTextLinks is used to manage these kind of text content as text links.
|
explicit |
Constructor, from a parsed PDF page.
[in] | page | A valid PDF page object. This page should has been parsed. |
foxit::pdf::PageTextLinks::PageTextLinks | ( | const PageTextLinks & | other | ) |
Constructor, with another PageTextLinks object.
[in] | other | Another PageTextLinks object. |
TextLink foxit::pdf::PageTextLinks::GetTextLink | ( | int | index | ) |
Get a text link object by index.
[in] | index | Index of a text link object. Valid range: from 0 to (count-1). count is returned by function PageTextLinks::GetTextLinkCount. |
int foxit::pdf::PageTextLinks::GetTextLinkCount | ( | ) |
Get the count of the URL formatted texts, in related PDF page.
bool foxit::pdf::PageTextLinks::IsEmpty | ( | ) | const |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
bool foxit::pdf::PageTextLinks::operator!= | ( | const PageTextLinks & | other | ) | const |
Not equal operator.
[in] | other | Another PageTextLinks object. This function will check if current object is not equal to this one. |
PageTextLinks& foxit::pdf::PageTextLinks::operator= | ( | const PageTextLinks & | other | ) |
Assign operator.
[in] | other | Another PageTextLinks object, whose value would be assigned to current object. |
bool foxit::pdf::PageTextLinks::operator== | ( | const PageTextLinks & | other | ) | const |
Equal operator.
[in] | other | Another PageTextLinks object. This function will check if current object is equal to this one. |