office-gobmx/accessibility/inc/standard
Michael Weghorn 9a559df3fe tdf#104833 a11y: Don't use VCLXEdit in VCLXAccessibleEdit
Don't rely on the `VCLXWindow` of the control
being a `VCLXEdit`, but use the `Edit` control
directly, as is already done in other methods
of this class.

This is in preparation of using
`VCLXAccessibleEdit` as the a11y class
for `MultiLineEdit` as well, which derives
from `Edit`, but its component interface class,
`VCLXMultiLineEdit` does not derive from `VCLXEdit`.

Already add reporting of the
`AccessibleStateType::MULTI_LINE` state instead of
`AccessibleStateType::SINGLE_LINE` to
`VCLXAccessibleTextComponent::FillAccessibleStateSet`
if the window type is `WindowType::MULTILINEEDIT`.

Add a small helper function,
`VCLXAccessibleEdit::isEditable` to use instead
of `VCLXEdit::isEditable`, which does the same.

Interacting with the single line edit from
the sample dialog in attachment 189287 in tdf#104833
in Accerciser still behaves as expected (and the
text can still be edited when removing the
readonly flag from the control).

Change-Id: I8218db61feb07605f6ea5309f26eebd38312458a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156400
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-09-01 16:13:19 +02:00
..
accessiblemenubasecomponent.hxx use concrete type for OAccessibleMenuBaseComponent::m_aAccessibleChildren 2023-08-31 10:34:10 +02:00
accessiblemenucomponent.hxx
accessiblemenuitemcomponent.hxx
svtaccessiblenumericfield.hxx
vclxaccessiblebox.hxx
vclxaccessiblebutton.hxx
vclxaccessiblecheckbox.hxx
vclxaccessiblecombobox.hxx
vclxaccessibledropdowncombobox.hxx
vclxaccessibledropdownlistbox.hxx
vclxaccessibleedit.hxx tdf#104833 a11y: Don't use VCLXEdit in VCLXAccessibleEdit 2023-09-01 16:13:19 +02:00
vclxaccessiblefixedhyperlink.hxx
vclxaccessiblefixedtext.hxx
vclxaccessibleheaderbar.hxx
vclxaccessibleheaderbaritem.hxx
vclxaccessiblelist.hxx
vclxaccessiblelistbox.hxx
vclxaccessiblelistitem.hxx
vclxaccessiblemenu.hxx
vclxaccessiblemenubar.hxx
vclxaccessiblemenuitem.hxx
vclxaccessiblemenuseparator.hxx
vclxaccessiblepopupmenu.hxx
vclxaccessibleradiobutton.hxx
vclxaccessiblescrollbar.hxx
vclxaccessiblestatusbar.hxx use concrete type for VCLXAccessibleStatusBar::m_aAccessibleChildren 2023-08-31 10:33:53 +02:00
vclxaccessiblestatusbaritem.hxx
vclxaccessibletabcontrol.hxx use concrete type for VCLXAccessibleTabControl::m_aAccessibleChildren 2023-08-30 22:16:36 +02:00
vclxaccessibletabpage.hxx
vclxaccessibletabpagewindow.hxx
vclxaccessibletextcomponent.hxx
vclxaccessibletextfield.hxx
vclxaccessibletoolbox.hxx use concrete type for ToolBoxItemsMap 2023-08-30 22:16:23 +02:00
vclxaccessibletoolboxitem.hxx