Skip to content

Commit eecfa50

Browse files
Merge 7294934 into 8979880
2 parents 8979880 + 7294934 commit eecfa50

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

source/NVDAObjects/UIA/wordDocument.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,14 @@ def _getControlFieldForUIAObject(self, obj, isEmbedded=False, startOfNode=False,
177177
or field.pop('name', None)
178178
or obj.name
179179
)
180+
# #11430: Read-only tables, such as in the Outlook message viewer
181+
# should be treated as layout tables.
182+
if (
183+
obj.appModule.appName == 'outlook'
184+
and obj.role == controlTypes.Role.TABLE
185+
and controlTypes.State.READONLY in obj.states
186+
):
187+
field['table-layout'] = True
180188
return field
181189

182190
def _getTextFromUIARange(self, textRange):

user_docs/en/changes.t2t

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ If you need this functionality please assign a gesture to the appropriate script
3535
- NVDA no longer treats the value of UIA sliders as always percentage based.
3636
- Reporting the location of a cell in Microsoft Excel when accessed via UI Automation again works correctly on Windows 11. (#12782)
3737
- NVDA no longer sets invalid Python locales. (#12753)
38+
- When reading emails in Outlook via UI Automation, reporting of tables is now suppressed by default. (#11430)
39+
- If the user needs to temporarily have tables reported when reading an email, the Include Layout Tables option in Browse Mode settings can be turned on.
40+
-
3841
- If a disabled addon is uninstalled and then re-installed it is re-enabled. (#12792)
3942
- Fixed bugs around updating and removing addons where the addon folder has been renamed or has files opened. (#12792, #12629)
4043
-

0 commit comments

Comments
 (0)