![]() |
LeechCraft Monocle
%{LEECHCRAFT_VERSION}
Modular document viewer for LeechCraft
|
Interface for documents supporting querying text contents. More...
#include "ihavetextcontent.h"
Public Member Functions | |
virtual | ~IHaveTextContent () |
Virtual destructor. More... | |
virtual QString | GetTextContent (int page, const QRect &rect)=0 |
Returns the text in the given rectangle. More... | |
Interface for documents supporting querying text contents.
This interface should be implemented by the documents of formats supporting obtaining the text contained in a selection rectangle.
Definition at line 46 of file ihavetextcontent.h.
|
inlinevirtual |
Virtual destructor.
Definition at line 51 of file ihavetextcontent.h.
|
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.
[in] | page | The index of the page to query. |
[in] | rect | The rectangle on the page to query. |