Interface for documents supporting querying text contents.
More...
#include "ihavetextcontent.h"
Interface for documents supporting querying text contents.
This interface should be implemented by the documents of formats supporting obtaining the text contained in some page rectangle.
Definition at line 40 of file ihavetextcontent.h.
◆ ~IHaveTextContent()
virtual LC::Monocle::IHaveTextContent::~IHaveTextContent |
( |
| ) |
|
|
protectedvirtualdefault |
◆ GetTextBoxes()
virtual QVector< TextBox > LC::Monocle::IHaveTextContent::GetTextBoxes |
( |
int | page | ) |
|
|
pure virtual |
◆ GetTextContent()
virtual QString LC::Monocle::IHaveTextContent::GetTextContent |
( |
int | page, |
|
|
const PageRelativeRectBase & | rect ) |
|
pure virtual |
Returns the text in the given rectangle.
This function should return the text contained in the given rect at the given page, or an empty string if there is no text in this rect or the document doesn't contain any text information.
- Parameters
-
[in] | page | The index of the page to query. |
[in] | rect | The rectangle on the page to query. |
- Returns
- The text in rect at page.
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.17335.ge406ffdcaf-build/leechcraft-0.6.70-17335-ge406ffdcaf/src/plugins/monocle/interfaces/monocle/ihavetextcontent.h