@groupdocs/groupdocs.comparison 23.10.0 → 23.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- **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..
1
+ **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.
2
2
 
3
3
  ## Node.js Comparator API Features
4
4
  - Compare and detect differences among similar documents.
@@ -14,24 +14,24 @@
14
14
  - Load specific part or pages of the document.
15
15
  - Hide or show document comments.
16
16
 
17
- ## Supported File Formats
18
- **PDF:** PDF (version 1.3, 1.4, 1.5, 1.6, 1.7)
19
- **Word Processing:** DOC, DOCM, DOCX, DOT, DOTM, DOTX, MD, RTF, TXT
20
- **Spreadsheet:** XLS, XLSX, XLSB, XLTX, XLTM, XLSM, CSV, NUMBERS, ODS
21
- **Presentation:** PPT, PPTX, PPS, PPSX, POTM, POTX, POT, PPSM, PPTM
22
- **OpenOffice:** ODS, ODP, OTP, ODT, OTT,
23
- **Images:** JPG, PNG, SVG, BMP, GIF, AI, DJVU, ICO, TIFF
24
- **CAD:** CF2, DGN, DWFX, DWT
25
- **Compression:** 7Z, GZIP, RAR, ZIP
26
- **Database:** LOG, NSF, SQL
27
- **Diagram:** VDX, VSD, VSDM, VSDX
28
- **eBook:** AZW3, EPUB, MOBI
29
- **Email and Outlook:** EML, EMLX, MSG, PST
30
- **Font:** CFF, EOT, OTF, TTF
31
- **Page Description Language:** CGM, PS, SVG, XPS
32
- **Project Management:** MPP, MPT, XER
33
- **Publisher:** PUB
34
- **Web:** HTML, JSON, VDW, XML
17
+ ## Supported Microsoft Office Formats
18
+
19
+ **Microsoft Word:** DOC, DOCM, DOCX, DOT, DOTM, DOTX, RTX
20
+ **Microsoft Excel:** XLS, XLT, XLSX, XLTM, XLSB, XLSM, XLSX
21
+ **Microsoft PowerPoint:** POT, POTX, PPS, PPSX, PPTX, PPT
22
+ **Microsoft OneNote:** ONE
23
+ **Microsoft Visio:** VSDX, VSD, VSS, VST, VDX
24
+
25
+ ## Other Supported Formats
26
+
27
+ **OpenDocument:** ODT, ODP, OTP, ODS, OTT
28
+ **Portable:** PDF
29
+ **AutoCAD:** DWG, DXF
30
+ **Email:** EML, EMLX, MSG
31
+ **Images:** BMP, GIF, JPG, JPEG, PNG, DICOM
32
+ **Web:** HTM, HTML, MHT, MHTML
33
+ **Text:** TXT, CSV
34
+ **eBook:** MOBI, DJVU
35
35
 
36
36
  ## Getting Started with GroupDocs.Comparison for Node.js via Java
37
37
  ### Installation
@@ -40,29 +40,13 @@ From the command line:
40
40
 
41
41
  npm i @groupdocs/groupdocs.comparison
42
42
 
43
- ### Convert DOCX to HTML using Node.js
44
-
45
- ```js
46
- const comparator = new groupdocs.conversion.Comparator("sample.docx")
47
- const options = new groupdocs.conversion.MarkupConvertOptions()
48
- comparator.compare("ConvertToHtml.html", options);
49
- ```
50
-
51
- ### Convert PDF to DOCX using Node.js
52
-
53
- ```js
54
- const converter = new groupdocs.conversion.Converter("sample.pdf")
55
- const options = new groupdocs.conversion.WordProcessingConvertOptions()
56
- converter.convert("output.docx", options)
57
- ```
58
-
59
- ### Convert Word to Presentation via Node.js
43
+ ### Compare Microsoft Word Documents using Node.js
60
44
 
61
45
  ```js
62
- const converter = new groupdocs.conversion.Converter(inputFilePath)
63
- const options = new groupdocs.conversion.PresentationConvertOptions()
64
- converter.convert("output.pptx", options)
46
+ const comparer = new groupdocs.comparison.Comparer("source_sample.docx")
47
+ comparer.add("target_sample.docx");
48
+ comparer.compare("result.docx");
65
49
  ```
66
50
 
67
51
 
68
- [Home](https://www.groupdocs.com/) | [Product Page](https://products.groupdocs.com/conversion/nodejs-java) | [Documentation](https://docs.groupdocs.com/conversion/nodejs-java/) | [Blog](https://blog.groupdocs.com/category/conversion/) | [API Reference](https://apireference.groupdocs.com/conversion/nodejs-java) | [Code Samples](https://github.com/groupdocs-conversion/GroupDocs.Conversion-for-Node.js-via-Java) | [Free Support](forum.groupdocs.com/c/conversion) | [Temporary License](https://purchase.groupdocs.com/temporary-license)
52
+ [Home](https://www.groupdocs.com/) | [Product Page](https://products.groupdocs.com/comparison/nodejs-java) | [Documentation](https://docs.groupdocs.com/comparison/nodejs-java/) | [Blog](https://blog.groupdocs.com/category/comparison/) | [API Reference](https://apireference.groupdocs.com/comparison/nodejs-java) | [Code Samples](https://github.com/groupdocs-comparison/GroupDocs.Comparison-for-Node.js-via-Java) | [Free Support](forum.groupdocs.com/c/comparison) | [Temporary License](https://purchase.groupdocs.com/temporary-license)
package/index.js CHANGED
@@ -11,8 +11,8 @@ const path = require('path');
11
11
  }
12
12
  }
13
13
 
14
- if (!checkFileExists(path.join(__dirname, 'lib/groupdocs-comparison-23.10.jar'))) {
15
- console.warn('\x1b[33m%s\x1b[0m', `File groupdocs-comparison-23.10.jar not found in the lib directory.\nPlease navigate to the package directory:`);
14
+ if (!checkFileExists(path.join(__dirname, 'lib/groupdocs-comparison-nodejs-23.10.jar'))) {
15
+ console.warn('\x1b[33m%s\x1b[0m', `File groupdocs-comparison-nodejs-23.10.jar not found in the lib directory.\nPlease navigate to the package directory:`);
16
16
  console.log('\n cd node_modules/@groupdocs/groupdocs.comparison\n');
17
17
  console.warn('\x1b[33m%s\x1b[0m', `Then download the JAR file using the command:`);
18
18
  console.log('\n npm run postinstall\n');
@@ -11,7 +11,7 @@ java.asyncOptions = {
11
11
  syncSuffix: '',
12
12
  }
13
13
 
14
- java.classpath.push(path.join(__dirname, '/groupdocs-comparison-23.10.jar'))
14
+ java.classpath.push(path.join(__dirname, '/groupdocs-comparison-nodejs-23.10.jar'))
15
15
 
16
16
  exports = module.exports
17
17
 
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@groupdocs/groupdocs.comparison",
3
- "version": "23.10.0",
3
+ "version": "23.12.0",
4
4
  "description": "Powerful comparison tool for PDF, Word, Excel, PowerPoint and image files.",
5
5
  "scripts": {
6
- "postinstall": "curl -H 'Cache-Control:no-cache' https://releases.groupdocs.com/java/repo/com/groupdocs/groupdocs-comparison/23.10/groupdocs-comparison-23.10.jar > lib/groupdocs-comparison-23.10.jar"
6
+ "postinstall": "curl -H 'Cache-Control:no-cache' https://releases.groupdocs.com/java/repo/com/groupdocs/groupdocs-comparison-nodejs/23.10/groupdocs-comparison-nodejs-23.10.jar > lib/groupdocs-comparison-nodejs-23.10.jar"
7
7
  },
8
8
  "main": "index.js",
9
9
  "keywords": [