@groupdocs/groupdocs.editor 24.6.1 → 24.10.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/index.js +2 -2
- package/lib/groupdocs.editor.js +29 -8
- package/package.json +57 -12
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-editor-nodejs-24.
|
|
15
|
-
console.warn('\x1b[33m%s\x1b[0m', `File groupdocs-editor-nodejs-24.
|
|
14
|
+
if (!checkFileExists(path.join(__dirname, 'lib/groupdocs-editor-nodejs-24.9.jar'))) {
|
|
15
|
+
console.warn('\x1b[33m%s\x1b[0m', `File groupdocs-editor-nodejs-24.9.jar not found in the lib directory.\nPlease navigate to the package directory:`);
|
|
16
16
|
console.log('\n cd node_modules/@groupdocs/groupdocs.editor\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/lib/groupdocs.editor.js
CHANGED
|
@@ -11,7 +11,7 @@ java.asyncOptions = {
|
|
|
11
11
|
syncSuffix: '',
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
java.classpath.push(path.join(__dirname, '/groupdocs-editor-nodejs-24.
|
|
14
|
+
java.classpath.push(path.join(__dirname, '/groupdocs-editor-nodejs-24.9.jar'))
|
|
15
15
|
|
|
16
16
|
exports = module.exports
|
|
17
17
|
|
|
@@ -96,6 +96,15 @@ exports.TextTrailingSpacesOptions = {
|
|
|
96
96
|
Preserve : 1,
|
|
97
97
|
Trim : 0,
|
|
98
98
|
},
|
|
99
|
+
exports.FormFieldType = {
|
|
100
|
+
CheckBox : 5,
|
|
101
|
+
CurrentDate : 3,
|
|
102
|
+
CurrentTime : 4,
|
|
103
|
+
Date : 2,
|
|
104
|
+
DropDown : 6,
|
|
105
|
+
Number : 1,
|
|
106
|
+
Text : 0,
|
|
107
|
+
},
|
|
99
108
|
|
|
100
109
|
exports.EditableDocument = java.import("com.groupdocs.editor.EditableDocument");
|
|
101
110
|
exports.Editor = java.import("com.groupdocs.editor.Editor");
|
|
@@ -104,17 +113,11 @@ exports.IncorrectPasswordException = java.import("com.groupdocs.editor.Incorrect
|
|
|
104
113
|
exports.InvalidFormatException = java.import("com.groupdocs.editor.InvalidFormatException");
|
|
105
114
|
exports.PasswordRequiredException = java.import("com.groupdocs.editor.PasswordRequiredException");
|
|
106
115
|
exports.StreamBuffer = java.import("com.groupdocs.editor.StreamBuffer");
|
|
116
|
+
exports.ArchiveSecurityException = java.import("com.groupdocs.editor.exception.ArchiveSecurityException");
|
|
107
117
|
exports.ArgumentNullException = java.import("com.groupdocs.editor.exception.ArgumentNullException");
|
|
108
118
|
exports.GroupDocsException = java.import("com.groupdocs.editor.exception.GroupDocsException");
|
|
109
119
|
exports.InvalidOperationException = java.import("com.groupdocs.editor.exception.InvalidOperationException");
|
|
110
120
|
exports.LicenseException = java.import("com.groupdocs.editor.exception.LicenseException");
|
|
111
|
-
exports.EBookFormats = java.import("com.groupdocs.editor.formats.EBookFormats");
|
|
112
|
-
exports.EmailFormats = java.import("com.groupdocs.editor.formats.EmailFormats");
|
|
113
|
-
exports.FixedLayoutFormats = java.import("com.groupdocs.editor.formats.FixedLayoutFormats");
|
|
114
|
-
exports.PresentationFormats = java.import("com.groupdocs.editor.formats.PresentationFormats");
|
|
115
|
-
exports.SpreadsheetFormats = java.import("com.groupdocs.editor.formats.SpreadsheetFormats");
|
|
116
|
-
exports.TextualFormats = java.import("com.groupdocs.editor.formats.TextualFormats");
|
|
117
|
-
exports.WordProcessingFormats = java.import("com.groupdocs.editor.formats.WordProcessingFormats");
|
|
118
121
|
exports.Event = java.import("com.groupdocs.editor.handler.Event");
|
|
119
122
|
exports.EventArgs = java.import("com.groupdocs.editor.handler.EventArgs");
|
|
120
123
|
exports.ArgbColor = java.import("com.groupdocs.editor.htmlcss.css.datatypes.ArgbColor");
|
|
@@ -220,7 +223,24 @@ exports.WorksheetProtection = java.import("com.groupdocs.editor.options.Workshee
|
|
|
220
223
|
exports.XmlEditOptions = java.import("com.groupdocs.editor.options.XmlEditOptions");
|
|
221
224
|
exports.XpsSaveOptions = java.import("com.groupdocs.editor.options.XpsSaveOptions");
|
|
222
225
|
exports.CultureInfo = java.import("com.groupdocs.editor.utils.CultureInfo");
|
|
226
|
+
exports.CheckBoxForm = java.import("com.groupdocs.editor.words.fieldmanagement.CheckBoxForm");
|
|
227
|
+
exports.CurrentDateFormField = java.import("com.groupdocs.editor.words.fieldmanagement.CurrentDateFormField");
|
|
228
|
+
exports.CurrentTimeFormField = java.import("com.groupdocs.editor.words.fieldmanagement.CurrentTimeFormField");
|
|
229
|
+
exports.DateFormField = java.import("com.groupdocs.editor.words.fieldmanagement.DateFormField");
|
|
230
|
+
exports.DropDownFormField = java.import("com.groupdocs.editor.words.fieldmanagement.DropDownFormField");
|
|
231
|
+
exports.FormFieldCollection = java.import("com.groupdocs.editor.words.fieldmanagement.FormFieldCollection");
|
|
232
|
+
exports.HelpText = java.import("com.groupdocs.editor.words.fieldmanagement.HelpText");
|
|
233
|
+
exports.InvalidFormField = java.import("com.groupdocs.editor.words.fieldmanagement.InvalidFormField");
|
|
234
|
+
exports.NumberFormField = java.import("com.groupdocs.editor.words.fieldmanagement.NumberFormField");
|
|
235
|
+
exports.TextFormField = java.import("com.groupdocs.editor.words.fieldmanagement.TextFormField");
|
|
223
236
|
|
|
237
|
+
exports.EBookFormats = java.import("com.groupdocs.editor.formats.EBookFormats");
|
|
238
|
+
exports.EmailFormats = java.import("com.groupdocs.editor.formats.EmailFormats");
|
|
239
|
+
exports.FixedLayoutFormats = java.import("com.groupdocs.editor.formats.FixedLayoutFormats");
|
|
240
|
+
exports.PresentationFormats = java.import("com.groupdocs.editor.formats.PresentationFormats");
|
|
241
|
+
exports.SpreadsheetFormats = java.import("com.groupdocs.editor.formats.SpreadsheetFormats");
|
|
242
|
+
exports.TextualFormats = java.import("com.groupdocs.editor.formats.TextualFormats");
|
|
243
|
+
exports.WordProcessingFormats = java.import("com.groupdocs.editor.formats.WordProcessingFormats");
|
|
224
244
|
exports.LengthUnit = java.import("com.groupdocs.editor.htmlcss.css.datatypes.LengthUnit");
|
|
225
245
|
exports.FontEmbeddingOptions = java.import("com.groupdocs.editor.options.FontEmbeddingOptions");
|
|
226
246
|
exports.FontExtractionOptions = java.import("com.groupdocs.editor.options.FontExtractionOptions");
|
|
@@ -233,6 +253,7 @@ exports.Path = java.import("com.groupdocs.editor.utils.common.Path");
|
|
|
233
253
|
|
|
234
254
|
exports.StandardCharsets = java.import("java.nio.charset.StandardCharsets");
|
|
235
255
|
exports.Locale = java.import("java.util.Locale");
|
|
256
|
+
exports.ByteArrayOutputStream = java.import("java.io.ByteArrayOutputStream");
|
|
236
257
|
exports.StreamBuffer = class StreamBuffer {
|
|
237
258
|
constructor() {
|
|
238
259
|
const self = java.newInstanceSync('com.groupdocs.editor.StreamBuffer')
|
package/package.json
CHANGED
|
@@ -1,28 +1,73 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@groupdocs/groupdocs.editor",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.10.0",
|
|
4
4
|
"description": "GroupDocs.Editor for Node.js is a document editing API developed by GroupDocs, a part of Aspose. It allows developers to integrate document editing functionality into their applications.",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"postinstall": "curl -H 'Cache-Control:no-cache' https://releases.groupdocs.com/java/repo/com/groupdocs/groupdocs-editor-nodejs/24.
|
|
6
|
+
"postinstall": "curl -H 'Cache-Control:no-cache' https://releases.groupdocs.com/java/repo/com/groupdocs/groupdocs-editor-nodejs/24.9/groupdocs-editor-nodejs-24.9.jar > lib/groupdocs-editor-nodejs-24.9.jar"
|
|
7
7
|
},
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"keywords": [
|
|
10
|
-
"DOC",
|
|
11
|
-
"
|
|
12
|
-
"
|
|
10
|
+
"DOC",
|
|
11
|
+
"DOCX",
|
|
12
|
+
"DOCM",
|
|
13
|
+
"DOT",
|
|
14
|
+
"DOTX",
|
|
15
|
+
"DOTM",
|
|
16
|
+
"FlatOPC",
|
|
17
|
+
"ODT",
|
|
18
|
+
"OTT",
|
|
19
|
+
"RTF",
|
|
20
|
+
"WordML",
|
|
21
|
+
"XLS",
|
|
22
|
+
"XLT",
|
|
23
|
+
"XLSX",
|
|
24
|
+
"XLSM",
|
|
25
|
+
"XLTX",
|
|
26
|
+
"XLTM",
|
|
27
|
+
"XLSB",
|
|
28
|
+
"XLAM",
|
|
29
|
+
"SpreadsheetML",
|
|
30
|
+
"ODS",
|
|
31
|
+
"FODS",
|
|
32
|
+
"SXC",
|
|
33
|
+
"PPT",
|
|
34
|
+
"PPTX",
|
|
35
|
+
"PPTM",
|
|
36
|
+
"PPS",
|
|
37
|
+
"PPSX",
|
|
38
|
+
"PPSM",
|
|
39
|
+
"POT",
|
|
40
|
+
"POTX",
|
|
41
|
+
"POTM",
|
|
42
|
+
"ODP",
|
|
43
|
+
"OTP",
|
|
13
44
|
"PDF",
|
|
14
|
-
"EML",
|
|
15
|
-
"
|
|
45
|
+
"EML",
|
|
46
|
+
"EMLX",
|
|
47
|
+
"MSG",
|
|
48
|
+
"MBOX",
|
|
49
|
+
"TNEF",
|
|
50
|
+
"MHT",
|
|
51
|
+
"PST",
|
|
52
|
+
"OFT",
|
|
53
|
+
"OST",
|
|
54
|
+
"ePub",
|
|
55
|
+
"MOBI",
|
|
56
|
+
"AZW3",
|
|
16
57
|
"markdown",
|
|
17
|
-
"WordProcessing",
|
|
58
|
+
"WordProcessing",
|
|
59
|
+
"Spreadsheet",
|
|
60
|
+
"Presentation",
|
|
61
|
+
"Fixed-layout",
|
|
62
|
+
"Email",
|
|
63
|
+
"eBook"
|
|
18
64
|
],
|
|
19
65
|
"author": "Aspose",
|
|
20
66
|
"license": "End User License Agreement.html",
|
|
21
|
-
"dependencies": {
|
|
22
|
-
"java": "^0.13.0"
|
|
23
|
-
},
|
|
24
67
|
"directories": {
|
|
25
68
|
"lib": "lib"
|
|
69
|
+
},
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"java": "^0.14.0"
|
|
26
72
|
}
|
|
27
73
|
}
|
|
28
|
-
|