LibreOffice Module winaccessibility (master) 1
|
AccParagraphEventListener is inherited from AccContainerEventListener. More...
#include <AccParagraphEventListener.hxx>
Public Member Functions | |
AccParagraphEventListener (css::accessibility::XAccessible *pAcc, AccObjectManagerAgent *Agent) | |
virtual | ~AccParagraphEventListener () override |
virtual void SAL_CALL | notifyEvent (const css::accessibility::AccessibleEventObject &aEvent) override |
Uno's event notifier when event is captured. More... | |
virtual void | HandleCaretChangedEvent (css::uno::Any oldValue, css::uno::Any newValue) |
handle the CARET_CHANGED event More... | |
virtual void | SetComponentState (sal_Int64 state, bool enable) override |
set the new state and fire the MSAA event More... | |
void | HandleTextSelectionChangedEvent () |
Public Member Functions inherited from AccContainerEventListener | |
AccContainerEventListener (css::accessibility::XAccessible *pAcc, AccObjectManagerAgent *Agent) | |
virtual | ~AccContainerEventListener () override |
virtual void SAL_CALL | notifyEvent (const css::accessibility::AccessibleEventObject &aEvent) override |
Uno's event notifier when event is captured. More... | |
virtual void | HandleChildChangedEvent (css::uno::Any oldValue, css::uno::Any newValue) |
handle the CHILD event More... | |
virtual void | HandleSelectionChangedEvent (const css::uno::Any &oldValue, const css::uno::Any &newValue) |
handle the SELECTION_CHANGED event More... | |
virtual void | HandleAllChildrenChangedEvent () |
handle the INVALIDATE_ALL_CHILDREN event More... | |
virtual void | HandleTextChangedEvent (css::uno::Any oldValue, css::uno::Any newValue) |
handle the TEXT_CHANGED event More... | |
virtual void | HandleStateChangedEvent (css::uno::Any oldValue, css::uno::Any newValue) override |
handle the STATE_CHANGED event More... | |
virtual void | HandleValueChangedEvent (css::uno::Any oldValue, css::uno::Any newValue) |
handle the VALUE_CHANGED event More... | |
virtual void | SetComponentState (sal_Int64 state, bool enable) override |
set the new state and fire the MSAA event More... | |
virtual void | FireStatePropertyChange (sal_Int64 state, bool set) override |
fire the MSAA state changed event More... | |
virtual void | FireStateFocusedChange (bool enable) override |
handle the focused event More... | |
virtual bool | IsEditable (css::uno::Reference< css::accessibility::XAccessibleContext > const &xContext) |
void | UpdateAllChildrenState (css::accessibility::XAccessible *pXAccessible) |
bool | NotifyChildEvent (UnoMSAAEvent eWinEvent, const css::uno::Any &Value) |
virtual void | HandleSelectionChangedAddEvent (const css::uno::Any &oldValue, const css::uno::Any &newValue) |
virtual void | HandleSelectionChangedRemoveEvent (const css::uno::Any &oldValue, const css::uno::Any &newValue) |
virtual void | HandleSelectionChangedWithinEvent (const css::uno::Any &oldValue, const css::uno::Any &newValue) |
virtual void | HandlePageChangedEvent (const css::uno::Any &oldValue, const css::uno::Any &newValue) |
virtual void | HandleSectionChangedEvent (const css::uno::Any &oldValue, const css::uno::Any &newValue) |
virtual void | HandleColumnChangedEvent (const css::uno::Any &oldValue, const css::uno::Any &newValue) |
virtual void | HandleNameChangedEvent (css::uno::Any name) override |
handle the NAME_CHANGED event More... | |
Public Member Functions inherited from AccEventListener | |
AccEventListener (css::accessibility::XAccessible *pAcc, AccObjectManagerAgent *Agent) | |
virtual | ~AccEventListener () override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
this method is invoked before listener is disposed More... | |
virtual void SAL_CALL | notifyEvent (const css::accessibility::AccessibleEventObject &aEvent) override |
Uno's event notifier when event is captured. More... | |
virtual void | HandleNameChangedEvent (css::uno::Any name) |
handle the NAME_CHANGED event More... | |
virtual void | HandleDescriptionChangedEvent () |
handle the DESCRIPTION_CHANGED event More... | |
virtual void | HandleStateChangedEvent (css::uno::Any oldValue, css::uno::Any newValue) |
handle the STATE_CHANGED event More... | |
virtual void | SetComponentState (sal_Int64 state, bool enable) |
set the new state and fire the MSAA event More... | |
virtual void | FireStatePropertyChange (sal_Int64 state, bool set) |
fire the MSAA state changed event More... | |
virtual void | FireStateFocusedChange (bool enable) |
handle the focused event More... | |
virtual void | HandleBoundrectChangedEvent () |
handle the BOUNDRECT_CHANGED event More... | |
virtual void | HandleVisibleDataChangedEvent () |
handle the VISIBLE_DATA_CHANGED event More... | |
virtual short | GetRole () |
get the role of accessible object which is observed More... | |
virtual short | GetParentRole () |
get the role of accessible parent object which is observed More... | |
void | RemoveMeFromBroadcaster (bool isNotifyDestroy) |
remove the listener from accessible object More... | |
Additional Inherited Members | |
Protected Attributes inherited from AccEventListener | |
css::uno::Reference< css::accessibility::XAccessible > | m_xAccessible |
AccObjectManagerAgent * | pAgent |
AccParagraphEventListener is inherited from AccContainerEventListener.
It handles the events generated by container controls. The accessible roles are: PARAGRAPH and HEADING. It defines the procedure of specific event handling related with text containsers and provides the detailed support for some related methods.
Definition at line 33 of file AccParagraphEventListener.hxx.
AccParagraphEventListener::AccParagraphEventListener | ( | css::accessibility::XAccessible * | pAcc, |
AccObjectManagerAgent * | Agent | ||
) |
Definition at line 35 of file AccParagraphEventListener.cxx.
|
overridevirtual |
Definition at line 38 of file AccParagraphEventListener.cxx.
|
virtual |
handle the CARET_CHANGED event
oldValue | in UNO, this parameter is always NULL |
newValue | in UNO, this parameter is always NULL |
Definition at line 95 of file AccParagraphEventListener.cxx.
References AccEventListener::m_xAccessible, AccObjectManagerAgent::NotifyAccEvent(), OBJECT_CARETCHANGE, and AccEventListener::pAgent.
Referenced by notifyEvent().
void AccParagraphEventListener::HandleTextSelectionChangedEvent | ( | ) |
Definition at line 125 of file AccParagraphEventListener.cxx.
References AccEventListener::m_xAccessible, AccObjectManagerAgent::NotifyAccEvent(), AccEventListener::pAgent, and TEXT_SELECTION_CHANGED.
Referenced by notifyEvent().
|
overridevirtual |
Uno's event notifier when event is captured.
AccessibleEventObject | the event object which contains information about event |
Reimplemented from AccContainerEventListener.
Definition at line 46 of file AccParagraphEventListener.cxx.
References aEvent, AccObjectManagerAgent::DecreaseState(), AccEventListener::HandleBoundrectChangedEvent(), HandleCaretChangedEvent(), HandleTextSelectionChangedEvent(), AccEventListener::HandleVisibleDataChangedEvent(), AccObjectManagerAgent::IncreaseState(), AccEventListener::m_xAccessible, AccContainerEventListener::notifyEvent(), and AccEventListener::pAgent.
|
overridevirtual |
set the new state and fire the MSAA event
state | new state id |
enable | true if state is set, false if state is unset |
Reimplemented from AccContainerEventListener.
Definition at line 105 of file AccParagraphEventListener.cxx.
References AccContainerEventListener::SetComponentState().