LibreOffice Module linguistic (master) 1
Classes | Functions
dlistimp.cxx File Reference
#include <cppuhelper/factory.hxx>
#include <osl/file.hxx>
#include <tools/debug.hxx>
#include <tools/stream.hxx>
#include <tools/urlobj.hxx>
#include <unotools/useroptions.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/weak.hxx>
#include <unotools/localfilehelper.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/sequence.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <com/sun/star/frame/XStorable.hpp>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/linguistic2/DictionaryEventFlags.hpp>
#include <com/sun/star/linguistic2/DictionaryListEventFlags.hpp>
#include <com/sun/star/ucb/SimpleFileAccess.hpp>
#include <svtools/strings.hrc>
#include <unotools/resmgr.hxx>
#include <unotools/charclass.hxx>
#include <sal/log.hxx>
#include <utility>
#include "dlistimp.hxx"
#include "dicimp.hxx"
#include "lngopt.hxx"
Include dependency graph for dlistimp.cxx:

Go to the source code of this file.

Classes

class  DicEvtListenerHelper
 

Functions

static bool IsVers2OrNewer (const OUString &rFileURL, LanguageType &nLng, bool &bNeg, OUString &aDicName)
 
static void AddInternal (const uno::Reference< XDictionary > &rDic, const OUString &rNew)
 
static void AddUserData (const uno::Reference< XDictionary > &rDic)
 
static sal_Int32 lcl_GetToken (OUString &rToken, const OUString &rText, sal_Int32 nPos, std::u16string_view rDelim)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * linguistic_DicList_get_implementation (css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &)
 

Function Documentation

◆ AddInternal()

static void AddInternal ( const uno::Reference< XDictionary > &  rDic,
const OUString &  rNew 
)
static

TL TODO: word iterator should be used to break up the text

Definition at line 709 of file dlistimp.cxx.

References linguistic::IsNumeric(), lcl_GetToken(), nPos, and u.

Referenced by AddUserData().

◆ AddUserData()

static void AddUserData ( const uno::Reference< XDictionary > &  rDic)
static

◆ IsVers2OrNewer()

static bool IsVers2OrNewer ( const OUString &  rFileURL,
LanguageType nLng,
bool &  bNeg,
OUString &  aDicName 
)
static

◆ lcl_GetToken()

static sal_Int32 lcl_GetToken ( OUString &  rToken,
const OUString &  rText,
sal_Int32  nPos,
std::u16string_view  rDelim 
)
static

Definition at line 676 of file dlistimp.cxx.

References i, and nPos.

Referenced by AddInternal().

◆ linguistic_DicList_get_implementation()

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

Definition at line 784 of file dlistimp.cxx.