95 virtual QString GetAuthor ()
const = 0;
104 virtual QDateTime GetDate ()
const = 0;
114 virtual QRectF GetBoundary ()
const = 0;
127 virtual QString GetText ()
const = 0;
144 virtual bool IsInline ()
const = 0;
171 virtual QList<QPolygonF> GetPolygons ()
const = 0;
213 "org.LeechCraft.Monocle.IAnnotation/1.0");
215 "org.LeechCraft.Monocle.ITextAnnotation/1.0");
217 "org.LeechCraft.Monocle.IHighlightAnnotation/1.0");
219 "org.LeechCraft.Monocle.ILinkAnnotation/1.0");
221 "org.LeechCraft.Monocle.ICaretAnnotation/1.0");
std::shared_ptr< ILink > ILink_ptr
The interface for AnnotationType::Caret annotations.
A highlighted block in the text.
virtual ~ITextAnnotation()
AnnotationType
Defines an annotation type.
The interface for AnnotationType::Text annotations.
An annotation with a link.
std::shared_ptr< ILinkAnnotation > ILinkAnnotation_ptr
A caret pointing to some text inserted.
Base interface for annotations.
The interface for AnnotationType::Link annotations.
Q_DECLARE_INTERFACE(LeechCraft::Monocle::IAnnotation,"org.LeechCraft.Monocle.IAnnotation/1.0")
std::shared_ptr< IAnnotation > IAnnotation_ptr
virtual ~ILinkAnnotation()
The interface for AnnotationType::Highlight annotations.
std::shared_ptr< ITextAnnotation > ITextAnnotation_ptr
A simple text annotation.
std::shared_ptr< ICaretAnnotation > ICaretAnnotation_ptr
virtual ~ICaretAnnotation()
Another type of annotation.
std::shared_ptr< IHighlightAnnotation > IHighlightAnnotation_ptr
virtual ~IHighlightAnnotation()