LibreOffice Module cui (master) 1
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
SvxLinguData_Impl Class Reference
Collaboration diagram for SvxLinguData_Impl:
[legend]

Public Member Functions

 SvxLinguData_Impl ()
 
uno::Reference< XLinguServiceManager2 > & GetManager ()
 
void SetChecked (const Sequence< OUString > &rConfiguredServices)
 
void Reconfigure (std::u16string_view rDisplayName, bool bEnable)
 
const auto & GetAllSupportedLocales () const
 
LangImplNameTableGetSpellTable ()
 
LangImplNameTableGetHyphTable ()
 
LangImplNameTableGetThesTable ()
 
LangImplNameTableGetGrammarTable ()
 
ServiceInfoArrGetDisplayServiceArray ()
 
const sal_uInt32 & GetDisplayServiceCount () const
 
void SetDisplayServiceCount (sal_uInt32 nVal)
 
Sequence< OUString > GetSortedImplNames (LanguageType nLang, sal_uInt8 nType)
 
ServiceInfo_Impl * GetInfoByImplName (std::u16string_view rSvcImplName)
 

Static Private Member Functions

static bool AddRemove (Sequence< OUString > &rConfigured, const OUString &rImplName, bool bAdd)
 

Private Attributes

ServiceInfoArr aDisplayServiceArr
 
sal_uInt32 nDisplayServices
 
std::set< Locale, Locale_less > aAllServiceLocales
 
LangImplNameTable aCfgSpellTable
 
LangImplNameTable aCfgHyphTable
 
LangImplNameTable aCfgThesTable
 
LangImplNameTable aCfgGrammarTable
 
uno::Reference< XLinguServiceManager2 > xLinguSrvcMgr
 

Detailed Description

Definition at line 357 of file optlingu.cxx.

Constructor & Destructor Documentation

◆ SvxLinguData_Impl()

SvxLinguData_Impl::SvxLinguData_Impl ( )

suppress display of entries with no supported languages (see feature 110994)

suppress display of entries with no supported languages (see feature 110994)

suppress display of entries with no supported languages (see feature 110994)

suppress display of entries with no supported languages (see feature 110994)

Definition at line 542 of file optlingu.cxx.

References aAllServiceLocales, aCfgGrammarTable, aCfgHyphTable, aCfgSpellTable, aCfgThesTable, Any, cGrammar(), cHyph(), LanguageTag::convertToLanguageType(), cSpell(), cThes(), LinguMgr::GetLinguPropertySet(), LanguageTag::getLocale(), Application::GetSettings(), AllSettings::GetUILanguageTag(), lcl_MergeDisplayArray(), Locale, SetChecked(), and xLinguSrvcMgr.

Member Function Documentation

◆ AddRemove()

bool SvxLinguData_Impl::AddRemove ( Sequence< OUString > &  rConfigured,
const OUString &  rImplName,
bool  bAdd 
)
staticprivate

Definition at line 697 of file optlingu.cxx.

References i, lcl_SeqGetEntryPos(), and nPos.

Referenced by Reconfigure().

◆ GetAllSupportedLocales()

const auto & SvxLinguData_Impl::GetAllSupportedLocales ( ) const
inline

Definition at line 382 of file optlingu.cxx.

References aAllServiceLocales.

Referenced by SvxEditModulesDlg::SvxEditModulesDlg().

◆ GetDisplayServiceArray()

ServiceInfoArr & SvxLinguData_Impl::GetDisplayServiceArray ( )
inline

Definition at line 389 of file optlingu.cxx.

References aDisplayServiceArr.

Referenced by lcl_MergeDisplayArray().

◆ GetDisplayServiceCount()

const sal_uInt32 & SvxLinguData_Impl::GetDisplayServiceCount ( ) const
inline

Definition at line 391 of file optlingu.cxx.

References nDisplayServices.

Referenced by IMPL_LINK(), and lcl_MergeDisplayArray().

◆ GetGrammarTable()

LangImplNameTable & SvxLinguData_Impl::GetGrammarTable ( )
inline

Definition at line 387 of file optlingu.cxx.

References aCfgGrammarTable.

Referenced by SvxEditModulesDlg::LangSelectHdl_Impl().

◆ GetHyphTable()

LangImplNameTable & SvxLinguData_Impl::GetHyphTable ( )
inline

Definition at line 385 of file optlingu.cxx.

References aCfgHyphTable.

Referenced by SvxEditModulesDlg::LangSelectHdl_Impl().

◆ GetInfoByImplName()

ServiceInfo_Impl * SvxLinguData_Impl::GetInfoByImplName ( std::u16string_view  rSvcImplName)

Definition at line 472 of file optlingu.cxx.

References aDisplayServiceArr, i, and nDisplayServices.

Referenced by SvxEditModulesDlg::LangSelectHdl_Impl().

◆ GetManager()

uno::Reference< XLinguServiceManager2 > & SvxLinguData_Impl::GetManager ( )
inline

Definition at line 377 of file optlingu.cxx.

References xLinguSrvcMgr.

◆ GetSortedImplNames()

Sequence< OUString > SvxLinguData_Impl::GetSortedImplNames ( LanguageType  nLang,
sal_uInt8  nType 
)

◆ GetSpellTable()

LangImplNameTable & SvxLinguData_Impl::GetSpellTable ( )
inline

Definition at line 384 of file optlingu.cxx.

References aCfgSpellTable.

Referenced by SvxEditModulesDlg::LangSelectHdl_Impl().

◆ GetThesTable()

LangImplNameTable & SvxLinguData_Impl::GetThesTable ( )
inline

Definition at line 386 of file optlingu.cxx.

References aCfgThesTable.

Referenced by SvxEditModulesDlg::LangSelectHdl_Impl().

◆ Reconfigure()

void SvxLinguData_Impl::Reconfigure ( std::u16string_view  rDisplayName,
bool  bEnable 
)

◆ SetChecked()

void SvxLinguData_Impl::SetChecked ( const Sequence< OUString > &  rConfiguredServices)

Definition at line 673 of file optlingu.cxx.

References aDisplayServiceArr, i, and nDisplayServices.

Referenced by SvxLinguData_Impl().

◆ SetDisplayServiceCount()

void SvxLinguData_Impl::SetDisplayServiceCount ( sal_uInt32  nVal)
inline

Definition at line 392 of file optlingu.cxx.

References nDisplayServices.

Referenced by lcl_MergeDisplayArray().

Member Data Documentation

◆ aAllServiceLocales

std::set<Locale, Locale_less> SvxLinguData_Impl::aAllServiceLocales
private

Definition at line 363 of file optlingu.cxx.

Referenced by GetAllSupportedLocales(), and SvxLinguData_Impl().

◆ aCfgGrammarTable

LangImplNameTable SvxLinguData_Impl::aCfgGrammarTable
private

Definition at line 367 of file optlingu.cxx.

Referenced by GetGrammarTable(), GetSortedImplNames(), Reconfigure(), and SvxLinguData_Impl().

◆ aCfgHyphTable

LangImplNameTable SvxLinguData_Impl::aCfgHyphTable
private

Definition at line 365 of file optlingu.cxx.

Referenced by GetHyphTable(), GetSortedImplNames(), Reconfigure(), and SvxLinguData_Impl().

◆ aCfgSpellTable

LangImplNameTable SvxLinguData_Impl::aCfgSpellTable
private

Definition at line 364 of file optlingu.cxx.

Referenced by GetSortedImplNames(), GetSpellTable(), Reconfigure(), and SvxLinguData_Impl().

◆ aCfgThesTable

LangImplNameTable SvxLinguData_Impl::aCfgThesTable
private

Definition at line 366 of file optlingu.cxx.

Referenced by GetSortedImplNames(), GetThesTable(), Reconfigure(), and SvxLinguData_Impl().

◆ aDisplayServiceArr

ServiceInfoArr SvxLinguData_Impl::aDisplayServiceArr
private

◆ nDisplayServices

sal_uInt32 SvxLinguData_Impl::nDisplayServices
private

◆ xLinguSrvcMgr

uno::Reference< XLinguServiceManager2 > SvxLinguData_Impl::xLinguSrvcMgr
private

Definition at line 368 of file optlingu.cxx.

Referenced by GetManager(), and SvxLinguData_Impl().


The documentation for this class was generated from the following file: