kword
KWordFormulaFrameSetEditIface.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KWORD_FORMULAFRAMESETEDIT_IFACE_H
00021 #define KWORD_FORMULAFRAMESETEDIT_IFACE_H
00022
00023 #include <KoDocumentIface.h>
00024 #include <dcopref.h>
00025
00026 #include <qstring.h>
00027 #include <qcolor.h>
00028 class KWFormulaFrameSetEdit;
00029
00030 class KWordFormulaFrameSetEditIface : public DCOPObject
00031 {
00032 K_DCOP
00033 public:
00034 KWordFormulaFrameSetEditIface( KWFormulaFrameSetEdit *_frame );
00035
00036 k_dcop:
00037 virtual void copy();
00038 virtual void cut();
00039 virtual void paste();
00040 virtual void selectAll();
00041
00042 void addThinSpace();
00043 void addMediumSpace();
00044 void addThickSpace();
00045 void addQuadSpace();
00046 void addBracket( int left, int right );
00047 void addParenthesis();
00048 void addSquareBracket();
00049 void addCurlyBracket();
00050 void addLineBracket();
00051 void addFraction();
00052 void addRoot();
00053 void addIntegral();
00054 void addProduct();
00055 void addSum();
00056 void addMatrix();
00057 void addMatrix( uint rows, uint columns );
00058 void addOneByTwoMatrix();
00059 void addNameSequence();
00060 void addNegThinSpace();
00061
00062 void addLowerLeftIndex();
00063 void addUpperLeftIndex();
00064 void addLowerRightIndex();
00065 void addUpperRightIndex();
00066 void addGenericLowerIndex();
00067 void addGenericUpperIndex();
00068 void removeEnclosing();
00069 void makeGreek();
00070 void insertSymbol( const QString &name );
00071
00072 void appendColumn();
00073 void insertColumn();
00074 void removeColumn();
00075 void appendRow();
00076 void insertRow();
00077 void removeRow();
00078
00079 void moveLeft( int flag );
00080 void moveRight( int flag );
00081 void moveUp( int flag );
00082 void moveDown( int flag );
00083
00084 void moveHome( int flag );
00085 void moveEnd( int flag );
00086
00088 bool isHome() const;
00089
00091 bool isEnd() const;
00092
00093 void eraseSelection( int direction );
00094 void addText( const QString &str );
00095
00096 private:
00097 KWFormulaFrameSetEdit *m_framesetedit;
00098
00099 };
00100
00101 #endif // KWORD_FORMULAFRAMESETEDIT_IFACE_H
|