okular
kjs_document.cpp
Go to the documentation of this file.
187 QVector< Page * >::const_iterator pIt = doc->m_pagesVector.constBegin(), pEnd = doc->m_pagesVector.constEnd();
191 QLinkedList< Okular::FormField * >::const_iterator ffIt = pageFields.constBegin(), ffEnd = pageFields.constEnd();
static KJSObject docGetPageRotation(KJSContext *ctx, void *object, const KJSArguments &arguments)
Definition: kjs_document.cpp:214
static KJSObject docGetDataObjects(KJSContext *ctx, void *object)
Definition: kjs_document.cpp:101
void setViewport(const DocumentViewport &viewport, DocumentObserver *excludeObserver=0, bool smoothMove=false)
Sets the current document viewport to the given viewport.
Definition: document.cpp:3176
virtual const QList< EmbeddedFile * > * embeddedFiles() const
Returns the 'list of embedded files' object of the document or 0 if no list of embedded files is avai...
Definition: generator.cpp:308
static KJSObject docGetField(KJSContext *context, void *object, const KJSArguments &arguments)
Definition: kjs_document.cpp:180
static KJSObject docGetPermStatusReady(KJSContext *, void *)
Definition: kjs_document.cpp:95
virtual QVariant metaData(const QString &key, const QVariant &option) const
This method returns the meta data of the given key with the given option of the document.
Definition: generator.cpp:346
static KJSObject docGetFilesize(KJSContext *, void *object)
Definition: kjs_document.cpp:71
static KJSObject docGetDocumentFileName(KJSContext *, void *object)
Definition: kjs_document.cpp:63
static void docSetPageNum(KJSContext *ctx, void *object, KJSObject value)
Definition: kjs_document.cpp:49
#define KEY_GET(key, property)
QString number(int n, int base)
int count(const T &value) const
objectName
virtual const DocumentInfo * generateDocumentInfo()
Returns the general information object of the document or 0 if no information are available...
Definition: generator.cpp:293
static KJSGlobalObject wrapDocument(DocumentPrivate *doc)
Definition: kjs_document.cpp:282
static KJSObject wrapField(KJSContext *ctx, FormField *field, Page *page)
Definition: kjs_field.cpp:216
iterator end()
static KJSObject docGetExternal(KJSContext *, void *object)
Definition: kjs_document.cpp:121
static KJSObject docGetNumPages(KJSContext *, void *object)
Definition: kjs_document.cpp:33
const_iterator constBegin() const
Definition: document_p.h:77
A DOM tree containing information about the document.
Definition: document.h:1086
static KJSObject docGetPageLabel(KJSContext *ctx, void *object, const KJSArguments &arguments)
Definition: kjs_document.cpp:204
const_iterator constEnd() const
QWidget * parentWidget() const
static KJSObject docGotoNamedDest(KJSContext *ctx, void *object, const KJSArguments &arguments)
Definition: kjs_document.cpp:224
const QChar at(int position) const
static KJSObject docSyncAnnotScan(KJSContext *, void *, const KJSArguments &)
Definition: kjs_document.cpp:241
static KJSObject docGetPageNum(KJSContext *, void *object)
Definition: kjs_document.cpp:41
QString label() const
Returns the label of the page, or a null string if not set.
Definition: page.cpp:616
Rotation orientation() const
Returns the orientation of the page as defined by the document.
Definition: page.cpp:149
static KJSObject docGetInfo(KJSContext *ctx, void *object)
Definition: kjs_document.cpp:133
QString toString() const
iterator begin()
void setViewportPage(int page, DocumentObserver *excludeObserver=0, bool smoothMove=false)
Sets the current document viewport to the given page.
Definition: document.cpp:3164
static KJSObject wrapFile(KJSContext *ctx, EmbeddedFile *f)
Definition: kjs_data.cpp:87
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.