filters

Column Class Reference

#include <column.h>

Inheritance diagram for Column:
Format XmlParser XmlParser

Public Member Functions

 Column ()
 
long getCol () const
 
double getWidth () const
 
void setCol (int c)
 
void setWidth (double w)
 
void analyse (const TQDomNode)
 
void generate (TQTextStream &)
 
- 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)
 
virtual void analyseFont (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

- Static Protected Attributes inherited from XmlParser
static FileHeader * _fileHeader = 0
 
static Document * _root = 0
 
static TQString _filename
 

Detailed Description

This class hold a column.

Definition at line 37 of file column.h.

Constructor & Destructor Documentation

◆ Column()

Column::Column ( )

Constructors.

Creates a new instance of Column.

Definition at line 29 of file column.cpp.

◆ ~Column()

Column::~Column ( )
virtual

Definition at line 37 of file column.cpp.

Member Function Documentation

◆ analyse()

void Column::analyse ( const TQDomNode  balise)
virtual

Helpfull functions.

Reimplemented from Format.

Definition at line 41 of file column.cpp.

◆ generate()

void Column::generate ( TQTextStream &  out)
virtual

Implements Format.

Definition at line 51 of file column.cpp.

◆ getCol()

long Column::getCol ( ) const
inline

getters

Definition at line 67 of file column.h.

◆ getWidth()

double Column::getWidth ( ) const
inline

Definition at line 68 of file column.h.

◆ setCol()

void Column::setCol ( int  c)
inline

setters

Definition at line 73 of file column.h.

◆ setWidth()

void Column::setWidth ( double  w)
inline

Definition at line 74 of file column.h.


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