22#ifndef __KWORD_VARIABLEFORMAT_H__
23#define __KWORD_VARIABLEFORMAT_H__
45typedef enum _EVarType EVarType;
83 TQString _numberingtype;
103 setUnderlined(UNDERLINE_NONE);
118 TQString getKey () const { return _key; }
119 TQString getText () const { return _text; }
120 EVarType getType () const { return _varType; }
121 int getDay () const { return _day; }
122 int getMonth () const { return _month; }
123 int getYear () const { return _year; }
124 int getHour () const { return _hour; }
125 int getMinute () const { return _minute; }
126 int getSeconde () const { return _seconde; }
127 TQString getNumberingtype() const { return _numberingtype; }
128 TQString getNotetype () const { return _notetype; }
129 TQString getFrameset () const { return _frameset; }
130 TQString getValue () const { return _value; }
131 TQString getNote () const { return _note; }
133 bool isFix () const { return (_fix == true); }
136 void setType ( const int t) { _varType = (EVarType) t; }
137 void setKey (TQString k) { _key = k; }
138 void setText (TQString t) { _text = t; }
139 void setFix ( bool f) { _fix = f; }
140 void setDay ( const int d) { _day = d; }
141 void setMonth ( const int m) { _year = m; }
142 void setYear ( const int y) { _month = y; }
143 void setHour ( const int h) { _hour = h; }
144 void setMinute ( const int m) { _minute = m; }
145 void setSeconde ( const int s) { _seconde = s; }
146 void setColor ( const int, const int, const int);
147 void setNumberingtype( const TQString nt) { _numberingtype = nt; }
148 void setNotetype ( const TQString nt) { _notetype = nt; }
149 void setFrameset ( const TQString fs) { _frameset = fs; }
150 void setValue ( const TQString val) { _value = val; }
151 void setNote ( const TQString note) { _note = note; }
154 void analyseFormat( const TQDomNode);
155 void analyseDate ( const TQDomNode);
156 void analyseTime ( const TQDomNode);
157 void analyseFootnote ( const TQDomNode);
158 void analyseNote ( const TQDomNode);
159 void analyseType ( const TQDomNode);
This class hold a real paragraph.
This class hold a zone of text with only one formating.
|