okular
Okular::TextEntity Class Reference
#include <textpage.h>
Detailed Description
Abstract textentity of Okular.
- The context
- A document can provide different forms of information about textual representation of its contents. It can include information about positions of every character on the page, this is the best possibility.
Also some document types have glyphes - sets of characters rendered as one, so in search they should appear as a text but are only one character when drawn on screen. We need to allow this.
Definition at line 43 of file textpage.h.
Public Types | |
| typedef QList< TextEntity * > | List |
Public Member Functions | |
| TextEntity (const QString &text, NormalizedRect *area) | |
| ~TextEntity () | |
| QString | text () const |
| NormalizedRect * | area () const |
| NormalizedRect | transformedArea (const QMatrix &matrix) const |
Member Typedef Documentation
| typedef QList<TextEntity*> Okular::TextEntity::List |
Definition at line 46 of file textpage.h.
Constructor & Destructor Documentation
| TextEntity::TextEntity | ( | const QString & | text, | |
| NormalizedRect * | area | |||
| ) |
Creates a new text entity with the given text and the given area.
Definition at line 36 of file textpage.cpp.
| TextEntity::~TextEntity | ( | ) |
Member Function Documentation
| QString TextEntity::text | ( | ) | const |
| NormalizedRect * TextEntity::area | ( | ) | const |
| NormalizedRect TextEntity::transformedArea | ( | const QMatrix & | matrix | ) | const |
The documentation for this class was generated from the following files:
KDE 4.0 API Reference