LeechCraft Monocle  0.6.70-13729-g7046a9d2a7
Modular document viewer for LeechCraft
LC::Monocle::ITextAnnotation Class Referenceabstract

The interface for AnnotationType::Text annotations. More...

#include "iannotation.h"

+ Inheritance diagram for LC::Monocle::ITextAnnotation:
+ Collaboration diagram for LC::Monocle::ITextAnnotation:

Public Member Functions

virtual ~ITextAnnotation ()
 
virtual bool IsInline () const =0
 Returns whether this is an inline annotation. More...
 
- Public Member Functions inherited from LC::Monocle::IAnnotation
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...
 

Detailed Description

The interface for AnnotationType::Text annotations.

Definition at line 132 of file iannotation.h.

Constructor & Destructor Documentation

◆ ~ITextAnnotation()

virtual LC::Monocle::ITextAnnotation::~ITextAnnotation ( )
inlinevirtual

Definition at line 135 of file iannotation.h.

Member Function Documentation

◆ IsInline()

virtual bool LC::Monocle::ITextAnnotation::IsInline ( ) const
pure virtual

Returns whether this is an inline annotation.

Inline annotation should rather be displayed right on the document.

Returns
Whether this is an inline annotation.

The documentation for this class was generated from the following file: