filters
Format Class Reference
#include <format.h>
Inheritance diagram for Format:

Detailed Description
This class describe a cell, row or column format...). 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.
Public Member Functions | |
| Format () | |
| virtual | ~Format () |
| long | getMultirow () const |
| long | getAlign () const |
| long | getAlignY () const |
| QColor | getBgColor () const |
| bool | getVerticalText () const |
| double | getAngle () const |
| QColor | 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 |
| QColor | getPenColor () const |
| int | getFontSize () const |
| QString | getFontFamily () const |
| int | getFontWeight () const |
| bool | isValidFormat () const |
| void | setAlign (long a) |
| void | setAlignY (long a) |
| void | setBgColor (QColor b) |
| void | setMultirow (long mr) |
| void | setVerticalText (bool vt) |
| void | setAngle (double a) |
| void | setBrushColor (QString bc) |
| void | setBrushStyle (int bs) |
| void | setIndent (int indent) |
| void | setDontPrintText (bool dpt) |
| void | setPenWidth (double pw) |
| void | setPenStyle (int ps) |
| void | setPenColor (QString pc) |
| void | setFontSize (int s) |
| void | setFontFamily (QString f) |
| void | setFontWeight (int w) |
| virtual void | analyse (const QDomNode) |
| virtual void | analysePen (const QDomNode) |
| virtual void | analyseFont (const QDomNode) |
| void | generate (QTextStream &out, Column *col=NULL, Row *row=NULL) |
| void | generateTextFormat (QTextStream &out, QString text) |
| void | generateColor (QTextStream &out) |
| Format (Para *para=0) | |
| virtual | ~Format () |
| 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 QDomNode) |
| virtual void | generate (QTextStream &)=0 |
Constructor & Destructor Documentation
| 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.cc.
| Format::Format | ( | Para * | para = 0 |
) | [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.
Member Function Documentation
| long Format::getMultirow | ( | ) | const [inline] |
| void Format::setAlign | ( | long | a | ) | [inline] |
| void Format::analyse | ( | const | QDomNode | ) | [virtual] |
Get informations from a markup tree (only param of a format).
Reimplemented in Cell, Column, Row, Anchor, Footnote, Para, TextZone, and VariableZone.
Definition at line 83 of file kspread/latex/export/format.cc.
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.cc.
| void Format::generateTextFormat | ( | QTextStream & | out, | |
| QString | text | |||
| ) |
Generate the text cell format (color and font).
Definition at line 179 of file kspread/latex/export/format.cc.
| void Format::generateColor | ( | QTextStream & | 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.cc.
| EFormat Format::getId | ( | ) | const [inline] |
| void Format::setId | ( | int | id | ) | [inline] |
| virtual void Format::analyse | ( | const | QDomNode | ) | [virtual] |
The documentation for this class was generated from the following files:

