kword

KWordTextFrameSetEditIface.h

00001 /* This file is part of the KDE project
00002    Copyright (C) 2002, Laurent MONTEL <lmontel@mandrakesoft.com>
00003 
00004    This library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License as published by the Free Software Foundation; either
00007    version 2 of the License, or (at your option) any later version.
00008 
00009    This library is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Library General Public License for more details.
00013 
00014    You should have received a copy of the GNU Library General Public License
00015    along with this library; see the file COPYING.LIB.  If not, write to
00016    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017  * Boston, MA 02110-1301, USA.
00018 */
00019 
00020 #ifndef KWORD_TEXTFRAMESETEDIT_IFACE_H
00021 #define KWORD_TEXTFRAMESETEDIT_IFACE_H
00022 
00023 #include <KoDocumentIface.h>
00024 #include <dcopref.h>
00025 
00026 #include <qstring.h>
00027 #include <qcolor.h>
00028 #include <KoTextViewIface.h>
00029 class KWTextFrameSetEdit;
00030 
00031 class KWordTextFrameSetEditIface : public KoTextViewIface
00032 {
00033     K_DCOP
00034 public:
00035     KWordTextFrameSetEditIface( KWTextFrameSetEdit *_frametext );
00036 
00037 k_dcop:
00038     void insertExpression(const QString &_c);
00039     void insertFrameBreak();
00040     void insertVariable( int type, int subtype = 0 );
00041     void insertVariable( const QString & var);
00042     void insertCustomVariable( const QString &name);
00043     void insertLink(const QString &_linkName, const QString & hrefName);
00044     void insertTOC();
00045     void cut();
00046     void copy();
00047     void paste();
00048     void insertNonbreakingSpace();
00049     void insertComment(const QString &_comment);
00050     void insertAutoFootNote( const QString & type );
00051     void insertManualFootNote( const QString & type, const QString & noteText );
00052     void selectAll();
00053 private:
00054     KWTextFrameSetEdit *m_framesetedit;
00055 
00056 };
00057 
00058 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys