LibreOffice Module sc (master)
1
|
Accessible base class used for CSV controls. More...
#include <AccessibleCsvControl.hxx>
Public Member Functions | |
ScAccessibleCsvControl (ScCsvControl &rControl) | |
Pointer to the VCL control. More... | |
virtual | ~ScAccessibleCsvControl () override |
virtual void SAL_CALL | disposing () override |
virtual void SAL_CALL | grabFocus () override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleAtPoint (const css::awt::Point &aPoint) override |
virtual void | SendFocusEvent (bool bFocused) |
Sends a GetFocus or LoseFocus event to all listeners. More... | |
virtual void | SendCaretEvent () |
Sends a caret changed event to all listeners. More... | |
void | SendVisibleEvent () |
Sends a visible area changed event to all listeners. More... | |
void | SendSelectionEvent () |
Sends a selection changed event to all listeners. More... | |
virtual void | SendTableUpdateEvent (sal_uInt32 nFirstColumn, sal_uInt32 nLastColumn, bool bAllRows) |
Sends a table model changed event for changed cell contents to all listeners. More... | |
virtual void | SendInsertColumnEvent (sal_uInt32 nFirstColumn, sal_uInt32 nLastColumn) |
Sends a table model changed event for an inserted column to all listeners. More... | |
virtual void | SendRemoveColumnEvent (sal_uInt32 nFirstColumn, sal_uInt32 nLastColumn) |
Sends a table model changed event for a removed column to all listeners. More... | |
![]() | |
virtual sal_Bool SAL_CALL | containsPoint (const css::awt::Point &aPoint) override |
virtual css::awt::Point SAL_CALL | getLocation () override |
virtual css::awt::Point SAL_CALL | getLocationOnScreen () override |
virtual css::awt::Size SAL_CALL | getSize () override |
virtual css::awt::Rectangle SAL_CALL | getBounds () override |
![]() | |
virtual void SAL_CALL | addAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override |
virtual void SAL_CALL | removeAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override |
virtual sal_Int32 SAL_CALL | getAccessibleChildCount () override=0 |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleChild (sal_Int32 i) override=0 |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleParent () override=0 |
virtual sal_Int16 SAL_CALL | getAccessibleRole () override=0 |
virtual OUString SAL_CALL | getAccessibleDescription () override=0 |
virtual OUString SAL_CALL | getAccessibleName () override=0 |
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL | getAccessibleRelationSet () override=0 |
virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL | getAccessibleStateSet () override=0 |
virtual OUString SAL_CALL | getAccessibleId () override |
virtual sal_Int32 SAL_CALL | getAccessibleIndexInParent () override |
virtual css::lang::Locale SAL_CALL | getLocale () override |
Protected Member Functions | |
virtual css::awt::Rectangle | implGetBounds () override |
ScCsvControl & | implGetControl () const |
Returns the VCL control. More... | |
rtl::Reference<::utl::AccessibleStateSetHelper > | implCreateStateSet () |
Creates a StateSetHelper and fills it with DEFUNC, OPAQUE, ENABLED, SHOWING and VISIBLE. More... | |
![]() | |
OAccessibleComponentHelper () | |
![]() | |
OCommonAccessibleComponent () | |
virtual | ~OCommonAccessibleComponent () override |
bool | containsPoint (const css::awt::Point &aPoint) |
css::awt::Point | getLocation () |
css::awt::Point | getLocationOnScreen () |
css::awt::Size | getSize () |
css::awt::Rectangle | getBounds () |
![]() | |
virtual | ~OAccessibleContextHelper () override |
OAccessibleContextHelper () | |
void | lateInit (const css::uno::Reference< css::accessibility::XAccessible > &_rxAccessible) |
css::uno::Reference< css::accessibility::XAccessible > | getAccessibleCreator () const |
void | NotifyAccessibleEvent (const sal_Int16 _nEventId, const css::uno::Any &_rOldValue, const css::uno::Any &_rNewValue) |
bool | isAlive () const |
void | ensureAlive () const |
void | ensureDisposed () |
css::uno::Reference< css::accessibility::XAccessibleContext > | implGetParentContext () |
::osl::Mutex & | GetMutex () |
![]() | |
~OAccessibleComponentHelper_Base () | |
Private Attributes | |
ScCsvControl * | mpControl |
Accessible base class used for CSV controls.
Definition at line 43 of file AccessibleCsvControl.hxx.
|
explicit |
Pointer to the VCL control.
Definition at line 71 of file AccessibleCsvControl.cxx.
|
overridevirtual |
Definition at line 76 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureDisposed().
|
overridevirtual |
Reimplemented from comphelper::OAccessibleContextHelper.
Reimplemented in ScAccessibleCsvCell, and ScAccessibleCsvGrid.
Definition at line 81 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::disposing(), and mpControl.
Referenced by ScAccessibleCsvGrid::disposing(), and ScAccessibleCsvCell::disposing().
|
overridevirtual |
Reimplemented in ScAccessibleCsvGrid.
Definition at line 90 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive().
|
overridevirtual |
Reimplemented in ScAccessibleCsvCell.
Definition at line 96 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), weld::CustomWidgetController::GrabFocus(), and implGetControl().
|
protected |
Creates a StateSetHelper and fills it with DEFUNC, OPAQUE, ENABLED, SHOWING and VISIBLE.
Definition at line 161 of file AccessibleCsvControl.cxx.
References implGetControl(), comphelper::OAccessibleContextHelper::isAlive(), weld::CustomWidgetController::IsEnabled(), weld::CustomWidgetController::IsReallyVisible(), and weld::CustomWidgetController::IsVisible().
Referenced by ScAccessibleCsvRuler::getAccessibleStateSet(), ScAccessibleCsvGrid::getAccessibleStateSet(), and ScAccessibleCsvCell::getAccessibleStateSet().
|
overrideprotectedvirtual |
Implements comphelper::OCommonAccessibleComponent.
Reimplemented in ScAccessibleCsvCell.
Definition at line 147 of file AccessibleCsvControl.cxx.
References comphelper::OAccessibleContextHelper::ensureAlive(), Size::Height(), implGetControl(), and Size::Width().
|
protected |
Returns the VCL control.
Assumes a living object.
Definition at line 155 of file AccessibleCsvControl.cxx.
References mpControl.
Referenced by ScAccessibleCsvRuler::getAccessibleParent(), ScAccessibleCsvGrid::getAccessibleParent(), grabFocus(), implCreateStateSet(), implGetBounds(), ScAccessibleCsvGrid::implGetGrid(), ScAccessibleCsvCell::implGetGrid(), and ScAccessibleCsvRuler::implGetRuler().
|
virtual |
Sends a caret changed event to all listeners.
Reimplemented in ScAccessibleCsvRuler.
Definition at line 115 of file AccessibleCsvControl.cxx.
|
virtual |
Sends a GetFocus or LoseFocus event to all listeners.
Reimplemented in ScAccessibleCsvGrid.
Definition at line 105 of file AccessibleCsvControl.cxx.
References Any, and comphelper::OAccessibleContextHelper::NotifyAccessibleEvent().
Referenced by ScAccessibleCsvGrid::SendFocusEvent().
|
virtual |
Sends a table model changed event for an inserted column to all listeners.
Reimplemented in ScAccessibleCsvGrid.
Definition at line 135 of file AccessibleCsvControl.cxx.
|
virtual |
Sends a table model changed event for a removed column to all listeners.
Reimplemented in ScAccessibleCsvGrid.
Definition at line 140 of file AccessibleCsvControl.cxx.
void ScAccessibleCsvControl::SendSelectionEvent | ( | ) |
Sends a selection changed event to all listeners.
Definition at line 125 of file AccessibleCsvControl.cxx.
References Any, and comphelper::OAccessibleContextHelper::NotifyAccessibleEvent().
|
virtual |
Sends a table model changed event for changed cell contents to all listeners.
Reimplemented in ScAccessibleCsvGrid.
Definition at line 130 of file AccessibleCsvControl.cxx.
void ScAccessibleCsvControl::SendVisibleEvent | ( | ) |
Sends a visible area changed event to all listeners.
Definition at line 120 of file AccessibleCsvControl.cxx.
References Any, and comphelper::OAccessibleContextHelper::NotifyAccessibleEvent().
|
private |
Definition at line 46 of file AccessibleCsvControl.hxx.
Referenced by disposing(), and implGetControl().