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 Sequence< Locale > & 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
 
Sequence< LocaleaAllServiceLocales
 
LangImplNameTable aCfgSpellTable
 
LangImplNameTable aCfgHyphTable
 
LangImplNameTable aCfgThesTable
 
LangImplNameTable aCfgGrammarTable
 
uno::Reference< XLinguServiceManager2 > xLinguSrvcMgr
 

Detailed Description

Definition at line 335 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 551 of file optlingu.cxx.

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

Member Function Documentation

◆ AddRemove()

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

Definition at line 703 of file optlingu.cxx.

References i, lcl_SeqGetEntryPos(), and nPos.

Referenced by Reconfigure().

◆ GetAllSupportedLocales()

const Sequence< Locale > & SvxLinguData_Impl::GetAllSupportedLocales ( ) const
inline

Definition at line 360 of file optlingu.cxx.

References aAllServiceLocales.

Referenced by SvxEditModulesDlg::SvxEditModulesDlg().

◆ GetDisplayServiceArray()

ServiceInfoArr & SvxLinguData_Impl::GetDisplayServiceArray ( )
inline

Definition at line 367 of file optlingu.cxx.

References aDisplayServiceArr.

◆ GetDisplayServiceCount()

const sal_uInt32 & SvxLinguData_Impl::GetDisplayServiceCount ( ) const
inline

Definition at line 369 of file optlingu.cxx.

References nDisplayServices.

Referenced by IMPL_LINK().

◆ GetGrammarTable()

LangImplNameTable & SvxLinguData_Impl::GetGrammarTable ( )
inline

Definition at line 365 of file optlingu.cxx.

References aCfgGrammarTable.

Referenced by SvxEditModulesDlg::LangSelectHdl_Impl().

◆ GetHyphTable()

LangImplNameTable & SvxLinguData_Impl::GetHyphTable ( )
inline

Definition at line 363 of file optlingu.cxx.

References aCfgHyphTable.

Referenced by SvxEditModulesDlg::LangSelectHdl_Impl().

◆ GetInfoByImplName()

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

Definition at line 450 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 355 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 362 of file optlingu.cxx.

References aCfgSpellTable.

Referenced by SvxEditModulesDlg::LangSelectHdl_Impl().

◆ GetThesTable()

LangImplNameTable & SvxLinguData_Impl::GetThesTable ( )
inline

Definition at line 364 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 679 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 370 of file optlingu.cxx.

References nDisplayServices.

Member Data Documentation

◆ aAllServiceLocales

Sequence< Locale > SvxLinguData_Impl::aAllServiceLocales
private

Definition at line 341 of file optlingu.cxx.

Referenced by GetAllSupportedLocales(), and SvxLinguData_Impl().

◆ aCfgGrammarTable

LangImplNameTable SvxLinguData_Impl::aCfgGrammarTable
private

Definition at line 345 of file optlingu.cxx.

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

◆ aCfgHyphTable

LangImplNameTable SvxLinguData_Impl::aCfgHyphTable
private

Definition at line 343 of file optlingu.cxx.

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

◆ aCfgSpellTable

LangImplNameTable SvxLinguData_Impl::aCfgSpellTable
private

Definition at line 342 of file optlingu.cxx.

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

◆ aCfgThesTable

LangImplNameTable SvxLinguData_Impl::aCfgThesTable
private

Definition at line 344 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 346 of file optlingu.cxx.

Referenced by GetManager(), and SvxLinguData_Impl().


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