LibreOffice Module svx (master) 1
Functions
langbox.cxx File Reference
#include <com/sun/star/linguistic2/XAvailableLocales.hpp>
#include <com/sun/star/linguistic2/XLinguServiceManager2.hpp>
#include <com/sun/star/linguistic2/XSpellChecker1.hpp>
#include <linguistic/misc.hxx>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
#include <unotools/localedatawrapper.hxx>
#include <tools/urlobj.hxx>
#include <svtools/langtab.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <i18nlangtag/lang.h>
#include <editeng/unolingu.hxx>
#include <svl/languageoptions.hxx>
#include <svx/langbox.hxx>
#include <svx/dialmgr.hxx>
#include <svx/strings.hrc>
#include <bitmaps.hlst>
#include <comphelper/string.hxx>
#include <comphelper/processfactory.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
Include dependency graph for langbox.cxx:

Go to the source code of this file.

Functions

OUString GetDicInfoStr (std::u16string_view rName, const LanguageType nLang, bool bNeg)
 
static std::vector< LanguageTypelcl_LocaleSeqToLangSeq (Sequence< css::lang::Locale > const &rSeq)
 
static bool lcl_SeqHasLang (const Sequence< sal_Int16 > &rLangSeq, sal_Int16 nLang)
 
 IMPL_LINK (SvxLanguageBox, ChangeHdl, weld::ComboBox &, rControl, void)
 

Function Documentation

◆ GetDicInfoStr()

OUString GetDicInfoStr ( std::u16string_view  rName,
const LanguageType  nLang,
bool  bNeg 
)

◆ IMPL_LINK()

IMPL_LINK ( SvxLanguageBox  ,
ChangeHdl  ,
weld::ComboBox ,
rControl  ,
void   
)

Definition at line 381 of file langbox.cxx.

References aStr, weld::Error, LanguageTag::isValidBcp47(), m_xControl, weld::Normal, and nPos.

◆ lcl_LocaleSeqToLangSeq()

static std::vector< LanguageType > lcl_LocaleSeqToLangSeq ( Sequence< css::lang::Locale > const &  rSeq)
static

Definition at line 70 of file langbox.cxx.

References nCount.

Referenced by SvxLanguageBox::SetLanguageList().

◆ lcl_SeqHasLang()

static bool lcl_SeqHasLang ( const Sequence< sal_Int16 > &  rLangSeq,
sal_Int16  nLang 
)
static

Definition at line 84 of file langbox.cxx.

Referenced by SvxLanguageBox::BuildEntry(), and SvxLanguageBox::SetLanguageList().