20#ifndef INCLUDED_LINGUCOMPONENT_SOURCE_SPELLCHECK_MACOSXSPELL_MACSPELLIMP_HXX
21#define INCLUDED_LINGUCOMPONENT_SOURCE_SPELLCHECK_MACOSXSPELL_MACSPELLIMP_HXX
28#import <Cocoa/Cocoa.h>
30#include <UIKit/UIKit.h>
33#include <com/sun/star/lang/XComponent.hpp>
34#include <com/sun/star/lang/XInitialization.hpp>
35#include <com/sun/star/lang/XServiceDisplayName.hpp>
36#include <com/sun/star/beans/XPropertySet.hpp>
37#include <com/sun/star/lang/XServiceInfo.hpp>
38#include <com/sun/star/linguistic2/XSpellChecker.hpp>
39#include <com/sun/star/linguistic2/XLinguServiceEventBroadcaster.hpp>
52 public cppu::WeakImplHelper
55 XLinguServiceEventBroadcaster,
85 sal_Int16
GetSpellFailure(
const OUString &rWord,
const Locale &rLocale );
86 Reference< XSpellAlternatives >
GetProposals(
const OUString &rWord,
const Locale &rLocale );
93 virtual Sequence< Locale > SAL_CALL
getLocales()
override;
97 virtual sal_Bool SAL_CALL
isValid(
const OUString& rWord,
const Locale& rLocale,
const css::uno::Sequence<PropertyValue>& rProperties )
override;
98 virtual Reference< XSpellAlternatives > SAL_CALL
spell(
const OUString& rWord,
const Locale& rLocale,
const css::uno::Sequence<PropertyValue>& rProperties )
override;
108 virtual void SAL_CALL
initialize(
const Sequence< Any >& rArguments )
override;
111 virtual void SAL_CALL
dispose()
override;
112 virtual void SAL_CALL
addEventListener(
const Reference< XEventListener >& rxListener )
override;
113 virtual void SAL_CALL
removeEventListener(
const Reference< XEventListener >& rxListener )
override;
virtual Sequence< Locale > SAL_CALL getLocales() override
virtual void SAL_CALL dispose() 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 removeLinguServiceEventListener(const Reference< XLinguServiceEventListener > &rxLstnr) override
virtual sal_Bool SAL_CALL addLinguServiceEventListener(const Reference< XLinguServiceEventListener > &rxLstnr) override
virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() override
linguistic::PropertyHelper_Spell & GetPropHelper_Impl()
virtual OUString SAL_CALL getImplementationName() override
virtual ~MacSpellChecker() override
virtual void SAL_CALL addEventListener(const Reference< XEventListener > &rxListener) override
virtual sal_Bool SAL_CALL hasLocale(const Locale &rLocale) override
virtual sal_Bool SAL_CALL supportsService(const OUString &rServiceName) override
MacSpellChecker(const MacSpellChecker &)=delete
rtl::Reference< linguistic::PropertyHelper_Spell > xPropHelper
virtual sal_Bool SAL_CALL isValid(const OUString &rWord, const Locale &rLocale, const css::uno::Sequence< PropertyValue > &rProperties) override
virtual void SAL_CALL removeEventListener(const Reference< XEventListener > &rxListener) override
Sequence< Locale > aSuppLocales
linguistic::PropertyHelper_Spell & GetPropHelper()
MacSpellChecker & operator=(const MacSpellChecker &)=delete
Reference< XSpellAlternatives > GetProposals(const OUString &rWord, const Locale &rLocale)
sal_Int16 GetSpellFailure(const OUString &rWord, const Locale &rLocale)
::comphelper::OInterfaceContainerHelper3< XEventListener > aEvtListeners
virtual void SAL_CALL initialize(const Sequence< Any > &rArguments) override
virtual OUString SAL_CALL getServiceDisplayName(const Locale &rLocale) override
rtl_TextEncoding * aDEncs