kspread
KSpreadDocIface.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef KSPREAD_DOC_IFACE_H
00025 #define KSPREAD_DOC_IFACE_H
00026
00027 #include <qstring.h>
00028 #include <qcolor.h>
00029 #include <qstringlist.h>
00030
00031 #include <dcopref.h>
00032
00033 #include <KoDocumentIface.h>
00034
00035 namespace KSpread
00036 {
00037 class Doc;
00038
00039 class DocIface : virtual public KoDocumentIface
00040 {
00041 K_DCOP
00042 public:
00043 DocIface( Doc* );
00044
00045 k_dcop:
00046 virtual DCOPRef map();
00047
00048 bool showTabBar()const;
00049
00050 void setShowVerticalScrollBar(bool _show);
00051 void setShowHorizontalScrollBar(bool _show);
00052 void setShowColHeader(bool _show);
00053 void setShowRowHeader(bool _show);
00054 void setShowTabBar(bool _show);
00055
00056 void changeDefaultGridPenColor( const QColor &_col);
00057 bool showFormulaBar()const;
00058 bool showStatusBar()const;
00059
00060
00061 QColor pageBorderColor() const;
00062 void changePageBorderColor( const QColor & _color);
00063 void addIgnoreWordAll( const QString &word);
00064 void clearIgnoreWordAll( );
00065 QStringList spellListIgnoreAll() const;
00066
00067 void addStringCompletion(const QString & stringCompletion);
00068 int zoom() const;
00069
00070 void setMoveToValue(const QString & move);
00071 QString moveToValue()const;
00072
00073 void setTypeOfCalc( const QString & calc );
00074 QString typeOfCalc() const;
00075
00076 private:
00077 Doc* doc;
00078 };
00079
00080 }
00081
00082 #endif
|