LibreOffice Module linguistic (master) 1
Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes | List of all members
linguistic::SpellAlternatives Class Referencefinal

#include <spelldta.hxx>

Inheritance diagram for linguistic::SpellAlternatives:
[legend]
Collaboration diagram for linguistic::SpellAlternatives:
[legend]

Public Member Functions

 UNLESS_MERGELIBS (LNG_DLLPUBLIC) SpellAlternatives()
 
 SpellAlternatives (OUString aWord, LanguageType nLang, const css::uno::Sequence< OUString > &rAlternatives)
 
virtual ~SpellAlternatives () override
 
 SpellAlternatives (const SpellAlternatives &)=delete
 
SpellAlternativesoperator= (const SpellAlternatives &)=delete
 
virtual OUString SAL_CALL getWord () override
 
virtual css::lang::Locale SAL_CALL getLocale () override
 
virtual ::sal_Int16 SAL_CALL getFailureType () override
 
virtual ::sal_Int16 SAL_CALL getAlternativesCount () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAlternatives () override
 
virtual void SAL_CALL setAlternatives (const css::uno::Sequence< OUString > &aAlternatives) override
 
virtual void SAL_CALL setFailureType (::sal_Int16 nFailureType) override
 
void UNLESS_MERGELIBS (LNG_DLLPUBLIC) SetWordLanguage(const OUString &rWord
 
void UNLESS_MERGELIBS (LNG_DLLPUBLIC) SetFailureType(sal_Int16 nTypeP)
 

Static Public Member Functions

void static UNLESS_MERGELIBS(LNG_DLLPUBLIC) SetAlternatives(const css css::uno::Reference< css::linguistic2::XSpellAlternatives > UNLESS_MERGELIBS (LNG_DLLPUBLIC) CreateSpellAlternatives(const OUString &rWord
 

Public Attributes

void LanguageType nLang
 
void static UNLESS_MERGELIBS(LNG_DLLPUBLIC) SetAlternatives(const css css::uno::Reference< css::linguistic2::XSpellAlternatives > LanguageType nLang
 
void static UNLESS_MERGELIBS(LNG_DLLPUBLIC) SetAlternatives(const css css::uno::Reference< css::linguistic2::XSpellAlternatives > LanguageType sal_Int16 nTypeP
 
void static UNLESS_MERGELIBS(LNG_DLLPUBLIC) SetAlternatives(const css css::uno::Reference< css::linguistic2::XSpellAlternatives > LanguageType sal_Int16 const css::uno::Sequence< OUString > & rAlt
 

Private Attributes

css::uno::Sequence< OUString > aAlt
 
OUString aWord
 
sal_Int16 nType
 
LanguageType nLanguage
 

Detailed Description

Definition at line 52 of file spelldta.hxx.

Constructor & Destructor Documentation

◆ SpellAlternatives() [1/2]

linguistic::SpellAlternatives::SpellAlternatives ( OUString  aWord,
LanguageType  nLang,
const css::uno::Sequence< OUString > &  rAlternatives 
)

◆ ~SpellAlternatives()

linguistic::SpellAlternatives::~SpellAlternatives ( )
overridevirtual

Definition at line 181 of file spelldta.cxx.

◆ SpellAlternatives() [2/2]

linguistic::SpellAlternatives::SpellAlternatives ( const SpellAlternatives )
delete

Member Function Documentation

◆ getAlternatives()

Sequence< OUString > SAL_CALL linguistic::SpellAlternatives::getAlternatives ( )
overridevirtual

Definition at line 214 of file spelldta.cxx.

References linguistic::GetLinguMutex().

◆ getAlternativesCount()

sal_Int16 SAL_CALL linguistic::SpellAlternatives::getAlternativesCount ( )
override

Definition at line 207 of file spelldta.cxx.

References linguistic::GetLinguMutex().

◆ getFailureType()

sal_Int16 SAL_CALL linguistic::SpellAlternatives::getFailureType ( )
override

Definition at line 200 of file spelldta.cxx.

References linguistic::GetLinguMutex(), and nType.

◆ getLocale()

Locale SAL_CALL linguistic::SpellAlternatives::getLocale ( )
overridevirtual

Definition at line 193 of file spelldta.cxx.

References LanguageTag::convertToLocale(), linguistic::GetLinguMutex(), and Locale.

◆ getWord()

OUString SAL_CALL linguistic::SpellAlternatives::getWord ( )
overridevirtual

Definition at line 186 of file spelldta.cxx.

References linguistic::GetLinguMutex().

◆ operator=()

SpellAlternatives & linguistic::SpellAlternatives::operator= ( const SpellAlternatives )
delete

◆ setAlternatives()

void SAL_CALL linguistic::SpellAlternatives::setAlternatives ( const css::uno::Sequence< OUString > &  aAlternatives)
overridevirtual

Definition at line 221 of file spelldta.cxx.

References linguistic::GetLinguMutex().

◆ setFailureType()

void SAL_CALL linguistic::SpellAlternatives::setFailureType ( ::sal_Int16  nFailureType)
overridevirtual

Definition at line 228 of file spelldta.cxx.

References linguistic::GetLinguMutex(), and nType.

◆ UNLESS_MERGELIBS() [1/4]

void static UNLESS_MERGELIBS(LNG_DLLPUBLIC) SetAlternatives(const css css::uno::Reference< css::linguistic2::XSpellAlternatives > linguistic::SpellAlternatives::UNLESS_MERGELIBS ( LNG_DLLPUBLIC  ) const &
static

◆ UNLESS_MERGELIBS() [2/4]

void linguistic::SpellAlternatives::UNLESS_MERGELIBS ( LNG_DLLPUBLIC  )

◆ UNLESS_MERGELIBS() [3/4]

void linguistic::SpellAlternatives::UNLESS_MERGELIBS ( LNG_DLLPUBLIC  ) const &

◆ UNLESS_MERGELIBS() [4/4]

linguistic::SpellAlternatives::UNLESS_MERGELIBS ( LNG_DLLPUBLIC  )

Member Data Documentation

◆ aAlt

css::uno::Sequence< OUString > linguistic::SpellAlternatives::aAlt
private

Definition at line 59 of file spelldta.hxx.

◆ aWord

OUString linguistic::SpellAlternatives::aWord
private

Definition at line 60 of file spelldta.hxx.

◆ nLang [1/2]

void LanguageType linguistic::SpellAlternatives::nLang

Definition at line 84 of file spelldta.hxx.

◆ nLang [2/2]

void static UNLESS_MERGELIBS(LNG_DLLPUBLIC) SetAlternatives(const css css::uno::Reference< css::linguistic2::XSpellAlternatives > LanguageType linguistic::SpellAlternatives::nLang

Definition at line 88 of file spelldta.hxx.

◆ nLanguage

LanguageType linguistic::SpellAlternatives::nLanguage
private

Definition at line 62 of file spelldta.hxx.

◆ nType

sal_Int16 linguistic::SpellAlternatives::nType
private

Definition at line 61 of file spelldta.hxx.

◆ nTypeP

void static UNLESS_MERGELIBS(LNG_DLLPUBLIC) SetAlternatives(const css css::uno::Reference< css::linguistic2::XSpellAlternatives > LanguageType sal_Int16 linguistic::SpellAlternatives::nTypeP

Definition at line 88 of file spelldta.hxx.

◆ rAlt

void static UNLESS_MERGELIBS(LNG_DLLPUBLIC) SetAlternatives(const css css::uno::Reference< css::linguistic2::XSpellAlternatives > LanguageType sal_Int16 const css::uno::Sequence< OUString >& linguistic::SpellAlternatives::rAlt

Definition at line 88 of file spelldta.hxx.


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