filters

#include <table.h>

Inheritance diagram for Table:
XmlParser Config Element XmlParser Border

Public Member Functions

 Table ()
int getMaxRow () const
int getMaxColumn () const
TQString getName () const
TQString getFormat () const
TQString getOrientation () const
long getBorderRight () const
long getBorderLeft () const
long getBorderBottom () const
long getBorderTop () const
bool isColumnNumber () const
bool isBorders () const
bool isHide () const
bool isHideZero () const
bool isFirstletterupper () const
bool isGrid () const
bool isPrintGrid () const
bool isPrintCommentIndicator () const
bool isPrintFormulaIndicator () const
bool isShowFormula () const
bool isShowFormulaIndicator () const
bool isLCMode () const
void setMaxRow (int r)
void setMaxColumn (int c)
void setName (TQString name)
void setFormat (TQString format)
void setOrientation (TQString orient)
void setBorderRight (long br)
void setBorderLeft (long bl)
void setBorderBottom (long bb)
void setBorderTop (long bt)
void setColumnNumber ()
void setBorders ()
void setHide ()
void setHideZero ()
void setFirstletterupper ()
void setGrid ()
void setPrintGrid ()
void setPrintCommentIndicator ()
void setPrintFormulaIndicator ()
void setShowFormula ()
void setShowFormulaIndicator ()
void setLCMode ()
Cell * searchCell (int col, int row)
Column * searchColumn (int col)
Row * searchRow (int row)
void analyse (const TQDomNode)
void analysePaper (const TQDomNode)
void generate (TQTextStream &)
 Table ()
 Table (TQString grpMng)
int getMaxRow () const
int getMaxCol () const
EEnv getCellFlow (int)
double getCellSize (int)
void setMaxRow (int r)
void setMaxCol (int c)
Element * searchCell (int, int)
void append (Element *)
void generate (TQTextStream &)
void addCell (int c, int r, int _cols, int _rows, TQValueList< ParaData > &p, FrameData &frameData)
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 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
void setType (EType t)
virtual void print (int tab=0)=0
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 &)

Public Attributes

int cols
TQValueList< TableCell > cellList

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 table.

That is a table of frame (text frame, picture frame, ...). It use a special latex package. The color table and the border of the tables is not yet supported.

That is a table of frame (text frame, picture frame, ...). It use a special latex package. The color table of the tables is not yet supported.

Definition at line 46 of file kspread/latex/export/table.h.

Constructor & Destructor Documentation

◆ Table() [1/4]

Table::Table ( )

Constructors.

Creates a new instance of Table.

Definition at line 32 of file kspread/latex/export/table.cpp.

◆ ~Table()

Table::~Table ( )
virtual

Definition at line 41 of file kspread/latex/export/table.cpp.

◆ Table() [2/4]

Table::Table ( )

Constructors.

Creates a new instance of Table.

◆ Table() [3/4]

Table::Table ( TQString grpMng)

Creates a new instance of Table.

Parameters
grpMngThe group manager.

Definition at line 36 of file kword/latex/export/table.cpp.

◆ Table() [4/4]

Table::Table ( )
inline

Definition at line 185 of file KWEFStructures.h.

Member Function Documentation

◆ addCell()

void Table::addCell ( int c,
int r,
int _cols,
int _rows,
TQValueList< ParaData > & p,
FrameData & frameData )
Since
1.4 (change of parameters)

Definition at line 41 of file KWEFStructures.cpp.

◆ analyse()

void Table::analyse ( const TQDomNode balise_initiale)
virtual

Helpfull functions.

Get informations about frameset markupt only from a markup tree.

Reimplemented from Element.

Definition at line 55 of file kspread/latex/export/table.cpp.

◆ analysePaper()

void Table::analysePaper ( const TQDomNode balise)

Definition at line 118 of file kspread/latex/export/table.cpp.

◆ append()

void Table::append ( Element * elt)

Definition at line 108 of file kword/latex/export/table.cpp.

◆ generate() [1/2]

void Table::generate ( TQTextStream & out)
virtual

Implements Element.

Definition at line 178 of file kspread/latex/export/table.cpp.

◆ generate() [2/2]

void Table::generate ( TQTextStream & )
virtual

Implements Element.

◆ getBorderBottom()

long Table::getBorderBottom ( ) const
inline

Definition at line 106 of file kspread/latex/export/table.h.

◆ getBorderLeft()

long Table::getBorderLeft ( ) const
inline

Definition at line 105 of file kspread/latex/export/table.h.

◆ getBorderRight()

long Table::getBorderRight ( ) const
inline

Definition at line 104 of file kspread/latex/export/table.h.

◆ getBorderTop()

long Table::getBorderTop ( ) const
inline

Definition at line 107 of file kspread/latex/export/table.h.

◆ getCellFlow()

EEnv Table::getCellFlow ( int col)

Definition at line 54 of file kword/latex/export/table.cpp.

◆ getCellSize()

double Table::getCellSize ( int col)

Definition at line 72 of file kword/latex/export/table.cpp.

◆ getFormat()

TQString Table::getFormat ( ) const
inline

Definition at line 102 of file kspread/latex/export/table.h.

◆ getMaxCol()

int Table::getMaxCol ( ) const
inline

Definition at line 81 of file kword/latex/export/table.h.

◆ getMaxColumn()

int Table::getMaxColumn ( ) const
inline

Definition at line 100 of file kspread/latex/export/table.h.

◆ getMaxRow() [1/2]

int Table::getMaxRow ( ) const
inline

getters

Definition at line 99 of file kspread/latex/export/table.h.

◆ getMaxRow() [2/2]

int Table::getMaxRow ( ) const
inline

Accessors.

Definition at line 80 of file kword/latex/export/table.h.

◆ getName()

TQString Table::getName ( ) const
inlinevirtual

Reimplemented from Element.

Definition at line 101 of file kspread/latex/export/table.h.

◆ getOrientation()

TQString Table::getOrientation ( ) const
inline

Definition at line 103 of file kspread/latex/export/table.h.

◆ isBorders()

bool Table::isBorders ( ) const
inline

Definition at line 110 of file kspread/latex/export/table.h.

◆ isColumnNumber()

bool Table::isColumnNumber ( ) const
inline

Definition at line 109 of file kspread/latex/export/table.h.

◆ isFirstletterupper()

bool Table::isFirstletterupper ( ) const
inline

Definition at line 113 of file kspread/latex/export/table.h.

◆ isGrid()

bool Table::isGrid ( ) const
inline

Definition at line 114 of file kspread/latex/export/table.h.

◆ isHide()

bool Table::isHide ( ) const
inline

Definition at line 111 of file kspread/latex/export/table.h.

◆ isHideZero()

bool Table::isHideZero ( ) const
inline

Definition at line 112 of file kspread/latex/export/table.h.

◆ isLCMode()

bool Table::isLCMode ( ) const
inline

Definition at line 120 of file kspread/latex/export/table.h.

◆ isPrintCommentIndicator()

bool Table::isPrintCommentIndicator ( ) const
inline

Definition at line 116 of file kspread/latex/export/table.h.

◆ isPrintFormulaIndicator()

bool Table::isPrintFormulaIndicator ( ) const
inline

Definition at line 117 of file kspread/latex/export/table.h.

◆ isPrintGrid()

bool Table::isPrintGrid ( ) const
inline

Definition at line 115 of file kspread/latex/export/table.h.

◆ isShowFormula()

bool Table::isShowFormula ( ) const
inline

Definition at line 118 of file kspread/latex/export/table.h.

◆ isShowFormulaIndicator()

bool Table::isShowFormulaIndicator ( ) const
inline

Definition at line 119 of file kspread/latex/export/table.h.

◆ searchCell() [1/2]

Element * Table::searchCell ( int col,
int row )

Helpfull functions.

Return one specific cell.

Parameters
colCell column.
rowRow cell.

Definition at line 131 of file kspread/latex/export/table.cpp.

◆ searchCell() [2/2]

Element * Table::searchCell ( int ,
int  )

Helpfull functions.

◆ searchColumn()

Column * Table::searchColumn ( int col)

Return one specific column which describe the format of the column.

Parameters
colthe column.

Definition at line 147 of file kspread/latex/export/table.cpp.

◆ searchRow()

Row * Table::searchRow ( int row)

Return one specific row which describe the format of the row.

Parameters
rowThe row number.

Definition at line 161 of file kspread/latex/export/table.cpp.

◆ setBorderBottom()

void Table::setBorderBottom ( long bb)
inline

Definition at line 132 of file kspread/latex/export/table.h.

◆ setBorderLeft()

void Table::setBorderLeft ( long bl)
inline

Definition at line 131 of file kspread/latex/export/table.h.

◆ setBorderRight()

void Table::setBorderRight ( long br)
inline

Definition at line 130 of file kspread/latex/export/table.h.

◆ setBorders()

void Table::setBorders ( )
inline

Definition at line 136 of file kspread/latex/export/table.h.

◆ setBorderTop()

void Table::setBorderTop ( long bt)
inline

Definition at line 133 of file kspread/latex/export/table.h.

◆ setColumnNumber()

void Table::setColumnNumber ( )
inline

Definition at line 135 of file kspread/latex/export/table.h.

◆ setFirstletterupper()

void Table::setFirstletterupper ( )
inline

Definition at line 139 of file kspread/latex/export/table.h.

◆ setFormat()

void Table::setFormat ( TQString format)
inline

Definition at line 128 of file kspread/latex/export/table.h.

◆ setGrid()

void Table::setGrid ( )
inline

Definition at line 140 of file kspread/latex/export/table.h.

◆ setHide()

void Table::setHide ( )
inline

Definition at line 137 of file kspread/latex/export/table.h.

◆ setHideZero()

void Table::setHideZero ( )
inline

Definition at line 138 of file kspread/latex/export/table.h.

◆ setLCMode()

void Table::setLCMode ( )
inline

Definition at line 146 of file kspread/latex/export/table.h.

◆ setMaxCol()

void Table::setMaxCol ( int c)
inline

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

◆ setMaxColumn()

void Table::setMaxColumn ( int c)

Definition at line 45 of file kspread/latex/export/table.cpp.

◆ setMaxRow() [1/2]

void Table::setMaxRow ( int r)

setters

Definition at line 50 of file kspread/latex/export/table.cpp.

◆ setMaxRow() [2/2]

void Table::setMaxRow ( int r)
inline

Modifiers.

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

◆ setName()

void Table::setName ( TQString name)
inline

Definition at line 127 of file kspread/latex/export/table.h.

◆ setOrientation()

void Table::setOrientation ( TQString orient)
inline

Definition at line 129 of file kspread/latex/export/table.h.

◆ setPrintCommentIndicator()

void Table::setPrintCommentIndicator ( )
inline

Definition at line 142 of file kspread/latex/export/table.h.

◆ setPrintFormulaIndicator()

void Table::setPrintFormulaIndicator ( )
inline

Definition at line 143 of file kspread/latex/export/table.h.

◆ setPrintGrid()

void Table::setPrintGrid ( )
inline

Definition at line 141 of file kspread/latex/export/table.h.

◆ setShowFormula()

void Table::setShowFormula ( )
inline

Definition at line 144 of file kspread/latex/export/table.h.

◆ setShowFormulaIndicator()

void Table::setShowFormulaIndicator ( )
inline

Definition at line 145 of file kspread/latex/export/table.h.

Member Data Documentation

◆ cellList

TQValueList<TableCell> Table::cellList

Definition at line 191 of file KWEFStructures.h.

◆ cols

int Table::cols

Definition at line 190 of file KWEFStructures.h.


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