lib
KoDocumentIface Class Reference
#include <KoDocumentIface.h>

Detailed Description
DCOP interface for any KOffice document Use KoApplicationIface to get hold of an existing document's interface, or to create a document.Note: KOffice Applications may (and should) reimplement KoDocument::dcopObject() In this case, don't look here... (unless the DCOP interface for the document inherits KoDocumentIface, which is a good thing to do)
Definition at line 39 of file KoDocumentIface.h.
DCOP Member Functions | |
| QString | url () |
| void | openURL (QString url) |
| bool | isLoading () |
| bool | isModified () |
| int | viewCount () |
| DCOPRef | view (int idx) |
| DCOPRef | action (const QCString &name) |
| QCStringList | actions () |
| QMap< QCString, DCOPRef > | actionMap () |
| void | save () |
| void | saveAs (const QString &url) |
| void | setOutputMimeType (const QCString &mimetype) |
| QString | documentInfoAuthorName () const |
| QString | documentInfoEmail () const |
| QString | documentInfoCompanyName () const |
| QString | documentInfoTitle () const |
| QString | documentInfoAbstract () const |
| QString | documentInfoKeywords () const |
| QString | documentInfoSubject () const |
| QString | documentInfoTelephone () const |
| QString | documentInfoTelephoneWork () const |
| QString | documentInfoTelephoneHome () const |
| QString | documentInfoFax () const |
| QString | documentInfoCountry () const |
| QString | documentInfoPostalCode () const |
| QString | documentInfoCity () const |
| QString | documentInfoStreet () const |
| QString | documentInfoInitial () const |
| QString | documentInfoAuthorPostion () const |
| void | setDocumentInfoAuthorName (const QString &text) |
| void | setDocumentInfoEmail (const QString &text) |
| void | setDocumentInfoCompanyName (const QString &text) |
| void | setDocumentInfoTelephone (const QString &text) |
| void | setDocumentInfoTelephoneWork (const QString &text) |
| void | setDocumentInfoTelephoneHome (const QString &text) |
| void | setDocumentInfoFax (const QString &text) |
| void | setDocumentInfoCountry (const QString &text) |
| void | setDocumentInfoTitle (const QString &text) |
| void | setDocumentInfoPostalCode (const QString &text) |
| void | setDocumentInfoCity (const QString &text) |
| void | setDocumentInfoStreet (const QString &text) |
| void | setDocumentInfoAbstract (const QString &text) |
| void | setDocumentInfoInitial (const QString &text) |
| void | setDocumentInfoKeywords (const QString &text) |
| void | setDocumentInfoSubject (const QString &text) |
| void | setDocumentInfoAuthorPosition (const QString &text) |
Public Member Functions | |
| KoDocumentIface (KoDocument *doc, const char *name=0) | |
| virtual QCStringList | functionsDynamic () |
| virtual bool | processDynamic (const QCString &fun, const QByteArray &data, QCString &replyType, QByteArray &replyData) |
Static Public Member Functions | |
| static QCString | newIfaceName () |
Protected Attributes | |
| KoDocument * | m_pDoc |
| KDCOPActionProxy * | m_actionProxy |
Member Function Documentation
| QCString KoDocumentIface::newIfaceName | ( | ) | [static] |
Generate a name for this interface.
Automatically used if name=0 is passed to the constructor
Definition at line 33 of file KoDocumentIface.cc.
| QString KoDocumentIface::url | ( | ) |
Returns the URL for this document (empty, real URL, or internal one).
Definition at line 62 of file KoDocumentIface.cc.
| void KoDocumentIface::openURL | ( | QString | url | ) |
Opens a document stored in url Warning: this is asynchronous.
The document might not be loaded yet when this call returns. See isLoading.
Definition at line 52 of file KoDocumentIface.cc.
| bool KoDocumentIface::isLoading | ( | ) |
| bool KoDocumentIface::isModified | ( | ) |
| int KoDocumentIface::viewCount | ( | ) |
- Returns:
- the number of views this document is displayed in
Definition at line 72 of file KoDocumentIface.cc.
| DCOPRef KoDocumentIface::view | ( | int | idx | ) |
- Returns:
- a DCOP reference (DCOPRef) to the view with index
idx
Definition at line 77 of file KoDocumentIface.cc.
| DCOPRef KoDocumentIface::action | ( | const QCString & | name | ) |
| QCStringList KoDocumentIface::actions | ( | ) |
| QMap< QCString, DCOPRef > KoDocumentIface::actionMap | ( | ) |
| void KoDocumentIface::save | ( | ) |
| void KoDocumentIface::saveAs | ( | const QString & | url | ) |
The documentation for this class was generated from the following files:

