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 CHANGED
@@ -1,13 +1,20 @@
1
- Aspose.Cells for Node.js via C++ is a powerful and robust library designed for high-performance spreadsheet manipulation and management within Node.js applications. It offers a comprehensive set of features that enable developers to create, edit, convert, and render Excel files programmatically. Supporting all major Excel formats, including XLS, XLSX, XLSM, and more, it ensures compatibility and flexibility. This makes Aspose.Cells for Node.js via C++ a versatile tool for a wide range of data processing and management tasks, providing developers with a complete and efficient solution for integrating comprehensive Excel functionality into their Node.js applications.
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
- ## Key features
4
- - **File Creation and Editing:** Create new spreadsheets from scratch or edit existing ones with ease. This includes adding or modifying data, formatting cells, managing worksheets, and more.
5
- - **Data Processing:** Perform complex data manipulations such as sorting, filtering, and validation. The library also supports advanced formulas and functions to facilitate data analysis and calculations.
6
- - **File Conversion**: Convert Excel files to various formats such as PDF, HTML, ODS, and image formats like PNG and JPEG. This feature is useful for sharing and distributing spreadsheet data in different formats.
7
- - **Chart and Graphics**: Create and customize a wide range of charts and graphics to visually represent data. The library supports bar charts, line charts, pie charts, and many more, along with customization options for design and layout.
8
- - **Rendering and Printing**: Render Excel sheets to high-fidelity images and PDFs, ensuring that the visual representation is accurate. The library also provides options for printing spreadsheets with precise control over page layout and formatting.
9
- - **Advanced Protection and Security**: Protect spreadsheets with passwords, encrypt files, and manage access permissions to ensure data security and integrity.
10
- - **Performance and Scalability**: Designed to handle large datasets and complex spreadsheets efficiently, Aspose.Cells for Node.js via C++ ensures high performance and scalability for enterprise-level applications.
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
- ## Support multiple operating systems and CPU architectures, including:
24
- - **Windows x64**
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
- const AsposeCells = require("aspose.cells");
33
+ var aspose = aspose || {};
34
+ aspose.cells = require("aspose.cells");
38
35
 
39
- var workbook = new AsposeCells.Workbook(AsposeCells.FileFormatType.Xlsx);
40
- workbook.getWorksheets().get(0).getCells().get("A1").putValue("Hello World");
41
- workbook.save("hello-world.xlsx");
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
- const { Workbook } = require("aspose.cells");
43
+ var aspose = aspose || {};
44
+ aspose.cells = require("aspose.cells");
47
45
 
48
- var workbook = new Workbook("example.xlsx");
49
- workbook.save("pdf-example.pdf");
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
- const { Workbook, Color } = require("aspose.cells");
54
+ var aspose = aspose || {};
55
+ aspose.cells = require("aspose.cells");
55
56
 
56
- var workbook = new Workbook();
57
- var style = workbook.createStyle();
57
+ var excel = new aspose.cells.Workbook();
58
+ var style = excel.createStyle();
58
59
  style.getFont().setName("Times New Roman");
59
- var blue = new Color(0, 0, 0xff);
60
- style.getFont().setColor(blue);
61
- for (var i = 0; i < 10; i++) {
62
- var cell = workbook.getWorksheets().get(0).getCells().get(0, i);
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
- const { Workbook, SaveFormat } = require("aspose.cells");
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("picture-example.xls", SaveFormat.Excel97To2003);
79
+ workbook.save("output.xls", aspose.cells.SaveFormat.EXCEL_97_TO_2003);
81
80
  ```
82
81
 
83
- # Note
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
@@ -0,0 +1,2 @@
1
+
2
+ module.exports = require("./lib/aspose.cells");
Binary file
Binary file