okular
document_p.h
Go to the documentation of this file.
113 AllocatedPixmap * searchLowestPriorityPixmap( bool unloadableOnly = false, bool thenRemoveIt = false, DocumentObserver *observer = 0 /* any */ );
131 Document::OpenResult openDocumentInternal( const KService::Ptr& offer, bool isstdin, const QString& docFile, const QByteArray& filedata, const QString& password );
145 void performSetAnnotationContents( const QString & newContents, Annotation *annot, int pageNumber );
158 void doContinueAllDocumentSearch(void *pagesToNotifySet, void *pageMatchesMap, int currentPage, int searchID);
159 void doContinueGooglesDocumentSearch(void *pagesToNotifySet, void *pageMatchesMap, int currentPage, int searchID, const QStringList & words);
161 void doProcessSearchMatch( RegularAreaRect *match, RunningSearch *search, QSet< int > *pagesToNotify, int currentPage, int searchID, bool moveViewport, const QColor & color );
184 bool isNormalizedRectangleFullyVisible( const Okular::NormalizedRect & rectOfInterest, int rectPage );
bool savePageDocumentInfo(KTemporaryFile *infoFile, int what) const
Definition: document.cpp:995
Generator * loadGeneratorLibrary(const KService::Ptr &service)
Definition: document.cpp:816
void slotTimedMemoryCheck()
Definition: document.cpp:1298
Definition: document_p.h:48
DocumentViewport m_nextDocumentViewport
Definition: document_p.h:207
void performAddPageAnnotation(int page, Annotation *annotation)
Definition: document.cpp:1058
void setPageBoundingBox(int page, const NormalizedRect &boundingBox)
Sets the bounding box of the given page (in terms of upright orientation, i.e., Rotation0).
Definition: document.cpp:4388
void notifyAnnotationChanges(int page)
Definition: document.cpp:2957
void doProcessSearchMatch(RegularAreaRect *match, RunningSearch *search, QSet< int > *pagesToNotify, int currentPage, int searchID, bool moveViewport, const QColor &color)
Definition: document.cpp:1706
void sendGeneratorPixmapRequest()
Definition: document.cpp:1306
QLinkedList< PixmapRequest * > m_executingPixmapRequests
Definition: document_p.h:213
void loadServiceList(const KService::List &offers)
Definition: document.cpp:845
bool m_annotationBeingMoved
Definition: document_p.h:268
bool isNormalizedRectangleFullyVisible(const Okular::NormalizedRect &rectOfInterest, int rectPage)
Return whether the normalized rectangle rectOfInterest on page number rectPage is fully visible...
Definition: document.cpp:2032
void loadAllGeneratorLibraries()
Definition: document.cpp:833
NormalizedRect is a helper class which stores the coordinates of a normalized rect, which is a rectangle of.
Definition: area.h:105
QLinkedList< DocumentViewport > m_viewportHistory
Definition: document_p.h:205
qulonglong m_allocatedPixmapsTotalMemory
Definition: document_p.h:216
ExportFormat::List m_exportFormats
Definition: document_p.h:231
Definition: area.h:860
void saveDocumentInfo() const
Definition: document.cpp:1209
QVariant documentMetaData(const QString &key, const QVariant &option) const
Request a particular metadata of the Document itself (ie, not something depending on the document typ...
Definition: document.cpp:1968
BookmarkManager * m_bookmarkManager
Definition: document_p.h:235
static OKULAR_EXPORT QString docDataFileName(const KUrl &url, qint64 document_size)
Definition: document.cpp:2108
qulonglong getFreeMemory(qulonglong *freeSwap=0)
Definition: document.cpp:502
QPointer< FontExtractionThread > m_fontThread
Definition: document_p.h:259
bool m_annotationEditingEnabled
Definition: document_p.h:266
Definition: pagecontroller_p.h:26
bool canAddAnnotationsNatively() const
Definition: document.cpp:3090
QMap< int, RunningSearch * > m_searches
Definition: document_p.h:191
void saveViewsInfo(View *view, QDomElement &e) const
Definition: document.cpp:770
SaveInterface * generatorSave(GeneratorInfo &info)
Definition: document.cpp:896
Abstract interface for configuration control.
Definition: configinterface.h:38
void performSetAnnotationContents(const QString &newContents, Annotation *annot, int pageNumber)
Definition: document.cpp:1173
RegularAreaRect * match
Definition: document_p.h:72
void doContinueAllDocumentSearch(void *pagesToNotifySet, void *pageMatchesMap, int currentPage, int searchID)
Definition: document.cpp:1760
void fontReadingGotFont(const Okular::FontInfo &font)
Definition: document.cpp:1520
DocumentPrivate(Document *parent)
Definition: document_p.h:80
bool openRelativeFile(const QString &fileName)
Definition: document.cpp:804
QSet< DocumentObserver * > m_observers
Definition: document_p.h:211
bool canModifyExternalAnnotations() const
Definition: document.cpp:3101
QHash< QString, GeneratorInfo > m_loadedGenerators
Definition: document_p.h:241
QDomNode m_prevPropsOfAnnotBeingModified
Definition: document_p.h:272
QSet< int > * pagesToNotify
Definition: document_p.h:71
void rotationFinished(int page, Okular::Page *okularPage)
Definition: document.cpp:1498
QString namePaperSize(double inchesWidth, double inchesHeight) const
Definition: document.cpp:160
DocumentViewport nextDocumentViewport() const
Definition: document.cpp:1025
void unloadGenerator(const GeneratorInfo &info)
Definition: document.cpp:864
void doContinueGooglesDocumentSearch(void *pagesToNotifySet, void *pageMatchesMap, int currentPage, int searchID, const QStringList &words)
Definition: document.cpp:1847
Definition: document_p.h:77
A DOM tree containing information about the document.
Definition: document.h:1086
QString localizedSize(const QSizeF &size) const
Definition: document.cpp:261
bool m_showWarningLimitedAnnotSupport
Definition: document_p.h:269
QVector< VisiblePageRect * > m_pageRects
Definition: document_p.h:246
QLinkedList< DocumentViewport >::iterator m_viewportIterator
Definition: document_p.h:206
void performRemovePageAnnotation(int page, Annotation *annotation)
Definition: document.cpp:1091
QString giveAbsolutePath(const QString &fileName) const
Definition: document.cpp:793
void textGenerationDone(Page *page)
Definition: document.cpp:4431
void calculateMaxTextPages()
Definition: document.cpp:4408
bool canRemoveExternalAnnotations() const
Definition: document.cpp:3112
Annotation struct holds properties shared by all annotations.
Definition: annotations.h:90
QTimer * m_saveBookmarksTimer
Definition: document_p.h:239
QLinkedList< AllocatedPixmap * > m_allocatedPixmaps
Definition: document_p.h:215
void slotGeneratorConfigChanged(const QString &)
Definition: document.cpp:1528
void performModifyPageAnnotation(int page, Annotation *annotation, bool appearanceChanged)
Definition: document.cpp:1129
AllocatedPixmap * searchLowestPriorityPixmap(bool unloadableOnly=false, bool thenRemoveIt=false, DocumentObserver *observer=0)
Definition: document.cpp:431
void requestDone(PixmapRequest *request)
This method is used by the generators to signal the finish of the pixmap generation request...
Definition: document.cpp:4317
Base class for objects being notified when something changes.
Definition: observer.h:28
void warnLimitedAnnotSupport()
Definition: document.cpp:1039
QMutex m_pixmapRequestsMutex
Definition: document_p.h:214
ConfigInterface * generatorConfig(GeneratorInfo &info)
Definition: document.cpp:886
Document::OpenResult openDocumentInternal(const KService::Ptr &offer, bool isstdin, const QString &docFile, const QByteArray &filedata, const QString &password)
Definition: document.cpp:906
QString pagesSizeString() const
Definition: document.cpp:145
QList< int > m_allocatedTextPagesFifo
Definition: document_p.h:217
PageController * m_pageController
Definition: document_p.h:251
Definition: scripter.h:24
QString m_nextDocumentDestination
Definition: document_p.h:208
QStringList m_supportedMimeTypes
Definition: document_p.h:249
void fontReadingProgress(int page)
Definition: document.cpp:1508
void loadViewsInfo(View *view, const QDomElement &e)
Definition: document.cpp:737
void doContinueDirectionMatchSearch(void *doContinueDirectionMatchSearchStruct)
Definition: document.cpp:1637
QLinkedList< PixmapRequest * > m_pixmapRequestsStack
Definition: document_p.h:212
void setRotationInternal(int r, bool notify)
Definition: document.cpp:4454
bool m_annotationsNeedSaveAs
Definition: document_p.h:267
qulonglong calculateMemoryToFree()
Definition: document.cpp:292
int m_maxAllocatedTextPages
Definition: document_p.h:218
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.