row.h
1/*
2**
3** Copyright (C) 2003 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_ROW_H__
22#define __KSPREAD_LATEX_ROW_H__
23
24#include <tqstring.h>
25
26#include "config.h"
27#include "format.h"
28#include "xmlparser.h"
29
30/***********************************************************************/
31/* Class: Row */
32/***********************************************************************/
33
37class Row: public Format
38{
39
40 /* USEFULL DATA */
41 long _row;
42 double _height;
43
44 public:
53 Row();
54
55 /*
56 * Destructor
57 *
58 * The destructor must remove the list of frames.
59 */
60
61 virtual ~Row();
62
67 long getRow() const { return _row; }
68 double getHeight() const { return _height; }
69
73 void setRow(int r) { _row = r; }
74 void setHeight(double h) { _height = h; }
75
79 void analyse (const TQDomNode);
80 void generate (TQTextStream&);
81
82 private:
83
84};
85
86#endif /* __KSPREAD_LATEX_ROW_H__ */
87
This class describe a cell, row or column format.
This class hold a row.
Definition row.h:38
Row()
Constructors.
Definition row.cpp:29
void setRow(int r)
setters
Definition row.h:73
void analyse(const TQDomNode)
Helpfull functions.
Definition row.cpp:41
long getRow() const
getters
Definition row.h:67