office-gobmx/toolkit/test/accessibility
Michael Weghorn 92a36bbd4f [API CHANGE] a11y: Switch AccessibleRelationType to enum
Switch css::accessibility::AccessibleRelationType
from integer constants to an enum.

This provides more type safety and improves the debugging
experience, e.g. GDB now prints

    com::sun::accessibility::AccessibleRelationType::AccessibleRelationType_CONTENT_FLOWS_TO

instead of just "2" when printing the value of a
corresponding variable, so it's no longer necessary
to manually look up what constant has that integer
value to know what relation this refers to.

offapi/com/sun/star/accessibility/AccessibleRelationType.idl
had this comment:

> <p>We are using constants instead of a more typesafe enum.  The reason
> for this is that IDL enums may not be extended.  Therefore, in order to
> include future extensions to the set of roles we have to use constants
> here.</p>

However, the a11y UNO API is internal (not published),
so that shouldn't be a concern.

Change-Id: I44a7d56cb085dc24effb24fcd34bb222b78ef4cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176153
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-11-07 08:50:13 +01:00
..
ov
tools
about.html INTEGRATION: CWS vcl07 (1.2.2); FILE ADDED 2003-04-11 16:15:17 +00:00
AccessibilityTree.java java: combine nested if statements 2015-11-05 14:55:15 +02:00
AccessibilityTreeModel.java Fix typos 2019-08-12 10:50:55 +02:00
AccessibilityTreeModelBase.java java: no need to check for null before calling instanceof 2014-10-07 13:20:00 +02:00
AccessibilityWorkBench.java Fix typos 2018-01-25 08:52:34 +01:00
AccessibleActionHandler.java java: reduce visibility of fields and methods 2014-12-11 06:09:03 +00:00
AccessibleActionNode.java java: make fields final where possible 2014-11-18 12:44:28 +02:00
AccessibleCellHandler.java [API CHANGE] tdf#150683 a11y: Switch a11y child index to 64 bit 2022-09-02 15:47:37 +02:00
AccessibleComponentHandler.java java: combine nested if statements 2015-11-05 14:55:15 +02:00
AccessibleContextHandler.java [API CHANGE] Drop css::accessibility::XAccessibleStateSet 2022-07-08 10:10:11 +02:00
AccessibleEditableTextHandler.java java: remove dead code 2015-01-05 08:23:29 +02:00
AccessibleExtendedComponentHandler.java java: reduce visibility of fields and methods 2014-12-11 06:09:03 +00:00
AccessibleHyperlinkHandler.java java: remove dead code 2015-01-05 08:23:29 +02:00
AccessibleHypertextHandler.java java: remove dead code 2015-01-05 08:23:29 +02:00
AccessibleImageHandler.java java: reduce visibility of fields and methods 2014-12-11 06:09:03 +00:00
AccessibleRelationHandler.java java: reduce visibility of fields and methods 2014-12-11 06:09:03 +00:00
AccessibleSelectionHandler.java [API CHANGE] tdf#150683 a11y: Switch a11y child index to 64 bit 2022-09-02 15:47:37 +02:00
AccessibleTableHandler.java java: remove dead code 2015-01-05 08:23:29 +02:00
AccessibleTextHandler.java java: reduce visibility of fields and methods 2014-12-11 06:09:03 +00:00
AccessibleTreeHandler.java [API CHANGE] tdf#150683 a11y: Switch a11y child index to 64 bit 2022-09-02 15:47:37 +02:00
AccessibleTreeNode.java java: remove more dead code 2015-01-05 09:59:03 +02:00
AccessibleUNOHandler.java fix spelling implemenation -> implementation 2014-11-10 13:36:03 +02:00
AccTreeNode.java java: remove more dead code 2015-01-05 09:59:03 +02:00
AWB.sxw drop bogus executable flag from odf files 2011-03-29 21:43:58 +01:00
Canvas.java java: combine nested if statements 2015-11-05 14:55:15 +02:00
CanvasShape.java [API CHANGE] Drop css::accessibility::XAccessibleStateSet 2022-07-08 10:10:11 +02:00
ChildEventHandler.java java: make fields final where possible 2014-11-18 12:44:28 +02:00
ContextEventHandler.java java: add @Override annotation to overriding methods 2014-08-12 09:41:28 +02:00
EventHandler.java Java5 update - convert to using generics for collections 2012-08-28 16:15:43 +02:00
EventListener.java java: reduce visibility of fields and methods 2014-12-11 06:09:03 +00:00
EventQueue.java Fix typos 2018-01-27 08:49:38 +01:00
GeometryEventHandler.java java: add @Override annotation to overriding methods 2014-08-12 09:41:28 +02:00
help.html Fix typos 2017-08-17 21:53:28 +02:00
HelpWindow.java java: remove dead code 2015-01-05 08:23:29 +02:00
jawb.mf Move all public Java classes to libreoffice.jar 2020-05-06 14:48:21 +02:00
MessageArea.java java: remove dead code 2015-01-05 08:23:29 +02:00
news.html Fix typos 2019-08-12 10:50:55 +02:00
NodeFactory.java java: remove more dead code 2015-01-05 09:59:03 +02:00
NodeHandler.java java: remove dead code 2015-01-05 08:23:29 +02:00
NodeMap.java Fix typos 2017-03-25 12:57:18 +00:00
OfficeConnection.java Fix typos 2019-08-12 10:50:55 +02:00
Options.java java:regulatize the order of 'final' and public/private 2015-06-11 09:34:00 +00:00
QueuedListener.java java: make fields final where possible 2014-11-18 12:44:28 +02:00
QueuedTopWindowListener.java Fix typos 2016-01-10 14:17:20 +00:00
SelectionDialog.java fix compile error in SelectionDialog (java unit test) 2016-06-01 15:38:22 +02:00
SimpleOffice.java java: remove dead code 2015-01-05 08:23:29 +02:00
StringNode.java java: remove more dead code 2015-01-05 09:59:03 +02:00
TableEventHandler.java java: add @Override annotation to overriding methods 2014-08-12 09:41:28 +02:00
TopWindowListener.java java: remove some unused local variables 2014-12-05 11:15:57 +02:00
VectorNode.java java: make fields final where possible 2014-11-18 12:44:28 +02:00