NVDA will not work with track changes. #1670

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

2 participants

@nvaccessAuto

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

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

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

@nvaccessAuto

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

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

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

Comment 8 by Michael Curran <mick@... on 2013-08-04 04:04
In [c0f1c58]:
```CommitTicketReference repository="" revision="c0f1c58b6b455ce805dfa9fbdee7074ebad0ed7e"
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

Comment 9 by Michael Curran <mick@... on 2013-08-08 05:52
In [138c293]:
```CommitTicketReference repository="" revision="138c2937b2c789bcb287699f5a2152ea0c817e5c"
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

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

@nvaccessAuto

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

@nvaccessAuto

Comment 12 by Michael Curran <mick@... on 2013-08-13 04:02
In [aafa61b]:
```CommitTicketReference repository="" revision="aafa61beaf6133b386d13dbcb33c681c4c3b8086"
mention reporting of editor revisions in user guide. Re #1670

@nvaccessAuto

Comment 13 by Michael Curran <mick@... on 2013-08-13 04:02
In [138374f]:
```CommitTicketReference repository="" revision="138374f3aa6317048308ef4a415ab2d493d24e8c"
Merge branch 't1670' into next. Incubates #1670

@nvaccessAuto

Comment 15 by Michael Curran <mick@... on 2013-08-13 23:45
In [4c432e6]:
```CommitTicketReference repository="" revision="4c432e6e516f69b4b108cb46ab2cbba1092bb03c"
Merge branch 't1670' into next. Incubates #1670

@nvaccessAuto

Comment 16 by Michael Curran <mick@... on 2013-08-16 04:14
In [4186e10]:
```CommitTicketReference repository="" revision="4186e10c89a760ff43d69070029db723066e1a26"
Announce author and date of revisions when moving through word documents by character. Re #1670

@nvaccessAuto

Comment 17 by Michael Curran <mick@... on 2013-08-16 04:14
In [a9e6fff]:
```CommitTicketReference repository="" revision="a9e6fff151e694c301bd1c2e2bd855c54d24a1a0"
Merge branch 't1670' into next. Incubates #1670

@nvaccessAuto

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 when looking up the first revision on a winword range object. 0 is technically more correct than 0 for MS word, but it seems that there are some circomstances where 0 does not work at all. Re #1670 Re #3448

@nvaccessAuto

Comment 20 by Michael Curran <mick@... on 2013-08-24 22:43
In [047519d]:
```CommitTicketReference repository="" revision="047519d6bc0529ef652e6c629bac9aeb8031ac4b"
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

Comment 21 by Michael Curran <mick@... on 2013-08-24 22:43
In [128ea6c]:
```CommitTicketReference repository="" revision="128ea6c8986c22155137e5bb57249d93bfaeb246"
mention reporting of editor revisions in user guide. Re #1670

@nvaccessAuto

Comment 22 by Michael Curran <mick@... on 2013-08-24 22:43
In [5119a82]:
```CommitTicketReference repository="" revision="5119a8239dd516ec8a8b618c0d3b690b0d1b6157"
Announce author and date of revisions when moving through word documents by character. Re #1670

@nvaccessAuto

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 when looking up the first revision on a winword range object. 0 is technically more correct than 0 for MS word, but it seems that there are some circomstances where 0 does not work at all. Re #1670 Re #3448

@nvaccessAuto

Comment 24 by Michael Curran <mick@... on 2013-08-24 22:43
In [ee96245]:
```CommitTicketReference repository="" revision="ee96245e34c3ad95bc0cd34d0aafdf11eebbec75"
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

Comment 26 by Michael Curran <mick@... on 2013-09-12 01:22
In [a02423c]:
```CommitTicketReference repository="" revision="a02423c28d706eba4e4015d95aaa32b9f5416f52"
Merge branch 't1670' (report track changes in Microsoft Word). Fixes #1670.

Changes:
Removed labels: incubating
State: closed
@nvaccessAuto

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

@nvaccessAuto

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

@nvaccessAuto

Comment 29 by Michael Curran <mick@... on 2013-09-15 23:26
In [07826b3]:
```CommitTicketReference repository="" revision="07826b32b69eda0641183230f2b9c04dd7dfcc2b"
added translator comments for MS word revision types. Re #1670

@nvaccessAuto

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.

@nvaccessAuto nvaccessAuto added this to the 2013.3 milestone Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment