LibreOffice Module linguistic (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
LinguProps Class Reference

#include <lngopt.hxx>

Inheritance diagram for LinguProps:
[legend]
Collaboration diagram for LinguProps:
[legend]

Public Member Functions

 LinguProps ()
 
virtual sal_Bool SAL_CALL getIsUseDictionaryList () override
 
virtual void SAL_CALL setIsUseDictionaryList (sal_Bool p1) override
 
virtual sal_Bool SAL_CALL getIsIgnoreControlCharacters () override
 
virtual void SAL_CALL setIsIgnoreControlCharacters (sal_Bool p1) override
 
virtual sal_Bool SAL_CALL getIsSpellUpperCase () override
 
virtual void SAL_CALL setIsSpellUpperCase (sal_Bool p1) override
 
virtual sal_Bool SAL_CALL getIsSpellWithDigits () override
 
virtual void SAL_CALL setIsSpellWithDigits (sal_Bool p1) override
 
virtual sal_Bool SAL_CALL getIsSpellCapitalization () override
 
virtual void SAL_CALL setIsSpellCapitalization (sal_Bool p1) override
 
virtual sal_Int16 SAL_CALL getHyphMinLeading () override
 
virtual void SAL_CALL setHyphMinLeading (sal_Int16 p1) override
 
virtual sal_Int16 SAL_CALL getHyphMinTrailing () override
 
virtual void SAL_CALL setHyphMinTrailing (sal_Int16 p1) override
 
virtual sal_Int16 SAL_CALL getHyphMinWordLength () override
 
virtual void SAL_CALL setHyphMinWordLength (sal_Int16 p1) override
 
virtual css::lang::Locale SAL_CALL getDefaultLocale () override
 
virtual void SAL_CALL setDefaultLocale (const css::lang::Locale &p1) override
 
virtual sal_Bool SAL_CALL getIsHyphAuto () override
 
virtual void SAL_CALL setIsHyphAuto (sal_Bool p1) override
 
virtual sal_Bool SAL_CALL getIsHyphSpecial () override
 
virtual void SAL_CALL setIsHyphSpecial (sal_Bool p1) override
 
virtual sal_Bool SAL_CALL getIsSpellAuto () override
 
virtual void SAL_CALL setIsSpellAuto (sal_Bool p1) override
 
virtual sal_Bool SAL_CALL getIsSpellSpecial () override
 
virtual void SAL_CALL setIsSpellSpecial (sal_Bool p1) override
 
virtual sal_Bool SAL_CALL getIsWrapReverse () override
 
virtual void SAL_CALL setIsWrapReverse (sal_Bool p1) override
 
virtual css::lang::Locale SAL_CALL getDefaultLocale_CJK () override
 
virtual void SAL_CALL setDefaultLocale_CJK (const css::lang::Locale &p1) override
 
virtual css::lang::Locale SAL_CALL getDefaultLocale_CTL () override
 
virtual void SAL_CALL setDefaultLocale_CTL (const css::lang::Locale &p1) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &rxListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &rxListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &rxListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &rxListener) override
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPropertyValues () override
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< css::beans::PropertyValue > &aProps) override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &rxListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &rxListener) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Member Functions

 LinguProps (const LinguProps &)=delete
 
LinguPropsoperator= (const LinguProps &)=delete
 
void launchEvent (const css::beans::PropertyChangeEvent &rEvt) const
 
bool getPropertyBool (const OUString &aPropertyName)
 
sal_Int16 getPropertyInt16 (const OUString &aPropertyName)
 
css::lang::Locale getPropertyLocale (const OUString &aPropertyName)
 
void setProperty (const OUString &aPropertyName, bool p1)
 
void setProperty (const OUString &aPropertyName, sal_Int16 p1)
 
void setProperty (const OUString &aPropertyName, css::lang::Locale p1)
 

Private Attributes

::comphelper::OInterfaceContainerHelper3< css::lang::XEventListener > aEvtListeners
 
OPropertyListenerContainerHelper aPropListeners
 
SfxItemPropertyMap aPropertyMap
 
SvtLinguConfig aConfig
 
bool bDisposing
 

Detailed Description

Definition at line 64 of file lngopt.hxx.

Constructor & Destructor Documentation

◆ LinguProps() [1/2]

LinguProps::LinguProps ( const LinguProps )
privatedelete

◆ LinguProps() [2/2]

LinguProps::LinguProps ( )

Definition at line 188 of file lngopt.cxx.

References bDisposing.

Member Function Documentation

◆ addEventListener()

void SAL_CALL LinguProps::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  rxListener)
overridevirtual

◆ addPropertyChangeListener()

void SAL_CALL LinguProps::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  rxListener 
)
overridevirtual

◆ addVetoableChangeListener()

void SAL_CALL LinguProps::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  rxListener 
)
overridevirtual

Definition at line 274 of file lngopt.cxx.

◆ dispose()

void SAL_CALL LinguProps::dispose ( void  )
overridevirtual

◆ getDefaultLocale()

virtual css::lang::Locale SAL_CALL LinguProps::getDefaultLocale ( )
inlineoverridevirtual

Definition at line 138 of file lngopt.hxx.

References getPropertyLocale(), and UPN_DEFAULT_LOCALE.

◆ getDefaultLocale_CJK()

virtual css::lang::Locale SAL_CALL LinguProps::getDefaultLocale_CJK ( )
inlineoverridevirtual

Definition at line 162 of file lngopt.hxx.

References getPropertyLocale(), and UPN_DEFAULT_LOCALE_CJK.

◆ getDefaultLocale_CTL()

virtual css::lang::Locale SAL_CALL LinguProps::getDefaultLocale_CTL ( )
inlineoverridevirtual

Definition at line 166 of file lngopt.hxx.

References getPropertyLocale(), and UPN_DEFAULT_LOCALE_CTL.

◆ getFastPropertyValue()

Any SAL_CALL LinguProps::getFastPropertyValue ( sal_Int32  nHandle)
overridevirtual

◆ getHyphMinLeading()

virtual sal_Int16 SAL_CALL LinguProps::getHyphMinLeading ( )
inlineoverridevirtual

Definition at line 126 of file lngopt.hxx.

References getPropertyInt16(), and UPN_HYPH_MIN_LEADING.

◆ getHyphMinTrailing()

virtual sal_Int16 SAL_CALL LinguProps::getHyphMinTrailing ( )
inlineoverridevirtual

Definition at line 130 of file lngopt.hxx.

References getPropertyInt16(), and UPN_HYPH_MIN_TRAILING.

◆ getHyphMinWordLength()

virtual sal_Int16 SAL_CALL LinguProps::getHyphMinWordLength ( )
inlineoverridevirtual

Definition at line 134 of file lngopt.hxx.

References getPropertyInt16(), and UPN_HYPH_MIN_WORD_LENGTH.

◆ getImplementationName()

OUString SAL_CALL LinguProps::getImplementationName ( )
overridevirtual

Definition at line 376 of file lngopt.cxx.

◆ getIsHyphAuto()

virtual sal_Bool SAL_CALL LinguProps::getIsHyphAuto ( )
inlineoverridevirtual

Definition at line 142 of file lngopt.hxx.

References getPropertyBool(), and UPN_IS_HYPH_AUTO.

◆ getIsHyphSpecial()

virtual sal_Bool SAL_CALL LinguProps::getIsHyphSpecial ( )
inlineoverridevirtual

Definition at line 146 of file lngopt.hxx.

References getPropertyBool(), and UPN_IS_HYPH_SPECIAL.

◆ getIsIgnoreControlCharacters()

virtual sal_Bool SAL_CALL LinguProps::getIsIgnoreControlCharacters ( )
inlineoverridevirtual

Definition at line 110 of file lngopt.hxx.

References getPropertyBool(), and UPN_IS_IGNORE_CONTROL_CHARACTERS.

◆ getIsSpellAuto()

virtual sal_Bool SAL_CALL LinguProps::getIsSpellAuto ( )
inlineoverridevirtual

Definition at line 150 of file lngopt.hxx.

References getPropertyBool(), and UPN_IS_SPELL_AUTO.

◆ getIsSpellCapitalization()

virtual sal_Bool SAL_CALL LinguProps::getIsSpellCapitalization ( )
inlineoverridevirtual

Definition at line 122 of file lngopt.hxx.

References getPropertyBool(), and UPN_IS_SPELL_CAPITALIZATION.

◆ getIsSpellSpecial()

virtual sal_Bool SAL_CALL LinguProps::getIsSpellSpecial ( )
inlineoverridevirtual

Definition at line 154 of file lngopt.hxx.

References getPropertyBool(), and UPN_IS_SPELL_SPECIAL.

◆ getIsSpellUpperCase()

virtual sal_Bool SAL_CALL LinguProps::getIsSpellUpperCase ( )
inlineoverridevirtual

Definition at line 114 of file lngopt.hxx.

References getPropertyBool(), and UPN_IS_SPELL_UPPER_CASE.

◆ getIsSpellWithDigits()

virtual sal_Bool SAL_CALL LinguProps::getIsSpellWithDigits ( )
inlineoverridevirtual

Definition at line 118 of file lngopt.hxx.

References getPropertyBool(), and UPN_IS_SPELL_WITH_DIGITS.

◆ getIsUseDictionaryList()

virtual sal_Bool SAL_CALL LinguProps::getIsUseDictionaryList ( )
inlineoverridevirtual

Definition at line 106 of file lngopt.hxx.

References getPropertyBool(), and UPN_IS_USE_DICTIONARY_LIST.

◆ getIsWrapReverse()

virtual sal_Bool SAL_CALL LinguProps::getIsWrapReverse ( )
inlineoverridevirtual

Definition at line 158 of file lngopt.hxx.

References getPropertyBool(), and UPN_IS_WRAP_REVERSE.

◆ getPropertyBool()

bool LinguProps::getPropertyBool ( const OUString &  aPropertyName)
private

◆ getPropertyInt16()

sal_Int16 LinguProps::getPropertyInt16 ( const OUString &  aPropertyName)
private
Exceptions
css::uno::RuntimeException

Definition at line 401 of file lngopt.cxx.

References any, and getPropertyValue().

Referenced by getHyphMinLeading(), getHyphMinTrailing(), and getHyphMinWordLength().

◆ getPropertyLocale()

Locale LinguProps::getPropertyLocale ( const OUString &  aPropertyName)
private
Exceptions
css::uno::RuntimeException

Definition at line 409 of file lngopt.cxx.

References any, getPropertyValue(), and Locale.

Referenced by getDefaultLocale(), getDefaultLocale_CJK(), and getDefaultLocale_CTL().

◆ getPropertySetInfo()

Reference< XPropertySetInfo > SAL_CALL LinguProps::getPropertySetInfo ( )
overridevirtual

Definition at line 204 of file lngopt.cxx.

References aPropertyMap, and linguistic::GetLinguMutex().

◆ getPropertyValue()

Any SAL_CALL LinguProps::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

◆ getPropertyValues()

Sequence< PropertyValue > SAL_CALL LinguProps::getPropertyValues ( )
overridevirtual

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL LinguProps::getSupportedServiceNames ( )
overridevirtual

Definition at line 388 of file lngopt.cxx.

◆ launchEvent()

void LinguProps::launchEvent ( const css::beans::PropertyChangeEvent &  rEvt) const
private

◆ operator=()

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

◆ removeEventListener()

void SAL_CALL LinguProps::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  rxListener)
overridevirtual

◆ removePropertyChangeListener()

void SAL_CALL LinguProps::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  rxListener 
)
overridevirtual

◆ removeVetoableChangeListener()

void SAL_CALL LinguProps::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  rxListener 
)
overridevirtual

Definition at line 280 of file lngopt.cxx.

◆ setDefaultLocale()

virtual void SAL_CALL LinguProps::setDefaultLocale ( const css::lang::Locale &  p1)
inlineoverridevirtual

Definition at line 140 of file lngopt.hxx.

References setProperty(), and UPN_DEFAULT_LOCALE.

◆ setDefaultLocale_CJK()

virtual void SAL_CALL LinguProps::setDefaultLocale_CJK ( const css::lang::Locale &  p1)
inlineoverridevirtual

Definition at line 164 of file lngopt.hxx.

References setProperty(), and UPN_DEFAULT_LOCALE_CJK.

◆ setDefaultLocale_CTL()

virtual void SAL_CALL LinguProps::setDefaultLocale_CTL ( const css::lang::Locale &  p1)
inlineoverridevirtual

Definition at line 168 of file lngopt.hxx.

References setProperty(), and UPN_DEFAULT_LOCALE_CTL.

◆ setFastPropertyValue()

void SAL_CALL LinguProps::setFastPropertyValue ( sal_Int32  nHandle,
const css::uno::Any &  aValue 
)
overridevirtual

◆ setHyphMinLeading()

virtual void SAL_CALL LinguProps::setHyphMinLeading ( sal_Int16  p1)
inlineoverridevirtual

Definition at line 128 of file lngopt.hxx.

References setProperty(), and UPN_HYPH_MIN_LEADING.

◆ setHyphMinTrailing()

virtual void SAL_CALL LinguProps::setHyphMinTrailing ( sal_Int16  p1)
inlineoverridevirtual

Definition at line 132 of file lngopt.hxx.

References setProperty(), and UPN_HYPH_MIN_TRAILING.

◆ setHyphMinWordLength()

virtual void SAL_CALL LinguProps::setHyphMinWordLength ( sal_Int16  p1)
inlineoverridevirtual

Definition at line 136 of file lngopt.hxx.

References setProperty(), and UPN_HYPH_MIN_WORD_LENGTH.

◆ setIsHyphAuto()

virtual void SAL_CALL LinguProps::setIsHyphAuto ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 144 of file lngopt.hxx.

References setProperty(), and UPN_IS_HYPH_AUTO.

◆ setIsHyphSpecial()

virtual void SAL_CALL LinguProps::setIsHyphSpecial ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 148 of file lngopt.hxx.

References setProperty(), and UPN_IS_HYPH_SPECIAL.

◆ setIsIgnoreControlCharacters()

virtual void SAL_CALL LinguProps::setIsIgnoreControlCharacters ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 112 of file lngopt.hxx.

References setProperty(), and UPN_IS_IGNORE_CONTROL_CHARACTERS.

◆ setIsSpellAuto()

virtual void SAL_CALL LinguProps::setIsSpellAuto ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 152 of file lngopt.hxx.

References setProperty(), and UPN_IS_SPELL_AUTO.

◆ setIsSpellCapitalization()

virtual void SAL_CALL LinguProps::setIsSpellCapitalization ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 124 of file lngopt.hxx.

References setProperty(), and UPN_IS_SPELL_CAPITALIZATION.

◆ setIsSpellSpecial()

virtual void SAL_CALL LinguProps::setIsSpellSpecial ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 156 of file lngopt.hxx.

References setProperty(), and UPN_IS_SPELL_SPECIAL.

◆ setIsSpellUpperCase()

virtual void SAL_CALL LinguProps::setIsSpellUpperCase ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 116 of file lngopt.hxx.

References setProperty(), and UPN_IS_SPELL_UPPER_CASE.

◆ setIsSpellWithDigits()

virtual void SAL_CALL LinguProps::setIsSpellWithDigits ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 120 of file lngopt.hxx.

References setProperty(), and UPN_IS_SPELL_WITH_DIGITS.

◆ setIsUseDictionaryList()

virtual void SAL_CALL LinguProps::setIsUseDictionaryList ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 108 of file lngopt.hxx.

References setProperty(), and UPN_IS_USE_DICTIONARY_LIST.

◆ setIsWrapReverse()

virtual void SAL_CALL LinguProps::setIsWrapReverse ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 160 of file lngopt.hxx.

References setProperty(), and UPN_IS_WRAP_REVERSE.

◆ setProperty() [1/3]

void LinguProps::setProperty ( const OUString &  aPropertyName,
bool  p1 
)
inlineprivate

◆ setProperty() [2/3]

void LinguProps::setProperty ( const OUString &  aPropertyName,
css::lang::Locale  p1 
)
inlineprivate
Exceptions
css::uno::RuntimeException

Definition at line 100 of file lngopt.hxx.

References setPropertyValue().

◆ setProperty() [3/3]

void LinguProps::setProperty ( const OUString &  aPropertyName,
sal_Int16  p1 
)
inlineprivate
Exceptions
css::uno::RuntimeException

Definition at line 97 of file lngopt.hxx.

References setPropertyValue().

◆ setPropertyValue()

void SAL_CALL LinguProps::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ setPropertyValues()

void SAL_CALL LinguProps::setPropertyValues ( const css::uno::Sequence< css::beans::PropertyValue > &  aProps)
overridevirtual

Definition at line 325 of file lngopt.cxx.

References linguistic::GetLinguMutex(), and setPropertyValue().

◆ supportsService()

sal_Bool SAL_CALL LinguProps::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 382 of file lngopt.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ aConfig

SvtLinguConfig LinguProps::aConfig
private

◆ aEvtListeners

::comphelper::OInterfaceContainerHelper3<css::lang::XEventListener> LinguProps::aEvtListeners
private

Definition at line 74 of file lngopt.hxx.

Referenced by addEventListener(), dispose(), and removeEventListener().

◆ aPropertyMap

SfxItemPropertyMap LinguProps::aPropertyMap
private

◆ aPropListeners

OPropertyListenerContainerHelper LinguProps::aPropListeners
private

◆ bDisposing

bool LinguProps::bDisposing
private

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