20#ifndef INCLUDED_SVX_INC_ACCESSIBLETABLESHAPE_HXX
21#define INCLUDED_SVX_INC_ACCESSIBLETABLESHAPE_HXX
23#include <com/sun/star/accessibility/XAccessibleTable.hpp>
30#include <com/sun/star/view/XSelectionChangeListener.hpp>
31#include <com/sun/star/accessibility/XAccessibleTableSelection.hpp>
33namespace sdr::table {
class SvxTableController; }
37 class AccessibleTableShapeImpl;
40 typedef ::cppu::ImplInheritanceHelper< AccessibleShape,
41 css::accessibility::XAccessibleTable,
42 css::view::XSelectionChangeListener
53 virtual void Init()
override;
56 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type& aType )
override;
57 virtual void SAL_CALL
acquire( ) noexcept override;
58 virtual
void SAL_CALL
release( ) noexcept override;
82 virtual sal_Int64 SAL_CALL
getAccessibleIndex( sal_Int32 nRow, sal_Int32 nColumn ) override;
83 virtual sal_Int32 SAL_CALL
getAccessibleRow( sal_Int64 nChildIndex ) override;
104 virtual
void SAL_CALL
disposing( ) override;
107 virtual
void SAL_CALL
108 disposing (const css::lang::EventObject& Source) override;
109 virtual
void SAL_CALL
115 void getColumnAndRow( sal_Int64 nChildIndex, sal_Int32& rnColumn, sal_Int32& rnRow );
117 virtual
bool SetState (sal_Int64 aState) override;
118 virtual
bool ResetState (sal_Int64 aState) override;
137typedef ::
cppu::WeakImplHelper<
155 virtual css::uno::Reference< css::accessibility::XAccessibleContext> SAL_CALL getAccessibleContext( )
override;
159 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleChild( sal_Int64 i )
override;
160 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( )
override;
161 virtual sal_Int64 SAL_CALL getAccessibleIndexInParent( )
override;
163 virtual OUString SAL_CALL getAccessibleDescription( )
override;
164 virtual OUString SAL_CALL getAccessibleName( )
override;
165 virtual sal_Int64 SAL_CALL getAccessibleStateSet( )
override;
166 virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( )
override;
167 virtual css::lang::Locale SAL_CALL
getLocale( )
override;
170 virtual sal_Bool SAL_CALL containsPoint(
const css::awt::Point& aPoint )
override;
171 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(
const css::awt::Point& aPoint )
override;
172 virtual css::awt::Rectangle SAL_CALL getBounds( )
override;
173 virtual css::awt::Point SAL_CALL getLocation( )
override;
174 virtual css::awt::Point SAL_CALL getLocationOnScreen( )
override;
175 virtual css::awt::Size SAL_CALL getSize( )
override;
176 virtual sal_Int32 SAL_CALL getForeground( )
override;
177 virtual sal_Int32 SAL_CALL getBackground( )
override;
178 virtual void SAL_CALL grabFocus( )
override;
187 virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL
getAccessibleRowHeaders( )
override;
193 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleCellAt( sal_Int32 nRow, sal_Int32 nColumn )
override;
194 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleCaption( )
override;
195 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleSummary( )
override;
197 virtual sal_Int64 SAL_CALL
getAccessibleIndex( sal_Int32 nRow, sal_Int32 nColumn )
override;
198 virtual sal_Int32 SAL_CALL
getAccessibleRow( sal_Int64 nChildIndex )
override;
@descr This class is a container for the information specific for a single shape that is passed to th...
This class bundles all information that is passed down the tree of accessible shapes so that each sha...
This base class provides a base implementation for all shapes.
virtual sal_Bool SAL_CALL unselectRow(sal_Int32 row) override
virtual bool ResetState(sal_Int64 aState) override
virtual sal_Bool SAL_CALL isAccessibleSelected(sal_Int32 nRow, sal_Int32 nColumn) override
AccessibleCell * GetActiveAccessibleCell()
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getSelectedAccessibleColumns() override
virtual sal_Int32 SAL_CALL getAccessibleColumn(sal_Int64 nChildIndex) override
rtl::Reference< AccessibleTableShapeImpl > mxImpl
virtual sal_Bool SAL_CALL isAccessibleChildSelected(sal_Int64 nChildIndex) override
virtual sal_Bool SAL_CALL selectRow(sal_Int32 row) override
sdr::table::SvxTableController * getTableController()
sal_Int32 mnPreviousSelectionCount
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleCellAt(sal_Int32 nRow, sal_Int32 nColumn) override
AccessibleTableShape(const AccessibleTableShape &)=delete
virtual void SAL_CALL clearAccessibleSelection() override
virtual OUString CreateAccessibleBaseName() override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int64 i) override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild(sal_Int64 nSelectedChildIndex) override
virtual sal_Int64 SAL_CALL getAccessibleIndex(sal_Int32 nRow, sal_Int32 nColumn) override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleSummary() override
virtual bool SetState(sal_Int64 aState) override
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL getAccessibleRowHeaders() override
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL getAccessibleColumnHeaders() override
virtual sal_Bool SAL_CALL isAccessibleColumnSelected(sal_Int32 nColumn) override
virtual sal_Int32 SAL_CALL getAccessibleRow(sal_Int64 nChildIndex) override
void getColumnAndRow(sal_Int64 nChildIndex, sal_Int32 &rnColumn, sal_Int32 &rnRow)
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleCaption() override
virtual void SAL_CALL selectionChanged(const css::lang::EventObject &rEvent) override
friend class AccessibleTableHeaderShape
virtual sal_Bool SAL_CALL isAccessibleRowSelected(sal_Int32 nRow) override
AccessibleTableShape(const AccessibleShapeInfo &rShapeInfo, const AccessibleShapeTreeInfo &rShapeTreeInfo)
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getSelectedAccessibleRows() override
virtual sal_Bool SAL_CALL selectColumn(sal_Int32 column) override
virtual void SAL_CALL selectAccessibleChild(sal_Int64 nChildIndex) override
void checkCellPosition(sal_Int32 nCol, sal_Int32 nRow)
virtual sal_Int16 SAL_CALL getAccessibleRole() override
virtual sal_Int64 SAL_CALL getSelectedAccessibleChildCount() override
virtual void SAL_CALL disposing() override
virtual OUString SAL_CALL getAccessibleRowDescription(sal_Int32 nRow) override
virtual void SAL_CALL release() noexcept override
virtual OUString SAL_CALL getImplementationName() override
sal_Int64 GetIndexOfSelectedChild(sal_Int64 nSelectedChildIndex) const
virtual sal_Int32 SAL_CALL getAccessibleColumnCount() override
virtual sal_Int32 SAL_CALL getAccessibleRowExtentAt(sal_Int32 nRow, sal_Int32 nColumn) override
virtual void SAL_CALL deselectAccessibleChild(sal_Int64 nChildIndex) override
bool SetStateDirectly(sal_Int64 aState)
virtual void SAL_CALL selectAllAccessibleChildren() override
virtual sal_Int32 SAL_CALL getAccessibleColumnExtentAt(sal_Int32 nRow, sal_Int32 nColumn) override
virtual ~AccessibleTableShape() override
virtual sal_Int32 SAL_CALL getAccessibleRowCount() override
virtual sal_Int64 SAL_CALL getAccessibleChildCount() override
virtual OUString SAL_CALL getAccessibleColumnDescription(sal_Int32 nColumn) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
AccessibleTableShape & operator=(const AccessibleTableShape &)=delete
virtual sal_Bool SAL_CALL unselectColumn(sal_Int32 column) override
virtual void SAL_CALL acquire() noexcept override
virtual void Init() override
bool ResetStateDirectly(sal_Int64 aState)
::cppu::ImplInheritanceHelper< AccessibleShape, css::accessibility::XAccessibleTable, css::view::XSelectionChangeListener > AccessibleTableShape_Base
::cppu::WeakImplHelper< css::accessibility::XAccessible, css::accessibility::XAccessibleComponent, css::accessibility::XAccessibleContext, css::accessibility::XAccessibleTable, css::accessibility::XAccessibleTableSelection > AccessibleTableHeaderShape_BASE
const LanguageTag & getLocale()