filters

column.h
1/*
2**
3** Copyright (C) 2002 Robert JACOLIN
4**
5** This library is free software; you can redistribute it and/or
6** modify it under the terms of the GNU Library General Public
7** License as published by the Free Software Foundation; either
8** version 2 of the License, or (at your option) any later version.
9**
10** This library is distributed in the hope that it will be useful,
11** but WITHOUT ANY WARRANTY; without even the implied warranty of
12** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13** Library General Public License for more details.
14**
15** To receive a copy of the GNU Library General Public License, write to the
16** Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18**
19*/
20
21#ifndef __KSPREAD_LATEX_COLUMN_H__
22#define __KSPREAD_LATEX_COLUMN_H__
23
24#include <tqstring.h>
25
26#include "config.h"
27#include "format.h"
28#include "xmlparser.h"
29
30/***********************************************************************/
31/* Class: Column */
32/***********************************************************************/
33
37class Column: public Format
38{
39
40 /* USEFULL DATA */
41 long _col;
42 double _width;
43
44 public:
49
53 Column();
54
55 /*
56 * Destructor
57 *
58 * The destructor must remove the list of frames.
59 */
60
61 virtual ~Column();
62
66
67 long getCol() const { return _col; }
68 double getWidth() const { return _width; }
69
73 void setCol(int c) { _col = c; }
74 void setWidth(double w) { _width = w; }
75
79 void analyse (const TQDomNode);
80 void generate (TQTextStream&);
81
82 private:
83
84};
85
86#endif /* __KSPREAD_LATEX_COLUMN_H__ */
87
void analyse(const TQDomNode)
Helpfull functions.
Definition column.cpp:41
void setCol(int c)
setters
Definition column.h:73
long getCol() const
getters
Definition column.h:67
Column()
Constructors.
Definition column.cpp:29
Format()
Constructors.