Skip to content

Commit 06688d2

Browse files
committed
Release Aspose.Cells Cloud SDK 24.2.1
1 parent dcc16b1 commit 06688d2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+6816
-5832
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
var fs = require('fs');
2+
var path = require('path');
3+
const _ = require('asposecellscloud');
4+
5+
const cellsApi = new CellsApi(process.env.CellsCloudClientId, process.env.CellsCloudClientSecret,"v3.0",process.env.CellsCloudApiBaseUrl);
6+
7+
var remoteFolder = "TestData/In"
8+
9+
var localName = "Book1.xlsx"
10+
var remoteName = "Book1.xlsx"
11+
12+
var localNameRequest = new model.UploadFileRequest();
13+
localNameRequest.uploadFiles ={localName:fs.createReadStream(localPath + localName)};
14+
localNameRequest.path = remoteFolder + "/" + remoteName ;
15+
localNameRequest.storageName ="";
16+
cellsApi.uploadFile(localNameRequest );
17+
18+
19+
var request = new model.PostFitTallToPagesRequest();
20+
request.name = remoteName;
21+
request.sheetName = "Sheet1";
22+
request.folder = remoteFolder;
23+
request.storageName = "";
24+
return cellsApi.postFitTallToPages(request).then((result) => {
25+
expect(result.response.statusCode).to.equal(200);
26+
});
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
var fs = require('fs');
2+
var path = require('path');
3+
const _ = require('asposecellscloud');
4+
5+
const cellsApi = new CellsApi(process.env.CellsCloudClientId, process.env.CellsCloudClientSecret,"v3.0",process.env.CellsCloudApiBaseUrl);
6+
7+
var remoteFolder = "TestData/In"
8+
9+
var localName = "Book1.xlsx"
10+
var remoteName = "Book1.xlsx"
11+
12+
var localNameRequest = new model.UploadFileRequest();
13+
localNameRequest.uploadFiles ={localName:fs.createReadStream(localPath + localName)};
14+
localNameRequest.path = remoteFolder + "/" + remoteName ;
15+
localNameRequest.storageName ="";
16+
cellsApi.uploadFile(localNameRequest );
17+
18+
19+
var request = new model.PostFitWideToPagesRequest();
20+
request.name = remoteName;
21+
request.sheetName = "Sheet1";
22+
request.folder = remoteFolder;
23+
request.storageName = "";
24+
return cellsApi.postFitWideToPages(request).then((result) => {
25+
expect(result.response.statusCode).to.equal(200);
26+
});

Examples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"dependencies": {
55
"@types/jest": "^26.0.24",
66
"@types/request": "^2.48.7",
7-
"asposecellscloud": "24.1.1",
7+
"asposecellscloud": "24.2.1",
88
"axios": "^1.5.1",
99
"JSON": "^1.0.0",
1010
"mocha": "^10.2.0",

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![npm](https://img.shields.io/npm/v/asposecellscloud) ![node-current](https://img.shields.io/node/v/asposecellscloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-node)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-node/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-node/24.1.1)
1+
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![npm](https://img.shields.io/npm/v/asposecellscloud) ![node-current](https://img.shields.io/node/v/asposecellscloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-node)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-node/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-node/24.2.1)
22

33
# Process Excel® Files in the Cloud with Node.js
44

@@ -20,14 +20,10 @@
2020
- Fetch the required shape from worksheet.
2121
- Leverage the power of named ranges.
2222

23-
## Feature & Enhancements in Version 24.1.1
23+
## Feature & Enhancements in Version 24.2.1
2424

2525
Full list of issues covering all changes in this release:
26-
27-
- Fixed spelling mistakes for several functions.
28-
- Add the PostFitTallToPages method for page setup controller.
29-
- Add the PostFitWideToPages method for page setup controller.
30-
- Optimize save options about paginated.
26+
- Add the analyze excel api for analyze controller.
3127

3228
## Read & Write Spreadsheet Formats
3329

docs/api/delete-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ POST http://api.aspose.cloud/v3.0//cells/metadata/delete
1212

1313
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
1414
| :- | :- | :- |:- |
15-
|File|File|FormData|Cells document property name.|
15+
|File|File|FormData|File to upload|
1616
|type|String|Query|Cells document property name.|
1717
|outFormat|String|Query|The output data file format.(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)|
1818
|password|String|Query|The password needed to open an Excel file.|

docs/api/get-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ POST http://api.aspose.cloud/v3.0//cells/metadata/get
1212

1313
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
1414
| :- | :- | :- |:- |
15-
|File|File|FormData|Cells document property name.|
15+
|File|File|FormData|File to upload|
1616
|type|String|Query|Cells document property name.|
1717
|password|String|Query|The password needed to open an Excel file.|
1818
|checkExcelRestriction|Boolean|Query|Whether check restriction of excel file when user modify cells related objects.|

docs/api/get-worksheet-columns.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ GET http://api.aspose.cloud/v3.0//cells/{name}/worksheets/{sheetName}/cells/colu
1414
| :- | :- | :- |:- |
1515
|name|String|Path|The file name.|
1616
|sheetName|String|Path|The worksheet name.|
17-
|offset|Integer|Query|The folder where the file is situated.|
18-
|count|Integer|Query|The storage name where the file is situated.|
19-
|folder|String|Query|The workdook folder.|
20-
|storageName|String|Query||
17+
|offset|Integer|Query|The workdook folder.|
18+
|count|Integer|Query||
19+
|folder|String|Query|The folder where the file is situated.|
20+
|storageName|String|Query|The storage name where the file is situated.|
2121

2222

2323
The [OpenAPI Specification](https://reference.aspose.cloud/cells/#/CellsController/GetWorksheetColumns) defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

docs/api/post-analyze-excel.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# **postAnalyzeExcel API**
2+
3+
Perform business analysis of data in Excel files.
4+
5+
```bash
6+
7+
POST http://api.aspose.cloud/v3.0//cells/analyze
8+
9+
```
10+
11+
## The request parameters of **postAnalyzeExcel** API are:
12+
13+
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
14+
| :- | :- | :- |:- |
15+
|analyzeExcelRequest|Class|Body|Excel files and analysis output requirements|
16+
17+
18+
The [OpenAPI Specification](https://reference.aspose.cloud/cells/#/AnalyseController/PostAnalyzeExcel) defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

docs/api/post-assemble.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ POST http://api.aspose.cloud/v3.0//cells/assemble
1212

1313
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
1414
| :- | :- | :- |:- |
15-
|File|File|FormData|The format to convert(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)|
15+
|File|File|FormData|File to upload|
1616
|datasource|String|Query||
1717
|outFormat|String|Query|The format to convert(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)|
1818
|password|String|Query|The password needed to open an Excel file.|

docs/api/post-clear-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ POST http://api.aspose.cloud/v3.0//cells/clearobjects
1212

1313
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
1414
| :- | :- | :- |:- |
15-
|File|File|FormData|chart/comment/picture/shape/listobject/hyperlink/oleobject/pivottable/validation/Background|
15+
|File|File|FormData|File to upload|
1616
|objecttype|String|Query|chart/comment/picture/shape/listobject/hyperlink/oleobject/pivottable/validation/Background|
1717
|sheetname|String|Query|The worksheet name, specify the scope of the deletion.|
1818
|outFormat|String|Query|The output data file format.(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)|

0 commit comments

Comments
 (0)