KSpreadDocIface.h
00001
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 <dcopref.h>
00028 #include <KoDocumentIface.h>
00029
00030 #include <qstring.h>
00031 #include <qcolor.h>
00032 #include <qstringlist.h>
00033 class KSpreadDoc;
00034
00035 class KSpreadDocIface : virtual public KoDocumentIface
00036 {
00037 K_DCOP
00038 public:
00039 KSpreadDocIface( KSpreadDoc* );
00040
00041 k_dcop:
00042 virtual DCOPRef map();
00043
00044 bool showTabBar()const;
00045
00046 void setShowVerticalScrollBar(bool _show);
00047 void setShowHorizontalScrollBar(bool _show);
00048 void setShowColHeader(bool _show);
00049 void setShowRowHeader(bool _show);
00050 void setShowTabBar(bool _show);
00051 void setShowCommentIndicator(bool _show);
00052
00053 void changeDefaultGridPenColor( const QColor &_col);
00054 bool showCommentIndicator()const;
00055 bool showFormulaBar()const;
00056 bool showStatusBar()const;
00057
00058
00059 QColor pageBorderColor() const;
00060 void changePageBorderColor( const QColor & _color);
00061 void addIgnoreWordAll( const QString &word);
00062 void clearIgnoreWordAll( );
00063 QStringList spellListIgnoreAll() const;
00064
00065 void addStringCompletion(const QString & stringCompletion);
00066 int zoom() const;
00067
00068 void setMoveToValue(const QString & move);
00069 QString moveToValue()const;
00070
00071 void setTypeOfCalc( const QString & calc );
00072 QString typeOfCalc() const;
00073
00074 private:
00075 KSpreadDoc* doc;
00076 };
00077
00078 #endif
This file is part of the documentation for kspread Library Version 1.4.2.