92a36bbd4f
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 |
||
---|---|---|
.. | ||
ov | ||
tools | ||
about.html | ||
AccessibilityTree.java | ||
AccessibilityTreeModel.java | ||
AccessibilityTreeModelBase.java | ||
AccessibilityWorkBench.java | ||
AccessibleActionHandler.java | ||
AccessibleActionNode.java | ||
AccessibleCellHandler.java | ||
AccessibleComponentHandler.java | ||
AccessibleContextHandler.java | ||
AccessibleEditableTextHandler.java | ||
AccessibleExtendedComponentHandler.java | ||
AccessibleHyperlinkHandler.java | ||
AccessibleHypertextHandler.java | ||
AccessibleImageHandler.java | ||
AccessibleRelationHandler.java | ||
AccessibleSelectionHandler.java | ||
AccessibleTableHandler.java | ||
AccessibleTextHandler.java | ||
AccessibleTreeHandler.java | ||
AccessibleTreeNode.java | ||
AccessibleUNOHandler.java | ||
AccTreeNode.java | ||
AWB.sxw | ||
Canvas.java | ||
CanvasShape.java | ||
ChildEventHandler.java | ||
ContextEventHandler.java | ||
EventHandler.java | ||
EventListener.java | ||
EventQueue.java | ||
GeometryEventHandler.java | ||
help.html | ||
HelpWindow.java | ||
jawb.mf | ||
MessageArea.java | ||
news.html | ||
NodeFactory.java | ||
NodeHandler.java | ||
NodeMap.java | ||
OfficeConnection.java | ||
Options.java | ||
QueuedListener.java | ||
QueuedTopWindowListener.java | ||
SelectionDialog.java | ||
SimpleOffice.java | ||
StringNode.java | ||
TableEventHandler.java | ||
TopWindowListener.java | ||
VectorNode.java |