|
LibreOffice Module cui (master) 1
|
#include <editeng/unolingu.hxx>#include <o3tl/safeint.hxx>#include <svx/dialmgr.hxx>#include <com/sun/star/frame/XStorable.hpp>#include <com/sun/star/linguistic2/XDictionary.hpp>#include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp>#include <comphelper/string.hxx>#include <tools/debug.hxx>#include <unotools/collatorwrapper.hxx>#include <unotools/intlwrapper.hxx>#include <unotools/syslocale.hxx>#include <vcl/svapp.hxx>#include <vcl/weld.hxx>#include <linguistic/misc.hxx>#include <strings.hrc>#include <optdict.hxx>#include <dialmgr.hxx>#include <svx/svxerr.hxx>Go to the source code of this file.
Functions | |
| static OUString | getNormDicEntry_Impl (std::u16string_view rText) |
| static OUString | fixSpace (OUString sText) |
| static CDE_RESULT | cmpDicEntry_Impl (std::u16string_view rText1, std::u16string_view rText2) |
| IMPL_LINK_NOARG (SvxNewDictionaryDialog, OKHdl_Impl, weld::Button &, void) | |
| IMPL_LINK_NOARG (SvxNewDictionaryDialog, ModifyHdl_Impl, weld::Entry &, void) | |
| IMPL_LINK_NOARG (SvxEditDictionaryDialog, EntrySizeAllocHdl, const Size &, void) | |
| IMPL_LINK_NOARG (SvxEditDictionaryDialog, SelectBookHdl_Impl, weld::ComboBox &, void) | |
| IMPL_LINK_NOARG (SvxEditDictionaryDialog, SelectLangHdl_Impl, weld::ComboBox &, void) | |
| IMPL_LINK (SvxEditDictionaryDialog, SelectHdl, weld::TreeView &, rBox, void) | |
| IMPL_LINK (SvxEditDictionaryDialog, NewDelButtonHdl, weld::Button &, rBtn, void) | |
| IMPL_LINK (SvxEditDictionaryDialog, NewDelActionHdl, weld::Entry &, rDictEdit, bool) | |
| IMPL_LINK (SvxEditDictionaryDialog, ModifyHdl, weld::Entry &, rEdt, void) | |
|
static |
Definition at line 94 of file optdict.cxx.
References getNormDicEntry_Impl().
Referenced by IMPL_LINK().
|
static |
Definition at line 72 of file optdict.cxx.
Referenced by IMPL_LINK(), and SvxEditDictionaryDialog::NewDelHdl().
|
static |
Definition at line 47 of file optdict.cxx.
References i, and comphelper::string::stripEnd().
Referenced by cmpDicEntry_Impl(), SvxEditDictionaryDialog::GetLBInsertPos(), and IMPL_LINK().
| IMPL_LINK | ( | SvxEditDictionaryDialog | , |
| ModifyHdl | , | ||
| weld::Entry & | , | ||
| rEdt | , | ||
| void | |||
| ) |
Definition at line 684 of file optdict.cxx.
References cmpDicEntry_Impl(), fixSpace(), getNormDicEntry_Impl(), i, and nCount.
| IMPL_LINK | ( | SvxEditDictionaryDialog | , |
| NewDelActionHdl | , | ||
| weld::Entry & | , | ||
| rDictEdit | , | ||
| bool | |||
| ) |
Definition at line 595 of file optdict.cxx.
| IMPL_LINK | ( | SvxEditDictionaryDialog | , |
| NewDelButtonHdl | , | ||
| weld::Button & | , | ||
| rBtn | , | ||
| void | |||
| ) |
Definition at line 590 of file optdict.cxx.
| IMPL_LINK | ( | SvxEditDictionaryDialog | , |
| SelectHdl | , | ||
| weld::TreeView & | , | ||
| rBox | , | ||
| void | |||
| ) |
Definition at line 561 of file optdict.cxx.
| IMPL_LINK_NOARG | ( | SvxEditDictionaryDialog | , |
| EntrySizeAllocHdl | , | ||
| const Size & | , | ||
| void | |||
| ) |
Definition at line 336 of file optdict.cxx.
| IMPL_LINK_NOARG | ( | SvxEditDictionaryDialog | , |
| SelectBookHdl_Impl | , | ||
| weld::ComboBox & | , | ||
| void | |||
| ) |
Definition at line 408 of file optdict.cxx.
References LanguageTag::getLanguageType(), and nPos.
| IMPL_LINK_NOARG | ( | SvxEditDictionaryDialog | , |
| SelectLangHdl_Impl | , | ||
| weld::ComboBox & | , | ||
| void | |||
| ) |
Definition at line 429 of file optdict.cxx.
References LanguageTag::convertToLocale(), Application::CreateMessageDialog(), CuiResId(), LanguageTag::getLanguageType(), m_xDialog, RET_YES, and sName.
| IMPL_LINK_NOARG | ( | SvxNewDictionaryDialog | , |
| ModifyHdl_Impl | , | ||
| weld::Entry & | , | ||
| void | |||
| ) |
Definition at line 212 of file optdict.cxx.
| IMPL_LINK_NOARG | ( | SvxNewDictionaryDialog | , |
| OKHdl_Impl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
dictionaries may have been added/removed elsewhere too.
Definition at line 131 of file optdict.cxx.
References aURL, LanguageTag::convertToLocale(), Application::CreateMessageDialog(), CuiResId(), DBG_ASSERT, ERRCODE_SVX_LINGU_DICT_NOTWRITEABLE, ERRCTX_SVX_LINGU_DICTIONARY, eType, LinguMgr::GetDictionaryList(), linguistic::GetWritableDictionaryURL(), ErrorHandler::HandleError(), i, m_xDialog, nCount, RET_CANCEL, RET_OK, RID_SVXERRCTX, comphelper::string::stripEnd(), and SvxResLocale().