okular
#include <textdocumentgenerator_p.h>

Classes | |
struct | AnnotationInfo |
struct | AnnotationPosition |
struct | LinkInfo |
struct | LinkPosition |
struct | TitlePosition |
Public Member Functions | |
TextDocumentGeneratorPrivate (TextDocumentConverter *converter) | |
virtual | ~TextDocumentGeneratorPrivate () |
void | addAction (Action *action, int cursorBegin, int cursorEnd) |
void | addAnnotation (Annotation *annotation, int cursorBegin, int cursorEnd) |
void | addMetaData (const QString &key, const QString &value, const QString &title) |
void | addMetaData (DocumentInfo::Key, const QString &value) |
void | addTitle (int level, const QString &title, const QTextBlock &position) |
void | calculateBoundingRect (int startPosition, int endPosition, QRectF &rect, int &page) const |
void | calculatePositions (int page, int &start, int &end) const |
Okular::TextPage * | createTextPage (int) const |
void | generateAnnotationInfos () |
void | generateLinkInfos () |
void | generateTitleInfos () |
QImage | image (PixmapRequest *) |
void | initializeGenerator () |
QVariant | metaData (const QString &key, const QVariant &option) const |
![]() | |
GeneratorPrivate () | |
virtual | ~GeneratorPrivate () |
void | pixmapGenerationFinished () |
PixmapGenerationThread * | pixmapGenerationThread () |
void | textpageGenerationFinished () |
TextPageGenerationThread * | textPageGenerationThread () |
QMutex * | threadsLock () |
Public Attributes | |
QList< AnnotationInfo > | mAnnotationInfos |
QList< AnnotationPosition > | mAnnotationPositions |
TextDocumentConverter * | mConverter |
QTextDocument * | mDocument |
Okular::DocumentInfo | mDocumentInfo |
Okular::DocumentSynopsis | mDocumentSynopsis |
QFont | mFont |
TextDocumentSettings * | mGeneralSettings |
QList< LinkInfo > | mLinkInfos |
QList< LinkPosition > | mLinkPositions |
QList< TitlePosition > | mTitlePositions |
![]() | |
bool | m_closing: 1 |
QEventLoop * | m_closingLoop |
DocumentPrivate * | m_document |
QSet< int > | m_features |
QMutex * | m_mutex |
QMutex * | m_threadsMutex |
PixmapGenerationThread * | mPixmapGenerationThread |
bool | mPixmapReady: 1 |
TextPageGenerationThread * | mTextPageGenerationThread |
bool | mTextPageReady: 1 |
Generator * | q_ptr |
Detailed Description
Definition at line 111 of file textdocumentgenerator_p.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 116 of file textdocumentgenerator_p.h.
|
inlinevirtual |
Definition at line 121 of file textdocumentgenerator_p.h.
Member Function Documentation
void TextDocumentGeneratorPrivate::addAction | ( | Action * | action, |
int | cursorBegin, | ||
int | cursorEnd | ||
) |
Definition at line 100 of file textdocumentgenerator.cpp.
void TextDocumentGeneratorPrivate::addAnnotation | ( | Annotation * | annotation, |
int | cursorBegin, | ||
int | cursorEnd | ||
) |
Definition at line 113 of file textdocumentgenerator.cpp.
void TextDocumentGeneratorPrivate::addMetaData | ( | const QString & | key, |
const QString & | value, | ||
const QString & | title | ||
) |
Definition at line 138 of file textdocumentgenerator.cpp.
void TextDocumentGeneratorPrivate::addMetaData | ( | DocumentInfo::Key | key, |
const QString & | value | ||
) |
Definition at line 143 of file textdocumentgenerator.cpp.
void TextDocumentGeneratorPrivate::addTitle | ( | int | level, |
const QString & | title, | ||
const QTextBlock & | position | ||
) |
Definition at line 128 of file textdocumentgenerator.cpp.
void Okular::TextDocumentGeneratorPrivate::calculateBoundingRect | ( | int | startPosition, |
int | endPosition, | ||
QRectF & | rect, | ||
int & | page | ||
) | const |
void Okular::TextDocumentGeneratorPrivate::calculatePositions | ( | int | page, |
int & | start, | ||
int & | end | ||
) | const |
Okular::TextPage * TextDocumentGeneratorPrivate::createTextPage | ( | int | pageNumber | ) | const |
Generic Generator Implementation.
Definition at line 61 of file textdocumentgenerator.cpp.
void TextDocumentGeneratorPrivate::generateAnnotationInfos | ( | ) |
Definition at line 164 of file textdocumentgenerator.cpp.
void TextDocumentGeneratorPrivate::generateLinkInfos | ( | ) |
Definition at line 148 of file textdocumentgenerator.cpp.
void TextDocumentGeneratorPrivate::generateTitleInfos | ( | ) |
Definition at line 180 of file textdocumentgenerator.cpp.
|
virtual |
Reimplemented from Okular::GeneratorPrivate.
Definition at line 368 of file textdocumentgenerator.cpp.
void TextDocumentGeneratorPrivate::initializeGenerator | ( | ) |
Definition at line 216 of file textdocumentgenerator.cpp.
|
virtual |
Reimplemented from Okular::GeneratorPrivate.
Definition at line 438 of file textdocumentgenerator.cpp.
Member Data Documentation
QList<AnnotationInfo> Okular::TextDocumentGeneratorPrivate::mAnnotationInfos |
Definition at line 192 of file textdocumentgenerator_p.h.
QList<AnnotationPosition> Okular::TextDocumentGeneratorPrivate::mAnnotationPositions |
Definition at line 184 of file textdocumentgenerator_p.h.
TextDocumentConverter* Okular::TextDocumentGeneratorPrivate::mConverter |
Definition at line 148 of file textdocumentgenerator_p.h.
QTextDocument* Okular::TextDocumentGeneratorPrivate::mDocument |
Definition at line 150 of file textdocumentgenerator_p.h.
Okular::DocumentInfo Okular::TextDocumentGeneratorPrivate::mDocumentInfo |
Definition at line 151 of file textdocumentgenerator_p.h.
Okular::DocumentSynopsis Okular::TextDocumentGeneratorPrivate::mDocumentSynopsis |
Definition at line 152 of file textdocumentgenerator_p.h.
QFont Okular::TextDocumentGeneratorPrivate::mFont |
Definition at line 196 of file textdocumentgenerator_p.h.
TextDocumentSettings* Okular::TextDocumentGeneratorPrivate::mGeneralSettings |
Definition at line 194 of file textdocumentgenerator_p.h.
QList<LinkInfo> Okular::TextDocumentGeneratorPrivate::mLinkInfos |
Definition at line 176 of file textdocumentgenerator_p.h.
QList<LinkPosition> Okular::TextDocumentGeneratorPrivate::mLinkPositions |
Definition at line 168 of file textdocumentgenerator_p.h.
QList<TitlePosition> Okular::TextDocumentGeneratorPrivate::mTitlePositions |
Definition at line 160 of file textdocumentgenerator_p.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.