#include <format.h>
Public Member Functions | |
| 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 | analyse (const TQDomNode) |
| 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) |
| virtual void | analyse (const TQDomNode) |
| virtual void | generate (TQTextStream &)=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 () |
Additional Inherited Members | |
Static Protected Attributes inherited from XmlParser | |
| static FileHeader * | _fileHeader = 0 |
| static Document * | _root = 0 |
| static TQString | _filename |
Detailed Description
This class describe a cell, row or column format.
This class describe a format or a part of an element (text zone, picture zone, footnote, ...).
An element has a lot of format. For example, a Text has a lot of text zone but can have a picture too.
Definition at line 42 of file kspread/latex/export/format.h.
Constructor & Destructor Documentation
◆ Format() [1/2]
| Format::Format | ( | ) |
Constructors.
Creates a new instance of Format.
- Parameters
-
Para the parent class of the format.
Definition at line 31 of file kspread/latex/export/format.cpp.
◆ ~Format() [1/2]
|
virtual |
Definition at line 42 of file kspread/latex/export/format.cpp.
◆ Format() [2/2]
|
inline |
Constructors.
Creates a new instance of Format.
- Parameters
-
Para the parent class of the format.
Definition at line 73 of file kword/latex/export/format.h.
◆ ~Format() [2/2]
|
inlinevirtual |
Definition at line 81 of file kword/latex/export/format.h.
Member Function Documentation
◆ analyse() [1/2]
|
virtual |
Helpfull functions.
Get informations from a markup tree (only param of a format).
Reimplemented in Column, Row, Anchor, Footnote, Para, TextZone, and VariableZone.
Definition at line 83 of file kspread/latex/export/format.cpp.
◆ analyse() [2/2]
|
virtual |
◆ analyseFont()
|
virtual |
Definition at line 137 of file kspread/latex/export/format.cpp.
◆ analysePen()
|
virtual |
Definition at line 128 of file kspread/latex/export/format.cpp.
◆ generate() [1/2]
|
pure virtual |
Implemented in Para.
◆ generate() [2/2]
Generate the cell format inherited from the row or the colum format or use its own format.
- Parameters
-
out The output stream. col The column of this cell. row The row of this cell.
Definition at line 145 of file kspread/latex/export/format.cpp.
◆ generateColor()
| void Format::generateColor | ( | TQTextStream & | out | ) |
Generate the color format for a column or a row.
The command can be either columncolor or rowcolor.
- Parameters
-
out The output stream
Definition at line 192 of file kspread/latex/export/format.cpp.
◆ generateTextFormat()
| void Format::generateTextFormat | ( | TQTextStream & | out, |
| TQString | text | ||
| ) |
Generate the text cell format (color and font).
Definition at line 179 of file kspread/latex/export/format.cpp.
◆ getAlign()
|
inline |
Definition at line 95 of file kspread/latex/export/format.h.
◆ getAlignY()
|
inline |
Definition at line 96 of file kspread/latex/export/format.h.
◆ getAngle()
|
inline |
Definition at line 99 of file kspread/latex/export/format.h.
◆ getBgColor()
|
inline |
Definition at line 97 of file kspread/latex/export/format.h.
◆ getBrushColor()
|
inline |
Definition at line 100 of file kspread/latex/export/format.h.
◆ getBrushStyle()
|
inline |
Definition at line 101 of file kspread/latex/export/format.h.
◆ getDontPrintText()
|
inline |
Definition at line 103 of file kspread/latex/export/format.h.
◆ getFontFamily()
|
inline |
Definition at line 122 of file kspread/latex/export/format.h.
◆ getFontSize()
|
inline |
Definition at line 121 of file kspread/latex/export/format.h.
◆ getFontWeight()
|
inline |
Definition at line 123 of file kspread/latex/export/format.h.
◆ getFormatType()
|
inline |
Definition at line 88 of file kword/latex/export/format.h.
◆ getId()
|
inline |
Accessors.
Definition at line 86 of file kword/latex/export/format.h.
◆ getIndent()
|
inline |
Definition at line 102 of file kspread/latex/export/format.h.
◆ getLength()
|
inline |
Definition at line 90 of file kword/latex/export/format.h.
◆ getMultirow()
|
inline |
getters
Definition at line 94 of file kspread/latex/export/format.h.
◆ getPara()
|
inline |
Definition at line 87 of file kword/latex/export/format.h.
◆ getPenColor()
|
inline |
Definition at line 118 of file kspread/latex/export/format.h.
◆ getPenStyle()
|
inline |
Definition at line 117 of file kspread/latex/export/format.h.
◆ getPenWidth()
|
inline |
Definition at line 116 of file kspread/latex/export/format.h.
◆ getPos()
|
inline |
Definition at line 89 of file kword/latex/export/format.h.
◆ getVerticalText()
|
inline |
Definition at line 98 of file kspread/latex/export/format.h.
◆ hasBorder()
|
inline |
Definition at line 105 of file kspread/latex/export/format.h.
◆ hasBottomBorder()
| bool Format::hasBottomBorder | ( | ) | const |
Definition at line 58 of file kspread/latex/export/format.cpp.
◆ hasLeftBorder()
| bool Format::hasLeftBorder | ( | ) | const |
Definition at line 66 of file kspread/latex/export/format.cpp.
◆ hasRightBorder()
| bool Format::hasRightBorder | ( | ) | const |
Definition at line 74 of file kspread/latex/export/format.cpp.
◆ hasTopBorder()
| bool Format::hasTopBorder | ( | ) | const |
Definition at line 50 of file kspread/latex/export/format.cpp.
◆ isValidFormat()
|
inline |
Definition at line 124 of file kspread/latex/export/format.h.
◆ setAlign()
|
inline |
setters
Definition at line 129 of file kspread/latex/export/format.h.
◆ setAlignY()
|
inline |
Definition at line 130 of file kspread/latex/export/format.h.
◆ setAngle()
|
inline |
Definition at line 134 of file kspread/latex/export/format.h.
◆ setBgColor()
|
inline |
Definition at line 131 of file kspread/latex/export/format.h.
◆ setBrushColor()
|
inline |
Definition at line 135 of file kspread/latex/export/format.h.
◆ setBrushStyle()
|
inline |
Definition at line 136 of file kspread/latex/export/format.h.
◆ setDontPrintText()
|
inline |
Definition at line 138 of file kspread/latex/export/format.h.
◆ setFontFamily()
|
inline |
Definition at line 147 of file kspread/latex/export/format.h.
◆ setFontSize()
|
inline |
Definition at line 146 of file kspread/latex/export/format.h.
◆ setFontWeight()
|
inline |
Definition at line 148 of file kspread/latex/export/format.h.
◆ setId()
|
inline |
Modifiers.
Definition at line 95 of file kword/latex/export/format.h.
◆ setIndent()
|
inline |
Definition at line 137 of file kspread/latex/export/format.h.
◆ setLength()
|
inline |
Definition at line 98 of file kword/latex/export/format.h.
◆ setMultirow()
|
inline |
Definition at line 132 of file kspread/latex/export/format.h.
◆ setPara()
|
inline |
Definition at line 96 of file kword/latex/export/format.h.
◆ setPenColor()
|
inline |
Definition at line 143 of file kspread/latex/export/format.h.
◆ setPenStyle()
|
inline |
Definition at line 142 of file kspread/latex/export/format.h.
◆ setPenWidth()
|
inline |
Definition at line 141 of file kspread/latex/export/format.h.
◆ setPos()
|
inline |
Definition at line 97 of file kword/latex/export/format.h.
◆ setVerticalText()
|
inline |
Definition at line 133 of file kspread/latex/export/format.h.
The documentation for this class was generated from the following files:

Public Member Functions inherited from