![]() |
LeechCraft Monocle
0.6.70-6645-gcd10d7e
Modular document viewer for LeechCraft
|
Base interface for annotations. More...
#include "iannotation.h"
Public Member Functions | |
virtual | ~IAnnotation () |
virtual QString | GetAuthor () const =0 |
Returns the author of the annotation. More... | |
virtual QDateTime | GetDate () const =0 |
Returns the date the annotation was created. More... | |
virtual QRectF | GetBoundary () const =0 |
Returns the bounding rectangle of the annotation. More... | |
virtual AnnotationType | GetAnnotationType () const =0 |
Returns the type of the annotation. More... | |
virtual QString | GetText () const =0 |
Returns the text contained in the annotation. More... | |
Base interface for annotations.
This interface should be implemented by all annotation objects. In fact, exact annotation interfaces all derive from this one, so there is no need in deriving from this one explicitly.
Definition at line 86 of file iannotation.h.
|
inlinevirtual |
Definition at line 89 of file iannotation.h.
|
pure virtual |
Returns the type of the annotation.
|
pure virtual |
Returns the author of the annotation.
|
pure virtual |
Returns the bounding rectangle of the annotation.
This method should return the bounding rectangle in page coordinates, where (0; 0) is the top left corner, and (1; 1) is the bottom right corner.
|
pure virtual |
Returns the date the annotation was created.
If the date is unknown or not applicable, an invalid QDateTime object should be returned.
|
pure virtual |
Returns the text contained in the annotation.