LibreOffice Module linguistic (master) 1
Classes | Functions
lngsvcmgr.cxx File Reference
#include <sal/config.h>
#include <sal/log.hxx>
#include <com/sun/star/deployment/DeploymentException.hpp>
#include <com/sun/star/deployment/ExtensionManager.hpp>
#include <com/sun/star/container/XContentEnumerationAccess.hpp>
#include <com/sun/star/container/XEnumeration.hpp>
#include <com/sun/star/lang/XSingleComponentFactory.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/linguistic2/XSupportedLocales.hpp>
#include <com/sun/star/linguistic2/DictionaryListEventFlags.hpp>
#include <com/sun/star/linguistic2/LinguServiceEventFlags.hpp>
#include <com/sun/star/linguistic2/ProofreadingIterator.hpp>
#include <tools/debug.hxx>
#include <unotools/lingucfg.hxx>
#include <utility>
#include <vcl/svapp.hxx>
#include <comphelper/interfacecontainer2.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/sequence.hxx>
#include <i18nlangtag/lang.h>
#include <i18nlangtag/languagetag.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/weak.hxx>
#include "lngsvcmgr.hxx"
#include <linguistic/misc.hxx>
#include "spelldsp.hxx"
#include "hyphdsp.hxx"
#include "thesdsp.hxx"
#include "gciterator.hxx"
Include dependency graph for lngsvcmgr.cxx:

Go to the source code of this file.

Classes

struct  SvcInfo
 
class  LngSvcMgrListenerHelper
 

Functions

static uno::Sequence< OUString > GetLangSvcList (const uno::Any &rVal)
 
static uno::Sequence< OUString > GetLangSvc (const uno::Any &rVal)
 
static bool lcl_SeqHasString (const uno::Sequence< OUString > &rSeq, const OUString &rText)
 
static uno::Sequence< lang::LocaleGetAvailLocales (const uno::Sequence< OUString > &rSvcImplNames)
 
 IMPL_LINK_NOARG (LngSvcMgr, updateAndBroadcast, Timer *, void)
 
static bool IsEqSvcList (const uno::Sequence< OUString > &rList1, const uno::Sequence< OUString > &rList2)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * linguistic_LngSvcMgr_get_implementation (css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &)
 

Function Documentation

◆ GetAvailLocales()

static uno::Sequence< lang::Locale > GetAvailLocales ( const uno::Sequence< OUString > &  rSvcImplNames)
static

◆ GetLangSvc()

static uno::Sequence< OUString > GetLangSvc ( const uno::Any rVal)
static

Definition at line 1641 of file lngsvcmgr.cxx.

References uno::Any::hasValue(), and SAL_WARN.

Referenced by LngSvcMgr::getConfiguredServices(), and LngSvcMgr::Notify().

◆ GetLangSvcList()

static uno::Sequence< OUString > GetLangSvcList ( const uno::Any rVal)
static

Definition at line 1622 of file lngsvcmgr.cxx.

References uno::Any::hasValue(), and SAL_WARN_IF.

Referenced by LngSvcMgr::getConfiguredServices(), and LngSvcMgr::Notify().

◆ IMPL_LINK_NOARG()

IMPL_LINK_NOARG ( LngSvcMgr  ,
updateAndBroadcast  ,
Timer ,
void   
)

Definition at line 459 of file lngsvcmgr.cxx.

References linguistic::GetLinguMutex().

◆ IsEqSvcList()

static bool IsEqSvcList ( const uno::Sequence< OUString > &  rList1,
const uno::Sequence< OUString > &  rList2 
)
static

Definition at line 1447 of file lngsvcmgr.cxx.

Referenced by LngSvcMgr::setConfiguredServices().

◆ lcl_SeqHasString()

static bool lcl_SeqHasString ( const uno::Sequence< OUString > &  rSeq,
const OUString &  rText 
)
static

Definition at line 61 of file lngsvcmgr.cxx.

References comphelper::findValue().

Referenced by LngSvcMgr::getConfiguredServices(), and LngSvcMgr::Notify().

◆ linguistic_LngSvcMgr_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * linguistic_LngSvcMgr_get_implementation ( css::uno::XComponentContext *  ,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 1820 of file lngsvcmgr.cxx.