95 lines
10 KiB
HTML
95 lines
10 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Comparing documents</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="description" content="Instructions on how to compare and merge two documents" />
|
|
<link type="text/css" rel="stylesheet" href="../editor.css" />
|
|
<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
|
|
<script type="text/javascript" src="../callback.js"></script>
|
|
<script type="text/javascript" src="../search/js/page-search.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="mainpart">
|
|
<div class="search-field">
|
|
<input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
|
|
</div>
|
|
<h1>Comparing documents</h1>
|
|
<p>The <a href="https://www.onlyoffice.com/en/document-editor.aspx" target="_blank" onclick="onhyperlinkclick(this)"><b>Document Editor</b></a> allows you to maintain constant team-wide approach to work flow: <a href="https://helpcenter.onlyoffice.com/userguides/groups-guides-documents-share-documents.aspx">share</a> files and folders, <a href="../HelpfulHints/CollaborativeEditing.htm" onclick="onhyperlinkclick(this)">collaborate</a> on documents in real time, <a href="../HelpfulHints/Communicating.htm" onclick="onhyperlinkclick(this)">communicate</a> right in the editor, <a href="../HelpfulHints/Commenting.htm" onclick="onhyperlinkclick(this)">comment</a> certain parts of your documents that require additional third-party input, save <a href="../HelpfulHints/VersionHistory.htm" onclick="onhyperlinkclick(this)">document versions</a> for future use, <a href="../HelpfulHints/Review.htm" onclick="onhyperlinkclick(this)">review</a> documents and add your changes without actually editing the file.</p>
|
|
<p>If you need to compare and merge two documents, the <a href="https://www.onlyoffice.com/en/document-editor.aspx" target="_blank" onclick="onhyperlinkclick(this)"><b>Document Editor</b></a> provides you with the document <b>Compare</b> feature. It allows displaying the differences between two documents and merge the documents by accepting the changes one by one or all at once.</p>
|
|
<p>After comparing and merging two documents, the result will be stored on the portal as a new version of the original file<!-- (in the <em>online version</em> of editors)-->. <!--In the desktop version, when you click the <b>Save</b> button, the dialog window will appear where you will be suggested to save a new file.--></p>
|
|
<p>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.</p>
|
|
|
|
<h3 id="choosedocument">Choose a document for comparison</h3>
|
|
<p>To compare two documents, open the original document that you need to compare and select the second document for comparison:</p>
|
|
<ol>
|
|
<li>switch to the <b>Collaboration</b> tab on the top toolbar and press the <div class = "icon icon-comparebutton"></div> <b>Compare</b> button,</li>
|
|
<li>
|
|
select one of the following options to load the document:
|
|
<ul>
|
|
<li>the <b>Document from File</b> option will open the standard dialog window for file selection. Browse your computer hard disk drive for the necessary <em>.docx</em> file and click the <b>Open</b> button.</li>
|
|
<li>
|
|
the <b>Document from URL</b> 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 <b>direct link for downloading the file</b>. When the link is specified, click the <b>OK</b> button.
|
|
<p class="note"><b>Note</b>: The direct link allows downloading 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 <b>Details</b> option from the file menu. Click the <b>Copy direct link (only works for users who have access to this file/folder)</b> icon on the right of the file name on 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.</p>
|
|
</li>
|
|
<li class="onlineDocumentFeatures"> the <b>Document from Storage</b> option <!--(available in the <em>online version</em> only)--> will open the <b>Select Data Source</b> window. It displays the list of all the <em>.docx</em> documents stored on your portal you have corresponding access rights to. To navigate through the sections of the <b>Documents</b> module, use the menu on the left part of the window. Select the necessary <em>.docx</em> document and click the <b>OK</b> button.</li>
|
|
</ul>
|
|
</li>
|
|
</ol>
|
|
<p>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 <b>Review</b> 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.</p>
|
|
|
|
<h3 id="displaymode">Choose the changes display mode</h3>
|
|
<p>Click the <span class = "icon icon-review_displaymode"></span> <b>Display Mode</b> button on the top toolbar and select one of the available modes from the list:</p>
|
|
<ul>
|
|
<li>
|
|
<b>Markup</b> - this option is selected by default. It is used to display the document <b>in the process of comparison</b>. This mode allows both viewing the changes and editing the document.
|
|
<p><img alt="Compare documents - Markup" src="../images/compare_markup.png" /></p>
|
|
</li>
|
|
<li>
|
|
<b>Final</b> - this mode is used to display the document <b>after comparison</b> as if all the changes were accepted. This option does not actually accept all changes, it only allows you to see how the document will look like after you accept all the changes. In this mode, you cannot edit the document.
|
|
<p><img alt="Compare documents - Final" src="../images/compare_final.png" /></p>
|
|
</li>
|
|
<li>
|
|
<b>Original</b> - this mode is used to display the document <b>before comparison</b> as if all the changes were rejected. This option does not actually reject all changes, it only allows you to view the document without changes. In this mode, you cannot edit the document.
|
|
<p><img alt="Compare documents - Original" src="../images/compare_original.png" /></p>
|
|
</li>
|
|
</ul>
|
|
|
|
<h3 id="managechanges">Accept or reject changes</h3>
|
|
<p>Use the <span class = "icon icon-review_previous"></span> <b>Previous</b> and the <span class = "icon icon-review_next"></span> <b>Next</b> buttons on the top toolbar to navigate through the changes.</p>
|
|
<p>To accept the currently selected change, you can:</p>
|
|
<ul>
|
|
<li>click the <div class = "icon icon-review_accepttoptoolbar"></div> <b>Accept</b> button on the top toolbar, or</li>
|
|
<li>click the downward arrow below the <b>Accept</b> button and select the <b>Accept Current Change</b> option (in this case, the change will be accepted and you will proceed to the next change), or</li>
|
|
<li>click the <b>Accept</b> <div class = "icon icon-review_accept"></div> button of the change pop-up window.</li>
|
|
</ul>
|
|
<p>To quickly accept all the changes, click the downward arrow below the <span class = "icon icon-review_accepttoptoolbar"></span> <b>Accept</b> button and select the <b>Accept All Changes</b> option.</p>
|
|
<p>To reject the current change you can:</p>
|
|
<ul>
|
|
<li>click the <div class = "icon icon-review_rejecttoptoolbar"></div> <b>Reject</b> button on the top toolbar, or</li>
|
|
<li>click the downward arrow below the <b>Reject</b> button and select the <b>Reject Current Change</b> option (in this case, the change will be rejected and you will move on to the next available change), or</li>
|
|
<li>click the <b>Reject</b> <div class = "icon icon-review_reject"></div> button of the change pop-up window.</li>
|
|
</ul>
|
|
<p>To quickly reject all the changes, click the downward arrow below the <span class = "icon icon-review_rejecttoptoolbar"></span> <b>Reject</b> button and select the <b>Reject All Changes</b> option.</p>
|
|
|
|
<h3 id="comparisonnotes">Additional info on the comparison feature</h3>
|
|
<h5>Method of comparison</h5>
|
|
<p>Documents are compared <b>by words</b>. 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.</p>
|
|
<p>The image below illustrates the case when the original file contains the word 'Characters' and the document for comparison contains the word 'Character'.</p>
|
|
<p><img alt="Compare documents - method" src="../images/compare_method.png" /></p>
|
|
|
|
<h5>Authorship of the document</h5>
|
|
<p>When the comparison process is launched, the second document for comparison is being loaded and compared to the current one.</p>
|
|
<ul>
|
|
<li>If the loaded document contains some data which is not represented in the original document, the data will be marked as added by a reviewer.</li>
|
|
<li>If the original document contains some data which is not represented in the loaded document, the data will be marked as deleted by a reviewer.</li>
|
|
</ul>
|
|
<p>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.</p>
|
|
<p>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.</p>
|
|
|
|
<h5>Presence of the tracked changes in the compared document</h5>
|
|
<p>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.</p>
|
|
<p>In this case, when you choose the <b>Original</b> display mode, the document will not contain any changes.</p>
|
|
</div>
|
|
</body>
|
|
</html> |