blob: 385c23f3e7a8cb23301a394d5bb2e5b099d964fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
/* This file is part of the KDE project
Copyright 2002-2003 Joseph Wenninger <[email protected]>
Copyright 2002 John Dailey <[email protected]>
Copyright 2001-2002 Laurent Montel <[email protected]>
Copyright 2000 Simon Hausmann <[email protected]>
Copyright 1999 Torben Weis <[email protected]>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef KSPREAD_VIEW_IFACE_H
#define KSPREAD_VIEW_IFACE_H
#include <tqcolor.h>
#include <tqstring.h>
#include <KoViewIface.h>
namespace KSpread
{
class View;
class CellProxy;
class ViewIface : public KoViewIface
{
K_DCOP
public:
ViewIface( View* );
~ViewIface();
k_dcop:
virtual DCOPRef doc() const;
virtual DCOPRef map() const;
virtual DCOPRef sheet() const;
virtual void changeNbOfRecentFiles(int _nb);
virtual void hide();
virtual void show();
virtual void setSelection(TQRect selection);
virtual TQRect selection();
virtual void find();
virtual void replace();
virtual void conditional();
virtual void validity();
virtual void insertSeries();
virtual void insertHyperlink();
virtual void gotoCell();
virtual void changeAngle();
virtual void preference();
virtual void nextSheet();
virtual void previousSheet();
virtual bool showSheet(TQString sheetName);
virtual void sortList();
virtual void setAreaName();
virtual void showAreaName();
virtual void mergeCell();
virtual void dissociateCell();
virtual void consolidate();
virtual void deleteColumn();
virtual void insertColumn();
virtual void deleteRow();
virtual void insertRow();
virtual void hideRow();
virtual void showRow();
virtual void hideColumn();
virtual void showColumn();
virtual void upper();
virtual void lower();
virtual void equalizeColumn();
virtual void equalizeRow();
virtual void clearTextSelection();
virtual void clearCommentSelection();
virtual void clearValiditySelection();
virtual void clearConditionalSelection();
virtual void goalSeek();
virtual void insertFromDatabase();
virtual void insertFromTextfile();
virtual void insertFromClipboard();
virtual void textToColumns();
virtual void copyAsText();
virtual void setSelectionMoneyFormat( bool b );
virtual void setSelectionPrecision( int delta );
virtual void setSelectionPercent( bool b );
virtual void setSelectionMultiRow( bool enable );
virtual void setSelectionSize(int size);
virtual void setSelectionUpper();
virtual void setSelectionLower();
virtual void setSelectionFirstLetterUpper();
virtual void setSelectionVerticalText(bool enable);
virtual void setSelectionComment(TQString comment);
virtual void setSelectionAngle(int value);
virtual void setSelectionTextColor(TQColor txtColor );
virtual void setSelectionBgColor(TQColor bgColor );
virtual void setSelectionBorderColor(TQColor bdColor );
virtual void deleteSelection();
virtual void copySelection();
virtual void cutSelection();
virtual void setLeftBorderColor(TQColor color);
virtual void setTopBorderColor(TQColor color);
virtual void setRightBorderColor(TQColor color);
virtual void setBottomBorderColor(TQColor color);
virtual void setAllBorderColor(TQColor color);
virtual void setOutlineBorderColor(TQColor color);
virtual void removeBorder();
virtual void increaseIndent();
virtual void decreaseIndent();
void subtotals();
void sortInc();
void sortDec();
void layoutDlg();
void increaseFontSize();
void decreaseFontSize();
private:
View* m_view;
CellProxy* m_proxy;
};
} // namespace KSpread
#endif
|