1 \section{\class{wxRichTextStyleDefinition
}}\label{wxrichtextstyledefinition
}
3 This is a base class for paragraph and character styles.
5 \wxheading{Derived from
}
7 \helpref{wxObject
}{wxobject
}
9 \wxheading{Include files
}
11 <wx/richtext/richtextstyles.h>
15 \helpref{wxRichtext
}{librarieslist
}
17 \wxheading{Data structures
}
19 \latexignore{\rtfignore{\wxheading{Members
}}}
21 \membersection{wxRichTextStyleDefinition::wxRichTextStyleDefinition
}\label{wxrichtextstyledefinitionwxrichtextstyledefinition
}
23 \func{}{wxRichTextStyleDefinition
}{\param{const wxString\&
}{name = wxEmptyString
}}
27 \membersection{wxRichTextStyleDefinition::
\destruct{wxRichTextStyleDefinition
}}\label{wxrichtextstyledefinitiondtor
}
29 \func{}{\destruct{wxRichTextStyleDefinition
}}{\void}
33 \membersection{wxRichTextStyleDefinition::GetBaseStyle
}\label{wxrichtextstyledefinitiongetbasestyle
}
35 \constfunc{const wxString\&
}{GetBaseStyle
}{\void}
37 Returns the style on which this style is based.
39 \membersection{wxRichTextStyleDefinition::GetDescription
}\label{wxrichtextstyledefinitiongetdescription
}
41 \constfunc{const wxString\&
}{GetDescription
}{\void}
43 Returns the style's description.
45 \membersection{wxRichTextStyleDefinition::GetName
}\label{wxrichtextstyledefinitiongetname
}
47 \constfunc{const wxString\&
}{GetName
}{\void}
49 Returns the style name.
51 \membersection{wxRichTextStyleDefinition::GetStyle
}\label{wxrichtextstyledefinitiongetstyle
}
53 \func{wxTextAttr\&
}{GetStyle
}{\void}
55 \constfunc{const wxTextAttr\&
}{GetStyle
}{\void}
57 Returns the attributes associated with this style.
59 \membersection{wxRichTextStyleDefinition::GetStyleMergedWithBase
}\label{wxrichtextstyledefinitiongetstylemergedwithbase
}
61 \constfunc{wxTextAttr
}{GetStyleMergedWithBase
}{\param{wxRichTextStyleSheet*
}{ sheet
}}
63 Returns the style attributes combined with the attributes of the specified base style, if any. This function works recursively.
65 \membersection{wxRichTextStyleDefinition::SetBaseStyle
}\label{wxrichtextstyledefinitionsetbasestyle
}
67 \func{void
}{SetBaseStyle
}{\param{const wxString\&
}{name
}}
69 Sets the name of the style that this style is based on.
71 \membersection{wxRichTextStyleDefinition::SetDescription
}\label{wxrichtextstyledefinitionsetdescription
}
73 \func{void
}{SetDescription
}{\param{const wxString\&
}{descr
}}
75 Sets the style description.
77 \membersection{wxRichTextStyleDefinition::SetName
}\label{wxrichtextstyledefinitionsetname
}
79 \func{void
}{SetName
}{\param{const wxString\&
}{name
}}
81 Sets the name of the style.
83 \membersection{wxRichTextStyleDefinition::SetStyle
}\label{wxrichtextstyledefinitionsetstyle
}
85 \func{void
}{SetStyle
}{\param{const wxTextAttr\&
}{style
}}
87 Sets the attributes for this style.