20#ifndef INCLUDED_SW_INC_DLELSTNR_HXX
21#define INCLUDED_SW_INC_DLELSTNR_HXX
23#include <com/sun/star/linguistic2/XLinguServiceEventListener.hpp>
24#include <com/sun/star/frame/XTerminateListener.hpp>
28 namespace linguistic2 {
29 class XLinguServiceManager2;
30 class XProofreadingIterator;
43 public cppu::WeakImplHelper
45 css::linguistic2::XLinguServiceEventListener,
46 css::frame::XTerminateListener
50 css::uno::Reference<css::linguistic2::XLinguServiceManager2 >
m_xLngSvcMgr;
51 css::uno::Reference<css::linguistic2::XProofreadingIterator >
m_xGCIterator;
61 virtual void SAL_CALL
disposing(
const css::lang::EventObject& rEventObj )
override;
67 virtual void SAL_CALL
queryTermination(
const css::lang::EventObject& rEventObj )
override;
68 virtual void SAL_CALL
notifyTermination(
const css::lang::EventObject& rEventObj )
override;
EventListener that triggers spellchecking and hyphenation.
SwLinguServiceEventListener & operator=(const SwLinguServiceEventListener &)=delete
css::uno::Reference< css::frame::XDesktop2 > m_xDesktop
virtual void SAL_CALL notifyTermination(const css::lang::EventObject &rEventObj) override
SwLinguServiceEventListener(const SwLinguServiceEventListener &)=delete
virtual void SAL_CALL disposing(const css::lang::EventObject &rEventObj) override
XEventListener.
css::uno::Reference< css::linguistic2::XProofreadingIterator > m_xGCIterator
virtual ~SwLinguServiceEventListener() override
css::uno::Reference< css::linguistic2::XLinguServiceManager2 > m_xLngSvcMgr
SwLinguServiceEventListener()
virtual void SAL_CALL queryTermination(const css::lang::EventObject &rEventObj) override
XTerminateListener.
virtual void SAL_CALL processLinguServiceEvent(const css::linguistic2::LinguServiceEvent &rLngSvcEvent) override
XLinguServiceEventListener.