LeechCraft Monocle 0.6.70-14794-g33744ae6ce
Modular document viewer for LeechCraft
Loading...
Searching...
No Matches
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.
 
- Public Member Functions inherited from LC::Monocle::IAnnotation
virtual ~IAnnotation ()
 
virtual QString GetAuthor () const =0
 Returns the author of the annotation.
 
virtual QDateTime GetDate () const =0
 Returns the date the annotation was created.
 
virtual QRectF GetBoundary () const =0
 Returns the bounding rectangle of the annotation.
 
virtual AnnotationType GetAnnotationType () const =0
 Returns the type of the annotation.
 
virtual QString GetText () const =0
 Returns the text contained in the annotation.
 

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 163 of file iannotation.h.

Constructor & Destructor Documentation

◆ ~ILinkAnnotation()

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

Definition at line 166 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: