#include <table.h>
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()
|
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
-
grpMng The group manager.
Definition at line 36 of file kword/latex/export/table.cpp.
◆ Table() [4/4]
|
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()
|
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]
|
virtual |
Implements Element.
Definition at line 178 of file kspread/latex/export/table.cpp.
◆ generate() [2/2]
|
virtual |
Implements Element.
◆ getBorderBottom()
|
inline |
Definition at line 106 of file kspread/latex/export/table.h.
◆ getBorderLeft()
|
inline |
Definition at line 105 of file kspread/latex/export/table.h.
◆ getBorderRight()
|
inline |
Definition at line 104 of file kspread/latex/export/table.h.
◆ getBorderTop()
|
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()
|
inline |
Definition at line 102 of file kspread/latex/export/table.h.
◆ getMaxCol()
|
inline |
Definition at line 81 of file kword/latex/export/table.h.
◆ getMaxColumn()
|
inline |
Definition at line 100 of file kspread/latex/export/table.h.
◆ getMaxRow() [1/2]
|
inline |
getters
Definition at line 99 of file kspread/latex/export/table.h.
◆ getMaxRow() [2/2]
|
inline |
Accessors.
Definition at line 80 of file kword/latex/export/table.h.
◆ getName()
|
inlinevirtual |
Reimplemented from Element.
Definition at line 101 of file kspread/latex/export/table.h.
◆ getOrientation()
|
inline |
Definition at line 103 of file kspread/latex/export/table.h.
◆ isBorders()
|
inline |
Definition at line 110 of file kspread/latex/export/table.h.
◆ isColumnNumber()
|
inline |
Definition at line 109 of file kspread/latex/export/table.h.
◆ isFirstletterupper()
|
inline |
Definition at line 113 of file kspread/latex/export/table.h.
◆ isGrid()
|
inline |
Definition at line 114 of file kspread/latex/export/table.h.
◆ isHide()
|
inline |
Definition at line 111 of file kspread/latex/export/table.h.
◆ isHideZero()
|
inline |
Definition at line 112 of file kspread/latex/export/table.h.
◆ isLCMode()
|
inline |
Definition at line 120 of file kspread/latex/export/table.h.
◆ isPrintCommentIndicator()
|
inline |
Definition at line 116 of file kspread/latex/export/table.h.
◆ isPrintFormulaIndicator()
|
inline |
Definition at line 117 of file kspread/latex/export/table.h.
◆ isPrintGrid()
|
inline |
Definition at line 115 of file kspread/latex/export/table.h.
◆ isShowFormula()
|
inline |
Definition at line 118 of file kspread/latex/export/table.h.
◆ isShowFormulaIndicator()
|
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
-
col Cell column. row Row 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
-
col the 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
-
row The row number.
Definition at line 161 of file kspread/latex/export/table.cpp.
◆ setBorderBottom()
|
inline |
Definition at line 132 of file kspread/latex/export/table.h.
◆ setBorderLeft()
|
inline |
Definition at line 131 of file kspread/latex/export/table.h.
◆ setBorderRight()
|
inline |
Definition at line 130 of file kspread/latex/export/table.h.
◆ setBorders()
|
inline |
Definition at line 136 of file kspread/latex/export/table.h.
◆ setBorderTop()
|
inline |
Definition at line 133 of file kspread/latex/export/table.h.
◆ setColumnNumber()
|
inline |
Definition at line 135 of file kspread/latex/export/table.h.
◆ setFirstletterupper()
|
inline |
Definition at line 139 of file kspread/latex/export/table.h.
◆ setFormat()
|
inline |
Definition at line 128 of file kspread/latex/export/table.h.
◆ setGrid()
|
inline |
Definition at line 140 of file kspread/latex/export/table.h.
◆ setHide()
|
inline |
Definition at line 137 of file kspread/latex/export/table.h.
◆ setHideZero()
|
inline |
Definition at line 138 of file kspread/latex/export/table.h.
◆ setLCMode()
|
inline |
Definition at line 146 of file kspread/latex/export/table.h.
◆ setMaxCol()
|
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]
|
inline |
Modifiers.
Definition at line 89 of file kword/latex/export/table.h.
◆ setName()
|
inline |
Definition at line 127 of file kspread/latex/export/table.h.
◆ setOrientation()
|
inline |
Definition at line 129 of file kspread/latex/export/table.h.
◆ setPrintCommentIndicator()
|
inline |
Definition at line 142 of file kspread/latex/export/table.h.
◆ setPrintFormulaIndicator()
|
inline |
Definition at line 143 of file kspread/latex/export/table.h.
◆ setPrintGrid()
|
inline |
Definition at line 141 of file kspread/latex/export/table.h.
◆ setShowFormula()
|
inline |
Definition at line 144 of file kspread/latex/export/table.h.
◆ 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:

Public Member Functions inherited from