22#include <com/sun/star/accessibility/XAccessible.hpp>
23#include <com/sun/star/accessibility/XAccessibleAction.hpp>
24#include <com/sun/star/accessibility/XAccessibleKeyBinding.hpp>
25#include <com/sun/star/accessibility/XAccessibleValue.hpp>
35 :
public cppu::ImplInheritanceHelper<
36 VCLXAccessibleComponent,
37 css::accessibility::XAccessible,
38 css::accessibility::XAccessibleValue,
39 css::accessibility::XAccessibleAction>
53 virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL
88 virtual css::
uno::Reference< css::
accessibility::XAccessibleKeyBinding > SAL_CALL
96 const css::
uno::Any& aNumber ) override;
Base class for list- and combo boxes.
bool m_bHasListChild
This flag specifies whether an object has a list as child regardless of whether that child being curr...
virtual void ProcessWindowChildEvent(const VclWindowEvent &rVclWindowEvent) override
virtual css::uno::Any SAL_CALL getMinimumValue() override
virtual bool IsValid() const =0
Returns true when the object is valid.
css::uno::Reference< css::accessibility::XAccessible > m_xText
The child that represents the text field if there is one.
virtual css::uno::Any SAL_CALL getCurrentValue() override
virtual void ProcessWindowEvent(const VclWindowEvent &rVclWindowEvent) override
virtual OUString SAL_CALL getAccessibleActionDescription(sal_Int32 nIndex) override
The returned string is associated with resource RID_STR_ACC_ACTION_TOGGLEPOPUP.
virtual sal_Bool SAL_CALL doAccessibleAction(sal_Int32 nIndex) override
The action for drop down boxes lets the user toggle the visibility of the popup menu.
css::uno::Reference< css::accessibility::XAccessible > m_xList
The child that contains the items of this box.
virtual css::uno::Any SAL_CALL getMinimumIncrement() override
BoxType m_aBoxType
Specifies whether the box is a combo box or a list box.
bool m_bHasTextChild
This flag specifies whether an object has a text field as child regardless of whether that child bein...
sal_Int64 SAL_CALL getAccessibleChildCount() final override
Each object has one or two children: an optional text field and the actual list.
virtual sal_Bool SAL_CALL setCurrentValue(const css::uno::Any &aNumber) override
sal_Int16 SAL_CALL getAccessibleRole() override
The role is always AccessibleRole::COMBO_BOX.
sal_Int64 implGetAccessibleChildCount()
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext() override
virtual void FillAccessibleStateSet(sal_Int64 &rStateSet) override
virtual css::uno::Reference< css::accessibility::XAccessibleKeyBinding > SAL_CALL getAccessibleActionKeyBinding(sal_Int32 nIndex) override
No keybinding returned so far.
css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int64 i) override
For drop down list boxes the text field is a not editable VCLXAccessibleTextField,...
virtual css::uno::Any SAL_CALL getMaximumValue() override
virtual sal_Int32 SAL_CALL getAccessibleActionCount() final override
There is one action for drop down boxes and none for others.
VCLXAccessibleBox(VCLXWindow *pVCLXindow, BoxType aType, bool bIsDropDownBox)
The constructor is initialized with the box type which may be either COMBOBOX or LISTBOX and a flag i...
bool m_bIsDropDownBox
Specifies whether the box is a drop down box and thus has an action.