~ubuntu-branches/ubuntu/breezy/koffice/breezy-security

« back to all changes in this revision

Viewing changes to kspread/KSpreadCellIface.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2005-10-11 14:49:50 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051011144950-lwpngbifzp8nk0ds
Tags: 1:1.4.1-0ubuntu7
* SECURITY UPDATE: fix heap based buffer overflow in the RTF importer of KWord
* Opening specially crafted RTF files in KWord can cause
  execution of abitrary code.
* Add kubuntu_01_rtfimport_heap_overflow.diff
* References:
  CAN-2005-2971
  CESA-2005-005
  http://www.koffice.org/security/advisory-20051011-1.txt

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* This file is part of the KDE project
 
2
 
 
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>
 
10
 
 
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.
 
15
 
 
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.
 
20
 
 
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.
 
25
 
 
26
*/
 
27
 
1
28
#ifndef KSPREAD_CELL_IFACE_H
2
29
#define KSPREAD_CELL_IFACE_H
3
30
 
13
40
public:
14
41
    KSpreadCellIface();
15
42
 
16
 
    void setCell( KSpreadSheet* table, const QPoint& point );
 
43
    void setCell( KSpreadSheet* sheet, const QPoint& point );
17
44
k_dcop:
18
45
 
19
46
    virtual bool isDefault() const;
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;
59
84
    //font
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 ;
 
151
 
 
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;
 
160
 
 
161
    virtual QString validationTitleInfo() const;
 
162
    virtual QString validationMessageInfo() const;
 
163
 
126
164
private:
127
165
    QPoint m_point;
128
 
    KSpreadSheet* m_table;
 
166
    KSpreadSheet* m_sheet;
129
167
};
130
168
 
131
169
#endif