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
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()
Constructor.
~wxRichTextFormattingDialogFactory()
Destructor.
virtual bool CreateButtons(wxRichTextFormattingDialog* dialog)
Creates the main dialog buttons.
virtual wxPanel* CreatePage(int page, wxString& title, wxRichTextFormattingDialog* dialog)
Creates a page, given a page identifier.
virtual bool CreatePages(long pages, wxRichTextFormattingDialog* dialog)
Creates all pages under the dialog's book control, also calling AddPage.
virtual int GetPageId(int i) const
Enumerate all available page identifiers.
virtual int GetPageIdCount() const
Gets the number of available page identifiers.
virtual int GetPageImage(int id) const
Gets the image index for the given page identifier.
virtual bool SetSheetStyle(wxRichTextFormattingDialog* dialog)
Set the property sheet style, called at the start of wxRichTextFormattingDialog::Create.
virtual bool ShowHelp(int page, wxRichTextFormattingDialog* dialog)
Invokes help for the dialog.