office-gobmx/vcl/osx
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
..
res/MainMenu.nib
a11yactionwrapper.h
a11yactionwrapper.mm
a11ycomponentwrapper.h
a11ycomponentwrapper.mm
a11yfactory.mm
a11yfocuslistener.cxx
a11yfocuslistener.hxx
a11yfocustracker.cxx
a11ylistener.cxx
a11yrolehelper.h
a11yrolehelper.mm
a11yselectionwrapper.h
a11yselectionwrapper.mm
a11ytablewrapper.h
a11ytablewrapper.mm
a11ytextattributeswrapper.h
a11ytextattributeswrapper.mm
a11ytextwrapper.h
a11ytextwrapper.mm
a11yutil.h
a11yutil.mm
a11yvaluewrapper.h
a11yvaluewrapper.mm
a11ywrapper.mm [API CHANGE] a11y: Switch AccessibleRelationType to enum 2024-11-07 08:50:13 +01:00
a11ywrapperbutton.h
a11ywrapperbutton.mm
a11ywrappercheckbox.h
a11ywrappercheckbox.mm
a11ywrappercombobox.h
a11ywrappercombobox.mm
a11ywrappergroup.h
a11ywrappergroup.mm
a11ywrapperlist.h
a11ywrapperlist.mm
a11ywrapperradiobutton.h
a11ywrapperradiobutton.mm
a11ywrapperradiogroup.h
a11ywrapperradiogroup.mm
a11ywrapperrow.h
a11ywrapperrow.mm
a11ywrapperscrollarea.h
a11ywrapperscrollarea.mm
a11ywrapperscrollbar.h
a11ywrapperscrollbar.mm
a11ywrappersplitter.h
a11ywrappersplitter.mm
a11ywrapperstatictext.h
a11ywrapperstatictext.mm
a11ywrappertabgroup.h
a11ywrappertabgroup.mm
a11ywrappertextarea.h
a11ywrappertextarea.mm
a11ywrappertoolbar.h
a11ywrappertoolbar.mm
clipboard.cxx
clipboard.hxx
cuidraw.hxx
DataFlavorMapping.cxx
DataFlavorMapping.hxx
documentfocuslistener.cxx
documentfocuslistener.hxx
DragActionConversion.cxx
DragActionConversion.hxx
DragSource.cxx
DragSource.hxx
DragSourceContext.cxx
DragSourceContext.hxx
DropTarget.cxx
DropTarget.hxx
HtmlFmtFlt.cxx
HtmlFmtFlt.hxx
OSXTransferable.cxx
OSXTransferable.hxx
PictToBmpFlt.cxx
PictToBmpFlt.hxx
printaccessoryview.mm
printview.mm
README.a11y
saldata.cxx
salframe.cxx Set the native tracking area in -[SalFrameView updateTrackingAreas] 2024-10-28 15:06:07 +01:00
salframeview.mm Set the native tracking area in -[SalFrameView updateTrackingAreas] 2024-10-28 15:06:07 +01:00
salgdiutils.cxx update to skia m129 2024-10-12 17:50:01 +02:00
salinst.cxx Fix unresponsive mouse moved events in Writer on macOS 2024-10-28 20:31:01 +01:00
salmacos.cxx
salmenu.cxx tdf#162843 replace the event's string parameters 2024-10-08 20:31:29 +02:00
salnativewidgets.cxx
salnsmenu.mm Fix typo 2024-10-09 22:42:27 +02:00
salnstimer.mm
salobj.cxx
salprn.cxx
salsys.cxx
saltimer.cxx
service_entry.cxx
vclnsapp.mm

Naming scheme:

a11yXYZhelper:           Helper class providing static methods

a11yXYZwrapper:          Wrapper around one (or two) UNO-interfaces

a11ywrapperXYZ:          Subclass of a11ywrapper for a specific AXRole