filters

Footnote Class Reference

#include <footnote.h>

Inheritance diagram for Footnote:
Format XmlParser XmlParser

Public Member Functions

 Footnote (Para *para=0)
void setFrom (int f)
void setTo (int t)
void setSpace (TQString)
void setStart (int s)
void setEnd (int e)
void setBefore (TQString)
void setAfter (TQString)
void setRef (TQString)
void analyse (const TQDomNode)
void analyseInternal (const TQDomNode)
void analyseRange (const TQDomNode)
void analyseText (const TQDomNode)
void analyseDescript (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 footnote.

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

Definition at line 39 of file footnote.h.

Constructor & Destructor Documentation

◆ Footnote()

Footnote::Footnote ( Para * para = 0)

Constructors.

Creates a new instances of Footnote.

Parameters
Parais the parent class

Definition at line 28 of file footnote.cpp.

◆ ~Footnote()

Footnote::~Footnote ( )
virtual

Definition at line 32 of file footnote.cpp.

Member Function Documentation

◆ analyse()

void Footnote::analyse ( const TQDomNode balise)
virtual

Helpfull functions.

Reimplemented from Format.

Definition at line 59 of file footnote.cpp.

◆ analyseDescript()

void Footnote::analyseDescript ( const TQDomNode balise)

Definition at line 132 of file footnote.cpp.

◆ analyseInternal()

void Footnote::analyseInternal ( const TQDomNode balise)

Definition at line 98 of file footnote.cpp.

◆ analyseRange()

void Footnote::analyseRange ( const TQDomNode balise)

Definition at line 118 of file footnote.cpp.

◆ analyseText()

void Footnote::analyseText ( const TQDomNode balise)

Definition at line 125 of file footnote.cpp.

◆ generate()

void Footnote::generate ( TQTextStream & out)
virtual

Implements Format.

Definition at line 138 of file footnote.cpp.

◆ setAfter()

void Footnote::setAfter ( TQString new_after)

Definition at line 49 of file footnote.cpp.

◆ setBefore()

void Footnote::setBefore ( TQString new_before)

Definition at line 43 of file footnote.cpp.

◆ setEnd()

void Footnote::setEnd ( int e)
inline

Definition at line 75 of file footnote.h.

◆ setFrom()

void Footnote::setFrom ( int f)
inline

Accessors.

Modifiers

Definition at line 71 of file footnote.h.

◆ setRef()

void Footnote::setRef ( TQString new_ref)

Definition at line 54 of file footnote.cpp.

◆ setSpace()

void Footnote::setSpace ( TQString new_space)

Definition at line 38 of file footnote.cpp.

◆ setStart()

void Footnote::setStart ( int s)
inline

Definition at line 74 of file footnote.h.

◆ setTo()

void Footnote::setTo ( int t)
inline

Definition at line 72 of file footnote.h.


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