Compare documents

Note: this option is available in the paid online version only starting from Document Server v. 5.5.

If you need to compare and merge two documents, you can use the document Compare feature. It allows to display the differences between two documents and merge the documents by accepting the changes one by one or all at once.

After comparing and merging two documents, the result will be stored on the portal as a new version of the original file.

If you do not need to merge documents which are being compared, you can reject all the changes so that the original document remains unchanged.

Choose a document for comparison

To compare two documents, open the original document that you need to compare and select the second document for comparison:

  1. switch to the Collaboration tab at the top toolbar and press the Compare button Compare button,
  2. select one of the following options to load the document:
    • the Document from File option will open the standard dialog window for file selection. Browse your computer hard disk drive for the necessary .docx file and click the Open button.
    • the Document from URL option will open the window where you can enter a link to the file stored in a third-party web storage (for example, Nextcloud) if you have corresponding access rights to it. The link must be a direct link for downloading the file. When the link is specified, click the OK button.

      Note: The direct link allows to download the file directly without opening it in a web browser. For example, to get a direct link in Nextcloud, find the necessary document in the file list, select the Details option from the file menu. Click the Copy direct link (only works for users who have access to this file/folder) icon to the right of the file name at the details panel. To find out how to get a direct link for downloading the file in a different third-party web storage, please refer to the corresponding third-party service documentation.

    • the Document from Storage option will open the Select Data Source window. It displays the list of all the .docx documents stored on your portal you have corresponding access rights to. To navigate between the Documents module sections use the menu in the left part of the window. Select the necessary .docx document and click the OK button.

When the second document for comparison is selected, the comparison process will start and the document will look as if it was opened in the Review mode. All the changes are highlighted with a color, and you can view the changes, navigate between them, accept or reject them one by one or all the changes at once. It's also possible to change the display mode and see how the document looks before comparison, in the process of comparison, or how it will look after comparison if you accept all changes.

Choose the changes display mode

Click the Display Mode button Display Mode button at the top toolbar and select one of the available modes from the list:

Accept or reject changes

Use the To Previous Change button Previous and the To Next Change button Next buttons at the top toolbar to navigate among the changes.

To accept the currently selected change you can:

To quickly accept all the changes, click the downward arrow below the Accept button Accept button and select the Accept All Changes option.

To reject the current change you can:

To quickly reject all the changes, click the downward arrow below the Reject button Reject button and select the Reject All Changes option.

Additional info on the comparison feature

Method of the comparison

Documents are compared by words. If a word contains a change of at least one character (e.g. if a character was removed or replaced), in the result, the difference will be displayed as the change of the entire word, not the character.

The image below illustrates the case when the original file contains the word 'Characters' and the document for comparison contains the word 'Character'.

Compare documents - method

Authorship of the document

When the comparison process is launched, the second document for comparison is being loaded and compared to the current one.

If the authors of the original and loaded documents are the same person, the reviewer is the same user. His/her name is displayed in the change balloon.

If the authors of two files are different users, then the author of the second file loaded for comparison is the author of the added/removed changes.

Presence of the tracked changes in the compared document

If the original document contains some changes made in the review mode, they will be accepted in the comparison process. When you choose the second file for comparison, you'll see the corresponding warning message.

In this case, when you choose the Original display mode, the document will not contain any changes.