20#ifndef INCLUDED_SVX_SOURCE_TABLE_ACCESSIBLECELL_HXX
21#define INCLUDED_SVX_SOURCE_TABLE_ACCESSIBLECELL_HXX
23#include <com/sun/star/accessibility/XAccessible.hpp>
24#include <com/sun/star/accessibility/XAccessibleExtendedComponent.hpp>
41class AccessibleShapeTreeInfo;
43typedef ::cppu::ImplInheritanceHelper< AccessibleContextBase, css::accessibility::XAccessibleExtendedComponent >
AccessibleCellBase;
57 virtual bool SetState (sal_Int64 aState)
override;
58 virtual bool ResetState (sal_Int64 aState)
override;
61 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type& aType )
override;
62 virtual void SAL_CALL
acquire( ) noexcept override;
63 virtual
void SAL_CALL
release( ) noexcept override;
73 static OUString
getCellName( sal_Int32 nCol, sal_Int32 nRow );
77 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleAtPoint(
const css::awt::Point& aPoint)
override;
78 virtual css::awt::Rectangle SAL_CALL
getBounds()
override;
79 virtual css::awt::Point SAL_CALL
getLocation()
override;
81 virtual css::awt::Size SAL_CALL
getSize()
override;
82 virtual void SAL_CALL
grabFocus()
override;
87 virtual css::uno::Reference< css::awt::XFont > SAL_CALL
getFont()
override;
92 virtual void SAL_CALL
addAccessibleEventListener(
const css::uno::Reference< css::accessibility::XAccessibleEventListener >& rxListener)
override;
93 virtual void SAL_CALL
removeAccessibleEventListener(
const css::uno::Reference< css::accessibility::XAccessibleEventListener >& rxListener)
override;
119 std::unique_ptr<AccessibleTextHelper>
mpText;
124 virtual void SAL_CALL
disposing()
override;
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int64 nIndex) override
Forward the request to the shape.
const sdr::table::CellRef & getCellRef() const
sdr::table::CellRef mxCell
AccessibleCell(const AccessibleCell &)=delete
virtual css::awt::Point SAL_CALL getLocationOnScreen() override
virtual bool SetState(sal_Int64 aState) override
virtual OUString SAL_CALL getAccessibleName() override
AccessibleTableShape * GetParentTable()
virtual sal_Int64 SAL_CALL getAccessibleIndexInParent() override
virtual void SAL_CALL release() noexcept override
virtual void SAL_CALL addAccessibleEventListener(const css::uno::Reference< css::accessibility::XAccessibleEventListener > &rxListener) override
virtual css::awt::Size SAL_CALL getSize() override
AccessibleCell(const css::uno::Reference< css::accessibility::XAccessible > &rxParent, sdr::table::CellRef xCell, sal_Int32 nIndex, const AccessibleShapeTreeInfo &rShapeTreeInfo)
virtual sal_Bool SAL_CALL containsPoint(const css::awt::Point &aPoint) override
virtual css::awt::Rectangle SAL_CALL getBounds() override
AccessibleCell & operator=(const AccessibleCell &)=delete
virtual css::uno::Reference< css::awt::XFont > SAL_CALL getFont() override
virtual void ViewForwarderChanged() override
This method is called to indicate a change of the specified view forwarder, specifically,...
std::unique_ptr< AccessibleTextHelper > mpText
The accessible text engine. May be NULL if it can not be created.
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Int32 SAL_CALL getForeground() override
AccessibleTableShape * pAccTable
virtual OUString SAL_CALL getToolTipText() override
static OUString getCellName(sal_Int32 nCol, sal_Int32 nRow)
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &aPoint) override
The implementation below is at the moment straightforward.
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
virtual bool ResetState(sal_Int64 aState) override
void setIndexInParent(sal_Int32 _nIndex)
set the index _nIndex at the accessible cell param _nIndex The new index in parent.
virtual sal_Int32 SAL_CALL getBackground() override
AccessibleShapeTreeInfo maShapeTreeInfo
Bundle of information passed to all shapes in a document tree.
virtual css::awt::Point SAL_CALL getLocation() override
virtual ~AccessibleCell() override
virtual sal_Int64 SAL_CALL getAccessibleStateSet() override
Return a copy of the state set.
virtual void SAL_CALL acquire() noexcept override
sal_Int32 mnIndexInParent
the index in parent.
virtual void SAL_CALL removeAccessibleEventListener(const css::uno::Reference< css::accessibility::XAccessibleEventListener > &rxListener) override
virtual sal_Int64 SAL_CALL getAccessibleChildCount() override
The children of this cell come from the paragraphs of text.
virtual void SAL_CALL grabFocus() override
virtual OUString SAL_CALL getTitledBorderText() override
virtual void SAL_CALL disposing() override
This method is called from the component helper base class while disposing.
This class bundles all information that is passed down the tree of accessible shapes so that each sha...
::cppu::ImplInheritanceHelper< AccessibleContextBase, css::accessibility::XAccessibleExtendedComponent > AccessibleCellBase
rtl::Reference< Cell > CellRef