summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2023-07-27 11:17:42 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2023-07-27 16:58:35 +0200
commit3121642fb1927c9cb1aa35c6b3e6afa818459117 (patch)
tree4da6b83b9af21bf272915842ddd5f0528d9d9380 /offapi
parentce0a48a1eb16d6309dba175e032a52eb5ede2542 (diff)
a11y: Clarify AccessibleEventId::ROLE_CHANGED doc
Mention that old and new value don't need to be set in this kind of event and how the new role can be retrieved. Change-Id: Iefde16a91b71af87feccb5ec2e6a32e682d60b4c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154987 Reviewed-by: Colomban Wendling <cwendling@hypra.fr> Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/accessibility/AccessibleEventId.idl5
1 files changed, 5 insertions, 0 deletions
diff --git a/offapi/com/sun/star/accessibility/AccessibleEventId.idl b/offapi/com/sun/star/accessibility/AccessibleEventId.idl
index 375d04085204..2c30cf8a6cd6 100644
--- a/offapi/com/sun/star/accessibility/AccessibleEventId.idl
+++ b/offapi/com/sun/star/accessibility/AccessibleEventId.idl
@@ -434,6 +434,11 @@ constants AccessibleEventId
/** Constant used to indicate that the role of an accessible object has
changed.
+ <p>AccessibleEventObject::OldValue and
+ AccessibleEventObject::NewValue are empty.
+ The new role can be retrieved via
+ XAccessibleContext::getAccessibleRole.</p>
+
@since LibreOffice 4.3
*/
const short ROLE_CHANGED =41;