filters

VariableZone Class Reference

#include <variablezone.h>

Inheritance diagram for VariableZone:
VariableFormat TextZone TextFormat Format XmlParser XmlParser

Public Member Functions

 VariableZone (Para *para)
 
 VariableZone (TQString text, Para *para)
 
void analyse (const TQDomNode)
 
void generate (TQTextStream &)
 
- Public Member Functions inherited from VariableFormat
 VariableFormat (Para *para)
 
TQString getKey () const
 
TQString getText () const
 
EVarType getType () const
 
int getDay () const
 
int getMonth () const
 
int getYear () const
 
int getHour () const
 
int getMinute () const
 
int getSeconde () const
 
TQString getNumberingtype () const
 
TQString getNotetype () const
 
TQString getFrameset () const
 
TQString getValue () const
 
TQString getNote () const
 
bool isFix () const
 
void setType (const int t)
 
void setKey (TQString k)
 
void setText (TQString t)
 
void setFix (bool f)
 
void setDay (const int d)
 
void setMonth (const int m)
 
void setYear (const int y)
 
void setHour (const int h)
 
void setMinute (const int m)
 
void setSeconde (const int s)
 
void setColor (const int, const int, const int)
 
void setNumberingtype (const TQString nt)
 
void setNotetype (const TQString nt)
 
void setFrameset (const TQString fs)
 
void setValue (const TQString val)
 
void setNote (const TQString note)
 
void analyseFormat (const TQDomNode)
 
void analyseDate (const TQDomNode)
 
void analyseTime (const TQDomNode)
 
void analyseFootnote (const TQDomNode)
 
void analyseNote (const TQDomNode)
 
void analyseType (const TQDomNode)
 
- Public Member Functions inherited from TextZone
 TextZone (Para *para=0)
 
 TextZone (TQString text, Para *para=0)
 
bool useFormat () const
 
TQString getTexte () const
 
void setTexte (TQString texte)
 
TQString escapeLatin1 (TQString)
 
void analyse ()
 
void generate_format_begin (TQTextStream &)
 
void generate_format_end (TQTextStream &)
 
- Public Member Functions inherited from TextFormat
 TextFormat ()
 
unsigned int getSize () const
 
unsigned int getWeight () const
 
EAlign getAlign () const
 
int getColorBlue () const
 
int getColorGreen () const
 
int getColorRed () const
 
ETypeUnderline getUnderlineType () const
 
int getBkColorBlue () const
 
int getBkColorGreen () const
 
int getBkColorRed () const
 
bool isItalic () const
 
bool isUnderlined () const
 
bool isStrikeout () const
 
bool isColor () const
 
bool isBkColored () const
 
void setSize (const unsigned int t)
 
void setWeight (const unsigned int w)
 
void setItalic (bool i)
 
void setUnderlined (ETypeUnderline u)
 
void setUnderlined (TQString u)
 
void setStrikeout (bool s)
 
void setPolice (TQString p)
 
void setAlign (const int a)
 
void setColor (const int, const int, const int)
 
void setBkColor (const int, const int, const int)
 
void analyseFormat (const TQDomNode)
 
void analyseParam (const TQDomNode)
 
void analyseFont (const TQDomNode)
 
void analyseItalic (const TQDomNode)
 
void analyseUnderlined (const TQDomNode)
 
void analyseStrikeout (const TQDomNode)
 
void analyseWeight (const TQDomNode)
 
void analyseAlign (const TQDomNode)
 
void analyseColor (const TQDomNode)
 
void analyseSize (const TQDomNode)
 
void analyseBackgroundColor (const TQDomNode)
 
- Public Member Functions inherited from Format
 Format ()
 
long getMultirow () const
 
long getAlign () const
 
long getAlignY () const
 
TQColor getBgColor () const
 
bool getVerticalText () const
 
double getAngle () const
 
TQColor getBrushColor () const
 
int getBrushStyle () const
 
int getIndent () const
 
bool getDontPrintText () const
 
bool hasBorder () const
 
bool hasTopBorder () const
 
bool hasBottomBorder () const
 
bool hasLeftBorder () const
 
bool hasRightBorder () const
 
double getPenWidth () const
 
int getPenStyle () const
 
TQColor getPenColor () const
 
int getFontSize () const
 
TQString getFontFamily () const
 
int getFontWeight () const
 
bool isValidFormat () const
 
void setAlign (long a)
 
void setAlignY (long a)
 
void setBgColor (TQColor b)
 
void setMultirow (long mr)
 
void setVerticalText (bool vt)
 
void setAngle (double a)
 
void setBrushColor (TQString bc)
 
void setBrushStyle (int bs)
 
void setIndent (int indent)
 
void setDontPrintText (bool dpt)
 
void setPenWidth (double pw)
 
void setPenStyle (int ps)
 
void setPenColor (TQString pc)
 
void setFontSize (int s)
 
void setFontFamily (TQString f)
 
void setFontWeight (int w)
 
virtual void analysePen (const TQDomNode)
 
void generate (TQTextStream &out, Column *col=NULL, Row *row=NULL)
 
void generateTextFormat (TQTextStream &out, TQString text)
 
void generateColor (TQTextStream &out)
 
 Format (Para *para=0)
 
EFormat getId () const
 
Para * getPara () const
 
EFormat getFormatType () const
 
unsigned int getPos () const
 
unsigned int getLength () const
 
void setId (int id)
 
void setPara (Para *para)
 
void setPos (const unsigned int pos)
 
void setLength (const unsigned int t)
 
- Public Member Functions inherited from XmlParser
 XmlParser (TQString)
 
 XmlParser (TQByteArray)
 
 XmlParser (const KoStore *)
 
TQString getFilename () const
 
TQString getDocument () const
 
Document * getRoot () const
 
FileHeader * getFileHeader () const
 
TQString getChildName (TQDomNode, int)
 
TQDomNode getChild (TQDomNode, TQString)
 
TQDomNode getChild (TQDomNode, TQString, int)
 
TQDomNode getChild (TQDomNode, int)
 
TQString getData (TQDomNode, int)
 
TQString getData (TQDomNode, TQString)
 
int getNbChild (TQDomNode, TQString)
 
int getNbChild (TQDomNode)
 
TQString getAttr (TQDomNode, TQString) const
 
bool isChild (TQDomNode, TQString)
 
void setFileHeader (FileHeader *h)
 
void setRoot (Document *r)
 
TQDomNode init ()
 
 XmlParser (Config *, TQString)
 
 XmlParser (Config *, TQByteArray)
 
 XmlParser (Config *, const KoStore *)
 
TQString getFilename () const
 
TQString getDocument () const
 
Document * getRoot () const
 
KoStore * getStorage () const
 
TQString getChildName (TQDomNode, int)
 
TQDomNode getChild (TQDomNode, TQString)
 
TQDomNode getChild (TQDomNode, TQString, int)
 
TQDomNode getChild (TQDomNode, int)
 
TQString getData (TQDomNode, int)
 
int getNbChild (TQDomNode, TQString)
 
int getNbChild (TQDomNode)
 
TQString getAttr (TQDomNode, TQString) const
 
bool isChild (TQDomNode, TQString)
 
void setRoot (Document *r)
 
TQDomNode init ()
 

Additional Inherited Members

- Protected Member Functions inherited from TextZone
void display (TQString, TQTextStream &)
 
- Static Protected Attributes inherited from XmlParser
static FileHeader * _fileHeader = 0
 
static Document * _root = 0
 
static TQString _filename
 

Detailed Description

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

Definition at line 40 of file variablezone.h.

Constructor & Destructor Documentation

◆ VariableZone() [1/2]

VariableZone::VariableZone ( Para *  para)

Creates a new instance of VariableZone.

Parameters
Parawhich is the parent class.

Definition at line 35 of file variablezone.cpp.

◆ VariableZone() [2/2]

VariableZone::VariableZone ( TQString  text,
Para *  para 
)

Creates a new instance of TextZOne.

Parameters
textthe text in this zone.
parawhich is the parent class.

Definition at line 48 of file variablezone.cpp.

◆ ~VariableZone()

VariableZone::~VariableZone ( )
virtual

Definition at line 62 of file variablezone.cpp.

Member Function Documentation

◆ analyse()

void VariableZone::analyse ( const TQDomNode  balise)
virtual

Helpfull functions.

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

Reimplemented from TextZone.

Definition at line 73 of file variablezone.cpp.

◆ generate()

void VariableZone::generate ( TQTextStream &  out)
virtual

Reimplemented from TextZone.

Definition at line 95 of file variablezone.cpp.


The documentation for this class was generated from the following files: