@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 +24 -40
- package/index.js +2 -2
- package/lib/groupdocs.comparison.js +1 -1
- package/package.json +2 -2
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
|
|
18
|
-
|
|
19
|
-
**Word
|
|
20
|
-
**
|
|
21
|
-
**
|
|
22
|
-
**
|
|
23
|
-
**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
**
|
|
28
|
-
**
|
|
29
|
-
**
|
|
30
|
-
**
|
|
31
|
-
**
|
|
32
|
-
**
|
|
33
|
-
**
|
|
34
|
-
**
|
|
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
|
-
###
|
|
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
|
|
63
|
-
|
|
64
|
-
|
|
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/
|
|
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');
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@groupdocs/groupdocs.comparison",
|
|
3
|
-
"version": "23.
|
|
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": [
|