X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f35b46aabdab414602d27bb92034c371bc09d2e..134198f1b773199b5506c302bf9510831d0319f5:/docs/latex/wx/richtextstylesheet.tex diff --git a/docs/latex/wx/richtextstylesheet.tex b/docs/latex/wx/richtextstylesheet.tex index 04fbf34231..cdf93fd690 100644 --- a/docs/latex/wx/richtextstylesheet.tex +++ b/docs/latex/wx/richtextstylesheet.tex @@ -15,6 +15,10 @@ of styles to the control. +\wxheading{Library} + +\helpref{wxRichtext}{librarieslist} + \wxheading{Data structures} \latexignore{\rtfignore{\wxheading{Members}}} @@ -37,12 +41,24 @@ Destructor. Adds a definition to the character style list. +\membersection{wxRichTextStyleSheet::AddListStyle}\label{wxrichtextstylesheetaddliststyle} + +\func{bool}{AddListStyle}{\param{wxRichTextListStyleDefinition* }{def}} + +Adds a definition to the list style list. + \membersection{wxRichTextStyleSheet::AddParagraphStyle}\label{wxrichtextstylesheetaddparagraphstyle} \func{bool}{AddParagraphStyle}{\param{wxRichTextParagraphStyleDefinition* }{def}} Adds a definition to the paragraph style list. +\membersection{wxRichTextStyleSheet::AddStyle}\label{wxrichtextstylesheetaddstyle} + +\func{bool}{AddStyle}{\param{wxRichTextStyleDefinition* }{def}} + +Adds a definition to the appropriate style list. + \membersection{wxRichTextStyleSheet::DeleteStyles}\label{wxrichtextstylesheetdeletestyles} \func{void}{DeleteStyles}{\void} @@ -55,12 +71,24 @@ Deletes all styles. Finds a character definition by name. +\membersection{wxRichTextStyleSheet::FindListStyle}\label{wxrichtextstylesheetfindliststyle} + +\constfunc{wxRichTextListStyleDefinition*}{FindListStyle}{\param{const wxString\& }{name}} + +Finds a list definition by name. + \membersection{wxRichTextStyleSheet::FindParagraphStyle}\label{wxrichtextstylesheetfindparagraphstyle} \constfunc{wxRichTextParagraphStyleDefinition*}{FindParagraphStyle}{\param{const wxString\& }{name}} Finds a paragraph definition by name. +\membersection{wxRichTextStyleSheet::FindStyle}\label{wxrichtextstylesheetfindstyle} + +\constfunc{wxRichTextStyleDefinition*}{FindStyle}{\param{const wxString\& }{name}} + +Finds a style definition by name. + \membersection{wxRichTextStyleSheet::GetCharacterStyle}\label{wxrichtextstylesheetgetcharacterstyle} \constfunc{wxRichTextCharacterStyleDefinition*}{GetCharacterStyle}{\param{size\_t }{n}} @@ -73,6 +101,30 @@ Returns the {\it n}th character style. Returns the number of character styles. +\membersection{wxRichTextStyleSheet::GetDescription}\label{wxrichtextstylesheetgetdescription} + +\constfunc{const wxString\&}{GetDescription}{\void} + +Returns the style sheet's description. + +\membersection{wxRichTextStyleSheet::GetListStyle}\label{wxrichtextstylesheetgetliststyle} + +\constfunc{wxRichTextListStyleDefinition*}{GetListStyle}{\param{size\_t }{n}} + +Returns the {\it n}th list style. + +\membersection{wxRichTextStyleSheet::GetListStyleCount}\label{wxrichtextstylesheetgetliststylecount} + +\constfunc{size\_t}{GetListStyleCount}{\void} + +Returns the number of list styles. + +\membersection{wxRichTextStyleSheet::GetName}\label{wxrichtextstylesheetgetname} + +\constfunc{const wxString\&}{GetName}{\void} + +Returns the style sheet's name. + \membersection{wxRichTextStyleSheet::GetParagraphStyle}\label{wxrichtextstylesheetgetparagraphstyle} \constfunc{wxRichTextParagraphStyleDefinition*}{GetParagraphStyle}{\param{size\_t }{n}} @@ -85,20 +137,39 @@ Returns the {\it n}th paragraph style. Returns the number of paragraph styles. -\membersection{wxRichTextStyleSheet::Init}\label{wxrichtextstylesheetinit} - -\func{void}{Init}{\void} - -Initialises the style sheet. - \membersection{wxRichTextStyleSheet::RemoveCharacterStyle}\label{wxrichtextstylesheetremovecharacterstyle} \func{bool}{RemoveCharacterStyle}{\param{wxRichTextStyleDefinition* }{def}, \param{bool }{deleteStyle = false}} Removes a character style. +\membersection{wxRichTextStyleSheet::RemoveListStyle}\label{wxrichtextstylesheetremoveliststyle} + +\func{bool}{RemoveListStyle}{\param{wxRichTextStyleDefinition* }{def}, \param{bool }{deleteStyle = false}} + +Removes a list style. + \membersection{wxRichTextStyleSheet::RemoveParagraphStyle}\label{wxrichtextstylesheetremoveparagraphstyle} \func{bool}{RemoveParagraphStyle}{\param{wxRichTextStyleDefinition* }{def}, \param{bool }{deleteStyle = false}} Removes a paragraph style. + +\membersection{wxRichTextStyleSheet::RemoveStyle}\label{wxrichtextstylesheetremovestyle} + +\func{bool}{RemoveStyle}{\param{wxRichTextStyleDefinition* }{def}, \param{bool }{deleteStyle = false}} + +Removes a style. + +\membersection{wxRichTextStyleSheet::SetDescription}\label{wxrichtextstylesheetsetdescription} + +\func{void}{SetDescription}{\param{const wxString\& }{descr}} + +Sets the style sheet's description. + +\membersection{wxRichTextStyleSheet::SetName}\label{wxrichtextstylesheetsetname} + +\func{void}{SetName}{\param{const wxString\& }{name}} + +Sets the style sheet's name. +