nvda
2e237f77 - Braille in UIA word documents: improve focus ancestry, cursor routing, and newly inserted bullets/numbers (#8576)

Commit
7 years ago
Braille in UIA word documents: improve focus ancestry, cursor routing, and newly inserted bullets/numbers (#8576) * UIATextRange._getTextWithFields_text: make the filtering of empty chunks configurable by subclasses. * UIA WordDocumentTextInfo: Improve support for lists in braille. Specifically: * strip the bullet off the start of the actual text and place it in the line-prefix formatField attribute. this allows braille cursor routing to work correctly on list items. * Work around a bug in MS Word where expanding to line on the final line of the document when it is blank fails. In this case, move the end of the range to to the end of the document manually. this allows NVDA to expose newly inserted bullets in both speech and braille. * UIA WordDocumentTextInfo: ensure that the bullet/number of a list item is still announced on the first character like it used to. Now via a line-prefix_speakAlways boolean attribute. * Word documents with UIA: report embedded charts. * UIA wordDocument: improve focus ancestory for speech and braille removing redundant reporting of the title. * UIA Word document: remove the name of the control alltogether as the name is duplicated in the title of the application. * Clarify docstring of ProtectedDocumentPane for Word documents. * Update What's new
Parents
Loading