|
static const QString | INHERIT = "inherit" |
|
static const QString | BOLD = "bold" |
|
static const QString | ITALIC = "italic" |
|
static const QString | UNDERLINE = "underline" |
|
static const QString | UNDERLINEWORDS = "underlinewords" |
|
static const QString | STRIKETHROUGH = "strike" |
|
static const QString | SUPERSCRIPT = "superscript" |
|
static const QString | SUBSCRIPT = "subscript" |
|
static const QString | OUTLINE = "outline" |
|
static const QString | SHADOWED = "shadowed" |
|
static const QString | ALLCAPS = "allcaps" |
|
static const QString | SMALLCAPS = "smallcaps" |
|
static const Xml_string | saxxDefaultElem |
|
static const QString | INHERIT_PARENT = "\n" |
|
static const Xml_string | saxxDefaultElem |
|
|
bool | m_isDefaultStyle |
|
QString | m_name |
|
const StyleContext * | m_context |
|
int | m_contextversion |
|
QString | m_parent |
|
QString | m_shortcut |
|
This property will be evaluated at runtime and is not stored. See 'updateFeatures()'
bool CharStyle::equiv |
( |
const Style & |
other | ) |
const |
|
virtual |
returns true if both Styles are of the same type, inherit the same attributes, have the same parent, and agree on all attributes which are not inherited. The StyleContext, the name and any inherited attrinutes may be different.
Implements Style.
void CharStyle::erase |
( |
| ) |
|
|
inlinevirtual |
resets all attributes to their defaults and makes them inherited. name and parent are not affected.
Implements Style.
void CharStyle::saxx |
( |
SaxHandler & |
, |
|
|
const Xml_string & |
|
|
) |
| const |
|
virtual |
Writes an XML representation of this object
Implements SaxIO.
virtual void CharStyle::saxx |
( |
SaxHandler & |
| ) |
const |
|
inlinevirtual |
Writes an XML representation of this object using the default element tag, see below
Implements SaxIO.
sets a new StyleContext if b is not NULL and then uses the StyleContext to set all inherited attributes to their valid value.
Reimplemented from Style.
void CharStyle::updateFeatures |
( |
| ) |
|
This method may alter any of the attributes depending on the value of 'features'. Used for font effects
The documentation for this class was generated from the following files:
- /Users/ale/src/Scribus/scribus/styles/charstyle.h
- /Users/ale/src/Scribus/scribus/styles/charstyle.cpp