You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b3cc309
Browse filesBrowse the repository at this point in the historyBrowse files
Fix Excel error due to state enum changes (PR #13465)
Summary:
With UIA for Excel disabled, navigating to a cell with a formula and "has formula" was not reported.
This is a regression caused by #13414
In `NVDAHelper/remote/excel.cpp` the properties of a cell were determined and bits were set on the `state` member of a `EXCEL_CELLINFO` struct.
The constants used for this are in `NVDAHelper/remote/excel/Constants.h`, see the `NVSTATE_*` constants, previously these matched the `controlTypes.State` constants directly.
Description of change:
Rather than couple the excel implementation to the controlTypes implementation, these constants have been converted to enums (both in C++ and in Python), renumbered, and an explicit mapping to the corresponding `controlTypes.State` enum has been created.
Fixes#13457
Copy file name to clipboardExpand all lines: user_docs/en/changes.t2t
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -156,6 +156,8 @@ This can dramatically decrease build times on multi core systems. (#13226, #1337
156
156
- ``UIAHandler.UIAControlTypesToNVDARoles``
157
157
-
158
158
-
159
+
- Excel cell state constants (``NVSTATE_*``) are now values in the ``NvCellState`` enum, mirrored in the ``NvCellState`` enum in ``NVDAObjects/window/excel.py`` and mapped to ``controlTypes.State`` via _nvCellStatesToStates. (#13465)
160
+
- ``EXCEL_CELLINFO`` struct member ``state`` is now ``nvCellStates``.
0 commit comments