filters

TextZone Class Reference

#include <textzone.h>

Inheritance diagram for TextZone:

TextFormat Format XmlParser XmlParser VariableFormat VariableZone

List of all members.


Detailed Description

This class hold a zone of text with only one formating.

Definition at line 40 of file textzone.h.


Public Member Functions

 TextZone (Para *para=0)
 TextZone (QString text, Para *para=0)
bool useFormat () const
QString getTexte () const
void setTexte (QString texte)
QString escapeLatin1 (QString)
void analyse (const QDomNode)
void analyse ()
virtual void generate (QTextStream &)
void generate_format_begin (QTextStream &)
void generate_format_end (QTextStream &)

Protected Member Functions

void display (QString, QTextStream &)

Constructor & Destructor Documentation

TextZone::TextZone ( Para para = 0  ) 

Creates a new instance of TextZone.

Parameters:
para which is the parent class.

Definition at line 37 of file textzone.cc.

TextZone::TextZone ( QString  text,
Para para = 0 
)

Creates a new instance of TextZOne.

Parameters:
text the text in this zone.
para which is the parent class.

Definition at line 53 of file textzone.cc.


Member Function Documentation

bool TextZone::useFormat (  )  const

Returns:
Specify if the text must be formated.

Definition at line 80 of file textzone.cc.

QString TextZone::escapeLatin1 ( QString  text  ) 

convert a unicode text in latin1 enconding ala latex.

Definition at line 91 of file textzone.cc.

void TextZone::analyse ( const QDomNode  balise  )  [virtual]

Helpfull functions.

Get informations from a markup tree (only param of a format).

Reimplemented from Format.

Reimplemented in VariableZone.

Definition at line 282 of file textzone.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys