This class holds a variety of information related to font dialogs.
@library{wxcore}
- @category{cmndlg}
+ @category{cmndlg,data}
@see @ref overview_cmndlg_font, wxFont, wxFontDialog
*/
stored by wxPageSetupDialogData).
@library{wxcore}
- @category{printing}
+ @category{printing,data}
@see @ref overview_printing, wxPageSetupDialog
*/
This class holds a variety of information related to colour dialogs.
@library{wxcore}
- @category{cmndlg}
+ @category{cmndlg,data}
@see wxColour, wxColourDialog, @ref overview_cmndlg_colour
*/
void SetCustomColour(int i, const wxColour& colour);
/**
- Assignment operator for the colour data.
+ Converts the colours saved in this class in a string form, separing
+ the various colours with a comma.
*/
- wxColourData& operator =(const wxColourData& data);
+ wxString ToString() const;
+ /**
+ Decodes the given string, which should be in the same format returned
+ by ToString(), and sets the internal colours.
+ */
+ bool FromString(const wxString& str);
- /** @todo document these */
- wxString wxColourData::ToString() const;
- bool wxColourData::FromString(const wxString& str);
+ /**
+ Assignment operator for the colour data.
+ */
+ wxColourData& operator =(const wxColourData& data);
};
@endcode
@library{wxcore}
- @category{printing}
+ @category{printing,data}
@see @ref overview_printing, wxPrintDialog, wxPageSetupDialog,
wxPrintDialogData, wxPageSetupDialogData, @ref overview_cmndlg_print,
/**
Gets the orientation. This can be wxLANDSCAPE or wxPORTRAIT.
*/
- int GetOrientation() const;
+ wxPrintOrientation GetOrientation() const;
/**
Returns the paper size id.
/**
Sets the orientation. This can be wxLANDSCAPE or wxPORTRAIT.
*/
- void SetOrientation(int orientation);
+ void SetOrientation(wxPrintOrientation orientation);
/**
Sets the paper id. This indicates the type of paper to be used. For a
settings.
@library{wxcore}
- @category{printing}
+ @category{printing,cmndlg,data}
@see @ref overview_printing, wxPrintDialog, @ref overview_cmndlg_print
*/