23#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
25using ::com::sun::star::uno::Reference;
26using ::com::sun::star::uno::Sequence;
27using ::com::sun::star::uno::Any;
45 "extended/AccessibleBrowseBoxHeaderBar - invalid object type" );
78 sal_uInt16 nColumnPos = 0;
173 sal_Int32 nRow, sal_Int32 nColumn )
184 sal_Int32 nRow, sal_Int32 nColumn )
251 assert(
nIndex < std::numeric_limits<sal_Int32>::max());
256 sal_Int64 nSelectedChildIndex )
276 return aAny.hasValue() ?
294 return "com.sun.star.comp.svtools.AccessibleBrowseBoxHeaderBar";
299 return css::uno::Sequence<sal_Int8>();
329 sal_Int32 nRow, sal_uInt16 nColumnPos )
337 sal_Int64 nSelectedChildIndex )
345 if( (nSelectedChildIndex < 0) || (nSelectedChildIndex >= aSelSeq.getLength()) )
346 throw lang::IndexOutOfBoundsException();
348 return aSelSeq.getConstArray()[ nSelectedChildIndex ];
AccessibleBrowseBoxObjType
::vcl::IAccessibleTableProvider * mpBrowseBox
The VCL BrowseBox control.
void ensureIsAlive() const
::osl::Mutex & getMutex()
The BrowseBox accessible table objects inherit from this base class.
sal_Int32 implGetSelectedColumnCount() const
sal_Int32 implGetSelectedRowCount() const
void implGetSelectedRows(css::uno::Sequence< sal_Int32 > &rSeq)
Fills a sequence with sorted indexes of completely selected rows.
void implGetSelectedColumns(css::uno::Sequence< sal_Int32 > &rSeq)
Fills a sequence with sorted indexes of completely selected columns.
bool implIsRowSelected(sal_Int32 nRow) const
virtual void SAL_CALL release() noexcept override
Releases the object (calls release() on base class).
css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
Queries for a new interface.
void ensureIsValidRow(sal_Int32 nRow)
virtual sal_Int32 implGetColumnCount() const
virtual void SAL_CALL acquire() noexcept override
Acquires the object (calls acquire() on base class).
bool implIsColumnSelected(sal_Int32 nColumn) const
sal_uInt16 implToVCLColumnPos(sal_Int32 nColumn) const
void implSelectRow(sal_Int32 nRow, bool bSelect)
Selects/deselects a row (tries to expand selection).
virtual sal_Int32 implGetRowCount() const
void implSelectColumn(sal_Int32 nColumnPos, bool bSelect)
Selects/deselects a column (tries to expand selection).
void ensureIsValidAddress(sal_Int32 nRow, sal_Int32 nColumn)
void ensureIsValidColumn(sal_Int32 nColumn)
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
virtual bool ConvertPointToColumnHeader(sal_uInt16 &_rnColPos, const Point &_rPoint)=0
virtual bool ConvertPointToRowHeader(sal_Int32 &_rnRow, const Point &_rPoint)=0
virtual tools::Rectangle calcHeaderRect(bool _bIsColumnBar, bool _bOnScreen=true)=0
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleRowHeader(sal_Int32 _nRow)=0
virtual void SetNoSelection()=0
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleColumnHeader(sal_uInt16 _nColumnPos)=0
virtual void SelectAll()=0
inline ::Point VCLPoint(const css::awt::Point &rAWTPoint)