X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f35b46aabdab414602d27bb92034c371bc09d2e..fc17828ab2cb3dc5dd22d5634ce4f6764e1373fc:/docs/latex/wx/richtextstylesheet.tex diff --git a/docs/latex/wx/richtextstylesheet.tex b/docs/latex/wx/richtextstylesheet.tex index 04fbf34231..613b06b15b 100644 --- a/docs/latex/wx/richtextstylesheet.tex +++ b/docs/latex/wx/richtextstylesheet.tex @@ -37,12 +37,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 +67,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 +97,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 +133,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. +