LibreOffice Module sc (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
ScAccessibleCsvControl Class Reference

Accessible base class used for CSV controls. More...

#include <AccessibleCsvControl.hxx>

Inheritance diagram for ScAccessibleCsvControl:
[legend]
Collaboration diagram for ScAccessibleCsvControl:
[legend]

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...
 
- Public Member Functions inherited from comphelper::OAccessibleComponentHelper
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
 

Protected Member Functions

virtual css::awt::Rectangle implGetBounds () override
 
ScCsvControlimplGetControl () const
 Returns the VCL control. More...
 
sal_Int64 implCreateStateSet ()
 Creates a StateSet and fills it with DEFUNC, OPAQUE, ENABLED, SHOWING and VISIBLE. More...
 
- Protected Member Functions inherited from comphelper::OAccessibleComponentHelper
 OAccessibleComponentHelper ()
 

Private Attributes

ScCsvControlmpControl
 

Detailed Description

Accessible base class used for CSV controls.

Definition at line 40 of file AccessibleCsvControl.hxx.

Constructor & Destructor Documentation

◆ ScAccessibleCsvControl()

ScAccessibleCsvControl::ScAccessibleCsvControl ( ScCsvControl rControl)
explicit

Pointer to the VCL control.

Definition at line 70 of file AccessibleCsvControl.cxx.

◆ ~ScAccessibleCsvControl()

ScAccessibleCsvControl::~ScAccessibleCsvControl ( )
overridevirtual

Definition at line 75 of file AccessibleCsvControl.cxx.

Member Function Documentation

◆ disposing()

void SAL_CALL ScAccessibleCsvControl::disposing ( )
overridevirtual

Definition at line 80 of file AccessibleCsvControl.cxx.

References mpControl.

Referenced by ScAccessibleCsvGrid::disposing(), and ScAccessibleCsvCell::disposing().

◆ getAccessibleAtPoint()

Reference< XAccessible > SAL_CALL ScAccessibleCsvControl::getAccessibleAtPoint ( const css::awt::Point &  aPoint)
overridevirtual

Definition at line 89 of file AccessibleCsvControl.cxx.

◆ grabFocus()

void SAL_CALL ScAccessibleCsvControl::grabFocus ( )
overridevirtual

◆ implCreateStateSet()

sal_Int64 ScAccessibleCsvControl::implCreateStateSet ( )
protected

Creates a StateSet and fills it with DEFUNC, OPAQUE, ENABLED, SHOWING and VISIBLE.

Definition at line 160 of file AccessibleCsvControl.cxx.

References implGetControl(), isAlive(), weld::CustomWidgetController::IsEnabled(), weld::CustomWidgetController::IsReallyVisible(), and weld::CustomWidgetController::IsVisible().

◆ implGetBounds()

css::awt::Rectangle ScAccessibleCsvControl::implGetBounds ( )
overrideprotectedvirtual

Definition at line 146 of file AccessibleCsvControl.cxx.

References Size::Height(), implGetControl(), and Size::Width().

◆ implGetControl()

ScCsvControl & ScAccessibleCsvControl::implGetControl ( ) const
protected

Returns the VCL control.

Assumes a living object.

Definition at line 154 of file AccessibleCsvControl.cxx.

References mpControl.

Referenced by grabFocus(), implCreateStateSet(), and implGetBounds().

◆ SendCaretEvent()

void ScAccessibleCsvControl::SendCaretEvent ( )
virtual

Sends a caret changed event to all listeners.

Definition at line 114 of file AccessibleCsvControl.cxx.

◆ SendFocusEvent()

void ScAccessibleCsvControl::SendFocusEvent ( bool  bFocused)
virtual

Sends a GetFocus or LoseFocus event to all listeners.

Definition at line 104 of file AccessibleCsvControl.cxx.

References Any.

Referenced by ScAccessibleCsvGrid::SendFocusEvent().

◆ SendInsertColumnEvent()

void ScAccessibleCsvControl::SendInsertColumnEvent ( sal_uInt32  nFirstColumn,
sal_uInt32  nLastColumn 
)
virtual

Sends a table model changed event for an inserted column to all listeners.

Definition at line 134 of file AccessibleCsvControl.cxx.

◆ SendRemoveColumnEvent()

void ScAccessibleCsvControl::SendRemoveColumnEvent ( sal_uInt32  nFirstColumn,
sal_uInt32  nLastColumn 
)
virtual

Sends a table model changed event for a removed column to all listeners.

Definition at line 139 of file AccessibleCsvControl.cxx.

◆ SendSelectionEvent()

void ScAccessibleCsvControl::SendSelectionEvent ( )

Sends a selection changed event to all listeners.

Definition at line 124 of file AccessibleCsvControl.cxx.

References Any.

◆ SendTableUpdateEvent()

void ScAccessibleCsvControl::SendTableUpdateEvent ( sal_uInt32  nFirstColumn,
sal_uInt32  nLastColumn,
bool  bAllRows 
)
virtual

Sends a table model changed event for changed cell contents to all listeners.

Definition at line 129 of file AccessibleCsvControl.cxx.

◆ SendVisibleEvent()

void ScAccessibleCsvControl::SendVisibleEvent ( )

Sends a visible area changed event to all listeners.

Definition at line 119 of file AccessibleCsvControl.cxx.

References Any.

Member Data Documentation

◆ mpControl

ScCsvControl* ScAccessibleCsvControl::mpControl
private

Definition at line 43 of file AccessibleCsvControl.hxx.

Referenced by disposing(), and implGetControl().


The documentation for this class was generated from the following files: