Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NVDA will not work with track changes. #1670

Closed
nvaccessAuto opened this issue Jul 14, 2011 · 25 comments
Closed

NVDA will not work with track changes. #1670

nvaccessAuto opened this issue Jul 14, 2011 · 25 comments
Assignees
Milestone

Comments

@nvaccessAuto
Copy link

Reported by weirdwriter on 2011-07-14 01:37
nvda will not work at all with track changes in ms word of any version. is there, or will there be a beta that will enable us to use track changes, see what the comment or action was in a document, and all that on any document in any version? i am using ms word 2003.
Blocked by #3437, #3448
Blocking #3097

@nvaccessAuto
Copy link
Author

Comment 2 by weirdwriter (in reply to comment 1) on 2011-07-14 02:00
Replying to jteh:
thanks. u one of the devopers?

@nvaccessAuto
Copy link
Author

Comment by jteh on 2013-03-21 05:03
(In #3097) Duplicate of #1670.

@nvaccessAuto
Copy link
Author

Comment 4 by falinn.onda on 2013-03-21 11:29
I'm also missing NVDA support for track changes in office 2010. I'm not sure if there is a need to open another ticket for that.

Track changes is something essential when using word with revisions of documents.

I'll try writing something in VBA to help us see the revisions made...

@nvaccessAuto
Copy link
Author

Comment 5 by driemer.riemer@... on 2013-03-21 13:43
Thanks for responding to my ticket so fast Jamie. Wow you guys are on top of nvda. I tell every blind person about it.

@nvaccessAuto
Copy link
Author

Comment 6 by falinn.onda on 2013-04-08 18:59
I wrote a simple VBA code that might help. It might have bugs but it works on Word 2010 in most cases.
The instructions are intended for Word 2010 but may work for other versions as well.
I assume the user selects a "revision" which is some sort of change made while track changes is on. For example the shortcut ALT+R follows by h selects the next revision in the document. Then the user presses a shortcut key that runs the code I wrote, for example I use the key F2. The code expands the selection to the entire sentence and shows a message box with information of all revisions in the selected sentence.

For example, assume I wrote a document with the sentence " The first sentence" and changed it to " The second sentence" and also changed the line to be formatted with underline, then the message shows:
The second sentence

The first sentence

Delete: first
Add: second

Property changeFormatted: Underline

At the beginning you have the new version of the sentences followed by a – line and the old version followed by a – line and then a list of all deletions/additions followed by a list of all format changes.

I cannot guarantee that it will always work since i have not used it much yet. Here are the steps to add the macro to your word. It is a bit tricky so you might want to get help from someone with vision and and a little technical background might help also.

  1. Enable macros in word. Usually the macros are blocked by default because of security reasons. If at any stage you get a message that the macro is blocked, enable it.
    For more details you can go to
    http://office.microsoft.com/en-001/word-help/enable-or-disable-macros-in-office-files-HA010354316.aspx
  2. Go to View -> macro -> view Macros by pressing ALT+W followd by m and then enter.
    Use tab to get to Edit button and click it. You should get a new window which is the VBA editor.
  3. NVDA doesn't read the content of this window currectly so don't try using it without help. You need to paste the code I will add below into the editor window and then close the window. The pasted code shold start with Public Sub and end with End Sub.
  4. Now you need to assign a shortcut key to run the code. Go to File -> options then choose Customize Ribbon with CTRL+TAB and click customize button. In the window opened choonse Macros in the first list and RevisionInfrormation in the second list. Use tab to get to the place where you assign a keyboard shortcut. Press the desired shortcut (for example F2) and then use tab to go to the assign button and then to the close butto.
    The macro code is as follows, feel free to adjust it to your needs.
Public Sub RevisionInfrormation()
    Dim r As Range
    Dim s As Range
    Dim rev As Revision
   Dim summary, lines As String
   Dim other As String
    Dim sep As String
    sep = " " & vbNewLine & "--" & vbNewLine

     ' Expand current selection to entire sentence
    Set r = Selection.Range
    r.Expand wdSentence

     If r.Revisions.Count < 1 Then
        MsgBox "No revision selected", , ""
        Exit Sub
     End If

     ' Get all revisions of selected sentence
     For Each rev In r.Revisions
        Select Case rev.Type
        Case wdRevisionDelete
            summary = summary & "Delete: " & rev.Range.text & vbLf
        Case wdRevisionInsert
            summary = summary & "Add: " & rev.Range.text & vbLf
        Case wdRevisionStyle
            other = other & "Style change" & vbLf
        Case wdRevisionProperty
            other = other & "Property change" & rev.FormatDescription & vbLf
        Case wdRevisionParagraphProperty
            other = other & "Paragraph property change" & rev.FormatDescription & vbLf
        Case Else
            other = other & "Op #" & CStr(rev.Type) & vbLf
        End Select
    Next

    ' Add current followed by old
    Set s = r
    ActiveWindow.View.ShowRevisionsAndComments = False
    lines = s.text & sep
    ActiveWindow.View.RevisionsView = wdRevisionsViewOriginal
    lines = lines & s.text & sep
    ActiveWindow.View.RevisionsView = wdRevisionsViewFinal
    ActiveWindow.View.ShowRevisionsAndComments = True

    MsgBox lines & summary & vbCrLf & other, , r.Revisions.Count & " changes"    
End Sub

@nvaccessAuto
Copy link
Author

Comment 8 by Michael Curran <mick@... on 2013-08-04 04:04
In [c0f1c58]:

Initial support for reporting revisions (track changes) in Microsoft Word. Re #1670.

Enable report revisions in document settings dialog, and then NVDa will announce revised deletion, revised insertion etc where ever they appear in text in a Word document. Information such as author and date should be added in future but probably only when movin by character.

@nvaccessAuto
Copy link
Author

Comment 9 by Michael Curran <mick@... on 2013-08-08 05:52
In [138c293]:

Initial support for reporting revisions (track changes) in Microsoft Word. Re #1670.

Enable report revisions in document settings dialog, and then NVDa will announce revised deletion, revised insertion etc where ever they appear in text in a Word document. Information such as author and date should be added in future but probably only when movin by character.

@nvaccessAuto
Copy link
Author

Comment 10 by jteh on 2013-08-08 06:11
Changes:
Milestone changed from None to next
Added labels: incubating

@nvaccessAuto
Copy link
Author

Comment 11 by jteh on 2013-08-10 08:48
This needs a User Guide and What's New update.

@nvaccessAuto
Copy link
Author

Comment 12 by Michael Curran <mick@... on 2013-08-13 04:02
In [aafa61b]:

mention reporting of editor revisions in user guide. Re #1670

@nvaccessAuto
Copy link
Author

Comment 13 by Michael Curran <mick@... on 2013-08-13 04:02
In [138374f]:

Merge branch 't1670' into next. Incubates #1670

@nvaccessAuto
Copy link
Author

Comment 15 by Michael Curran <mick@... on 2013-08-13 23:45
In [4c432e6]:

Merge branch 't1670' into next. Incubates #1670

@nvaccessAuto
Copy link
Author

Comment 16 by Michael Curran <mick@... on 2013-08-16 04:14
In [4186e10]:

Announce author and date of revisions when moving through word documents by character. Re #1670

@nvaccessAuto
Copy link
Author

Comment 17 by Michael Curran <mick@... on 2013-08-16 04:14
In [a9e6fff]:

Merge branch 't1670' into next. Incubates #1670

@nvaccessAuto
Copy link
Author

Comment 19 by Michael Curran <mick@... on 2013-08-20 04:22
In [repository="" revision="58c47e3a17f7eb07da6d2babd5da380b157f1350"
Word document TextInfo: use .item(1) rather than [0](58c47e3a17f7eb07da6d2babd5da380b157f1350]:


@nvaccessAuto
Copy link
Author

Comment 20 by Michael Curran <mick@... on 2013-08-24 22:43
In [047519d]:

Initial support for reporting revisions (track changes) in Microsoft Word. Re #1670.

Enable report revisions in document settings dialog, and then NVDa will announce revised deletion, revised insertion etc where ever they appear in text in a Word document. Information such as author and date should be added in future but probably only when movin by character.

@nvaccessAuto
Copy link
Author

Comment 21 by Michael Curran <mick@... on 2013-08-24 22:43
In [128ea6c]:

mention reporting of editor revisions in user guide. Re #1670

@nvaccessAuto
Copy link
Author

Comment 22 by Michael Curran <mick@... on 2013-08-24 22:43
In [5119a82]:

Announce author and date of revisions when moving through word documents by character. Re #1670

@nvaccessAuto
Copy link
Author

Comment 23 by Michael Curran <mick@... on 2013-08-24 22:43
In [repository="" revision="ade0e156182463c81b431adcff13d155d73e1054"
Word document TextInfo: use .item(1) rather than [0](ade0e15]:


@nvaccessAuto
Copy link
Author

Comment 24 by Michael Curran <mick@... on 2013-08-24 22:43
In [ee96245]:

Merge branch 't1670' into next. Incubates #1670.

t1670 was rebased ontop of master after t2295 was merged into master, in order to stop the endless conflicts.

@nvaccessAuto
Copy link
Author

Comment 26 by Michael Curran <mick@... on 2013-09-12 01:22
In [a02423c]:

Merge branch 't1670' (report track changes in Microsoft Word). Fixes #1670.

Changes:
Removed labels: incubating
State: closed

@nvaccessAuto
Copy link
Author

Comment 27 by mdcurran on 2013-09-12 01:23
Changes:
Milestone changed from next to 2013.3

@nvaccessAuto
Copy link
Author

Comment 28 by nvdakor on 2013-09-13 00:01
Hi,
Could you add translator comments to the newly introduced strings? Thanks.

@nvaccessAuto
Copy link
Author

Comment 29 by Michael Curran <mick@... on 2013-09-15 23:26
In [07826b3]:

added translator comments for MS word revision types. Re #1670

@nvaccessAuto
Copy link
Author

Comment 30 by leonarddr on 2013-09-27 09:58
What are the reconcile and display field revision supposed to do? Translator comments don't give much more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants