LibreOffice Module cui (master)
1
|
#include <editeng/unolingu.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.
Enumerations | |
enum | CDE_RESULT |
Functions | |
static OUString | getNormDicEntry_Impl (const OUString &rText) |
static CDE_RESULT | cmpDicEntry_Impl (const OUString &rText1, const OUString &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) | |
IMPL_STATIC_LINK (SvxEditDictionaryDialog, InsertTextHdl, OUString &, rText, bool) | |
enum CDE_RESULT |
Definition at line 72 of file optdict.cxx.
|
static |
Definition at line 76 of file optdict.cxx.
References getNormDicEntry_Impl().
Referenced by IMPL_LINK().
|
static |
Definition at line 46 of file optdict.cxx.
References i, and comphelper::string::stripEnd().
Referenced by cmpDicEntry_Impl(), SvxEditDictionaryDialog::GetLBInsertPos(), IMPL_LINK(), and SvxEditDictionaryDialog::ShowWords_Impl().
IMPL_LINK | ( | SvxEditDictionaryDialog | , |
SelectHdl | , | ||
weld::TreeView & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 545 of file optdict.cxx.
IMPL_LINK | ( | SvxEditDictionaryDialog | , |
NewDelButtonHdl | , | ||
weld::Button & | , | ||
rBtn | , | ||
void | |||
) |
Definition at line 574 of file optdict.cxx.
IMPL_LINK | ( | SvxEditDictionaryDialog | , |
NewDelActionHdl | , | ||
weld::Entry & | , | ||
rDictEdit | , | ||
bool | |||
) |
Definition at line 579 of file optdict.cxx.
IMPL_LINK | ( | SvxEditDictionaryDialog | , |
ModifyHdl | , | ||
weld::Entry & | , | ||
rEdt | , | ||
void | |||
) |
Definition at line 668 of file optdict.cxx.
References cmpDicEntry_Impl(), getNormDicEntry_Impl(), i, and nCount.
IMPL_LINK_NOARG | ( | SvxNewDictionaryDialog | , |
OKHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
dictionaries may have been added/removed elsewhere too.
Definition at line 113 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().
IMPL_LINK_NOARG | ( | SvxNewDictionaryDialog | , |
ModifyHdl_Impl | , | ||
weld::Entry & | , | ||
void | |||
) |
Definition at line 194 of file optdict.cxx.
IMPL_LINK_NOARG | ( | SvxEditDictionaryDialog | , |
EntrySizeAllocHdl | , | ||
const Size & | , | ||
void | |||
) |
Definition at line 320 of file optdict.cxx.
IMPL_LINK_NOARG | ( | SvxEditDictionaryDialog | , |
SelectBookHdl_Impl | , | ||
weld::ComboBox & | , | ||
void | |||
) |
Definition at line 392 of file optdict.cxx.
References nPos.
IMPL_LINK_NOARG | ( | SvxEditDictionaryDialog | , |
SelectLangHdl_Impl | , | ||
weld::ComboBox & | , | ||
void | |||
) |
Definition at line 413 of file optdict.cxx.
References LanguageTag::convertToLocale(), Application::CreateMessageDialog(), CuiResId(), GetDicInfoStr(), m_xDialog, RET_YES, and sName.
IMPL_STATIC_LINK | ( | SvxEditDictionaryDialog | , |
InsertTextHdl | , | ||
OUString & | , | ||
rText | , | ||
bool | |||
) |
Definition at line 765 of file optdict.cxx.