This is a base class for paragraph and character styles.
Derived from
Include files
<wx/richtext/richtextstyles.h>
Data structures
Members
wxRichTextStyleDefinition::wxRichTextStyleDefinition
wxRichTextStyleDefinition::~wxRichTextStyleDefinition
wxRichTextStyleDefinition::GetBaseStyle
wxRichTextStyleDefinition::GetDescription
wxRichTextStyleDefinition::GetName
wxRichTextStyleDefinition::GetStyle
wxRichTextStyleDefinition::GetStyleMergedWithBase
wxRichTextStyleDefinition::SetBaseStyle
wxRichTextStyleDefinition::SetDescription
wxRichTextStyleDefinition::SetName
wxRichTextStyleDefinition::SetStyle
wxRichTextStyleDefinition(const wxString& name = wxEmptyString)
Constructor.
~wxRichTextStyleDefinition()
Destructor.
const wxString& GetBaseStyle() const
Returns the style on which this style is based.
const wxString& GetDescription() const
Returns the style's description.
const wxString& GetName() const
Returns the style name.
wxRichTextAttr& GetStyle()
const wxRichTextAttr& GetStyle() const
Returns the attributes associated with this style.
wxRichTextAttr GetStyleMergedWithBase(wxRichTextStyleSheet* sheet) const
Returns the style attributes combined with the attributes of the specified base style, if any. This function works recursively.
void SetBaseStyle(const wxString& name)
Sets the name of the style that this style is based on.
void SetDescription(const wxString& descr)
Sets the style description.
void SetName(const wxString& name)
Sets the name of the style.
void SetStyle(const wxRichTextAttr& style)
Sets the attributes for this style.