LibreOffice Module linguistic (master) 1
|
#include <thesdsp.hxx>
Public Member Functions | |
ThesaurusDispatcher () | |
virtual | ~ThesaurusDispatcher () override |
virtual css::uno::Sequence< css::lang::Locale > SAL_CALL | getLocales () override |
virtual sal_Bool SAL_CALL | hasLocale (const css::lang::Locale &aLocale) override |
virtual css::uno::Sequence< css::uno::Reference< css::linguistic2::XMeaning > > SAL_CALL | queryMeanings (const OUString &aTerm, const css::lang::Locale &aLocale, const css::uno::Sequence< ::css::beans::PropertyValue > &aProperties) override |
virtual void | SetServiceList (const css::lang::Locale &rLocale, const css::uno::Sequence< OUString > &rSvcImplNames) override |
virtual css::uno::Sequence< OUString > | GetServiceList (const css::lang::Locale &rLocale) const override |
virtual void | SetServiceList (const css::lang::Locale &rLocale, const css::uno::Sequence< OUString > &rSvcImplNames)=0 |
virtual css::uno::Sequence< OUString > | GetServiceList (const css::lang::Locale &rLocale) const =0 |
Private Types | |
typedef std::shared_ptr< LangSvcEntries_Thes > | LangSvcEntries_Thes_Ptr_t |
typedef std::map< LanguageType, LangSvcEntries_Thes_Ptr_t > | ThesSvcByLangMap_t |
Private Member Functions | |
ThesaurusDispatcher (const ThesaurusDispatcher &)=delete | |
ThesaurusDispatcher & | operator= (const ThesaurusDispatcher &)=delete |
const css::uno::Reference< css::linguistic2::XLinguProperties > & | GetPropSet () |
void | ClearSvcList () |
Private Attributes | |
ThesSvcByLangMap_t | aSvcMap |
css::uno::Reference< css::linguistic2::XLinguProperties > | xPropSet |
Additional Inherited Members | |
Protected Member Functions inherited from LinguDispatcher | |
~LinguDispatcher () | |
Definition at line 38 of file thesdsp.hxx.
|
private |
Definition at line 42 of file thesdsp.hxx.
|
private |
Definition at line 43 of file thesdsp.hxx.
|
privatedelete |
ThesaurusDispatcher::ThesaurusDispatcher | ( | ) |
Definition at line 54 of file thesdsp.cxx.
|
overridevirtual |
Definition at line 59 of file thesdsp.cxx.
References ClearSvcList().
|
private |
Definition at line 65 of file thesdsp.cxx.
References aSvcMap.
Referenced by ~ThesaurusDispatcher().
Definition at line 73 of file thesdsp.cxx.
References aSvcMap, comphelper::containerToSequence(), and linguistic::GetLinguMutex().
|
inlineprivate |
Definition at line 82 of file thesdsp.hxx.
References linguistic::GetLinguProperties(), and xPropSet.
Referenced by queryMeanings().
|
overridevirtual |
Implements LinguDispatcher.
Definition at line 223 of file thesdsp.cxx.
References LangSvcEntries::aSvcImplNames, aSvcMap, linguistic::GetLinguMutex(), and linguistic::LinguLocaleToLanguage().
|
overridevirtual |
Definition at line 88 of file thesdsp.cxx.
References aSvcMap, linguistic::GetLinguMutex(), and linguistic::LinguLocaleToLanguage().
Referenced by queryMeanings().
|
privatedelete |
|
overridevirtual |
Definition at line 97 of file thesdsp.cxx.
References LangSvcEntries::aSvcImplNames, aSvcMap, LangSvcEntries_Thes::aSvcRefs, DBG_ASSERT, linguistic::GetLinguMutex(), comphelper::getProcessComponentContext(), GetPropSet(), hasLocale(), i, linguistic::IsIgnoreControlChars(), linguistic::LinguIsUnspecified(), linguistic::LinguLocaleToLanguage(), LangSvcEntries::nLastTriedSvcIndex, RemoveControlChars(), RemoveHyphens(), SAL_WARN, SvcListHasLanguage(), and SVT_HARD_SPACE.
|
overridevirtual |
Implements LinguDispatcher.
Definition at line 191 of file thesdsp.cxx.
References LangSvcEntries::aSvcImplNames, aSvcMap, LangSvcEntries_Thes::aSvcRefs, LangSvcEntries::Clear(), linguistic::GetLinguMutex(), and linguistic::LinguLocaleToLanguage().
Referenced by LngSvcMgr::SetCfgServiceLists().
|
private |
Definition at line 44 of file thesdsp.hxx.
Referenced by ClearSvcList(), getLocales(), GetServiceList(), hasLocale(), queryMeanings(), and SetServiceList().
|
private |
Definition at line 46 of file thesdsp.hxx.
Referenced by GetPropSet().