20#ifndef INCLUDED_VCL_ACCESSIBLETABLEPROVIDER_HXX
21#define INCLUDED_VCL_ACCESSIBLETABLEPROVIDER_HXX
31#define OFFSET_DEFAULT (sal_Int32(-1))
32#define OFFSET_NONE (sal_Int32(0))
71 virtual bool GoToCell( sal_Int32 _nRow, sal_uInt16 _nColumnPos ) = 0;
75 virtual void SelectRow( sal_Int32 _nRow,
bool _bSelect =
true,
bool bExpand =
true ) = 0;
76 virtual void SelectColumn( sal_uInt16 _nColumnPos,
bool _bSelect =
true ) = 0;
86 virtual bool IsCellVisible( sal_Int32 _nRow, sal_uInt16 _nColumnPos )
const = 0;
93 virtual css::uno::Reference< css::accessibility::XAccessible >
CreateAccessibleCell( sal_Int32 _nRow, sal_uInt16 _nColumnPos ) = 0;
113 virtual bool GetGlyphBoundRects(
const Point& rOrigin,
const OUString& rStr,
int nIndex,
int nLen, std::vector< tools::Rectangle >& rVector ) = 0;
119 virtual css::uno::Reference< css::accessibility::XAccessible >
GetAccessible() = 0;
143 virtual css::uno::Reference< css::accessibility::XAccessible >
148 virtual css::uno::Reference< css::accessibility::XAccessible >
153 virtual css::uno::Reference< css::accessibility::XAccessible>
getTable() = 0;
171 virtual css::uno::Reference< css::accessibility::XAccessible >
185 virtual css::uno::Reference< css::accessibility::XAccessible >
190 virtual css::uno::Reference< css::accessibility::XAccessible >
203 const css::uno::Any& rNewValue,
204 const css::uno::Any& rOldValue,
205 bool _bColumnHeaderBar
218 const css::uno::Any& rNewValue,
219 const css::uno::Any& rOldValue
225 const css::uno::Any& rNewValue,
226 const css::uno::Any& rOldValue
AccessibleBrowseBoxObjType
This enumeration contains a constant for each kind of accessible object of a BrowseBox.
interface for an implementation of a browse box's Accessible component
virtual css::uno::Reference< css::accessibility::XAccessible > getHeaderBar(AccessibleBrowseBoxObjType _eObjType)=0
returns the accessible object for the row or the column header bar
virtual void commitHeaderBarEvent(sal_Int16 nEventId, const css::uno::Any &rNewValue, const css::uno::Any &rOldValue, bool _bColumnHeaderBar)=0
commits the event at all listeners of the column/row header bar
virtual css::uno::Reference< css::accessibility::XAccessible > getTable()=0
returns the accessible object for the table representation
virtual void dispose()=0
disposes the accessible implementation, so that it becomes defunc
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
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, const css::uno::Any &rOldValue)=0
Commits an event to all listeners.
virtual css::uno::Reference< css::accessibility::XAccessible > getMyself()=0
returns the XAccessible object itself
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 css::uno::Reference< css::accessibility::XAccessible > getTable()=0
Returns the accessible object for the table.
virtual css::uno::Reference< css::accessibility::XAccessible > getHeaderBar()=0
returns the accessible object for the column header bar
This abstract class provides methods to implement an accessible table object.
virtual sal_Int32 GetSelectedColumnCount() const =0
virtual void FillAccessibleStateSetForCell(sal_Int64 &_rStateSet, sal_Int32 _nRow, sal_uInt16 _nColumnPos) const =0
virtual OUString GetRowDescription(sal_Int32 _nRow) const =0
virtual void SelectRow(sal_Int32 _nRow, bool _bSelect=true, bool bExpand=true)=0
virtual bool ConvertPointToColumnHeader(sal_uInt16 &_rnColPos, const Point &_rPoint)=0
virtual sal_Int32 GetRowCount() const =0
virtual vcl::Window * GetWindowInstance()=0
virtual bool ConvertPointToRowHeader(sal_Int32 &_rnRow, const Point &_rPoint)=0
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleCell(sal_Int32 _nRow, sal_uInt16 _nColumnPos)=0
virtual sal_uInt16 GetCurrColumn() const =0
virtual tools::Rectangle GetWindowExtentsRelative(const vcl::Window &rRelativeWindow) const =0
virtual void GrabTableFocus()=0
virtual void GetAllSelectedRows(css::uno::Sequence< sal_Int32 > &_rRows) const =0
virtual sal_uInt16 GetColumnCount() const =0
virtual bool IsRowSelected(sal_Int32 _nRow) const =0
virtual vcl::Window * GetAccessibleParentWindow() const =0
virtual void SelectColumn(sal_uInt16 _nColumnPos, bool _bSelect=true)=0
virtual sal_Int32 GetAccessibleControlCount() const =0
virtual bool ConvertPointToCellAddress(sal_Int32 &_rnRow, sal_uInt16 &_rnColPos, const Point &_rPoint)=0
virtual tools::Rectangle calcHeaderRect(bool _bIsColumnBar, bool _bOnScreen=true)=0
virtual tools::Rectangle GetWindowExtentsAbsolute() const =0
virtual tools::Rectangle GetFieldCharacterBounds(sal_Int32 _nRow, sal_Int32 _nColumnPos, sal_Int32 nIndex)=0
virtual bool HasRowHeader() const =0
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleRowHeader(sal_Int32 _nRow)=0
virtual tools::Rectangle GetFieldRectPixel(sal_Int32 _nRow, sal_uInt16 _nColumnPos, bool _bIsHeader, bool _bOnScreen)=0
virtual bool IsCellVisible(sal_Int32 _nRow, sal_uInt16 _nColumnPos) const =0
virtual tools::Rectangle calcTableRect(bool _bOnScreen=true)=0
virtual bool GetGlyphBoundRects(const Point &rOrigin, const OUString &rStr, int nIndex, int nLen, std::vector< tools::Rectangle > &rVector)=0
virtual void GetAllSelectedColumns(css::uno::Sequence< sal_Int32 > &_rColumns) const =0
virtual sal_Int32 GetFieldIndexAtPoint(sal_Int32 _nRow, sal_Int32 _nColumnPos, const Point &_rPoint)=0
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleControl(sal_Int32 _nIndex)=0
virtual OUString GetColumnDescription(sal_uInt16 _nColumnPos) const =0
virtual OUString GetAccessibleObjectName(AccessibleBrowseBoxObjType _eType, sal_Int32 _nPos=-1) const =0
virtual void SetNoSelection()=0
virtual bool ConvertPointToControlIndex(sal_Int32 &_rnIndex, const Point &_rPoint)=0
virtual sal_Int32 GetSelectedRowCount() const =0
virtual sal_Int32 GetCurrRow() const =0
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleColumnHeader(sal_uInt16 _nColumnPos)=0
virtual bool IsColumnSelected(sal_Int32 _nColumnPos) const =0
~IAccessibleTableProvider()
virtual OUString GetAccessibleCellText(sal_Int32 _nRow, sal_uInt16 _nColumnPos) const =0
virtual void SelectAll()=0
virtual void FillAccessibleStateSet(sal_Int64 &_rStateSet, AccessibleBrowseBoxObjType _eType) const =0
virtual OUString GetAccessibleObjectDescription(AccessibleBrowseBoxObjType _eType, sal_Int32 _nPos=-1) const =0
virtual bool GoToCell(sal_Int32 _nRow, sal_uInt16 _nColumnPos)=0
virtual css::uno::Reference< css::accessibility::XAccessible > GetAccessible()=0
virtual void GrabFocus()=0
AccessibleTableChildIndex
@ BBINDEX_FIRSTCONTROL
Child index of the first additional control.
@ BBINDEX_TABLE
Child index of the data table.
@ BBINDEX_COLUMNHEADERBAR
Child index of the column header bar (first row).
@ BBINDEX_ROWHEADERBAR
Child index of the row header bar ("handle column").