LibreOffice Module cui (master) 1
Functions
optdict.cxx File Reference
#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>
Include dependency graph for optdict.cxx:

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)
 

Function Documentation

◆ cmpDicEntry_Impl()

static CDE_RESULT cmpDicEntry_Impl ( std::u16string_view  rText1,
std::u16string_view  rText2 
)
static

Definition at line 94 of file optdict.cxx.

References getNormDicEntry_Impl().

Referenced by IMPL_LINK().

◆ fixSpace()

static OUString fixSpace ( OUString  sText)
static

Definition at line 72 of file optdict.cxx.

Referenced by IMPL_LINK(), and SvxEditDictionaryDialog::NewDelHdl().

◆ getNormDicEntry_Impl()

static OUString getNormDicEntry_Impl ( std::u16string_view  rText)
static

◆ IMPL_LINK() [1/4]

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() [2/4]

IMPL_LINK ( SvxEditDictionaryDialog  ,
NewDelActionHdl  ,
weld::Entry ,
rDictEdit  ,
bool   
)

Definition at line 595 of file optdict.cxx.

◆ IMPL_LINK() [3/4]

IMPL_LINK ( SvxEditDictionaryDialog  ,
NewDelButtonHdl  ,
weld::Button ,
rBtn  ,
void   
)

Definition at line 590 of file optdict.cxx.

◆ IMPL_LINK() [4/4]

IMPL_LINK ( SvxEditDictionaryDialog  ,
SelectHdl  ,
weld::TreeView ,
rBox  ,
void   
)

Definition at line 561 of file optdict.cxx.

◆ IMPL_LINK_NOARG() [1/5]

IMPL_LINK_NOARG ( SvxEditDictionaryDialog  ,
EntrySizeAllocHdl  ,
const Size ,
void   
)

Definition at line 336 of file optdict.cxx.

References x, and y.

◆ IMPL_LINK_NOARG() [2/5]

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() [3/5]

IMPL_LINK_NOARG ( SvxEditDictionaryDialog  ,
SelectLangHdl_Impl  ,
weld::ComboBox ,
void   
)

◆ IMPL_LINK_NOARG() [4/5]

IMPL_LINK_NOARG ( SvxNewDictionaryDialog  ,
ModifyHdl_Impl  ,
weld::Entry ,
void   
)

Definition at line 212 of file optdict.cxx.

◆ IMPL_LINK_NOARG() [5/5]

IMPL_LINK_NOARG ( SvxNewDictionaryDialog  ,
OKHdl_Impl  ,
weld::Button ,
void   
)