nvda
67ad1ff3 - Add an option to use Word's native math speech in Word documents (#19700)

Commit
72 days ago
Add an option to use Word's native math speech in Word documents (#19700) Closes #19670 Summary of the issue: A bug in Microsoft Word is causing math objects to be spoken inconsistently, sometimes using MathCAT and at other times using Word's native math speech. Description of user facing changes: An option is added to the math settings panel to use native math speech while in Word. When checked, MathCAT is disabled while in Word and re-enabled when another application gains focus. Description of developer facing changes: N/A Description of development approach: Handlers were added in winword.py for the gainFocus, loseFocus, and terminate events that disable and re-enable MathCAT. Two new functions were added to mathPres/__init__.py: disable and enable, which save and restore the three global provider objects.
Author
Parents
Loading