aspose.cells 24.7.0 → 24.7.2
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 +45 -49
- package/index.js +2 -0
- package/lib/JavaClassBridge.jar +0 -0
- package/lib/aspose-cells-24.7.jar +0 -0
- package/lib/aspose.cells.js +3987 -0
- package/lib/bcpkix-jdk15on-1.68.jar +0 -0
- package/lib/bcprov-jdk15on-1.68.jar +0 -0
- package/package.json +10 -17
- package/thirdpartylicenses.Aspose.Cells for Node.js via Java.pdf +0 -0
- package/download-aspose.cells.js +0 -22
- package/thirdpartylicenses.Aspose.Cells for Node.js via C++.pdf +0 -0
package/README.md
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
Aspose.Cells for Node.js via
|
|
1
|
+
Aspose.Cells for Node.js via Java is a scalable and feature-rich API to create, process, manipulate & convert Excel & OpenOffice spreadsheets using Node.js. API offers Excel file generation, conversion, worksheets styling, Pivot Table & chart management & rendering, reliable formula calculation engine and much more - all without any dependency on Office Automation or Microsoft Excel®.
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
3
|
+
# Note
|
|
4
|
+
We have released **[Aspose.Cells for Node.js via C++](https://www.npmjs.com/package/aspose.cells.node)** since v24.7.0. It is highly recommended to use it to replace Aspose.Cells for Node.js via Java. We will gradually reduce the release frequency of Aspose.Cells for Node.js via Java and focus on **[Aspose.Cells for Node.js via C++](https://www.npmjs.com/package/aspose.cells.node)** in the future.
|
|
5
|
+
|
|
6
|
+
## Node.js Spreadsheet API Features
|
|
7
|
+
- Generate Excel files via API or using templates.
|
|
8
|
+
- Create Pivot Tables, charts, sparklines & conditional formatting rules on-the-fly.
|
|
9
|
+
- Refresh existing charts & convert charts to images or PDF.
|
|
10
|
+
- Create & manipulate comments & hyperlinks.
|
|
11
|
+
- Set complex formulas & calculate results via API.
|
|
12
|
+
- Set protection on workbooks, worksheets, cells, columns or rows.
|
|
13
|
+
- Create & manipulate named ranges.
|
|
14
|
+
- Populate worksheets through Smart Markers.
|
|
15
|
+
- Manipulate & refresh Pivot Tables via API.
|
|
16
|
+
- Convert worksheets to PDF, XPS & SVG formats.
|
|
17
|
+
- Inter-convert files to popular Excel formats.
|
|
11
18
|
|
|
12
19
|
## Read & Write Excel Files
|
|
13
20
|
**Microsoft Excel:** XLS, XLSX, XLSB, XLTX, XLTM, XLSM, XML
|
|
@@ -20,67 +27,56 @@ Aspose.Cells for Node.js via C++ is a powerful and robust library designed for h
|
|
|
20
27
|
**Images:** JPEG, PNG, BMP, SVG, TIFF, GIF, EMF
|
|
21
28
|
**Text:** CSV, Tab-Delimited, JSON, SQL, XML
|
|
22
29
|
|
|
23
|
-
##
|
|
24
|
-
|
|
25
|
-
- **Linux x64**
|
|
26
|
-
- **macOS x64 & arm64**
|
|
27
|
-
|
|
28
|
-
## Getting Started with Aspose.Cells for Node.js via C++
|
|
29
|
-
### Installation
|
|
30
|
-
|
|
31
|
-
From the command line:
|
|
32
|
-
|
|
33
|
-
npm install aspose.cells --save
|
|
34
|
-
|
|
35
|
-
### Create Excel XLSX File from Scratch
|
|
30
|
+
## Getting Started with Aspose.Cells for Nodejs via Java
|
|
31
|
+
### Create Excel XLSX File from Scratch using Node.js
|
|
36
32
|
``` js
|
|
37
|
-
|
|
33
|
+
var aspose = aspose || {};
|
|
34
|
+
aspose.cells = require("aspose.cells");
|
|
38
35
|
|
|
39
|
-
var workbook = new
|
|
40
|
-
workbook.getWorksheets().get(0).getCells().get("A1").putValue("
|
|
41
|
-
workbook.save("
|
|
36
|
+
var workbook = new aspose.cells.Workbook(aspose.cells.FileFormatType.XLSX);
|
|
37
|
+
workbook.getWorksheets().get(0).getCells().get("A1").putValue("testing...");
|
|
38
|
+
workbook.save("output.xlsx");
|
|
42
39
|
```
|
|
43
40
|
|
|
44
|
-
### Convert Excel XLSX File to PDF
|
|
41
|
+
### Convert Excel XLSX File to PDF using Node.js
|
|
45
42
|
``` js
|
|
46
|
-
|
|
43
|
+
var aspose = aspose || {};
|
|
44
|
+
aspose.cells = require("aspose.cells");
|
|
47
45
|
|
|
48
|
-
var workbook = new Workbook("example.xlsx");
|
|
49
|
-
|
|
46
|
+
var workbook = new aspose.cells.Workbook("example.xlsx");
|
|
47
|
+
var saveOptions = aspose.cells.PdfSaveOptions();
|
|
48
|
+
saveOptions.setOnePagePerSheet(true);
|
|
49
|
+
workbook.save("example.pdf", saveOptions);
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
### Format Excel Cells
|
|
52
|
+
### Format Excel Cells via Node.js
|
|
53
53
|
```js
|
|
54
|
-
|
|
54
|
+
var aspose = aspose || {};
|
|
55
|
+
aspose.cells = require("aspose.cells");
|
|
55
56
|
|
|
56
|
-
var
|
|
57
|
-
var style =
|
|
57
|
+
var excel = new aspose.cells.Workbook();
|
|
58
|
+
var style = excel.createStyle();
|
|
58
59
|
style.getFont().setName("Times New Roman");
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
cell.putValue(i);
|
|
64
|
-
cell.setStyle(style);
|
|
60
|
+
style.getFont().setColor(aspose.cells.Color.getBlue());
|
|
61
|
+
for (var i = 0; i < 100; i++)
|
|
62
|
+
{
|
|
63
|
+
excel.getWorksheets().get(0).getCells().get(0, i).setStyle(style);
|
|
65
64
|
}
|
|
66
|
-
workbook.save("style-example.xlsx");
|
|
67
65
|
```
|
|
68
66
|
|
|
69
|
-
### Add Picture to Excel Worksheet
|
|
67
|
+
### Add Picture to Excel Worksheet with Node.js
|
|
70
68
|
```js
|
|
71
|
-
|
|
69
|
+
var aspose = aspose || {};
|
|
70
|
+
aspose.cells = require("aspose.cells");
|
|
72
71
|
|
|
73
|
-
var workbook = new Workbook();
|
|
72
|
+
var workbook = new aspose.cells.Workbook();
|
|
74
73
|
var sheetIndex = workbook.getWorksheets().add();
|
|
75
74
|
var worksheet = workbook.getWorksheets().get(sheetIndex);
|
|
76
75
|
|
|
77
76
|
// adding a picture at "F6" cell
|
|
78
77
|
worksheet.getPictures().add(5, 5, "image.gif");
|
|
79
78
|
|
|
80
|
-
workbook.save("
|
|
79
|
+
workbook.save("output.xls", aspose.cells.SaveFormat.EXCEL_97_TO_2003);
|
|
81
80
|
```
|
|
82
81
|
|
|
83
|
-
|
|
84
|
-
Starting from v24.7.0, Aspose.Cells for Node.js via Java has been migrated to [aspose.cells.java](https://www.npmjs.com/package/aspose.cells.java).
|
|
85
|
-
|
|
86
|
-
[Product Page](https://products.aspose.com/cells/nodejs-cpp) | [Product Documentation](https://docs.aspose.com/cells/nodejs-cpp/) | [Blog](https://blog.aspose.com/categories/aspose.cells-product-family/) |[API Reference](https://reference.aspose.com/cells/nodejs-cpp) | [Free Support](https://forum.aspose.com/c/cells) | [Temporary License](https://purchase.aspose.com/temporary-license)
|
|
82
|
+
[Product Page](https://products.aspose.com/cells/nodejs-java) | [Product Documentation](https://docs.aspose.com/display/cellsnodejsjava/Aspose.Cells+for+Node.js+via+Java+Home) | [Blog](https://blog.aspose.com/category/cells/) |[API Reference](https://apireference.aspose.com/cells/nodejs) | [Source Code Samples](https://github.com/aspose-cells/Aspose.Cells-for-Java) | [Free Support](https://forum.aspose.com/c/cells) | [Temporary License](https://purchase.aspose.com/temporary-license)
|
package/index.js
ADDED
|
Binary file
|
|
Binary file
|