filters

VariableFormat Class Reference

#include <variableformat.h>

Inheritance diagram for VariableFormat:
TextZone TextFormat Format XmlParser XmlParser VariableZone

Public Member Functions

 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 (const TQDomNode)
 
void analyse ()
 
virtual void generate (TQTextStream &)
 
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 informations formating the textzone.

It may be incorporated in few time in textzone.

Definition at line 55 of file variableformat.h.

Constructor & Destructor Documentation

◆ VariableFormat()

VariableFormat::VariableFormat ( Para *  para)
inline

Constructors.

Creates a new instance of VariableFormat.

Definition at line 98 of file variableformat.h.

◆ ~VariableFormat()

virtual VariableFormat::~VariableFormat ( )
inlinevirtual

Definition at line 115 of file variableformat.h.

Member Function Documentation

◆ analyseDate()

void VariableFormat::analyseDate ( const TQDomNode  balise)

Definition at line 119 of file variableformat.cpp.

◆ analyseFootnote()

void VariableFormat::analyseFootnote ( const TQDomNode  balise)

Definition at line 140 of file variableformat.cpp.

◆ analyseFormat()

void VariableFormat::analyseFormat ( const TQDomNode  balise)

Definition at line 78 of file variableformat.cpp.

◆ analyseNote()

void VariableFormat::analyseNote ( const TQDomNode  balise)

Definition at line 148 of file variableformat.cpp.

◆ analyseTime()

void VariableFormat::analyseTime ( const TQDomNode  balise)

Definition at line 132 of file variableformat.cpp.

◆ analyseType()

void VariableFormat::analyseType ( const TQDomNode  balise)

Definition at line 158 of file variableformat.cpp.

◆ getDay()

int VariableFormat::getDay ( ) const
inline

Definition at line 121 of file variableformat.h.

◆ getFrameset()

TQString VariableFormat::getFrameset ( ) const
inline

Definition at line 129 of file variableformat.h.

◆ getHour()

int VariableFormat::getHour ( ) const
inline

Definition at line 124 of file variableformat.h.

◆ getKey()

TQString VariableFormat::getKey ( ) const
inline

Definition at line 118 of file variableformat.h.

◆ getMinute()

int VariableFormat::getMinute ( ) const
inline

Definition at line 125 of file variableformat.h.

◆ getMonth()

int VariableFormat::getMonth ( ) const
inline

Definition at line 122 of file variableformat.h.

◆ getNote()

TQString VariableFormat::getNote ( ) const
inline

Definition at line 131 of file variableformat.h.

◆ getNotetype()

TQString VariableFormat::getNotetype ( ) const
inline

Definition at line 128 of file variableformat.h.

◆ getNumberingtype()

TQString VariableFormat::getNumberingtype ( ) const
inline

Definition at line 127 of file variableformat.h.

◆ getSeconde()

int VariableFormat::getSeconde ( ) const
inline

Definition at line 126 of file variableformat.h.

◆ getText()

TQString VariableFormat::getText ( ) const
inline

Definition at line 119 of file variableformat.h.

◆ getType()

EVarType VariableFormat::getType ( ) const
inline

Definition at line 120 of file variableformat.h.

◆ getValue()

TQString VariableFormat::getValue ( ) const
inline

Definition at line 130 of file variableformat.h.

◆ getYear()

int VariableFormat::getYear ( ) const
inline

Definition at line 123 of file variableformat.h.

◆ isFix()

bool VariableFormat::isFix ( ) const
inline

Definition at line 133 of file variableformat.h.

◆ setDay()

void VariableFormat::setDay ( const int  d)
inline

Definition at line 140 of file variableformat.h.

◆ setFix()

void VariableFormat::setFix ( bool  f)
inline

Definition at line 139 of file variableformat.h.

◆ setFrameset()

void VariableFormat::setFrameset ( const TQString  fs)
inline

Definition at line 149 of file variableformat.h.

◆ setHour()

void VariableFormat::setHour ( const int  h)
inline

Definition at line 143 of file variableformat.h.

◆ setKey()

void VariableFormat::setKey ( TQString  k)
inline

Definition at line 137 of file variableformat.h.

◆ setMinute()

void VariableFormat::setMinute ( const int  m)
inline

Definition at line 144 of file variableformat.h.

◆ setMonth()

void VariableFormat::setMonth ( const int  m)
inline

Definition at line 141 of file variableformat.h.

◆ setNote()

void VariableFormat::setNote ( const TQString  note)
inline

Definition at line 151 of file variableformat.h.

◆ setNotetype()

void VariableFormat::setNotetype ( const TQString  nt)
inline

Definition at line 148 of file variableformat.h.

◆ setNumberingtype()

void VariableFormat::setNumberingtype ( const TQString  nt)
inline

Definition at line 147 of file variableformat.h.

◆ setSeconde()

void VariableFormat::setSeconde ( const int  s)
inline

Definition at line 145 of file variableformat.h.

◆ setText()

void VariableFormat::setText ( TQString  t)
inline

Definition at line 138 of file variableformat.h.

◆ setType()

void VariableFormat::setType ( const int  t)
inline

Definition at line 136 of file variableformat.h.

◆ setValue()

void VariableFormat::setValue ( const TQString  val)
inline

Definition at line 150 of file variableformat.h.

◆ setYear()

void VariableFormat::setYear ( const int  y)
inline

Definition at line 142 of file variableformat.h.


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