Skip to content

Commit

Permalink
Merge branch 't5051'. Fixes #5051
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelDCurran committed Oct 21, 2015
2 parents 588cb05 + 6fbc60f commit 3aef927
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions source/NVDAObjects/window/excel.py
Expand Up @@ -1012,6 +1012,22 @@ def _get_previous(self):
if previous:
return ExcelCell(windowHandle=self.windowHandle,excelWindowObject=self.excelWindowObject,excelCellObject=previous)

def _get_description(self):
try:
inputMessageTitle=self.excelCellObject.validation.inputTitle
except (COMError,NameError,AttributeError):
inputMessageTitle=None
try:
inputMessage=self.excelCellObject.validation.inputMessage
except (COMError,NameError,AttributeError):
inputMessage=None
if inputMessage and inputMessageTitle:
return _("Input Message is {title}: {message}").format( title = inputMessageTitle , message = inputMessage)
elif inputMessage:
return _("Input Message is {message}").format( message = inputMessage)
else:
return None

def script_reportComment(self,gesture):
commentObj=self.excelCellObject.comment
text=commentObj.text() if commentObj else None
Expand Down
1 change: 1 addition & 0 deletions user_docs/en/changes.t2t
Expand Up @@ -13,6 +13,7 @@
- When viewing track changes in NVDA's Elements List for Microsoft Word, more information such as what formatting properties were changed is now displayed. (#4920)
- Microsoft Excel: listing and renaming of sheets is now possible from NVDA's Elements List (NVDA+f7). (#4630, #4414)
- It is now possible to configure whether actual symbols are sent to speech synthesizers (e.g. to cause a pause or change in inflection) in the Symbol Pronunciation dialog. (#5234)
- In Microsoft Excel, NVDA now reports any input messages set by the sheet author on cells. (#5051)


== Changes ==
Expand Down

0 comments on commit 3aef927

Please sign in to comment.