Package Exports
- @groupdocs/groupdocs.comparison
- @groupdocs/groupdocs.comparison/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@groupdocs/groupdocs.comparison) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
GroupDocs.Comparison for Node.js via Java is a powerful API to compare over 50 types of documents and images, including all Microsoft Office and OpenDocument file formats, PDF documents, raster images (TIFF, JPEG, GIF, PNG, BMP). Retrieve the list of changes in the desired format with a line-by-line comparison of content, paragraphs, characters, styles, shapes, and position.
Node.js Comparator API Features
- Compare and detect differences among similar documents.
- Support for 55+ popular document formats from various categories.
- Visual separation of detected changes with the ability to accept or reject modifications.
- Generate document preview.
- Compare paragraph, word as well as characters.
- Identify content styling and formatting changes.
- Set metadata from the source, target files or keep it user-defined.
- Make the resultant document password protected.
- Load source document with extended options;
- Specify password for password-protected documents.
- Load specific part or pages of the document.
- Hide or show document comments.
Supported Microsoft Office Formats
Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX, RTX Microsoft Excel: XLS, XLT, XLSX, XLTM, XLSB, XLSM, XLSX Microsoft PowerPoint: POT, POTX, PPS, PPSX, PPTX, PPT Microsoft OneNote: ONE Microsoft Visio: VSDX, VSD, VSS, VST, VDX
Other Supported Formats
OpenDocument: ODT, ODP, OTP, ODS, OTT Portable: PDF AutoCAD: DWG, DXF Email: EML, EMLX, MSG Images: BMP, GIF, JPG, JPEG, PNG, DICOM Web: HTM, HTML, MHT, MHTML Text: TXT, CSV eBook: MOBI, DJVU
Getting Started with GroupDocs.Comparison for Node.js via Java
Installation
From the command line:
npm i @groupdocs/groupdocs.comparisonCompare Microsoft Word Documents using Node.js
const comparer = new groupdocs.comparison.Comparer("source_sample.docx")
comparer.add("target_sample.docx");
comparer.compare("result.docx");Home | Product Page | Documentation | Blog | API Reference | Code Samples | Free Support | Temporary License