X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f65137f8de90aba96242d5e44b00dfd0efa4b67..c36cdfc084f779b67668af8cad3eb6906182af21:/docs/latex/wx/richtextstyledefinition.tex?ds=inline diff --git a/docs/latex/wx/richtextstyledefinition.tex b/docs/latex/wx/richtextstyledefinition.tex index 2ed18ab5fa..6ab245fdc0 100644 --- a/docs/latex/wx/richtextstyledefinition.tex +++ b/docs/latex/wx/richtextstyledefinition.tex @@ -10,6 +10,10 @@ This is a base class for paragraph and character styles. +\wxheading{Library} + +\helpref{wxRichtext}{librarieslist} + \wxheading{Data structures} \latexignore{\rtfignore{\wxheading{Members}}} @@ -46,17 +50,17 @@ Returns the style name. \membersection{wxRichTextStyleDefinition::GetStyle}\label{wxrichtextstyledefinitiongetstyle} -\func{wxRichTextAttr\&}{GetStyle}{\void} +\func{wxTextAttr\&}{GetStyle}{\void} -\constfunc{const wxRichTextAttr\&}{GetStyle}{\void} +\constfunc{const wxTextAttr\&}{GetStyle}{\void} Returns the attributes associated with this style. -\membersection{wxRichTextStyleDefinition::Init}\label{wxrichtextstyledefinitioninit} +\membersection{wxRichTextStyleDefinition::GetStyleMergedWithBase}\label{wxrichtextstyledefinitiongetstylemergedwithbase} -\func{void}{Init}{\void} +\constfunc{wxTextAttr}{GetStyleMergedWithBase}{\param{wxRichTextStyleSheet*}{ sheet}} -Initialises the definition. +Returns the style attributes combined with the attributes of the specified base style, if any. This function works recursively. \membersection{wxRichTextStyleDefinition::SetBaseStyle}\label{wxrichtextstyledefinitionsetbasestyle} @@ -78,7 +82,7 @@ Sets the name of the style. \membersection{wxRichTextStyleDefinition::SetStyle}\label{wxrichtextstyledefinitionsetstyle} -\func{void}{SetStyle}{\param{const wxRichTextAttr\& }{style}} +\func{void}{SetStyle}{\param{const wxTextAttr\& }{style}} Sets the attributes for this style.