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>
13 \wxheading{Data structures
}
15 \latexignore{\rtfignore{\wxheading{Members
}}}
17 \membersection{wxRichTextStyleDefinition::wxRichTextStyleDefinition
}\label{wxrichtextstyledefinitionwxrichtextstyledefinition
}
19 \func{}{wxRichTextStyleDefinition
}{\param{const wxString\&
}{name = wxEmptyString
}}
23 \membersection{wxRichTextStyleDefinition::
\destruct{wxRichTextStyleDefinition
}}\label{wxrichtextstyledefinitiondtor
}
25 \func{}{\destruct{wxRichTextStyleDefinition
}}{\void}
29 \membersection{wxRichTextStyleDefinition::GetBaseStyle
}\label{wxrichtextstyledefinitiongetbasestyle
}
31 \constfunc{const wxString\&
}{GetBaseStyle
}{\void}
33 Returns the style on which this style is based.
35 \membersection{wxRichTextStyleDefinition::GetDescription
}\label{wxrichtextstyledefinitiongetdescription
}
37 \constfunc{const wxString\&
}{GetDescription
}{\void}
39 Returns the style's description.
41 \membersection{wxRichTextStyleDefinition::GetName
}\label{wxrichtextstyledefinitiongetname
}
43 \constfunc{const wxString\&
}{GetName
}{\void}
45 Returns the style name.
47 \membersection{wxRichTextStyleDefinition::GetStyle
}\label{wxrichtextstyledefinitiongetstyle
}
49 \func{wxRichTextAttr\&
}{GetStyle
}{\void}
51 \constfunc{const wxRichTextAttr\&
}{GetStyle
}{\void}
53 Returns the attributes associated with this style.
55 \membersection{wxRichTextStyleDefinition::Init
}\label{wxrichtextstyledefinitioninit
}
57 \func{void
}{Init
}{\void}
59 Initialises the definition.
61 \membersection{wxRichTextStyleDefinition::SetBaseStyle
}\label{wxrichtextstyledefinitionsetbasestyle
}
63 \func{void
}{SetBaseStyle
}{\param{const wxString\&
}{name
}}
65 Sets the name of the style that this style is based on.
67 \membersection{wxRichTextStyleDefinition::SetDescription
}\label{wxrichtextstyledefinitionsetdescription
}
69 \func{void
}{SetDescription
}{\param{const wxString\&
}{descr
}}
71 Sets the style description.
73 \membersection{wxRichTextStyleDefinition::SetName
}\label{wxrichtextstyledefinitionsetname
}
75 \func{void
}{SetName
}{\param{const wxString\&
}{name
}}
77 Sets the name of the style.
79 \membersection{wxRichTextStyleDefinition::SetStyle
}\label{wxrichtextstyledefinitionsetstyle
}
81 \func{void
}{SetStyle
}{\param{const wxRichTextAttr\&
}{style
}}
83 Sets the attributes for this style.