[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Patch] Diff for MS Word 2010 docx documents

From: Stephan Walter <stephan_at_walter.name>
Date: Fri, 13 May 2011 09:14:14 +0200

Hi,

(reposting as a new thread as the first message seems to have been lost
in an old thread)

There is a problem with the diff script for docx files. Depending of how
Office was installed, diffing docx files will not work. There was a
thread on the user mailing list and also on the devel mailing list:

On 24.01.2011 21:25, Stefan K√ľng wrote:
> Simon, can you please add a note about this to the docs?
>
> Stefan
>
>
> Den 24-01-2011 14:08, Martin Heller skrev:
>
>> Is this a known problem with Office 2010?
>
> I think it is.
>
> MS Office 2010 were installed using "Click-to-Run for Office 2010".
>
> Other users have reported similar problems
> <URL:http://social.msdn.microsoft.com/Forums/eu/worddev/thread/e051e92f-5f33-4741-804a-78ceca4cd41e>
>
> Following<URL:http://support.microsoft.com/kb/982434/en-us> I have now
> downloaded and installed the MSI-based Office 2010. The Diff function is
> working with this installation of Word 2010.
>
> If the above is correct, I think it would be helpful to add a note about
> this to the manual in section "4.10. Viewing Differences".

I have the problem with diffing Word 2010 documents on my system where I
cannot re-install Office (deployed by employer).

I found a fix for diff-docx.js (see attached patch). The trick is to
call word.Documents.Add() to open an empty document before calling
word.Documents.Open().

Regards,
Stephan Walter

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2735275

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2011-05-13 09:45:40 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.