LibreOffice Module starmath (master) 1
|
#include <dialog.hxx>
Public Member Functions | |
SmFontTypeDialog (weld::Window *pParent, OutputDevice *pFntListDevice) | |
virtual | ~SmFontTypeDialog () override |
void | ReadFrom (const SmFormat &rFormat) |
void | WriteTo (SmFormat &rFormat) const |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
DECL_LINK (MenuSelectHdl, const OUString &, void) | |
DECL_LINK (DefaultButtonClickHdl, weld::Button &, void) | |
Private Attributes | |
VclPtr< OutputDevice > | pFontListDev |
std::unique_ptr< SmFontPickListBox > | m_xVariableFont |
std::unique_ptr< SmFontPickListBox > | m_xFunctionFont |
std::unique_ptr< SmFontPickListBox > | m_xNumberFont |
std::unique_ptr< SmFontPickListBox > | m_xTextFont |
std::unique_ptr< SmFontPickListBox > | m_xSerifFont |
std::unique_ptr< SmFontPickListBox > | m_xSansFont |
std::unique_ptr< SmFontPickListBox > | m_xFixedFont |
std::unique_ptr< weld::MenuButton > | m_xMenuButton |
std::unique_ptr< weld::Button > | m_xDefaultButton |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::DialogController | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Attributes inherited from weld::GenericDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 130 of file dialog.hxx.
SmFontTypeDialog::SmFontTypeDialog | ( | weld::Window * | pParent, |
OutputDevice * | pFntListDevice | ||
) |
Definition at line 481 of file dialog.cxx.
References LINK, m_xDefaultButton, and m_xMenuButton.
|
overridevirtual |
Definition at line 498 of file dialog.cxx.
|
private |
|
private |
void SmFontTypeDialog::ReadFrom | ( | const SmFormat & | rFormat | ) |
Definition at line 502 of file dialog.cxx.
References FNT_FIXED, FNT_FUNCTION, FNT_NUMBER, FNT_SANS, FNT_SERIF, FNT_TEXT, FNT_VARIABLE, SmModule::GetConfig(), SmFormat::GetFont(), SmMathConfig::GetFontPickList(), m_xFixedFont, m_xFunctionFont, m_xNumberFont, m_xSansFont, m_xSerifFont, m_xTextFont, m_xVariableFont, and SM_MOD.
Referenced by SmDocShell::Execute().
void SmFontTypeDialog::WriteTo | ( | SmFormat & | rFormat | ) | const |
Definition at line 524 of file dialog.cxx.
References FNT_FIXED, FNT_FUNCTION, FNT_NUMBER, FNT_SANS, FNT_SERIF, FNT_TEXT, FNT_VARIABLE, SmModule::GetConfig(), SmMathConfig::GetFontPickList(), m_xFixedFont, m_xFunctionFont, m_xNumberFont, m_xSansFont, m_xSerifFont, m_xTextFont, m_xVariableFont, SmFormat::RequestApplyChanges(), SmFormat::SetFont(), and SM_MOD.
Referenced by SmDocShell::Execute().
|
private |
Definition at line 142 of file dialog.hxx.
Referenced by SmFontTypeDialog().
|
private |
Definition at line 140 of file dialog.hxx.
Referenced by ReadFrom(), and WriteTo().
|
private |
Definition at line 135 of file dialog.hxx.
Referenced by ReadFrom(), and WriteTo().
|
private |
Definition at line 141 of file dialog.hxx.
Referenced by SmFontTypeDialog().
|
private |
Definition at line 136 of file dialog.hxx.
Referenced by ReadFrom(), and WriteTo().
|
private |
Definition at line 139 of file dialog.hxx.
Referenced by ReadFrom(), and WriteTo().
|
private |
Definition at line 138 of file dialog.hxx.
Referenced by ReadFrom(), and WriteTo().
|
private |
Definition at line 137 of file dialog.hxx.
Referenced by ReadFrom(), and WriteTo().
|
private |
Definition at line 134 of file dialog.hxx.
Referenced by ReadFrom(), and WriteTo().
|
private |
Definition at line 132 of file dialog.hxx.