LibreOffice Module sw (master) 1
|
EventListener that triggers spellchecking and hyphenation. More...
#include <dlelstnr.hxx>
Public Member Functions | |
SwLinguServiceEventListener () | |
virtual | ~SwLinguServiceEventListener () override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &rEventObj) override |
XEventListener. More... | |
virtual void SAL_CALL | processLinguServiceEvent (const css::linguistic2::LinguServiceEvent &rLngSvcEvent) override |
XLinguServiceEventListener. More... | |
virtual void SAL_CALL | queryTermination (const css::lang::EventObject &rEventObj) override |
XTerminateListener. More... | |
virtual void SAL_CALL | notifyTermination (const css::lang::EventObject &rEventObj) override |
Private Member Functions | |
SwLinguServiceEventListener (const SwLinguServiceEventListener &)=delete | |
SwLinguServiceEventListener & | operator= (const SwLinguServiceEventListener &)=delete |
Private Attributes | |
css::uno::Reference< css::frame::XDesktop2 > | m_xDesktop |
css::uno::Reference< css::linguistic2::XLinguServiceManager2 > | m_xLngSvcMgr |
css::uno::Reference< css::linguistic2::XProofreadingIterator > | m_xGCIterator |
EventListener that triggers spellchecking and hyphenation.
Happens when relevant changes (to the dictionaries of the dictionary list, or properties) were made.
Definition at line 42 of file dlelstnr.hxx.
|
privatedelete |
SwLinguServiceEventListener::SwLinguServiceEventListener | ( | ) |
Definition at line 45 of file dlelstnr.cxx.
References sw::proofreadingiterator::get(), comphelper::getProcessComponentContext(), m_xDesktop, m_xGCIterator, m_xLngSvcMgr, and TOOLS_WARN_EXCEPTION.
|
overridevirtual |
Definition at line 70 of file dlelstnr.cxx.
|
overridevirtual |
XEventListener.
Definition at line 103 of file dlelstnr.cxx.
References m_xGCIterator, and m_xLngSvcMgr.
|
overridevirtual |
Definition at line 119 of file dlelstnr.cxx.
References m_xDesktop, m_xGCIterator, and m_xLngSvcMgr.
|
privatedelete |
|
overridevirtual |
XLinguServiceEventListener.
! since this function may be called within the ctor of ! SwView (during formatting) where the WrtShell is not yet ! created, we have to check for the WrtShellPtr to see ! if it is already available
Definition at line 74 of file dlelstnr.cxx.
References SwModule::CheckSpellChanges(), SwViewShell::ChgHyphenation(), SwModule::GetFirstView(), SwModule::GetNextView(), SwView::GetWrtShell(), and SwView::GetWrtShellPtr().
|
overridevirtual |
XTerminateListener.
Definition at line 114 of file dlelstnr.cxx.
|
private |
Definition at line 49 of file dlelstnr.hxx.
Referenced by notifyTermination(), and SwLinguServiceEventListener().
|
private |
Definition at line 51 of file dlelstnr.hxx.
Referenced by disposing(), notifyTermination(), and SwLinguServiceEventListener().
|
private |
Definition at line 50 of file dlelstnr.hxx.
Referenced by disposing(), notifyTermination(), and SwLinguServiceEventListener().