Comparing Word Documents
You can use DiffDog Server to compare Microsoft Word 2003 or later documents (.docx, .dotx). Microsoft Word is not required to be installed in order to perform such comparisons.
To compare Word documents, invoke the diff command similar to how this is done for plain or XML text files, for example:
<exec> diff "C:\Reports.docx" "C:\ReportsWithFeedback.docx" --mode=doc
As best practice, set the --mode=doc option in order to instruct DiffDog Server to treat the compared files as Word documents.
When comparing Word documents, you can choose whether formatting information such as bold, italic, font size and color should be ignored or taken into account. The diff command provides the following options for that purpose:
When set to true, any of the options above will take into account text with the respective formatting.
In addition, you can set the following options when comparing Word documents:
For Word documents, the comparison outcome is reported by the exit status code, like with other comparison kinds. In addition, if differences exist, a detailed XML report is available. For more information, see Viewing Comparison Results.
|Note:||Along with .docx files created in MS Office, .docx files generated in Text Control are now also fully compatible with DiffDog Server.|