LibreOffice Module editeng (master) 1
Static Public Member Functions | Private Member Functions | Static Private Member Functions | Static Private Attributes | Friends | List of all members
LinguMgr Class Reference

#include <unolingu.hxx>

Collaboration diagram for LinguMgr:
[legend]

Static Public Member Functions

static css::uno::Reference< css::linguistic2::XSpellChecker1 > GetSpellChecker ()
 
static css::uno::Reference< css::linguistic2::XHyphenator > GetHyphenator ()
 
static css::uno::Reference< css::linguistic2::XThesaurus > GetThesaurus ()
 
static css::uno::Reference< css::linguistic2::XSearchableDictionaryList > GetDictionaryList ()
 
static css::uno::Reference< css::linguistic2::XLinguProperties > GetLinguPropertySet ()
 
static css::uno::Reference< css::linguistic2::XLinguServiceManager2 > GetLngSvcMgr ()
 
static css::uno::Reference< css::linguistic2::XDictionary > GetStandardDic ()
 
static css::uno::Reference< css::linguistic2::XDictionary > GetIgnoreAllList ()
 
static css::uno::Reference< css::linguistic2::XDictionary > GetChangeAllList ()
 

Private Member Functions

 LinguMgr (const LinguMgr &)=delete
 
LinguMgroperator= (const LinguMgr &)=delete
 

Static Private Member Functions

static css::uno::Reference< css::linguistic2::XSpellChecker1 > GetSpell ()
 
static css::uno::Reference< css::linguistic2::XHyphenator > GetHyph ()
 
static css::uno::Reference< css::linguistic2::XThesaurus > GetThes ()
 
static css::uno::Reference< css::linguistic2::XSearchableDictionaryList > GetDicList ()
 
static css::uno::Reference< css::linguistic2::XLinguProperties > GetProp ()
 
static css::uno::Reference< css::linguistic2::XDictionary > GetStandard ()
 
static css::uno::Reference< css::linguistic2::XDictionary > GetIgnoreAll ()
 
static css::uno::Reference< css::linguistic2::XDictionary > GetChangeAll ()
 

Static Private Attributes

static css::uno::Reference< css::linguistic2::XLinguServiceManager2 > xLngSvcMgr
 
static css::uno::Reference< css::linguistic2::XSpellChecker1 > xSpell
 
static css::uno::Reference< css::linguistic2::XHyphenator > xHyph
 
static css::uno::Reference< css::linguistic2::XThesaurus > xThes
 
static css::uno::Reference< css::linguistic2::XSearchableDictionaryList > xDicList
 
static css::uno::Reference< css::linguistic2::XLinguProperties > xProp
 
static css::uno::Reference< css::linguistic2::XDictionary > xIgnoreAll
 
static css::uno::Reference< css::linguistic2::XDictionary > xChangeAll
 
static rtl::Reference< LinguMgrExitLstnrpExitLstnr
 
static bool bExiting = false
 

Friends

class LinguMgrExitLstnr
 

Detailed Description

Definition at line 42 of file unolingu.hxx.

Constructor & Destructor Documentation

◆ LinguMgr()

LinguMgr::LinguMgr ( const LinguMgr )
privatedelete

Member Function Documentation

◆ GetChangeAll()

uno::Reference< XDictionary > LinguMgr::GetChangeAll ( )
staticprivate

◆ GetChangeAllList()

uno::Reference< XDictionary > LinguMgr::GetChangeAllList ( )
static

Definition at line 516 of file unolingu.cxx.

References GetChangeAll(), and xChangeAll.

Referenced by EditSpellWrapper::EditSpellWrapper(), and SvxSpellWrapper::FindSpellError().

◆ GetDicList()

uno::Reference< XSearchableDictionaryList > LinguMgr::GetDicList ( )
staticprivate

Definition at line 563 of file unolingu.cxx.

References bExiting, getProcessComponentContext(), LinguMgrExitLstnr, pExitLstnr, and xDicList.

Referenced by GetDictionaryList().

◆ GetDictionaryList()

uno::Reference< XSearchableDictionaryList > LinguMgr::GetDictionaryList ( )
static

◆ GetHyph()

uno::Reference< XHyphenator > LinguMgr::GetHyph ( )
staticprivate

use dummy implementation in order to avoid loading of lingu DLL

Definition at line 534 of file unolingu.cxx.

References bExiting, LinguMgrExitLstnr, pExitLstnr, and xHyph.

Referenced by GetHyphenator().

◆ GetHyphenator()

uno::Reference< XHyphenator > LinguMgr::GetHyphenator ( )
static

Definition at line 483 of file unolingu.cxx.

References GetHyph(), and xHyph.

◆ GetIgnoreAll()

uno::Reference< XDictionary > LinguMgr::GetIgnoreAll ( )
staticprivate

◆ GetIgnoreAllList()

uno::Reference< XDictionary > LinguMgr::GetIgnoreAllList ( )
static

Definition at line 511 of file unolingu.cxx.

References GetIgnoreAll(), and xIgnoreAll.

Referenced by EditView::ExecuteSpellPopup(), and ImpEditView::SpellIgnoreWord().

◆ GetLinguPropertySet()

uno::Reference< linguistic2::XLinguProperties > LinguMgr::GetLinguPropertySet ( )
static

Definition at line 498 of file unolingu.cxx.

References GetProp(), and xProp.

Referenced by SvxSpellWrapper::SpellNext(), and SvxSpellWrapper::SvxSpellWrapper().

◆ GetLngSvcMgr()

uno::Reference< XLinguServiceManager2 > LinguMgr::GetLngSvcMgr ( )
static

Definition at line 463 of file unolingu.cxx.

References bExiting, GetLngSvcMgr_Impl(), LinguMgrExitLstnr, pExitLstnr, and xLngSvcMgr.

◆ GetProp()

uno::Reference< linguistic2::XLinguProperties > LinguMgr::GetProp ( )
staticprivate

Definition at line 575 of file unolingu.cxx.

References bExiting, getProcessComponentContext(), LinguMgrExitLstnr, pExitLstnr, and xProp.

Referenced by GetLinguPropertySet().

◆ GetSpell()

uno::Reference< XSpellChecker1 > LinguMgr::GetSpell ( )
staticprivate

use dummy implementation in order to avoid loading of lingu DLL

Definition at line 521 of file unolingu.cxx.

References bExiting, LinguMgrExitLstnr, pExitLstnr, and xSpell.

Referenced by GetSpellChecker().

◆ GetSpellChecker()

uno::Reference< XSpellChecker1 > LinguMgr::GetSpellChecker ( )
static

Definition at line 478 of file unolingu.cxx.

References GetSpell(), and xSpell.

Referenced by SvxAutoCorrect::FnCapitalStartWord(), and ImpEditEngine::GetSpeller().

◆ GetStandard()

uno::Reference< XDictionary > LinguMgr::GetStandard ( )
staticprivate

◆ GetStandardDic()

uno::Reference< XDictionary > LinguMgr::GetStandardDic ( )
static

don't hold reference to this (it may be removed from dictionary list and needs to be created empty if accessed again)

Definition at line 503 of file unolingu.cxx.

References GetStandard().

Referenced by EditView::ExecuteSpellPopup(), and SvxSpellWrapper::GetAllRightDic().

◆ GetThes()

uno::Reference< XThesaurus > LinguMgr::GetThes ( )
staticprivate

use dummy implementation in order to avoid loading of lingu DLL when only the XSupportedLocales interface is used. The dummy accesses the real implementation (and thus loading the DLL) when "real" work needs to be done only.

Definition at line 547 of file unolingu.cxx.

References bExiting, LinguMgrExitLstnr, pExitLstnr, and xThes.

Referenced by GetThesaurus().

◆ GetThesaurus()

uno::Reference< XThesaurus > LinguMgr::GetThesaurus ( )
static

Definition at line 488 of file unolingu.cxx.

References GetThes(), and xThes.

Referenced by ImpEditEngine::StartThesaurus().

◆ operator=()

LinguMgr & LinguMgr::operator= ( const LinguMgr )
privatedelete

Friends And Related Function Documentation

◆ LinguMgrExitLstnr

friend class LinguMgrExitLstnr
friend

Member Data Documentation

◆ bExiting

bool LinguMgr::bExiting = false
staticprivate

◆ pExitLstnr

rtl::Reference< LinguMgrExitLstnr > LinguMgr::pExitLstnr
staticprivate

◆ xChangeAll

uno::Reference< XDictionary > LinguMgr::xChangeAll
staticprivate

Definition at line 54 of file unolingu.hxx.

Referenced by LinguMgrExitLstnr::AtExit(), GetChangeAll(), and GetChangeAllList().

◆ xDicList

uno::Reference< XSearchableDictionaryList > LinguMgr::xDicList
staticprivate

Definition at line 50 of file unolingu.hxx.

Referenced by LinguMgrExitLstnr::AtExit(), GetDicList(), and GetDictionaryList().

◆ xHyph

uno::Reference< XHyphenator > LinguMgr::xHyph
staticprivate

Definition at line 48 of file unolingu.hxx.

Referenced by LinguMgrExitLstnr::AtExit(), GetHyph(), and GetHyphenator().

◆ xIgnoreAll

uno::Reference< XDictionary > LinguMgr::xIgnoreAll
staticprivate

Definition at line 53 of file unolingu.hxx.

Referenced by LinguMgrExitLstnr::AtExit(), GetIgnoreAll(), and GetIgnoreAllList().

◆ xLngSvcMgr

uno::Reference< XLinguServiceManager2 > LinguMgr::xLngSvcMgr
staticprivate

Definition at line 46 of file unolingu.hxx.

Referenced by LinguMgrExitLstnr::AtExit(), and GetLngSvcMgr().

◆ xProp

uno::Reference< XLinguProperties > LinguMgr::xProp
staticprivate

Definition at line 51 of file unolingu.hxx.

Referenced by LinguMgrExitLstnr::AtExit(), GetLinguPropertySet(), and GetProp().

◆ xSpell

uno::Reference< XSpellChecker1 > LinguMgr::xSpell
staticprivate

Definition at line 47 of file unolingu.hxx.

Referenced by LinguMgrExitLstnr::AtExit(), GetSpell(), and GetSpellChecker().

◆ xThes

uno::Reference< XThesaurus > LinguMgr::xThes
staticprivate

Definition at line 49 of file unolingu.hxx.

Referenced by LinguMgrExitLstnr::AtExit(), GetThes(), and GetThesaurus().


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