39
int _lWidth, _rWidth, _tWidth, _bWidth;
40
int _lRed, _lGreen, _lBlue;
41
int _rRed, _rGreen, _rBlue;
42
int _tRed, _tGreen, _tBlue;
43
int _bRed, _bGreen, _bBlue;
44
int _lStyle , _rStyle, _tStyle, _bStyle;
45
int _bkRed, _bkGreen, _bkBlue;
46
int _bleftpt, _brightpt, _btoppt, _bbottompt;
52
bool _hasBottomBorder;
58
* Creates a new instances of a Border of a text frame.
63
_hasLeftBorder = false;
64
_hasRightBorder = false;
65
_hasTopBorder = false;
66
_hasBottomBorder = false;
99
* The destructor must remove the list of parag and footnotes.
107
bool hasLeftBorder () const { return _hasLeftBorder; }
108
bool hasRightBorder () const { return _hasRightBorder; }
109
bool hasTopBorder () const { return _hasTopBorder; }
110
bool hasBottomBorder() const { return _hasBottomBorder; }
111
int getLeftWidth () const { return _lWidth; }
112
int getRightWidth () const { return _rWidth; }
113
int getTopWidth () const { return _tWidth; }
114
int getBottomWidth () const { return _bWidth; }
115
int getLeftRed () const { return _lRed; }
116
int getLeftGreen () const { return _lGreen; }
117
int getLeftBlue () const { return _lBlue; }
118
int getRightRed () const { return _rRed; }
119
int getRightGreen () const { return _rGreen; }
120
int getRightBlue () const { return _rBlue; }
121
int getTopRed () const { return _tRed; }
122
int getTopGreen () const { return _tGreen; }
123
int getTopBlue () const { return _tBlue; }
124
int getBottomRed () const { return _bRed; }
125
int getBottomGreen () const { return _bGreen; }
126
int getBottomBlue () const { return _bBlue; }
127
int getLeftStyle () const { return _lStyle; }
128
int getRightStyle () const { return _rStyle; }
129
int getTopStyle () const { return _tStyle; }
130
int getBottomStyle () const { return _bStyle; }
131
int getBkRed () const { return _bkRed; }
132
int getBkGreen () const { return _bkGreen; }
133
int betBkBlue () const { return _bkBlue; }
134
/* int bleftpt () const { return _bleftpt; }
135
int brightpt () const { return _brightpt; }
136
int btoppt () const { return _btoppt; }
137
int bbottompt () const { return _bbottompt; }
143
void useLeftBorder () { _hasLeftBorder = true; }
144
void useRightBorder () { _hasRightBorder = true; }
145
void useTopBorder () { _hasTopBorder = true; }
146
void useBottomBorder() { _hasBottomBorder = true; }
148
void setLeftWidth (const int w) { _lWidth = w; }
149
void setRightWidth (const int w) { _rWidth = w; }
150
void setTopWidth (const int w) { _tWidth = w; }
151
void setBottomWidth(const int w) { _bWidth = w; }
153
void setLeftRed (const int r) { _lRed = r; }
154
void setLeftGreen (const int g) { _lGreen = g; }
155
void setLeftBlue (const int b) { _lBlue = b; }
156
void setRightRed (const int r) { _rRed = r; }
157
void setRightGreen (const int g) { _rGreen = g; }
158
void setRightBlue (const int b) { _rBlue = b; }
159
void setTopRed (const int r) { _tRed = r; }
160
void setTopGreen (const int g) { _tGreen = g; }
161
void setTopBlue (const int b) { _tBlue = b; }
162
void setBottomRed (const int r) { _bRed = r; }
163
void setBottomGreen(const int g) { _bGreen = g; }
164
void setBottomBlue (const int b) { _bBlue = b; }
166
void setLeftStyle (const int l) { _lStyle = l; }
167
void setRightStyle (const int r) { _rStyle = r; }
168
void setTopStyle (const int t) { _tStyle = t; }
169
void setBottomStyle(const int b) { _bStyle = b; }
171
void setBkRed (const int r) { _bkRed = r; }
172
void setBkGreen (const int g) { _bkGreen = g; }
173
void setBkBlue (const int b) { _bkBlue = b; }
174
/* void setBLeftPt (const int l) { _bkLeftPt = l; }
175
void setBRightPt (const int r) { _bkRightPt = r; }
176
void setBTopPt (const int t) { _bkTopPt = t; }
177
void setBBottomPt (const int b) { _bkBottomPt = b; }
181
* Write a border frame
183
void generate(QTextStream&);
39
int _lWidth, _rWidth, _tWidth, _bWidth;
40
int _lRed, _lGreen, _lBlue;
41
int _rRed, _rGreen, _rBlue;
42
int _tRed, _tGreen, _tBlue;
43
int _bRed, _bGreen, _bBlue;
44
int _lStyle , _rStyle, _tStyle, _bStyle;
45
int _bkRed, _bkGreen, _bkBlue;
46
int _bleftpt, _brightpt, _btoppt, _bbottompt;
52
bool _hasBottomBorder;
58
* Creates a new instances of a Border of a text frame.
62
_hasLeftBorder = false;
63
_hasRightBorder = false;
64
_hasTopBorder = false;
65
_hasBottomBorder = false;
98
* The destructor must remove the list of parag and footnotes.
106
bool hasLeftBorder() const {
107
return _hasLeftBorder;
109
bool hasRightBorder() const {
110
return _hasRightBorder;
112
bool hasTopBorder() const {
113
return _hasTopBorder;
115
bool hasBottomBorder() const {
116
return _hasBottomBorder;
118
int getLeftWidth() const {
121
int getRightWidth() const {
124
int getTopWidth() const {
127
int getBottomWidth() const {
130
int getLeftRed() const {
133
int getLeftGreen() const {
136
int getLeftBlue() const {
139
int getRightRed() const {
142
int getRightGreen() const {
145
int getRightBlue() const {
148
int getTopRed() const {
151
int getTopGreen() const {
154
int getTopBlue() const {
157
int getBottomRed() const {
160
int getBottomGreen() const {
163
int getBottomBlue() const {
166
int getLeftStyle() const {
169
int getRightStyle() const {
172
int getTopStyle() const {
175
int getBottomStyle() const {
178
int getBkRed() const {
181
int getBkGreen() const {
184
int betBkBlue() const {
187
/* int bleftpt () const { return _bleftpt; }
188
int brightpt () const { return _brightpt; }
189
int btoppt () const { return _btoppt; }
190
int bbottompt () const { return _bbottompt; }
196
void useLeftBorder() {
197
_hasLeftBorder = true;
199
void useRightBorder() {
200
_hasRightBorder = true;
202
void useTopBorder() {
203
_hasTopBorder = true;
205
void useBottomBorder() {
206
_hasBottomBorder = true;
209
void setLeftWidth(const int w) {
212
void setRightWidth(const int w) {
215
void setTopWidth(const int w) {
218
void setBottomWidth(const int w) {
222
void setLeftRed(const int r) {
225
void setLeftGreen(const int g) {
228
void setLeftBlue(const int b) {
231
void setRightRed(const int r) {
234
void setRightGreen(const int g) {
237
void setRightBlue(const int b) {
240
void setTopRed(const int r) {
243
void setTopGreen(const int g) {
246
void setTopBlue(const int b) {
249
void setBottomRed(const int r) {
252
void setBottomGreen(const int g) {
255
void setBottomBlue(const int b) {
259
void setLeftStyle(const int l) {
262
void setRightStyle(const int r) {
265
void setTopStyle(const int t) {
268
void setBottomStyle(const int b) {
272
void setBkRed(const int r) {
275
void setBkGreen(const int g) {
278
void setBkBlue(const int b) {
281
/* void setBLeftPt (const int l) { _bkLeftPt = l; }
282
void setBRightPt (const int r) { _bkRightPt = r; }
283
void setBTopPt (const int t) { _bkTopPt = t; }
284
void setBBottomPt (const int b) { _bkBottomPt = b; }
288
* Write a border frame
290
void generate(QTextStream&);
188
295
#endif /* __KWORD_LATEXBORDER_H__ */