Empower your Java applications with images and documents comparison features using GroupDocs.Comparison for Java API. It helps you identify the differences within paragraphs, words, characters, shapes, even the text styles of the compared documents of same format, allows merging the changes and export to a final document. It supports comparing and merging a wide range of documents including PDF, Word, Excel worksheets, PowerPoint presentations, Visio diagrams, Outlook emails, HTML, drawings and image file formats without using any external library.
GroupDocs.Comparison makes it easy for Java developers to compare DOT files within their applications using a few lines of code.
GroupDocs.Comparison for Java APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.
// Compare documents from local file
try (Comparer comparer = new Comparer("C:\\source.dot")) {
comparer.add("C:\\target.dot");
comparer.compare("C:\\result.dot"); // Create result file with the specified name
}
// Compare documents from stream
try (Comparer comparer = new Comparer(new FileInputStream("C:\\source.dot"))) {
comparer.add(new FileInputStream("C:\\target.dot"));
comparer.compare(new FileOutputStream("C:\\result.dot")); // Create result file with the specified name
}
Compare DOT files right now by visiting GroupDocs.Comparison Live Demos website.
The live demo has the following benefits
No need to download API
No need to write any code
Just upload the source file
Get download link to save the file
Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. A template file is created in order to have specific user settings that should be applied to subsequent files created from these. These settings include page margins, borders, headers, footers, and other page settings. Such templates are used in official documents such as company letterheads and standardized forms. The DOT file format is specific to Microsoft Word 2003 and earlier, but is supported by higher versions as well. Microsoft Word by default opens every new document based on normal.dot file. If modified, all the new files created will result in same settings as from the template file. In Microsoft Word 2007, the DOT file format has been replaced with Office OpenXML based DOTX file format.
Read More About DOT File FormatMulti format images & documents comparison API for Java. Compare some of the popular file formats below without any external software.
(Adobe Portable Document Format)
(Microsoft Word Document)
(Microsoft Word Macro-Enabled Document)
(Microsoft Word Open XML Document)
(Microsoft Word Document Template)
(Microsoft Word Macro-Enabled Template)
(Word Open XML Document Template)
(Rich Text File Format)
(Plain Text File Format)
(Microsoft Excel Binary File Format)
(Microsoft Excel Open XML Spreadsheet)
(Microsoft Excel macro-enabled template)
(Microsoft Excel Macro-Enabled Spreadsheet)
(Microsoft Excel Binary Spreadsheet File)
(Comma Separated Values File)
(PowerPoint Presentation)
(Microsoft PowerPoint Slide Show)
(PowerPoint Open XML Presentation)
(PowerPoint Open XML Slide Show)
(Microsoft PowerPoint template)
(Microsoft PowerPoint Open XML Template)
(Open Document Spreadsheet)
(OpenDocument Presentation File Format)
(Origin Graph Template)
(Open Document Text)
(Open Document Template)
(Microsoft Visio 2003-2010 XML Drawing)
(JPEG Image)
(Portable Network Graphic)
(Graphical Interchange Format File)
(Bitmap File Format)
(Hyper Text Markup Language)
(Mime HTML)
(MIME Encapsulation of Aggregate HTML)
(Microsoft Outlook E-mail Message)
(E-mail Message)
(Apple Mail E-mail File)
(Microsoft OneNote)
(Microsoft Visio 2003-2010 Drawing)
(Microsoft Visio Drawing)
(Microsoft Visio 2003-2010 Stencil)
(Microsoft Visio 2003-2010 Template)
(Microsoft Visio 2003-2010 XML Drawing)
(CSharp Language)
(Java Language)
(C++ Language)
(JavaScript Language)
(Python Language)
(Ruby Language)