20#ifndef INCLUDED_VCL_ACCESSIBLETABLE_HXX
21#define INCLUDED_VCL_ACCESSIBLETABLE_HXX
25#include <com/sun/star/uno/Reference.hxx>
58 virtual void GoToCell( sal_Int32 _nColumnPos, sal_Int32 _nRow )= 0;
79 virtual css::uno::Reference< css::accessibility::XAccessible >
GetAccessible()= 0;
94 virtual OUString
GetRowName(sal_Int32 _nIndex)
const = 0;
101 virtual void SelectRow( sal_Int32
const i_rowIndex,
bool const i_select ) = 0;
121 virtual css::uno::Reference< css::accessibility::XAccessible >
143 const css::uno::Any& rNewValue,
144 const css::uno::Any& rOldValue
156 const css::uno::Any& rNewValue,
157 const css::uno::Any& rOldValue
163 const css::uno::Any& rNewValue
interface for an implementation of a table control's Accessible component
virtual css::uno::Reference< css::accessibility::XAccessible > getMyself()=0
returns the XAccessible object itself
virtual void DisposeAccessImpl()=0
disposes the accessible implementation, so that it becomes defunc
virtual void commitCellEvent(sal_Int16 nEventId, const css::uno::Any &rNewValue, const css::uno::Any &rOldValue)=0
commits the event at all listeners of the cell
virtual bool isAlive() const =0
checks whether the accessible implementation, and its context, are still alive
virtual void commitEvent(sal_Int16 nEventId, const css::uno::Any &rNewValue)=0
** Commits an event to all listeners. */
~IAccessibleTableControl()
virtual void commitTableEvent(sal_Int16 nEventId, const css::uno::Any &rNewValue, const css::uno::Any &rOldValue)=0
commits the event at all listeners of the table
This abstract class provides methods to implement an accessible table object.
virtual sal_Int32 GetRowCount() const =0
virtual sal_Int32 GetSelectedRowCount() const =0
virtual tools::Rectangle calcHeaderRect(bool _bIsColumnBar)=0
virtual sal_Int32 GetFieldIndexAtPoint(sal_Int32 _nRow, sal_Int32 _nColumnPos, const Point &_rPoint)=0
virtual bool ConvertPointToCellAddress(sal_Int32 &_rnRow, sal_Int32 &_rnColPos, const Point &_rPoint)=0
virtual void GoToCell(sal_Int32 _nColumnPos, sal_Int32 _nRow)=0
virtual OUString GetAccessibleObjectDescription(AccessibleTableControlObjType eObjType) const =0
return the description of the specified object.
virtual vcl::Window * GetWindowInstance()=0
virtual tools::Rectangle GetFieldCharacterBounds(sal_Int32 _nRow, sal_Int32 _nColumnPos, sal_Int32 nIndex)=0
virtual OUString GetAccessibleCellText(sal_Int32 _nRowPos, sal_Int32 _nColPos) const =0
virtual vcl::Window * GetAccessibleParentWindow() const =0
virtual bool HasColHeader()=0
virtual OUString GetRowName(sal_Int32 _nIndex) const =0
virtual css::uno::Reference< css::accessibility::XAccessible > GetAccessible()=0
virtual sal_Int32 GetCurrentColumn() const =0
virtual void SelectRow(sal_Int32 const i_rowIndex, bool const i_select)=0
virtual bool IsRowSelected(sal_Int32 const i_rowIndex) const =0
virtual void GrabFocus()=0
virtual void FillAccessibleStateSet(sal_Int64 &rStateSet, AccessibleTableControlObjType eObjType) const =0
Fills the StateSet with all states (except DEFUNC and SHOWING, done by the accessible object),...
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleControl(sal_Int32 _nIndex)=0
virtual tools::Rectangle calcHeaderCellRect(bool _bColHeader, sal_Int32 _nPos)=0
virtual tools::Rectangle GetWindowExtentsRelative(const vcl::Window &rRelativeWindow) const =0
virtual tools::Rectangle calcTableRect()=0
virtual sal_Int32 GetCurrentRow() const =0
virtual void SelectAllRows(bool const i_select)=0
virtual tools::Rectangle GetWindowExtentsAbsolute() const =0
virtual sal_Int32 GetAccessibleControlCount() const =0
virtual tools::Rectangle calcCellRect(sal_Int32 _nRowPos, sal_Int32 _nColPos)=0
virtual sal_Int32 GetColumnCount() const =0
virtual void FillAccessibleStateSetForCell(sal_Int64 &_rStateSet, sal_Int32 _nRow, sal_uInt16 _nColumnPos) const =0
virtual OUString GetAccessibleObjectName(AccessibleTableControlObjType eObjType, sal_Int32 _nRow, sal_Int32 _nCol) const =0
virtual bool HasRowHeader()=0
virtual sal_Int32 GetSelectedRowIndex(sal_Int32 const i_selectionIndex) const =0
virtual bool ConvertPointToControlIndex(sal_Int32 &_rnIndex, const Point &_rPoint)=0
virtual OUString GetColumnName(sal_Int32 _nIndex) const =0
AccessibleTableControlObjType
@ TCTYPE_TABLECELL
The horizontal column header bar.
@ TCTYPE_ROWHEADERCELL
A cell of the data table.
@ TCTYPE_ROWHEADERBAR
The data table.
@ TCTYPE_COLUMNHEADERBAR
The row header bar.
@ TCTYPE_COLUMNHEADERCELL
A cell of the row header bar.
@ TCTYPE_TABLE
The GridControl itself.