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

#include <hyphdta.hxx>

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

Public Member Functions

 HyphenatedWord (const OUString &rWord, LanguageType nLang, sal_Int16 nHyphenationPos, const OUString &rHyphenatedWord, sal_Int16 nHyphenPos)
 
virtual ~HyphenatedWord () override
 
virtual OUString SAL_CALL getWord () override
 
virtual css::lang::Locale SAL_CALL getLocale () override
 
virtual sal_Int16 SAL_CALL getHyphenationPos () override
 
virtual OUString SAL_CALL getHyphenatedWord () override
 
virtual sal_Int16 SAL_CALL getHyphenPos () override
 
virtual sal_Bool SAL_CALL isAlternativeSpelling () override
 

Static Public Member Functions

static css::uno::Reference< css::linguistic2::XHyphenatedWord > UNLESS_MERGELIBS (LNG_DLLPUBLIC) CreateHyphenatedWord(const OUString &rWord
 

Public Attributes

static css::uno::Reference< css::linguistic2::XHyphenatedWord > LanguageType nLang
 
static css::uno::Reference< css::linguistic2::XHyphenatedWord > LanguageType sal_Int16 nHyphenationPos
 
static css::uno::Reference< css::linguistic2::XHyphenatedWord > LanguageType sal_Int16 const OUString & rHyphenatedWord
 
static css::uno::Reference< css::linguistic2::XHyphenatedWord > LanguageType sal_Int16 const OUString sal_Int16 nHyphenPos
 

Private Member Functions

 HyphenatedWord (const HyphenatedWord &)=delete
 
HyphenatedWordoperator= (const HyphenatedWord &)=delete
 

Private Attributes

OUString aWord
 
OUString aHyphenatedWord
 
sal_Int16 nHyphPos
 
sal_Int16 nHyphenationPos
 
LanguageType nLanguage
 
bool bIsAltSpelling
 

Detailed Description

Definition at line 33 of file hyphdta.hxx.

Constructor & Destructor Documentation

◆ HyphenatedWord() [1/2]

linguistic::HyphenatedWord::HyphenatedWord ( const HyphenatedWord )
privatedelete

◆ HyphenatedWord() [2/2]

linguistic::HyphenatedWord::HyphenatedWord ( const OUString &  rWord,
LanguageType  nLang,
sal_Int16  nHyphenationPos,
const OUString &  rHyphenatedWord,
sal_Int16  nHyphenPos 
)

Definition at line 41 of file hyphdta.cxx.

References bIsAltSpelling, DBG_ASSERT, linguistic::GetLocaleDataWrapper(), nLanguage, and nPos.

◆ ~HyphenatedWord()

linguistic::HyphenatedWord::~HyphenatedWord ( )
overridevirtual

Definition at line 66 of file hyphdta.cxx.

Member Function Documentation

◆ getHyphenatedWord()

OUString SAL_CALL linguistic::HyphenatedWord::getHyphenatedWord ( )
overridevirtual

Definition at line 89 of file hyphdta.cxx.

References aHyphenatedWord.

◆ getHyphenationPos()

sal_Int16 SAL_CALL linguistic::HyphenatedWord::getHyphenationPos ( )
overridevirtual

Definition at line 83 of file hyphdta.cxx.

References nHyphenationPos.

◆ getHyphenPos()

sal_Int16 SAL_CALL linguistic::HyphenatedWord::getHyphenPos ( )
overridevirtual

Definition at line 95 of file hyphdta.cxx.

References nHyphPos.

◆ getLocale()

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

Definition at line 77 of file hyphdta.cxx.

References LanguageTag::convertToLocale(), Locale, and nLanguage.

◆ getWord()

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

Definition at line 71 of file hyphdta.cxx.

References aWord.

◆ isAlternativeSpelling()

sal_Bool SAL_CALL linguistic::HyphenatedWord::isAlternativeSpelling ( )
overridevirtual

Definition at line 101 of file hyphdta.cxx.

References bIsAltSpelling.

◆ operator=()

HyphenatedWord & linguistic::HyphenatedWord::operator= ( const HyphenatedWord )
privatedelete

◆ UNLESS_MERGELIBS()

static css::uno::Reference< css::linguistic2::XHyphenatedWord > linguistic::HyphenatedWord::UNLESS_MERGELIBS ( LNG_DLLPUBLIC  ) const &
static

Member Data Documentation

◆ aHyphenatedWord

OUString linguistic::HyphenatedWord::aHyphenatedWord
private

Definition at line 37 of file hyphdta.hxx.

Referenced by getHyphenatedWord().

◆ aWord

OUString linguistic::HyphenatedWord::aWord
private

Definition at line 36 of file hyphdta.hxx.

Referenced by getWord().

◆ bIsAltSpelling

bool linguistic::HyphenatedWord::bIsAltSpelling
private

Definition at line 41 of file hyphdta.hxx.

Referenced by HyphenatedWord(), and isAlternativeSpelling().

◆ nHyphenationPos [1/2]

sal_Int16 linguistic::HyphenatedWord::nHyphenationPos
private

Definition at line 39 of file hyphdta.hxx.

Referenced by getHyphenationPos().

◆ nHyphenationPos [2/2]

css::uno::Reference< css::linguistic2::XHyphenatedWord > LanguageType sal_Int16 linguistic::HyphenatedWord::nHyphenationPos

Definition at line 66 of file hyphdta.hxx.

◆ nHyphenPos

css::uno::Reference< css::linguistic2::XHyphenatedWord > LanguageType sal_Int16 const OUString sal_Int16 linguistic::HyphenatedWord::nHyphenPos

Definition at line 67 of file hyphdta.hxx.

◆ nHyphPos

sal_Int16 linguistic::HyphenatedWord::nHyphPos
private

Definition at line 38 of file hyphdta.hxx.

Referenced by getHyphenPos().

◆ nLang

css::uno::Reference< css::linguistic2::XHyphenatedWord > LanguageType linguistic::HyphenatedWord::nLang

Definition at line 66 of file hyphdta.hxx.

◆ nLanguage

LanguageType linguistic::HyphenatedWord::nLanguage
private

Definition at line 40 of file hyphdta.hxx.

Referenced by getLocale(), and HyphenatedWord().

◆ rHyphenatedWord

css::uno::Reference< css::linguistic2::XHyphenatedWord > LanguageType sal_Int16 const OUString& linguistic::HyphenatedWord::rHyphenatedWord

Definition at line 67 of file hyphdta.hxx.


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