kspread
KSpread::CustomStyle Class Reference
#include <kspread_style.h>
Inheritance diagram for KSpread::CustomStyle:

Detailed Description
Built-in or custom style defined in StyleManager dialog.
Definition at line 386 of file kspread_style.h.
Public Member Functions | |
CustomStyle (Style *style, QString const &name) | |
CustomStyle (QString const &name, CustomStyle *parent) | |
~CustomStyle () | |
QString const & | name () const |
void | save (QDomDocument &doc, QDomElement &styles) |
virtual QString | saveOasis (KoGenStyle &style, KoGenStyles &mainStyles) |
void | loadOasis (KoOasisStyles &oasisStyles, const QDomElement &style, const QString &name) |
bool | loadXML (QDomElement const &style, QString const &name) |
void | setType (StyleType type) |
void | setName (QString const &name) |
void | refreshParentName () |
bool | definesAll () const |
void | changeAlignX (Format::Align alignX) |
void | changeAlignY (Format::AlignY alignY) |
void | changeFont (QFont const &f) |
void | changeFontFamily (QString const &fam) |
void | changeFontSize (int size) |
void | changeFontFlags (uint flags) |
void | changePen (QPen const &pen) |
void | changeTextColor (QColor const &color) |
void | changeBgColor (QColor const &color) |
void | changeRightBorderPen (QPen const &pen) |
void | changeBottomBorderPen (QPen const &pen) |
void | changeLeftBorderPen (QPen const &pen) |
void | changeTopBorderPen (QPen const &pen) |
void | changeFallBorderPen (QPen const &pen) |
void | changeGoUpBorderPen (QPen const &pen) |
void | changeRotateAngle (int angle) |
void | changeIndent (double indent) |
void | changeBackGroundBrush (QBrush const &brush) |
void | changeFloatFormat (Format::FloatFormat format) |
void | changeFloatColor (Format::FloatColor color) |
void | changeFormatType (FormatType format) |
void | changeStrFormat (QString const &strFormat) |
void | changePrecision (int precision) |
void | changePrefix (QString const &prefix) |
void | changePostfix (QString const &postfix) |
void | changeCurrency (Format::Currency const ¤cy) |
void | addProperty (Properties p) |
void | removeProperty (Properties p) |
Friends | |
class | StyleManager |
Constructor & Destructor Documentation
|
Constructor. Creates a custom style.
Definition at line 2675 of file kspread_style.cc. |
Member Function Documentation
|
Loads the style properties from Determines also the parent's name.
Definition at line 2772 of file kspread_style.cc. |
|
Reimplemented from KSpread::Style. Definition at line 2737 of file kspread_style.cc. |
The documentation for this class was generated from the following files: