22#ifndef __KWORD_PARA_H__
23#define __KWORD_PARA_H__
26#include <tqptrstack.h>
65 TQPtrList<Format>* _lines;
71 unsigned int _currentPos;
72 static TQPtrStack<EType> _historicList;
74 static int _tabulation;
132 bool notEmpty()
const {
return (_lines == 0) ? false : (_lines->count() != 0); }
146 void analyse (
const TQDomNode);
179 void analyseParam (
const TQDomNode);
180 void analyseName (
const TQDomNode);
181 void analyseInfo (
const TQDomNode);
183 void analyseLayoutPara(
const TQDomNode);
184 void analyseFormat (
const TQDomNode);
185 void analyseFormats (
const TQDomNode);
190 void generateDebut (TQTextStream&);
191 void generateFin (TQTextStream&);
This class tells about a paragraph and its contents.
This class hold a real paragraph.
void analyse(const TQDomNode)
Modifiers.
SSect getFrameType() const
void openList(TQTextStream &)
Write the markup to begin a list.
void generateBeginEnv(TQTextStream &)
If the paragraph has a different environment, change it.
void generate(TQTextStream &)
Write the paragraph in a file.
TextFrame * getFrame() const
TQString * getName() const
Accessors.
void generateEndEnv(TQTextStream &)
If the next paragraph has a different environment, close it.
int getNbCharPara() const
EFormat getTypeFormat(const TQDomNode) const
void closeList(TQTextStream &, Para *)
Write the markup to close a list.
void generateTitle(TQTextStream &)
If the paragraph is a title, generate the command.
This class hold 2 lists of paragraphs for the text and for the footnotes.