kspread Library API Documentation

KSpreadDocIface.h

00001 /* This file is part of the KDE project
00002 
00003    Copyright 2002 Laurent Montel <montel@kde.org>
00004    Copyright 2002 Philipp Mueller <philipp.mueller@gmx.de>
00005    Copyright 2000 David Faure <faure@kde.org>
00006    Copyright 1999 Torben Weis <weis@kde.org>
00007 
00008    This library is free software; you can redistribute it and/or
00009    modify it under the terms of the GNU Library General Public
00010    License as published by the Free Software Foundation; either
00011    version 2 of the License, or (at your option) any later version.
00012 
00013    This library is distributed in the hope that it will be useful,
00014    but WITHOUT ANY WARRANTY; without even the implied warranty of
00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016    Library General Public License for more details.
00017 
00018    You should have received a copy of the GNU Library General Public License
00019    along with this library; see the file COPYING.LIB.  If not, write to
00020    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00021    Boston, MA 02111-1307, USA.
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
KDE Logo
This file is part of the documentation for kspread Library Version 1.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:43:38 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003