LibreOffice Module svx (master) 1
|
#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 <comphelper/scopeguard.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
Go to the source code of this file.
Functions | |
OUString | GetDicInfoStr (std::u16string_view rName, const LanguageType nLang, bool bNeg) |
static void | appendLocaleSeqToLangs (Sequence< css::lang::Locale > const &rSeq, std::vector< LanguageType > &aLangs) |
static bool | lcl_SeqHasLang (const Sequence< sal_Int16 > &rLangSeq, sal_Int16 nLang) |
static void | SortLanguages (std::vector< weld::ComboBoxEntry > &rEntries) |
IMPL_LINK (SvxLanguageBox, ChangeHdl, weld::ComboBox &, rControl, void) | |
|
static |
Definition at line 71 of file langbox.cxx.
References nCount.
Referenced by SvxLanguageBox::SetLanguageList().
OUString GetDicInfoStr | ( | std::u16string_view | rName, |
const LanguageType | nLang, | ||
bool | bNeg | ||
) |
Definition at line 48 of file langbox.cxx.
References INetURLObject::All, INetURLObject::GetBase(), SvtLanguageTable::GetLanguageString(), LANGUAGE_NONE, INetURLObject::SetSmartProtocol(), INetURLObject::SetSmartURL(), and SvxResId().
IMPL_LINK | ( | SvxLanguageBox | , |
ChangeHdl | , | ||
weld::ComboBox & | , | ||
rControl | , | ||
void | |||
) |
Definition at line 400 of file langbox.cxx.
References aStr, weld::Error, LanguageTag::isValidBcp47(), m_xControl, weld::Normal, and nPos.
|
static |
Definition at line 83 of file langbox.cxx.
Referenced by SvxLanguageBox::BuildEntry(), and SvxLanguageBox::SetLanguageList().
|
static |
Definition at line 191 of file langbox.cxx.
References getLocale(), comphelper::getProcessComponentContext(), Application::GetSettings(), lt1, lt2, weld::ComboBoxEntry::sId, and weld::ComboBoxEntry::sString.
Referenced by SvxLanguageBox::InsertLanguages(), and SvxLanguageBox::SetLanguageList().