21#ifndef INCLUDED_SVX_SOURCE_INC_SVXRECTCTACCESSIBLECONTEXT_HXX
22#define INCLUDED_SVX_SOURCE_INC_SVXRECTCTACCESSIBLECONTEXT_HXX
24#include <com/sun/star/accessibility/XAccessible.hpp>
25#include <com/sun/star/accessibility/XAccessibleContext.hpp>
26#include <com/sun/star/accessibility/XAccessibleAction.hpp>
27#include <com/sun/star/accessibility/XAccessibleValue.hpp>
28#include <com/sun/star/uno/Reference.hxx>
47 ::comphelper::OAccessibleSelectionHelper,
48 css::accessibility::XAccessible>
55 virtual void SAL_CALL
grabFocus()
override;
56 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleAtPoint(
const css::awt::Point& rPoint)
override;
61 virtual css::uno::Reference< css::accessibility::XAccessible> SAL_CALL
getAccessibleChild(sal_Int64
nIndex)
override;
62 virtual css::uno::Reference< css::accessibility::XAccessible> SAL_CALL
getAccessibleParent()
override;
66 virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL
getAccessibleRelationSet()
override;
69 virtual css::uno::Reference< css::accessibility::XAccessibleContext> SAL_CALL
getAccessibleContext()
override {
return this; }
89 virtual bool implIsSelected(sal_Int64 nAccessibleChildIndex)
override;
92 virtual void implSelect(sal_Int64 nAccessibleChildIndex,
bool bSelect)
override;
97 virtual void SAL_CALL
disposing()
override;
124 std::vector<rtl::Reference<SvxRectCtlChildAccessibleContext>>
mvChildren;
131 ::comphelper::OAccessibleComponentHelper,
132 css::accessibility::XAccessible,
133 css::accessibility::XAccessibleValue,
134 css::accessibility::XAccessibleAction>
138 const css::uno::Reference< css::accessibility::XAccessible>& rxParent,
139 OUString
aName, OUString aDescription,
144 virtual void SAL_CALL
grabFocus()
override;
145 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleAtPoint(
const css::awt::Point& rPoint )
override;
149 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleChild( sal_Int64
nIndex )
override;
150 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleParent()
override;
154 virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL
getAccessibleRelationSet()
override;
157 virtual css::uno::Reference< css::accessibility::XAccessibleContext> SAL_CALL
getAccessibleContext()
override {
return this; }
163 virtual css::uno::Any SAL_CALL
169 virtual css::uno::Any SAL_CALL
172 virtual css::uno::Any SAL_CALL
175 virtual css::uno::Any SAL_CALL
182 virtual css::uno::Reference< css::accessibility::XAccessibleKeyBinding > SAL_CALL
getAccessibleActionKeyBinding( sal_Int32 nIndex )
override;
192 virtual void SAL_CALL
disposing()
override;
210 css::uno::Reference< css::accessibility::XAccessible >
virtual css::awt::Rectangle implGetBounds() override
virtual OUString SAL_CALL getAccessibleDescription() override
virtual bool implIsSelected(sal_Int64 nAccessibleChildIndex) override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &rPoint) override
virtual sal_Int32 SAL_CALL getForeground() override
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet() override
Return empty reference to indicate that the relation set is not supported.
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext() override
virtual void SAL_CALL disposing() override
void checkChildIndex(sal_Int64 nIndex)
void selectChild(RectPoint ePoint)
Selects a new child by point.
virtual void SAL_CALL grabFocus() override
virtual sal_Int16 SAL_CALL getAccessibleRole() override
SvxRectCtlAccessibleContext(SvxRectCtl *pRepresentation)
std::vector< rtl::Reference< SvxRectCtlChildAccessibleContext > > mvChildren
array for all possible children
virtual sal_Int32 SAL_CALL getBackground() override
void FireChildFocus(RectPoint eButton)
SvxRectCtl * mpRepr
pointer to internal representation
OUString msDescription
Description of this object.
virtual sal_Int64 SAL_CALL getAccessibleStateSet() override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent() override
virtual sal_Int64 SAL_CALL getAccessibleChildCount() override
tools::Long mnSelectedChild
actual selected child
virtual void implSelect(sal_Int64 nAccessibleChildIndex, bool bSelect) override
virtual ~SvxRectCtlAccessibleContext() override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int64 nIndex) override
OUString msName
Name of this object.
virtual OUString SAL_CALL getAccessibleName() override
bool mbIsChecked
Indicates, if object is checked.
virtual css::uno::Any SAL_CALL getMaximumValue() override
virtual css::uno::Reference< css::accessibility::XAccessibleKeyBinding > SAL_CALL getAccessibleActionKeyBinding(sal_Int32 nIndex) override
virtual sal_Bool SAL_CALL doAccessibleAction(sal_Int32 nIndex) override
virtual void SAL_CALL grabFocus() override
virtual void SAL_CALL disposing() override
virtual css::uno::Any SAL_CALL getMinimumIncrement() override
tools::Long mnIndexInParent
index of child in parent
virtual OUString SAL_CALL getAccessibleActionDescription(sal_Int32 nIndex) override
virtual ~SvxRectCtlChildAccessibleContext() override
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet() override
Return empty reference to indicate that the relation set is not supported.
OUString msName
Name of this object.
virtual OUString SAL_CALL getAccessibleName() override
css::uno::Reference< css::accessibility::XAccessible > mxParent
Reference to the parent object.
virtual sal_Int64 SAL_CALL getAccessibleChildCount() override
virtual OUString SAL_CALL getAccessibleDescription() override
SvxRectCtlChildAccessibleContext(const css::uno::Reference< css::accessibility::XAccessible > &rxParent, OUString aName, OUString aDescription, const tools::Rectangle &rBoundingBox, tools::Long nIndexInParent)
virtual sal_Bool SAL_CALL setCurrentValue(const css::uno::Any &aNumber) override
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext() override
virtual sal_Int32 SAL_CALL getForeground() override
virtual sal_Int32 SAL_CALL getBackground() override
tools::Rectangle maBoundingBox
Bounding box.
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &rPoint) override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent() override
OUString msDescription
Description of this object.
void setStateChecked(bool bChecked)
Sets the checked status.
virtual sal_Int32 SAL_CALL getAccessibleActionCount() override
virtual css::uno::Any SAL_CALL getCurrentValue() override
virtual css::awt::Rectangle implGetBounds() override
implements the calculation of the bounding rectangle
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int64 nIndex) override
virtual sal_Int16 SAL_CALL getAccessibleRole() override
virtual sal_Int64 SAL_CALL getAccessibleStateSet() override
virtual css::uno::Any SAL_CALL getMinimumValue() override