#include <wx/richtext/richtextstyles.h>

You can use a wxRichTextStyleListBox in your user interface to show available styles to the user, and allow application of styles to the control.
| wxRichTextStyleSheet::wxRichTextStyleSheet | ( | ) |
Constructor.
| virtual wxRichTextStyleSheet::~wxRichTextStyleSheet | ( | ) | [virtual] |
Destructor.
| bool wxRichTextStyleSheet::AddCharacterStyle | ( | wxRichTextCharacterStyleDefinition * | def | ) |
Adds a definition to the character style list.
| bool wxRichTextStyleSheet::AddListStyle | ( | wxRichTextListStyleDefinition * | def | ) |
Adds a definition to the list style list.
| bool wxRichTextStyleSheet::AddParagraphStyle | ( | wxRichTextParagraphStyleDefinition * | def | ) |
Adds a definition to the paragraph style list.
| bool wxRichTextStyleSheet::AddStyle | ( | wxRichTextStyleDefinition * | def | ) |
Adds a definition to the appropriate style list.
| void wxRichTextStyleSheet::DeleteStyles | ( | ) |
Deletes all styles.
| wxRichTextCharacterStyleDefinition* wxRichTextStyleSheet::FindCharacterStyle | ( | const wxString & | name, | |
| bool | recurse = true | |||
| ) | const |
Finds a character definition by name.
| wxRichTextListStyleDefinition* wxRichTextStyleSheet::FindListStyle | ( | const wxString & | name, | |
| bool | recurse = true | |||
| ) | const |
Finds a list definition by name.
| wxRichTextParagraphStyleDefinition* wxRichTextStyleSheet::FindParagraphStyle | ( | const wxString & | name, | |
| bool | recurse = true | |||
| ) | const |
Finds a paragraph definition by name.
| wxRichTextStyleDefinition* wxRichTextStyleSheet::FindStyle | ( | const wxString & | name | ) | const |
Finds a style definition by name.
| wxRichTextCharacterStyleDefinition* wxRichTextStyleSheet::GetCharacterStyle | ( | size_t | n | ) | const |
Returns the nth character style.
| size_t wxRichTextStyleSheet::GetCharacterStyleCount | ( | ) | const |
Returns the number of character styles.
| const wxString& wxRichTextStyleSheet::GetDescription | ( | ) | const |
Returns the style sheet's description.
| wxRichTextListStyleDefinition* wxRichTextStyleSheet::GetListStyle | ( | size_t | n | ) | const |
Returns the nth list style.
| size_t wxRichTextStyleSheet::GetListStyleCount | ( | ) | const |
Returns the number of list styles.
| const wxString& wxRichTextStyleSheet::GetName | ( | ) | const |
Returns the style sheet's name.
| wxRichTextParagraphStyleDefinition* wxRichTextStyleSheet::GetParagraphStyle | ( | size_t | n | ) | const |
Returns the nth paragraph style.
| size_t wxRichTextStyleSheet::GetParagraphStyleCount | ( | ) | const |
Returns the number of paragraph styles.
| bool wxRichTextStyleSheet::RemoveCharacterStyle | ( | wxRichTextStyleDefinition * | def, | |
| bool | deleteStyle = false | |||
| ) |
Removes a character style.
| bool wxRichTextStyleSheet::RemoveListStyle | ( | wxRichTextStyleDefinition * | def, | |
| bool | deleteStyle = false | |||
| ) |
Removes a list style.
| bool wxRichTextStyleSheet::RemoveParagraphStyle | ( | wxRichTextStyleDefinition * | def, | |
| bool | deleteStyle = false | |||
| ) |
Removes a paragraph style.
| bool wxRichTextStyleSheet::RemoveStyle | ( | wxRichTextStyleDefinition * | def, | |
| bool | deleteStyle = false | |||
| ) |
Removes a style.
| void wxRichTextStyleSheet::SetDescription | ( | const wxString & | descr | ) |
Sets the style sheet's description.
| void wxRichTextStyleSheet::SetName | ( | const wxString & | name | ) |
Sets the style sheet's name.
|
[ top ] |