diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-04-04 11:08:10 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-04-04 17:16:12 +0200 |
commit | 89f272c8bbcdb5e46ed051564735b46cc0023b8b (patch) | |
tree | 1a7433ccd0fc2c52f1c9eb805b2b336f62819d25 /sw/source/ui/fldui/fldvar.cxx | |
parent | 164f344312768771a2e120236648e224322b4a2a (diff) |
gtk4 a11y: Implement new GtkAccessibleTextInterface::get_extents
Implement the new `get_extents` method for
`GtkAccessibleTextInterface` newly introduced
in GTK 4 in GTK commits
commit 7955efef6c31d23c8553dc3464e72273886a4417
Author: Matthias Clasen <mclasen@redhat.com>
Date: Sun Mar 10 14:28:07 2024 -0400
atspi: Use gtk_accessible_text_get_extents
Implement the GetCharacterExtents and GetRangeExtents methods of
the atspi Text interface using the new GtkAccessibleText api.
commit 3134003376fc37c6d5e7e6eb7c6f36307039a92c
Author: Matthias Clasen <mclasen@redhat.com>
Date: Sun Mar 10 14:27:42 2024 -0400
a11y: Add gtk_accessible_text_get_extents
This will be used to implement GetRangeExtents in atspi.
The `XAccessibleText` UNO interface currently
only has a way to retrieve the extents of a
single character, so just return `false`
if the extents for a larger text range is
requested.
(LO's gtk3/ATK implemenation currently also doesn't
implement AtkText.get_range_extents` [1])
To actually work, this also needs changes on
GTK side to support non-GtkWidget GtkAccessible
implementations. Pending MR: [2]
[1] https://docs.gtk.org/atk/vfunc.Text.get_range_extents.html
[2] https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7104
Change-Id: I7d171b6696037a696f0d767d3134c7a7184f93a3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165793
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'sw/source/ui/fldui/fldvar.cxx')
0 files changed, 0 insertions, 0 deletions