diff --git a/source/appModules/winword.py b/source/appModules/winword.py index 088d35c48a4..cb45aa5bcc3 100644 --- a/source/appModules/winword.py +++ b/source/appModules/winword.py @@ -11,13 +11,15 @@ import appModuleHandler from scriptHandler import script import ui -from NVDAObjects.IAccessible.winword import WordDocument +from NVDAObjects.IAccessible.winword import WordDocument as IAccessibleWordDocument +from NVDAObjects.UIA.wordDocument import WordDocument as UIAWordDocument +from NVDAObjects.window.winword import WordDocument class AppModule(appModuleHandler.AppModule): def chooseNVDAObjectOverlayClasses(self, obj, clsList): - if WordDocument in clsList: + if UIAWordDocument in clsList or IAccessibleWordDocument in clsList: clsList.insert(0, WinwordWordDocument) diff --git a/user_docs/en/changes.t2t b/user_docs/en/changes.t2t index 7c738117ccf..4cf751fbe20 100644 --- a/user_docs/en/changes.t2t +++ b/user_docs/en/changes.t2t @@ -54,6 +54,7 @@ If you need this functionality please assign a gesture to the appropriate script - When using a Chinese input method such as Taiwan - Microsoft Quick in Microsoft Word, scrolling the braille display forward and backward no longer incorrectly keeps jumping back to the original caret position. (#12855) - When accessing Microsoft Word documents via UIA, navigating by sentence (alt+downArrow / alt+upArrow) is again possible. (#9254) - When accessing MS Word with UIA, paragraph indenting is now reported. (#12899( +- When accessing MS Word with UIA, change tracking command and some other localized commands are now reported in Word . (#12904) -