kspread
KSpread::CustomStyle Class Reference
A named cell style. More...
#include <Style.h>
Inheritance diagram for KSpread::CustomStyle:

Public Member Functions | |
| CustomStyle (const QString &name, CustomStyle *parent=0) | |
| virtual | ~CustomStyle () |
| void | loadOdf (KoOdfStylesReader &stylesReader, const KoXmlElement &style, const QString &name, Conditions &conditions, const StyleManager *styleManager) |
| bool | loadXML (KoXmlElement const &style, QString const &name) |
| QString const & | name () const |
| bool | operator!= (const CustomStyle &other) const |
| bool | operator== (const CustomStyle &other) const |
| void | save (QDomDocument &doc, QDomElement &styles, const StyleManager *styleManager) |
| virtual QString | saveOdf (KoGenStyle &style, KoGenStyles &mainStyles, const StyleManager *manager) const |
| void | setName (QString const &name) |
| void | setType (StyleType type) |
| virtual StyleType | type () const |
| int | usage () const |
Detailed Description
A named cell style.
Definition at line 363 of file Style.h.
Constructor & Destructor Documentation
| CustomStyle::CustomStyle | ( | const QString & | name, | |
| CustomStyle * | parent = 0 | |||
| ) | [explicit] |
Member Function Documentation
| void CustomStyle::loadOdf | ( | KoOdfStylesReader & | stylesReader, | |
| const KoXmlElement & | style, | |||
| const QString & | name, | |||
| Conditions & | conditions, | |||
| const StyleManager * | styleManager | |||
| ) |
| bool CustomStyle::loadXML | ( | KoXmlElement const & | style, | |
| QString const & | name | |||
| ) |
| bool KSpread::CustomStyle::operator!= | ( | const CustomStyle & | other | ) | const [inline] |
Reimplemented from KSpread::Style.
| bool KSpread::CustomStyle::operator== | ( | const CustomStyle & | style | ) | const |
Returns true if both styles have the same properties.
Reimplemented from KSpread::Style.
| void CustomStyle::save | ( | QDomDocument & | doc, | |
| QDomElement & | styles, | |||
| const StyleManager * | styleManager | |||
| ) |
| QString CustomStyle::saveOdf | ( | KoGenStyle & | style, | |
| KoGenStyles & | mainStyles, | |||
| const StyleManager * | manager | |||
| ) | const [virtual] |
- Reimplemented from superclass.
- Stores an OASIS user style.
- Returns:
- the OASIS style's name
Reimplemented from KSpread::Style.
| Style::StyleType CustomStyle::type | ( | ) | const [virtual] |
Reimplemented from KSpread::Style.
| int CustomStyle::usage | ( | ) | const |
The documentation for this class was generated from the following files:
