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