filters

Anchor Class Reference

#include <anchor.h>

Inheritance diagram for Anchor:
Format XmlParser XmlParser

Public Member Functions

 Anchor (Para *para=0)
virtual ~Anchor ()
TQString getType () const
TQString getInstance () const
void setType (TQString type)
void setInstance (TQString inst)
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 an anchor.

This class will be a lot modified because it doesn't correspond whith the dtd 1.0.

Definition at line 39 of file anchor.h.

Constructor & Destructor Documentation

◆ Anchor()

Anchor::Anchor ( Para * para = 0)

Constructors.

Creates a new instances of Anchor.

Parameters
parathe parent class.

Definition at line 29 of file anchor.cpp.

◆ ~Anchor()

Anchor::~Anchor ( )
virtual

Destructor.

Nothing to do

Definition at line 33 of file anchor.cpp.

Member Function Documentation

◆ analyse()

void Anchor::analyse ( const TQDomNode balise)
virtual

Helpfull functions.

Reimplemented from Format.

Definition at line 38 of file anchor.cpp.

◆ generate()

void Anchor::generate ( TQTextStream & out)
virtual

Implements Format.

Definition at line 54 of file anchor.cpp.

◆ getInstance()

TQString Anchor::getInstance ( ) const
inline

Definition at line 69 of file anchor.h.

◆ getType()

TQString Anchor::getType ( ) const
inline

Accessors.

Definition at line 68 of file anchor.h.

◆ setInstance()

void Anchor::setInstance ( TQString inst)
inline

Definition at line 75 of file anchor.h.

◆ setType()

void Anchor::setType ( TQString type)
inline

Modifiers.

Definition at line 74 of file anchor.h.


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