Contents Up Previous Next

wxRichTextFormattingDialogFactory

This class provides pages for wxRichTextFormattingDialog, and allows other customization of the dialog. A default instance of this class is provided automatically. If you wish to change the behaviour of the formatting dialog (for example add or replace a page), you may derive from this class, override one or more functions, and call the static function wxRichTextFormattingDialog::SetFormattingDialogFactory. Derived from

wxObject

Include files

<wx/richtext/richtextformatdlg.h>

Members

wxRichTextFormattingDialogFactory::wxRichTextFormattingDialogFactory
wxRichTextFormattingDialogFactory::~wxRichTextFormattingDialogFactory
wxRichTextFormattingDialogFactory::CreateButtons
wxRichTextFormattingDialogFactory::CreatePage
wxRichTextFormattingDialogFactory::CreatePages
wxRichTextFormattingDialogFactory::GetPageId
wxRichTextFormattingDialogFactory::GetPageIdCount
wxRichTextFormattingDialogFactory::GetPageImage
wxRichTextFormattingDialogFactory::SetSheetStyle
wxRichTextFormattingDialogFactory::ShowHelp


wxRichTextFormattingDialogFactory::wxRichTextFormattingDialogFactory

wxRichTextFormattingDialogFactory()

Constructor.


wxRichTextFormattingDialogFactory::~wxRichTextFormattingDialogFactory

~wxRichTextFormattingDialogFactory()

Destructor.


wxRichTextFormattingDialogFactory::CreateButtons

virtual bool CreateButtons(wxRichTextFormattingDialog* dialog)

Creates the main dialog buttons.


wxRichTextFormattingDialogFactory::CreatePage

virtual wxPanel* CreatePage(int page, wxString& title, wxRichTextFormattingDialog* dialog)

Creates a page, given a page identifier.


wxRichTextFormattingDialogFactory::CreatePages

virtual bool CreatePages(long pages, wxRichTextFormattingDialog* dialog)

Creates all pages under the dialog's book control, also calling AddPage.


wxRichTextFormattingDialogFactory::GetPageId

virtual int GetPageId(int i) const

Enumerate all available page identifiers.


wxRichTextFormattingDialogFactory::GetPageIdCount

virtual int GetPageIdCount() const

Gets the number of available page identifiers.


wxRichTextFormattingDialogFactory::GetPageImage

virtual int GetPageImage(int id) const

Gets the image index for the given page identifier.


wxRichTextFormattingDialogFactory::SetSheetStyle

virtual bool SetSheetStyle(wxRichTextFormattingDialog* dialog)

Set the property sheet style, called at the start of wxRichTextFormattingDialog::Create.


wxRichTextFormattingDialogFactory::ShowHelp

virtual bool ShowHelp(int page, wxRichTextFormattingDialog* dialog)

Invokes help for the dialog.