35 #include <QStringList> 114 virtual QObject* GetBackendPlugin ()
const = 0;
123 virtual QObject* GetQObject () = 0;
132 virtual bool IsValid ()
const = 0;
144 virtual int GetNumPages ()
const = 0;
158 virtual QSize GetPageSize (
int page)
const = 0;
177 virtual QImage RenderPage (
int page,
double xScale,
double yScale) = 0;
191 virtual QList<ILink_ptr> GetPageLinks (
int page) = 0;
201 virtual QUrl GetDocURL ()
const = 0;
222 virtual void navigateRequested (
const QString& filename,
int pageNum,
double x,
double y) = 0;
232 virtual void printRequested (
const QList<int>& pages) = 0;
242 "org.LeechCraft.Monocle.IDocument/1.0");
QStringList Genres_
Genres of this document.
Basic interface for documents.
std::shared_ptr< IDocument > IDocument_ptr
Shared pointer to a document.
virtual ~IDocument()
Virtual destructor.
QStringList Keywords_
Keywords corresponding to this document.
QString Author_
The author of the document.
QString Subject_
The subject line of this document.
QString Description_
Description of the document.
QString Title_
Document title.
QDateTime Date_
Date this document was created.
Q_DECLARE_INTERFACE(LeechCraft::Monocle::IDocument,"org.LeechCraft.Monocle.IDocument/1.0")