It also shows the file pairs that are either similar or different. Furthermore, it compares the two folders side-by-side, while displaying which files are only present in a single file or in the other. It enables the files to merge automatically whenever possible, and also allows complete control on the editing of the file generated. Similarly, it also shows the modifications (merging) between three files, graphically. Also, it features options like intra-line highlighting and complete support for editing. Moreover, it graphically represents the modifications between the two files. The application visually compares files and even merges them on major platforms like Windows, Mac, and Linux. Those looking for a file comparison tool would find DiffMerge much helpful due to its powerful features. From options to customize keyboard shortcuts, getting file backups, or personalizing the UI fonts and colors to supporting multiple languages, there’s a lot that it’s capable of. It gets downloaded quickly and is pretty easy with no complications involved. It lets you compare two files (text or binary) to check if any of them is a duplicate. Despite being free, it’s an advanced and responsive file comparison tool for Windows.
Aspose.Words provides the Target property that serves this purpose.AptDiff is a freeware that’s now discontinued, but still available to download through some third-party websites. For example, the “Compare documents dialogue box” in Microsoft Word has the option “Show changes in” – this also affects the comparison results.
In addition, Aspose.Words provides the Granularity property with which you can specify whether to track changes by character or by word.Īnother common property is a choice in which document to show comparison changes. You can select the appropriate property for the object type, such as IgnoreHeadersAndFooters, IgnoreFormatting, IgnoreComments, and others by setting them to “true”. There are many different properties of the CompareOptions class which you can apply when you want to compare documents.įor example, Aspose.Words allows you to ignore changes made during a comparison operation for certain types of objects within the original document.
The following code example shows how to simply apply the Compare method to two documents: Specify Advanced Comparison Options The following code example shows how to check if two documents are equal or not: So documents can have a different set of styles, and the Compare method still produces no revisions. For example, Microsoft Word supports only format revisions for styles, and you cannot represent style insertion/deletion. But there can be other differences between documents. This means that both document text and text formatting are the same. The term “equal” documents mean that the comparison method is not able to represent changes as revisions. It allows you to check documents or document versions to find differences and changes, including formatting modifications such as font changes, spacing changes, the addition of words and paragraphs.Īs a result of the comparison, documents can be determined as equal or not equal. When you modify a document, each edit will have its own revision after running the compare method.Īspose.Words allows you to identify documents differences using the Compare method – this is similar to the Microsoft Word document compare feature. When you compare documents, differences of the latter document from the former show up as revisions to the former.
Basically, you can compare document objects and even you can create those objects from scratch without having any specific format. Note that you can compare any two documents within the supported file formats. This article explains how to compare documents and how to specify advanced comparing properties. Instead of manually searching for differences between documents or between different versions of them, you can use Aspose.Words for comparing documents and getting content changes in formatting, header/footer, tables, and more.
This process of comparison is a usual task in the legal and financial industries. If a word contains a change of at least one character, in the result, the difference will be displayed as a change of the entire word, not a character. The comparison method is achieved by comparing words at the character level or at the word level. This process compares any two documents, including versions of one specific document, then the changes between both documents will be shown as revisions in the first document. Comparing documents is a process that identifies changes between two documents and contains the changes as revisions.