From 8c6f528c9f6b4ef076fdd05e23091d364ca78c08 Mon Sep 17 00:00:00 2001 From: James Teh Date: Wed, 18 Apr 2012 20:24:16 +1000 Subject: [PATCH] In browse mode in Adobe Reader, it is now possible to navigate to headings without a level using quick navigation and the Elements List. Fixes #2181. --- source/virtualBuffers/adobeAcrobat.py | 2 +- user_docs/en/changes.t2t | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source/virtualBuffers/adobeAcrobat.py b/source/virtualBuffers/adobeAcrobat.py index 41692ffd9..45f30d21d 100644 --- a/source/virtualBuffers/adobeAcrobat.py +++ b/source/virtualBuffers/adobeAcrobat.py @@ -80,7 +80,7 @@ class AdobeAcrobat(VirtualBuffer): elif nodeType.startswith("heading") and nodeType[7:].isdigit(): attrs = {"acrobat::stdname": ["H%s" % nodeType[7:]]} elif nodeType == "heading": - attrs = {"acrobat::stdname": ["H1", "H2", "H3", "H4", "H5", "H6"]} + attrs = {"acrobat::stdname": ["H", "H1", "H2", "H3", "H4", "H5", "H6"]} elif nodeType == "formField": attrs = {"IAccessible::role": [oleacc.ROLE_SYSTEM_PUSHBUTTON, oleacc.ROLE_SYSTEM_RADIOBUTTON, oleacc.ROLE_SYSTEM_CHECKBUTTON, oleacc.ROLE_SYSTEM_COMBOBOX, oleacc.ROLE_SYSTEM_LIST, oleacc.ROLE_SYSTEM_OUTLINE, oleacc.ROLE_SYSTEM_TEXT], "IAccessible::state_%s" % oleacc.STATE_SYSTEM_READONLY: [None]} elif nodeType == "list": diff --git a/user_docs/en/changes.t2t b/user_docs/en/changes.t2t index dcad24b98..f1d55eddb 100644 --- a/user_docs/en/changes.t2t +++ b/user_docs/en/changes.t2t @@ -20,6 +20,7 @@ - Lists found in the Windows 8 Explorer file properties (permitions tab) and in Windows 8 Windows Update now read correctly. - Fixed possible freezes in MS Word which would result when it took more than 2 seconds to fetch text from a document (extremely long lines or tables of contents). (#2191) - Detection of word breaks now works correctly where whitespace is followed by certain punctuation. (#1656) +- In browse mode in Adobe Reader, it is now possible to navigate to headings without a level using quick navigation and the Elements List. (#2181) == Changes for Developers == -- 2.11.0