Para Class Reference
#include <para.h>
List of all members.
Detailed Description
This class hold a real paragraph.
It tells about the text in this paragraph, its format, etc. The complete text is a list of Para instances. A footnote is a list of paragraph instances (now but not in the "futur").
Definition at line 58 of file para.h.
Constructor & Destructor Documentation
Constructors.
Creates a new instance of Para.
- Parameters:
-
| Text | The text frame this paragraph is belonging to. |
Definition at line 41 of file para.cc.
Member Function Documentation
QString* Para::getName |
( |
|
) |
const [inline] |
Accessors.
- Returns:
- true if the paragraph has a colored word.
true if the paragraph has a underlined word.
the paragraph's name.
Definition at line 110 of file para.h.
EP_INFO Para::getInfo |
( |
|
) |
const [inline] |
- Returns:
- the paragraph's type (contents or footnote).
Definition at line 114 of file para.h.
- Returns:
- the frame the paragraph belonging to.
Definition at line 118 of file para.h.
SSect Para::getFrameType |
( |
|
) |
const |
- Returns:
- the frame type (Header, footer, body, footnote or table, ...).
Definition at line 69 of file para.cc.
EFormat Para::getTypeFormat |
( |
const QDomNode |
balise |
) |
const |
- Returns:
- the next format type (picture, text, variable, footnote).
Definition at line 80 of file para.cc.
int Para::getNbCharPara |
( |
|
) |
const |
- Returns:
- count the number of characters in the paragraph.
Definition at line 92 of file para.cc.
void Para::analyse |
( |
const QDomNode |
balise |
) |
[virtual] |
Modifiers.
Helpfull functions Get informations from a markup tree.
Reimplemented from Format.
Definition at line 129 of file para.cc.
void Para::generate |
( |
QTextStream & |
out |
) |
[virtual] |
Write the paragraph in a file.
Implements Format.
Definition at line 359 of file para.cc.
void Para::generateBeginEnv |
( |
QTextStream & |
out |
) |
|
If the paragraph has a different environment, change it.
Definition at line 447 of file para.cc.
void Para::generateEndEnv |
( |
QTextStream & |
out |
) |
|
If the next paragraph has a different environment, close it.
Definition at line 545 of file para.cc.
void Para::generateTitle |
( |
QTextStream & |
out |
) |
|
If the paragraph is a title, generate the command.
Definition at line 657 of file para.cc.
void Para::openList |
( |
QTextStream & |
out |
) |
|
Write the markup to begin a list.
Definition at line 476 of file para.cc.
void Para::closeList |
( |
QTextStream & |
out, |
|
|
Para * |
next | |
|
) |
| | |
Write the markup to close a list.
Definition at line 584 of file para.cc.
The documentation for this class was generated from the following files: