LibreOffice Module lingucomponent (master) 1
|
#include <macspellimp.hxx>
Public Member Functions | |
MacSpellChecker () | |
virtual | ~MacSpellChecker () override |
virtual Sequence< Locale > SAL_CALL | getLocales () override |
virtual sal_Bool SAL_CALL | hasLocale (const Locale &rLocale) override |
virtual sal_Bool SAL_CALL | isValid (const OUString &rWord, const Locale &rLocale, const css::uno::Sequence< PropertyValue > &rProperties) override |
virtual Reference< XSpellAlternatives > SAL_CALL | spell (const OUString &rWord, const Locale &rLocale, const css::uno::Sequence< PropertyValue > &rProperties) override |
virtual sal_Bool SAL_CALL | addLinguServiceEventListener (const Reference< XLinguServiceEventListener > &rxLstnr) override |
virtual sal_Bool SAL_CALL | removeLinguServiceEventListener (const Reference< XLinguServiceEventListener > &rxLstnr) override |
virtual OUString SAL_CALL | getServiceDisplayName (const Locale &rLocale) override |
virtual void SAL_CALL | initialize (const Sequence< Any > &rArguments) override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const Reference< XEventListener > &rxListener) override |
virtual void SAL_CALL | removeEventListener (const Reference< XEventListener > &rxListener) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &rServiceName) override |
virtual Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Private Member Functions | |
MacSpellChecker (const MacSpellChecker &)=delete | |
MacSpellChecker & | operator= (const MacSpellChecker &)=delete |
linguistic::PropertyHelper_Spell & | GetPropHelper_Impl () |
linguistic::PropertyHelper_Spell & | GetPropHelper () |
sal_Int16 | GetSpellFailure (const OUString &rWord, const Locale &rLocale) |
Reference< XSpellAlternatives > | GetProposals (const OUString &rWord, const Locale &rLocale) |
Private Attributes | |
Sequence< Locale > | aSuppLocales |
rtl_TextEncoding * | aDEncs |
Locale * | aDLocs |
OUString * | aDNames |
sal_Int32 | numdict |
UITextChecker * | pChecker |
::comphelper::OInterfaceContainerHelper3< XEventListener > | aEvtListeners |
rtl::Reference< linguistic::PropertyHelper_Spell > | xPropHelper |
bool | bDisposing |
Definition at line 51 of file macspellimp.hxx.
|
privatedelete |
MacSpellChecker::MacSpellChecker | ( | ) |
Definition at line 50 of file macspellimp.mm.
References aDEncs, aDLocs, aDNames, bDisposing, GetLinguMutex(), init(), numdict, and pChecker.
|
overridevirtual |
Definition at line 69 of file macspellimp.mm.
References aDEncs, aDLocs, aDNames, numdict, and xPropHelper.
|
overridevirtual |
Definition at line 637 of file macspellimp.mm.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::addInterface(), aEvtListeners, bDisposing, and GetLinguMutex().
|
overridevirtual |
Definition at line 556 of file macspellimp.mm.
References bDisposing, GetLinguMutex(), and GetPropHelper().
|
overridevirtual |
Definition at line 623 of file macspellimp.mm.
References aEvtListeners, bDisposing, comphelper::OInterfaceContainerHelper3< class ListenerT >::disposeAndClear(), and GetLinguMutex().
|
overridevirtual |
Definition at line 656 of file macspellimp.mm.
Definition at line 96 of file macspellimp.mm.
References aDEncs, aDLocs, aDNames, aSuppLocales, count, GetLinguMutex(), i, length, Locale, numdict, and pLocale.
Referenced by hasLocale().
|
inlineprivate |
Definition at line 80 of file macspellimp.hxx.
References GetPropHelper_Impl(), and xPropHelper.
Referenced by addLinguServiceEventListener(), isValid(), and removeLinguServiceEventListener().
|
private |
Definition at line 83 of file macspellimp.mm.
References GetLinguProperties(), and xPropHelper.
Referenced by GetPropHelper().
|
overridevirtual |
Definition at line 587 of file macspellimp.mm.
References GetLinguMutex().
|
private |
|
overridevirtual |
Definition at line 666 of file macspellimp.mm.
References SN_SPELLCHECKER.
Definition at line 347 of file macspellimp.mm.
References aSuppLocales, GetLinguMutex(), getLocales(), i, Locale, and pLocale.
Pointer allows for access of the non-UNO functions. And the reference to the UNO-functions while increasing the ref-count and will implicitly free the memory when the object is no longer used.
Definition at line 595 of file macspellimp.mm.
References GetLinguMutex(), and xPropHelper.
|
overridevirtual |
Definition at line 429 of file macspellimp.mm.
References GetLinguMutex(), GetPropHelper(), GetSpellFailure(), HasDigits(), hasLocale(), IsUpper(), LinguLocaleToLanguage(), and Locale.
Referenced by spell().
|
privatedelete |
|
overridevirtual |
Definition at line 647 of file macspellimp.mm.
References aEvtListeners, bDisposing, GetLinguMutex(), and comphelper::OInterfaceContainerHelper3< class ListenerT >::removeInterface().
|
overridevirtual |
Definition at line 571 of file macspellimp.mm.
References bDisposing, DBG_ASSERT, GetLinguMutex(), GetPropHelper(), and xPropHelper.
|
overridevirtual |
Definition at line 536 of file macspellimp.mm.
References GetLinguMutex(), GetProposals(), hasLocale(), isValid(), and Locale.
|
overridevirtual |
Definition at line 661 of file macspellimp.mm.
References ServiceName, and cppu::supportsService().
|
private |
Definition at line 63 of file macspellimp.hxx.
Referenced by getLocales(), MacSpellChecker(), and ~MacSpellChecker().
|
private |
Definition at line 64 of file macspellimp.hxx.
Referenced by getLocales(), MacSpellChecker(), and ~MacSpellChecker().
|
private |
Definition at line 65 of file macspellimp.hxx.
Referenced by getLocales(), MacSpellChecker(), and ~MacSpellChecker().
|
private |
Definition at line 72 of file macspellimp.hxx.
Referenced by addEventListener(), dispose(), and removeEventListener().
Definition at line 62 of file macspellimp.hxx.
Referenced by getLocales(), and hasLocale().
|
private |
Definition at line 74 of file macspellimp.hxx.
Referenced by addEventListener(), addLinguServiceEventListener(), dispose(), MacSpellChecker(), removeEventListener(), and removeLinguServiceEventListener().
|
private |
Definition at line 66 of file macspellimp.hxx.
Referenced by getLocales(), MacSpellChecker(), and ~MacSpellChecker().
|
private |
Definition at line 70 of file macspellimp.hxx.
Referenced by GetProposals(), GetSpellFailure(), and MacSpellChecker().
|
private |
Definition at line 73 of file macspellimp.hxx.
Referenced by GetPropHelper(), GetPropHelper_Impl(), initialize(), removeLinguServiceEventListener(), and ~MacSpellChecker().