OSDN Git Service

speech.getControlFieldSpeech(): If report tables is disabled, don't report field...
authorJames Teh <jamie@jantrid.net>
Tue, 1 Dec 2009 10:52:50 +0000 (20:52 +1000)
committerJames Teh <jamie@jantrid.net>
Tue, 1 Dec 2009 10:52:50 +0000 (20:52 +1000)
source/speech.py
user_docs/en/whats new.txt

index 5cd6c03..a46ba34 100755 (executable)
@@ -737,7 +737,7 @@ def getControlFieldSpeech(attrs,ancestorAttrs,fieldType,formatConfig=None,extraD
                (role==controlTypes.ROLE_LINK and not formatConfig["reportLinks"]) or \r
                (role==controlTypes.ROLE_HEADING and not formatConfig["reportHeadings"]) or\r
                (role==controlTypes.ROLE_BLOCKQUOTE and not formatConfig["reportBlockQuotes"]) or\r
-               (role in (controlTypes.ROLE_TABLE,controlTypes.ROLE_TABLECELL,controlTypes.ROLE_TABLEROW,controlTypes.ROLE_TABLECOLUMN) and not formatConfig["reportTables"]) or\r
+               (role in (controlTypes.ROLE_TABLE,controlTypes.ROLE_TABLECELL,controlTypes.ROLE_TABLEROWHEADER,controlTypes.ROLE_TABLECOLUMNHEADER) and not formatConfig["reportTables"]) or\r
                (role in (controlTypes.ROLE_LIST,controlTypes.ROLE_LISTITEM) and controlTypes.STATE_READONLY in states and not formatConfig["reportLists"])\r
        ):\r
                        return ""\r
index b2aaed8..ad8a126 100644 (file)
@@ -14,6 +14,7 @@
        * NVDA no longer lags for a long time when expanding tree view items that contain a very large amount of sub-items.\r
        * When listing SAPI 5 voices, NVDA now tries to detect buggy voices and excludes them from the Voice Settings dialog and synthesiser settings ring. Previously, when there was just one problematic voice, NVDA's SAPI 5 driver would sometimes fail to start.\r
        * Virtual buffers now honour the report object shortcut keys setting found in the Object Presentation dialog. (#486)\r
+       * In virtual buffers, row/column coordinates are no longer incorrectly read for row and column headers when reporting of tables is disabled.\r
 \r
 == 2009.1 ==\r
 Major highlights of this release include support for 64 bit editions of Windows; greatly improved support for Microsoft Internet Explorer and Adobe Reader documents; support for Windows 7; reading of the Windows logon, control+alt+delete and User Account Control (UAC) screens; and the ability to interact with Adobe Flash and Sun Java content on web pages. There have also been several significant stability fixes and improvements to the general user experience.\r