Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Can RTC compare *.docx file using word compare?

I can compare *.doc file as word compare, but when compare *.docx, the compare tool show as binary compare, it is not readable. 
Anyone know could RTC compare *.docx file using word compare?

0 votes



5 answers

Permanent link
Hi Jia,
It seems to be available since Eclipse 3.7 and 4.2: This is Eclipse defect implementing this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=343241

Let us know if it helps you.

2 votes


Permanent link
I am not aware of any automation that would do this. As far as I can tell these files are treated with binaries. You should lock the file on the stream if you want to edit it. That is the model my team uses.
If you find an external compare tool that you can use with RTC you might have a chance.

1 vote


Permanent link
When you say "RTC compare", which RTC client are you referring to?
If you are referring to the Eclipse client, this is actually an Eclipse question, rather than an RTC question (RTC by default invokes whatever is declared for the Eclipse compare machinery).
To see what file types will invoke the Eclipse word compare machinery, go to your General->Content_Types preference page, and see what file types are under "Word Document".   In my Eclipse 4.2 client, I see both "*.doc" and "*.docx", and files of either type compare properly for me (i.e. use the Word compare machinery) when I invoke the RTC "compare" operation on two different versions.

0 votes


Permanent link
 We use Eclipse 3.6 and face the same problem when diff'ing docx files. Hex dump is presented in Eclipse. We use instead the RTC 4.0.7 Windows Explorer Shell Integration and configure BeyondCompare to handle the diff. Beyond Compare extracts text from word documents and presents a diff window in for the text.

0 votes


Permanent link
 On Eclipse 3.6, you can add the .docx content type manually to the Word Document type that Geoff indicated above (i.e. duplicate the way Eclipse 4.2 is configured out of the box).

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 35
× 21
× 1

Question asked: Jul 09 '13, 7:38 a.m.

Question was seen: 9,651 times

Last updated: Jan 19 '15, 12:53 p.m.

Confirmation Cancel Confirm