gecko-dev/accessible/windows
Nathan LaPre 48bc589112 Bug 1901462: Implement UIA ITextRangeProvider::GetBoundingRectangles, r=Jamie
This revision implements GetBoundingRectangles by walking the text range line by
line, adding each line rect to an output array, then returning that array to UIA
clients. Since this logic was tied up in TextLeafRange::Bounds, this revision
first creates function WalkLineRects which encapsulates the logic of walking
a TextLeafRange line-by-line. Then, it uses that function to rewrite Bounds and
implement new function LineRects, which stores all non-empty onscreen line rects
in an nsTArray and returns them. The implementation of GetBoundingRectangles has
been filled out; it's mostly straightforward but contains some SAFEARRAY work
since UIA expects rects as doubles, rather than our internal uint32_t
representation. Finally, this revision adds a test for GetBoundingRectangles.

Differential Revision: https://phabricator.services.mozilla.com/D222198
2024-09-17 21:38:26 +00:00
..
ia2 Bug 1901456 part 3: Implement ITextProvider::get_DocumentRange for editable text controls, with stubs for the other ITextProvider methods. r=nlapre 2024-06-26 02:03:38 +00:00
msaa Bug 1794974: Part 1: Add improved client detection, automatic domain setting, r=Jamie 2024-09-09 23:02:19 +00:00
sdn Bug 1794974: Part 5: Add code that requests new cache domains to remote accessibles, r=Jamie 2024-09-09 23:02:20 +00:00
uia Bug 1901462: Implement UIA ITextRangeProvider::GetBoundingRectangles, r=Jamie 2024-09-17 21:38:26 +00:00
moz.build