1
/* This file is part of the KDE project
3
Copyright 2002-2003 Joseph Wenninger <jowenn@kde.org>
4
Copyright 2002 Ariya Hidayat <ariya@kde.org>
5
Copyright 2002 Philipp Mueller <philipp.mueller@gmx.de>
6
Copyright 2001 David Faure <faure@kde.org
7
Copyright 2001 Simon Hausmann <hausmann@kde.org>
8
Copyright 1999-2001 Laurent Montel <montel@kde.org>
9
Copyright 1999 Torben Weis <weis@kde.org>
11
This library is free software; you can redistribute it and/or
12
modify it under the terms of the GNU Library General Public
13
License as published by the Free Software Foundation; either
14
version 2 of the License, or (at your option) any later version.
16
This library is distributed in the hope that it will be useful,
17
but WITHOUT ANY WARRANTY; without even the implied warranty of
18
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19
Library General Public License for more details.
21
You should have received a copy of the GNU Library General Public License
22
along with this library; see the file COPYING.LIB. If not, write to
23
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
24
Boston, MA 02111-1307, USA.
1
28
#ifndef KSPREAD_CELL_IFACE_H
2
29
#define KSPREAD_CELL_IFACE_H
54
81
virtual QString getFormatType() const;
55
82
virtual void setPrecision(int _p);
56
83
virtual int precision() const;
57
virtual void setFaktor( double _factor );
58
virtual double faktor()const;
60
85
virtual void setTextFontBold( bool _b );
61
86
virtual bool textFontBold( ) const;
123
148
//don't print text
124
149
virtual void setDontPrintText ( bool _b);
125
150
virtual bool getDontprintText() const ;
152
virtual bool hasValidation() const;
153
virtual void removeValidity();
154
virtual QString validationTitle() const;
155
virtual QString validationMessage() const;
156
virtual bool displayValidationMessage() const;
157
virtual bool validationAllowEmptyCell() const;
158
virtual bool displayValidationInformation() const;
159
virtual QStringList listValidation() const;
161
virtual QString validationTitleInfo() const;
162
virtual QString validationMessageInfo() const;
128
KSpreadSheet* m_table;
166
KSpreadSheet* m_sheet;