23#ifndef __KWORD_ELEMENT_H__
24#define __KWORD_ELEMENT_H__
26#include <tqtextstream.h>
135 SType getType () const { return _type; }
136 SInfo getInfo () const { return _hinfo; }
137 TQString getName () const { return _name; }
138 bool isVisible () const { return _visible; }
139 bool isRemovable() const { return _removable; }
140 TQString getGrpMgr () const { return _grpMgr; }
141 int getRow () const { return _row; }
142 int getCol () const { return _col; }
143 int getRows () const { return _rows; }
144 int getCols () const { return _cols; }
145 bool isTable () const { return (_section == SS_TABLE); }
151 void setSection (SSect s) { _section = s; }
152 void setVisible ( bool v) { _visible = v; }
153 void setRemovable( bool r) { _removable = r; }
154 void setGrpMgr (TQString g) { _grpMgr = g; }
155 void setRow ( int r) { _row = r; }
156 void setCol ( int c) { _col = c; }
157 void setRows ( int r) { _rows = r; }
158 void setCols ( int c) { _cols = c; }
168 virtual void analyse( const TQDomNode);
169 virtual void generate(TQTextStream&) = 0;
172 void analyseParam( const TQDomNode);
This class hold 2 lists of paragraphs for the text and for the footnotes.
void setType(SType t) Modifiors.
SSect getSection() const Accessors.
virtual void analyse(const TQDomNode) Helpfull functions.
This class supply some convenients methods to access to a DOM tree.
|