filters

Formula Class Reference

#include <formula.h>

Inheritance diagram for Formula:
Element Element XmlParser Border XmlParser Border

Public Member Functions

 Formula ()
 
TAround getRunAround () const
 
double getAroundGap () const
 
TCreate getAutoCreate () const
 
TNFrame getNewFrame () const
 
TSide getSheetSide () const
 
void getFormula (TQDomNode, int)
 
void setRunAround (const int a)
 
void setAroundGap (const double r)
 
void setAutoCreate (const int a)
 
void setNewFrame (const int n)
 
void setSheetSide (const int s)
 
void analyse (const TQDomNode)
 
void generate (TQTextStream &)
 
 Formula ()
 
TAround getRunAround () const
 
double getAroundGap () const
 
TCreate getAutoCreate () const
 
TNFrame getNewFrame () const
 
TSide getSheetSide () const
 
void getFormula (TQDomNode, int)
 
void setRunAround (const int a)
 
void setAroundGap (const double r)
 
void setAutoCreate (const int a)
 
void setNewFrame (const int n)
 
void setSheetSide (const int s)
 
void analyse (const TQDomNode)
 
void generate (TQTextStream &)
 
- Public Member Functions inherited from Element
 Element ()
 
SSect getSection () const
 
SType getType () const
 
SInfo getInfo () const
 
TQString getName () const
 
bool isVisible () const
 
bool isRemovable () const
 
TQString getGrpMgr () const
 
int getRow () const
 
int getCol () const
 
int getRows () const
 
int getCols () const
 
bool isTable () const
 
void setType (SType t)
 
void setSection (SSect s)
 
void setVisible (bool v)
 
void setRemovable (bool r)
 
void setGrpMgr (TQString g)
 
void setRow (int r)
 
void setCol (int c)
 
void setRows (int r)
 
void setCols (int c)
 
EType getType () const
 
virtual TQString getName () const
 
void setType (EType t)
 
virtual void print (int tab=0)=0
 
- 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 ()
 
- Public Member Functions inherited from Border
 Border ()
 
bool hasLeftBorder () const
 
bool hasRightBorder () const
 
bool hasTopBorder () const
 
bool hasBottomBorder () const
 
int getLeftWidth () const
 
int getRightWidth () const
 
int getTopWidth () const
 
int getBottomWidth () const
 
int getLeftRed () const
 
int getLeftGreen () const
 
int getLeftBlue () const
 
int getRightRed () const
 
int getRightGreen () const
 
int getRightBlue () const
 
int getTopRed () const
 
int getTopGreen () const
 
int getTopBlue () const
 
int getBottomRed () const
 
int getBottomGreen () const
 
int getBottomBlue () const
 
int getLeftStyle () const
 
int getRightStyle () const
 
int getTopStyle () const
 
int getBottomStyle () const
 
int getBkRed () const
 
int getBkGreen () const
 
int betBkBlue () const
 
void useLeftBorder ()
 
void useRightBorder ()
 
void useTopBorder ()
 
void useBottomBorder ()
 
void setLeftWidth (const int w)
 
void setRightWidth (const int w)
 
void setTopWidth (const int w)
 
void setBottomWidth (const int w)
 
void setLeftRed (const int r)
 
void setLeftGreen (const int g)
 
void setLeftBlue (const int b)
 
void setRightRed (const int r)
 
void setRightGreen (const int g)
 
void setRightBlue (const int b)
 
void setTopRed (const int r)
 
void setTopGreen (const int g)
 
void setTopBlue (const int b)
 
void setBottomRed (const int r)
 
void setBottomGreen (const int g)
 
void setBottomBlue (const int b)
 
void setLeftStyle (const int l)
 
void setRightStyle (const int r)
 
void setTopStyle (const int t)
 
void setBottomStyle (const int b)
 
void setBkRed (const int r)
 
void setBkGreen (const int g)
 
void setBkBlue (const int b)
 
void generate (TQTextStream &)
 

Additional Inherited Members

- Public Types inherited from Element
enum  EType { LATEX_NONE , LATEX_ENV , LATEX_MATH , LATEX_COMMAND }
 
- Static Protected Attributes inherited from XmlParser
static FileHeader * _fileHeader = 0
 
static Document * _root = 0
 
static TQString _filename
 

Detailed Description

This class hold a formula.

The formula must be generated not for this filter but from the kformula lib. So I keep only a string of the formula.

Definition at line 38 of file kspread/latex/export/formula.h.

Constructor & Destructor Documentation

◆ Formula() [1/2]

Formula::Formula ( )

Constructors.

Creates a new instance of Formula.

Definition at line 35 of file kspread/latex/export/formula.cpp.

◆ ~Formula() [1/2]

virtual Formula::~Formula ( )
inlinevirtual

Definition at line 67 of file kspread/latex/export/formula.h.

◆ Formula() [2/2]

Formula::Formula ( )

Constructors.

Creates a new instance of Formula.

◆ ~Formula() [2/2]

virtual Formula::~Formula ( )
inlinevirtual

Definition at line 67 of file kword/latex/export/formula.h.

Member Function Documentation

◆ analyse() [1/2]

void Formula::analyse ( const TQDomNode  balise)
virtual

Helpfull functions.

Get informations from a markup tree and put the formula in a TQString.

Reimplemented from Element.

Definition at line 51 of file kspread/latex/export/formula.cpp.

◆ analyse() [2/2]

void Formula::analyse ( const TQDomNode  )
virtual

Helpfull functions.

Get informations from a markup tree and put the formula in a TQString.

Reimplemented from Element.

◆ generate() [1/2]

void Formula::generate ( TQTextStream &  out)
virtual

Write the formula in a file.

Implements Element.

Definition at line 150 of file kspread/latex/export/formula.cpp.

◆ generate() [2/2]

void Formula::generate ( TQTextStream &  )
virtual

Write the formula in a file.

Implements Element.

◆ getAroundGap() [1/2]

double Formula::getAroundGap ( ) const
inline

Definition at line 76 of file kspread/latex/export/formula.h.

◆ getAroundGap() [2/2]

double Formula::getAroundGap ( ) const
inline

Definition at line 76 of file kword/latex/export/formula.h.

◆ getAutoCreate() [1/2]

TCreate Formula::getAutoCreate ( ) const
inline

Definition at line 77 of file kspread/latex/export/formula.h.

◆ getAutoCreate() [2/2]

TCreate Formula::getAutoCreate ( ) const
inline

Definition at line 77 of file kword/latex/export/formula.h.

◆ getFormula()

void Formula::getFormula ( TQDomNode  p,
int  indent 
)

Definition at line 83 of file kspread/latex/export/formula.cpp.

◆ getNewFrame() [1/2]

TNFrame Formula::getNewFrame ( ) const
inline

Definition at line 78 of file kspread/latex/export/formula.h.

◆ getNewFrame() [2/2]

TNFrame Formula::getNewFrame ( ) const
inline

Definition at line 78 of file kword/latex/export/formula.h.

◆ getRunAround() [1/2]

TAround Formula::getRunAround ( ) const
inline

Accessors.

Definition at line 75 of file kspread/latex/export/formula.h.

◆ getRunAround() [2/2]

TAround Formula::getRunAround ( ) const
inline

Accessors.

Definition at line 75 of file kword/latex/export/formula.h.

◆ getSheetSide() [1/2]

TSide Formula::getSheetSide ( ) const
inline

Definition at line 79 of file kspread/latex/export/formula.h.

◆ getSheetSide() [2/2]

TSide Formula::getSheetSide ( ) const
inline

Definition at line 79 of file kword/latex/export/formula.h.

◆ setAroundGap() [1/2]

void Formula::setAroundGap ( const double  r)
inline

Definition at line 87 of file kspread/latex/export/formula.h.

◆ setAroundGap() [2/2]

void Formula::setAroundGap ( const double  r)
inline

Definition at line 87 of file kword/latex/export/formula.h.

◆ setAutoCreate() [1/2]

void Formula::setAutoCreate ( const int  a)
inline

Definition at line 88 of file kspread/latex/export/formula.h.

◆ setAutoCreate() [2/2]

void Formula::setAutoCreate ( const int  a)
inline

Definition at line 88 of file kword/latex/export/formula.h.

◆ setNewFrame() [1/2]

void Formula::setNewFrame ( const int  n)
inline

Definition at line 89 of file kspread/latex/export/formula.h.

◆ setNewFrame() [2/2]

void Formula::setNewFrame ( const int  n)
inline

Definition at line 89 of file kword/latex/export/formula.h.

◆ setRunAround() [1/2]

void Formula::setRunAround ( const int  a)
inline

Modifiers.

Definition at line 86 of file kspread/latex/export/formula.h.

◆ setRunAround() [2/2]

void Formula::setRunAround ( const int  a)
inline

Modifiers.

Definition at line 86 of file kword/latex/export/formula.h.

◆ setSheetSide() [1/2]

void Formula::setSheetSide ( const int  s)
inline

Definition at line 90 of file kspread/latex/export/formula.h.

◆ setSheetSide() [2/2]

void Formula::setSheetSide ( const int  s)
inline

Definition at line 90 of file kword/latex/export/formula.h.


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