]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/richtextstyledefinition.tex
Mark GetMinSize() as virtual and explain why.
[wxWidgets.git] / docs / latex / wx / richtextstyledefinition.tex
CommitLineData
5f35b46a
JS
1\section{\class{wxRichTextStyleDefinition}}\label{wxrichtextstyledefinition}
2
3This is a base class for paragraph and character styles.
4
5\wxheading{Derived from}
6
7\helpref{wxObject}{wxobject}
8
9\wxheading{Include files}
10
11<wx/richtext/richtextstyles.h>
12
13\wxheading{Data structures}
14
15\latexignore{\rtfignore{\wxheading{Members}}}
16
17\membersection{wxRichTextStyleDefinition::wxRichTextStyleDefinition}\label{wxrichtextstyledefinitionwxrichtextstyledefinition}
18
19\func{}{wxRichTextStyleDefinition}{\param{const wxString\& }{name = wxEmptyString}}
20
21Constructor.
22
23\membersection{wxRichTextStyleDefinition::\destruct{wxRichTextStyleDefinition}}\label{wxrichtextstyledefinitiondtor}
24
25\func{}{\destruct{wxRichTextStyleDefinition}}{\void}
26
27Destructor.
28
29\membersection{wxRichTextStyleDefinition::GetBaseStyle}\label{wxrichtextstyledefinitiongetbasestyle}
30
31\constfunc{const wxString\&}{GetBaseStyle}{\void}
32
33Returns the style on which this style is based.
34
35\membersection{wxRichTextStyleDefinition::GetName}\label{wxrichtextstyledefinitiongetname}
36
37\constfunc{const wxString\&}{GetName}{\void}
38
39Returns the style name.
40
41\membersection{wxRichTextStyleDefinition::GetStyle}\label{wxrichtextstyledefinitiongetstyle}
42
43\func{wxRichTextAttr\&}{GetStyle}{\void}
44
45\constfunc{const wxRichTextAttr\&}{GetStyle}{\void}
46
47Returns the attributes associated with this style.
48
49\membersection{wxRichTextStyleDefinition::Init}\label{wxrichtextstyledefinitioninit}
50
51\func{void}{Init}{\void}
52
53Initialises the definition.
54
55\membersection{wxRichTextStyleDefinition::SetBaseStyle}\label{wxrichtextstyledefinitionsetbasestyle}
56
57\func{void}{SetBaseStyle}{\param{const wxString\& }{name}}
58
59Sets the name of the style that this style is based on.
60
61\membersection{wxRichTextStyleDefinition::SetName}\label{wxrichtextstyledefinitionsetname}
62
63\func{void}{SetName}{\param{const wxString\& }{name}}
64
65Sets the name of the style.
66
67\membersection{wxRichTextStyleDefinition::SetStyle}\label{wxrichtextstyledefinitionsetstyle}
68
69\func{void}{SetStyle}{\param{const wxRichTextAttr\& }{style}}
70
71Sets the attributes for this style.
72