LibreOffice Module starmath (master) 1
|
#include <dialog.hxx>
Public Member Functions | |
SmSymDefineDialog (weld::Window *pParent, OutputDevice *pFntListDevice, SmSymbolManager &rMgr) | |
virtual | ~SmSymDefineDialog () override |
virtual short | run () override |
void | SelectOldSymbolSet (std::u16string_view rSymbolSetName) |
void | SelectOldSymbol (const OUString &rSymbolName) |
bool | SelectSymbolSet (std::u16string_view rSymbolSetName) |
bool | SelectSymbol (const OUString &rSymbolName) |
bool | SelectFont (const OUString &rFontName) |
bool | SelectStyle (const OUString &rStyleName) |
void | SelectChar (sal_Unicode cChar) |
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 (OldSymbolChangeHdl, weld::ComboBox &, void) | |
DECL_LINK (OldSymbolSetChangeHdl, weld::ComboBox &, void) | |
DECL_LINK (ModifyHdl, weld::ComboBox &, void) | |
DECL_LINK (FontChangeHdl, weld::ComboBox &, void) | |
DECL_LINK (SubsetChangeHdl, weld::ComboBox &, void) | |
DECL_LINK (StyleChangeHdl, weld::ComboBox &, void) | |
DECL_LINK (CharHighlightHdl, SvxShowCharSet *, void) | |
DECL_LINK (AddClickHdl, weld::Button &, void) | |
DECL_LINK (ChangeClickHdl, weld::Button &, void) | |
DECL_LINK (DeleteClickHdl, weld::Button &, void) | |
void | FillSymbols (weld::ComboBox &rComboBox, bool bDeleteText=true) |
void | FillSymbolSets (weld::ComboBox &rComboBox, bool bDeleteText=true) |
void | FillFonts () |
void | FillStyles () |
void | SetSymbolSetManager (const SmSymbolManager &rMgr) |
void | SetFont (const OUString &rFontName, std::u16string_view rStyleName) |
void | SetOrigSymbol (const SmSym *pSymbol, const OUString &rSymbolSetName) |
void | UpdateButtons () |
bool | SelectSymbolSet (weld::ComboBox &rComboBox, std::u16string_view rSymbolSetName, bool bDeleteText) |
bool | SelectSymbol (weld::ComboBox &rComboBox, const OUString &rSymbolName, bool bDeleteText) |
bool | SelectFont (const OUString &rFontName, bool bApplyFont) |
bool | SelectStyle (const OUString &rStyleName, bool bApplyFont) |
SmSym * | GetSymbol (const weld::ComboBox &rComboBox) |
const SmSym * | GetSymbol (const weld::ComboBox &rComboBox) const |
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 389 of file dialog.hxx.
SmSymDefineDialog::SmSymDefineDialog | ( | weld::Window * | pParent, |
OutputDevice * | pFntListDevice, | ||
SmSymbolManager & | rMgr | ||
) |
Definition at line 1735 of file dialog.cxx.
References Create(), FillFonts(), LINK, m_rSymbolMgr, m_xAddBtn, m_xChangeBtn, m_xCharsetDisplay, m_xDeleteBtn, m_xFonts, m_xFontsSubsetLB, m_xOldSymbols, m_xOldSymbolSets, m_xStyles, m_xSymbols, m_xSymbolSets, SelectFont(), and SetSymbolSetManager().
|
overridevirtual |
Definition at line 1786 of file dialog.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 1478 of file dialog.cxx.
References i, m_xFontList, m_xFonts, and nCount.
Referenced by SmSymDefineDialog().
|
private |
Definition at line 1494 of file dialog.cxx.
References GetFontStyles(), i, m_xFonts, and m_xStyles.
Referenced by SelectFont().
|
private |
Definition at line 1451 of file dialog.cxx.
References weld::ComboBox::append_text(), weld::ComboBox::clear(), weld::ComboBox::get_active_text(), SmSymbolManager::GetSymbolSet(), i, m_aSymbolMgrCopy, m_xOldSymbols, m_xOldSymbolSets, m_xSymbols, m_xSymbolSets, and weld::ComboBox::set_entry_text().
Referenced by SelectSymbolSet(), and SetSymbolSetManager().
|
private |
Definition at line 1465 of file dialog.cxx.
References weld::ComboBox::append_text(), weld::ComboBox::clear(), SmSymbolManager::GetSymbolSetNames(), m_aSymbolMgrCopy, m_xOldSymbolSets, m_xSymbolSets, and weld::ComboBox::set_entry_text().
Referenced by SetSymbolSetManager().
|
private |
Definition at line 1512 of file dialog.cxx.
References weld::ComboBox::get_active_text(), SmSymbolManager::GetSymbolByName(), m_aSymbolMgrCopy, m_xOldSymbols, and m_xSymbols.
Referenced by GetSymbol(), and SelectSymbol().
|
inlineprivate |
Definition at line 447 of file dialog.hxx.
References GetSymbol().
|
overridevirtual |
Reimplemented from weld::DialogController.
Definition at line 1790 of file dialog.cxx.
References SmSymbolManager::IsModified(), m_aSymbolMgrCopy, m_rSymbolMgr, and RET_OK.
Referenced by IMPL_LINK_NOARG().
void SmSymDefineDialog::SelectChar | ( | sal_Unicode | cChar | ) |
Definition at line 2051 of file dialog.cxx.
References m_aSymbolDisplay, m_xCharsetDisplay, SmShowChar::SetSymbol(), and UpdateButtons().
Referenced by SelectSymbol().
|
inline |
|
private |
Definition at line 1997 of file dialog.cxx.
References FillStyles(), m_aSymbolDisplay, m_xCharsetDisplay, m_xFonts, m_xStyles, nPos, SelectStyle(), SetFont(), SmShowChar::SetSymbol(), and UpdateButtons().
Referenced by SelectSymbol(), and SmSymDefineDialog().
|
inline |
Definition at line 463 of file dialog.hxx.
References m_xOldSymbols, and SelectSymbol().
Referenced by IMPL_LINK_NOARG().
|
inline |
Definition at line 458 of file dialog.hxx.
References m_xOldSymbolSets, and SelectSymbolSet().
Referenced by IMPL_LINK_NOARG().
|
inline |
|
private |
Definition at line 2024 of file dialog.cxx.
References m_aSymbolDisplay, m_xCharsetDisplay, m_xFonts, m_xStyles, nPos, SetFont(), SmShowChar::SetSymbol(), and UpdateButtons().
Referenced by SelectFont(), and SelectSymbol().
|
inline |
Definition at line 473 of file dialog.hxx.
References m_xSymbols, and SelectSymbol().
|
private |
Definition at line 1897 of file dialog.cxx.
References weld::ComboBox::find_text(), weld::ComboBox::get_active_text(), SmSym::GetCharacter(), SmSym::GetFace(), vcl::Font::GetFamilyName(), GetFontStyles(), SmSym::GetName(), GetSymbol(), SmSymbolManager::GetSymbolByName(), m_aSymbolDisplay, m_aSymbolMgrCopy, m_xCharsetDisplay, m_xOldSymbols, m_xOldSymbolSets, m_xSymbolName, m_xSymbols, nPos, SelectChar(), SelectFont(), SelectStyle(), weld::ComboBox::set_active(), weld::ComboBox::set_entry_text(), SmShowChar::SetFont(), SetOrigSymbol(), and UpdateButtons().
Referenced by IMPL_LINK_NOARG(), SelectOldSymbol(), SelectSymbol(), SelectSymbolSet(), and SetSymbolSetManager().
|
inline |
Definition at line 468 of file dialog.hxx.
References m_xSymbolSets, and SelectSymbolSet().
|
private |
Definition at line 1825 of file dialog.cxx.
References FillSymbols(), weld::ComboBox::find_text(), weld::ComboBox::get_active_text(), m_xOldSymbols, m_xOldSymbolSetName, m_xOldSymbolSets, m_xSymbols, m_xSymbolSetName, m_xSymbolSets, nPos, SelectSymbol(), weld::ComboBox::set_active(), weld::ComboBox::set_entry_text(), weld::Label::set_label(), comphelper::string::strip(), and UpdateButtons().
Referenced by IMPL_LINK_NOARG(), SelectOldSymbolSet(), SelectSymbolSet(), and SetSymbolSetManager().
|
private |
Definition at line 1967 of file dialog.cxx.
References ITALIC_NONE, m_aSymbolDisplay, m_xCharsetDisplay, m_xFontList, m_xFontsSubsetLB, m_xSubsetMap, SmShowChar::SetFont(), SetFontStyle(), weld::toId(), and WEIGHT_NORMAL.
Referenced by SelectFont(), and SelectStyle().
|
private |
Definition at line 1870 of file dialog.cxx.
References SmSym::GetName(), weld::CustomWidgetController::Invalidate(), m_aOldSymbolDisplay, m_xOldSymbolName, m_xOldSymbolSetName, m_xOrigSymbol, SmShowChar::SetSymbol(), and SmShowChar::SetText().
Referenced by SelectSymbol().
|
private |
Definition at line 1801 of file dialog.cxx.
References FillSymbols(), FillSymbolSets(), m_aSymbolMgrCopy, m_xOldSymbols, m_xOldSymbolSets, m_xSymbols, m_xSymbolSets, SelectSymbol(), SelectSymbolSet(), SmSymbolManager::SetModified(), and UpdateButtons().
Referenced by SmSymDefineDialog().
|
private |
(Font-, Style- and SymbolSet name comparison is not case sensitive)
Definition at line 1699 of file dialog.cxx.
References GetFontStyles(), SmSymbolManager::GetSymbolByName(), m_aSymbolMgrCopy, m_xAddBtn, m_xChangeBtn, m_xCharsetDisplay, m_xDeleteBtn, m_xFonts, m_xOldSymbolSetName, m_xOrigSymbol, m_xStyles, m_xSymbols, and m_xSymbolSets.
Referenced by SelectChar(), SelectFont(), SelectStyle(), SelectSymbol(), SelectSymbolSet(), and SetSymbolSetManager().
|
private |
Definition at line 394 of file dialog.hxx.
Referenced by SetOrigSymbol().
|
private |
Definition at line 395 of file dialog.hxx.
Referenced by SelectChar(), SelectFont(), SelectStyle(), SelectSymbol(), and SetFont().
|
private |
Definition at line 392 of file dialog.hxx.
Referenced by FillSymbols(), FillSymbolSets(), GetSymbol(), run(), SelectSymbol(), SetSymbolSetManager(), and UpdateButtons().
|
private |
Definition at line 393 of file dialog.hxx.
Referenced by run(), and SmSymDefineDialog().
|
private |
Definition at line 410 of file dialog.hxx.
Referenced by SmSymDefineDialog(), and UpdateButtons().
|
private |
Definition at line 411 of file dialog.hxx.
Referenced by SmSymDefineDialog(), and UpdateButtons().
|
private |
Definition at line 415 of file dialog.hxx.
Referenced by SelectChar(), SelectFont(), SelectStyle(), SelectSymbol(), SetFont(), SmSymDefineDialog(), and UpdateButtons().
|
private |
Definition at line 416 of file dialog.hxx.
|
private |
Definition at line 412 of file dialog.hxx.
Referenced by SmSymDefineDialog(), and UpdateButtons().
|
private |
Definition at line 398 of file dialog.hxx.
Referenced by FillFonts(), and SetFont().
|
private |
Definition at line 403 of file dialog.hxx.
Referenced by FillFonts(), FillStyles(), SelectFont(), SelectStyle(), SmSymDefineDialog(), and UpdateButtons().
|
private |
Definition at line 404 of file dialog.hxx.
Referenced by SetFont(), and SmSymDefineDialog().
|
private |
Definition at line 413 of file dialog.hxx.
|
private |
Definition at line 406 of file dialog.hxx.
Referenced by SetOrigSymbol().
|
private |
Definition at line 399 of file dialog.hxx.
Referenced by FillSymbols(), GetSymbol(), SelectOldSymbol(), SelectSymbol(), SelectSymbolSet(), SetSymbolSetManager(), and SmSymDefineDialog().
|
private |
Definition at line 407 of file dialog.hxx.
Referenced by SelectSymbolSet(), SetOrigSymbol(), and UpdateButtons().
|
private |
Definition at line 400 of file dialog.hxx.
Referenced by FillSymbols(), FillSymbolSets(), SelectOldSymbolSet(), SelectSymbol(), SelectSymbolSet(), SetSymbolSetManager(), and SmSymDefineDialog().
|
private |
Definition at line 396 of file dialog.hxx.
Referenced by SetOrigSymbol(), and UpdateButtons().
|
private |
Definition at line 405 of file dialog.hxx.
Referenced by FillStyles(), SelectFont(), SelectStyle(), SmSymDefineDialog(), and UpdateButtons().
|
private |
Definition at line 397 of file dialog.hxx.
Referenced by SetFont().
|
private |
Definition at line 414 of file dialog.hxx.
|
private |
Definition at line 408 of file dialog.hxx.
Referenced by SelectSymbol().
|
private |
Definition at line 401 of file dialog.hxx.
Referenced by FillSymbols(), GetSymbol(), SelectSymbol(), SelectSymbolSet(), SetSymbolSetManager(), SmSymDefineDialog(), and UpdateButtons().
|
private |
Definition at line 409 of file dialog.hxx.
Referenced by SelectSymbolSet().
|
private |
Definition at line 402 of file dialog.hxx.
Referenced by FillSymbols(), FillSymbolSets(), SelectSymbolSet(), SetSymbolSetManager(), SmSymDefineDialog(), and UpdateButtons().
|
private |
Definition at line 391 of file dialog.hxx.