9a559df3fe
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> |
||
---|---|---|
.. | ||
accessiblemenubasecomponent.hxx | ||
accessiblemenucomponent.hxx | ||
accessiblemenuitemcomponent.hxx | ||
svtaccessiblenumericfield.hxx | ||
vclxaccessiblebox.hxx | ||
vclxaccessiblebutton.hxx | ||
vclxaccessiblecheckbox.hxx | ||
vclxaccessiblecombobox.hxx | ||
vclxaccessibledropdowncombobox.hxx | ||
vclxaccessibledropdownlistbox.hxx | ||
vclxaccessibleedit.hxx | ||
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 | ||
vclxaccessiblestatusbaritem.hxx | ||
vclxaccessibletabcontrol.hxx | ||
vclxaccessibletabpage.hxx | ||
vclxaccessibletabpagewindow.hxx | ||
vclxaccessibletextcomponent.hxx | ||
vclxaccessibletextfield.hxx | ||
vclxaccessibletoolbox.hxx | ||
vclxaccessibletoolboxitem.hxx |