[orca] Fix presentation of Writer table cells generated as ancestors
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix presentation of Writer table cells generated as ancestors
- Date: Sat, 1 Feb 2014 19:55:06 +0000 (UTC)
commit ed5aa5381e1263eff1e714b58cef805d7343efb8
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Feb 1 14:54:18 2014 -0500
Fix presentation of Writer table cells generated as ancestors
src/orca/scripts/apps/soffice/formatting.py | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/apps/soffice/formatting.py b/src/orca/scripts/apps/soffice/formatting.py
index bae77af..8dd8625 100644
--- a/src/orca/scripts/apps/soffice/formatting.py
+++ b/src/orca/scripts/apps/soffice/formatting.py
@@ -63,11 +63,14 @@ formatting = {
'focused': 'labelAndName + toggleState'
},
pyatspi.ROLE_TABLE_CELL: {
- 'focused': '(tableCell2ChildLabel + tableCell2ChildToggle) or cellCheckedState +
(expandableState and (expandableState + numberOfChildren))',
+ 'focused': 'endOfTableIndicator + tableCellRow',
'unfocused': 'endOfTableIndicator + tableCellRow',
'basicWhereAmI': 'parentRoleName + columnHeader + rowHeader + roleName + cellCheckedState +
(realActiveDescendantDisplayedText or imageDescription + image) + columnAndRow + expandableState + nodeLevel',
'detailedWhereAmI': 'parentRoleName + columnHeader + rowHeader + roleName + cellCheckedState +
(realActiveDescendantDisplayedText or imageDescription + image) + columnAndRow + tableCellRow +
expandableState + nodeLevel'
},
+ 'REAL_ROLE_TABLE_CELL': {
+ 'focused': 'realActiveDescendantDisplayedText',
+ },
'ROLE_SPREADSHEET_CELL': {
# We treat spreadsheet cells differently from other table cells in
# whereAmI.
@@ -96,7 +99,7 @@ if orca.settings.useExperimentalSpeechProsody:
formatting['speech']['ROLE_SPREADSHEET_CELL']['basicWhereAmI'] = \
'roleName + pause + column + pause + columnHeader + pause + row + pause + rowHeader + pause +
(textContent or spreadSheetCell) + pause + anyTextSelection + pause'
formatting['speech'][pyatspi.ROLE_TABLE_CELL]['focused'] = \
- '((tableCell2ChildLabel + tableCell2ChildToggle) or cellCheckedState) + pause + (expandableState and
(expandableState + pause + numberOfChildren + pause))'
+ 'endOfTableIndicator + pause + tableCellRow + pause'
formatting['speech'][pyatspi.ROLE_TABLE_CELL]['unfocused'] = \
'endOfTableIndicator + pause + tableCellRow + pause'
formatting['speech'][pyatspi.ROLE_TABLE_CELL]['basicWhereAmI'] = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]