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

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

#include "iannotation.h"

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

Public Member Functions

virtual ~ILinkAnnotation ()
 
virtual ILink_ptr GetLink () const =0
 Returns the link corresponding to this 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::Link annotations.

Please note that there shouldn't be link annotations that contain links equivalent to the ones returned from the IDocument::GetPageLinks() method. The corresponding links should be returned from the latter method.

See also
ILink
IDocument::GetPageLinks()

Definition at line 184 of file iannotation.h.

Constructor & Destructor Documentation

◆ ~ILinkAnnotation()

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

Definition at line 187 of file iannotation.h.

Member Function Documentation

◆ GetLink()

virtual ILink_ptr LC::Monocle::ILinkAnnotation::GetLink ( ) const
pure virtual

Returns the link corresponding to this annotation.

Returns
The link corresponding to this annotation.

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