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