#include <ExportDlg.h>
Inheritance diagram for mgExportAdvOpt:
This panel contains an useful preview box which shows (in read only mode) what will be exported. The options which can be set through this panel are:
As for mgExportBasicOpt, this panel can be used as base class for a different advanced options panel... see mgExportBasicOpt description.
Definition at line 237 of file ExportDlg.h.
Public Member Functions | |
mgExportAdvOpt (wxWindow *parent, mgExportBasicOpt *basic=NULL, mgMathBox *box=NULL, const wxString &xslpath=wxEmptyString, wxWindowID id=-1) | |
Constructs the panel; call BuildAll() to complete creation. | |
virtual void | EnablePreview (bool enable=TRUE) |
Enables/disables the preview of MathML tags. | |
int | GetIndentation () |
Reads the indentation value from m_pIndentation, converts it to a number and returns it. | |
virtual void | BuildAll () |
Creates everything regarding this panel. | |
Protected Member Functions | |
virtual void | BuildCtrls () |
Initializes the controls whose pointers are stored in the member variables to be easily used when required. | |
Event handlers. @{ | |
void | OnUseNS (wxCommandEvent &event) |
void | OnPreviewChanged (wxCommandEvent &event) |
void | OnTypeChanged (wxCommandEvent &event) |
void | OnMathPlayer (wxCommandEvent &event) |
Protected Attributes | |
mgExportBasicOpt * | m_pBasic |
The BASIC options panel which is linked to this class. | |
mgMathBox * | m_pBox |
The mgMathBox which is used to retrieve export preview. | |
wxString | m_strXSLPath |
The path to the XSL data which is used for . | |
bool | m_bPreviewEnabled |
If TRUE, the "Tag preview" box is enabled. | |
Control pointers | |
Pointers to the controls used in the dialog. | |
wxCheckBox * | m_pUseNS |
wxCheckBox * | m_pUpper |
wxCheckBox * | m_pMathPlayer |
wxTextCtrl * | m_pNS |
wxTextCtrl * | m_pIndentation |
wxTextCtrl * | m_pPreview |
wxRadioButton * | m_pXHTML |
wxRadioButton * | m_pXML |
Friends | |
class | mgExportDlg |
class | mgExportBasicOpt |
|
Constructs the panel; call BuildAll() to complete creation.
Definition at line 287 of file ExportDlg.h. |
|
Creates everything regarding this panel. This function calls BuildCtrls() and then creates the entire layout for this panel. Implements mgExportBasePanel. Definition at line 358 of file ExportDlg.cpp. References BuildCtrls(). Referenced by mgExportDlg::BuildCtrls(). |
|
Initializes the controls whose pointers are stored in the member variables to be easily used when required. In this way, we do not have to use wxWindow::FindWindowById each time we must access them. Please note that IDs are still required for event handling. Implements mgExportBasePanel. Definition at line 337 of file ExportDlg.cpp. Referenced by BuildAll(). |
[ Top ] |