Skip to content

Commit 2f9db45

Browse files
committed
Optimize operate scope options, Add protect/unprotect spreadsheet features and convert worksheet/table/range to other formats.
1 parent 5f3021e commit 2f9db45

File tree

69 files changed

+5654
-244
lines changed

Some content is hidden

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

69 files changed

+5654
-244
lines changed

docs/api/convert-range-to-csv.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# **Spreadsheet Cloud API: convertRangeToCsv**
2+
3+
Converts a range of spreadsheet on a local drive to the csv file.
4+
5+
6+
## **Quick Start**
7+
8+
- **Base URL**: `http://api.aspose.cloud/v4.0`
9+
- **Authentication Method**: `JWT (OAuth2, application)` **Token URL**: `https://api.aspose.cloud/connect/token`
10+
## **Interface Details**
11+
12+
### **Endpoint**
13+
14+
```
15+
PUT http://api.aspose.cloud/v4.0/cells/convert/range/csv
16+
```
17+
### **Function Description**
18+
This method reads a spreadsheet file from the local file system, converts it's range to the desired csv file, and returns the converted result.The source file path and target format must be specified correctly.Ensure that the necessary permissions are in place to read the source file and write the converted file if applicable.The conversion process occurs entirely on the cloud server, eliminating the need for any cloud storage or external downloads.If the source file does not exist, is inaccessible, or if an error occurs during the conversion process, an appropriate exception will be thrown.Supported formats for conversion depend on the available libraries and their capabilities.
19+
20+
### The request parameters of **convertRangeToCsv** API are:
21+
22+
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
23+
| :- | :- | :- |:- |
24+
|Spreadsheet|File|FormData|Upload spreadsheet file.|
25+
|worksheet|String|Query|worksheet name of spreadsheet.|
26+
|range|String|Query|cell area. e.g. A1:C10|
27+
|outPath|String|Query|(Optional) The folder path where the workbook is stored. The default is null.|
28+
|outStorageName|String|Query|Output file Storage Name.|
29+
|fontsLocation|String|Query|Use Custom fonts.|
30+
|regoin|String|Query|The spreadsheet region setting.|
31+
|password|String|Query|The password for opening spreadsheet file.|
32+
33+
### **Response Description**
34+
```json
35+
{
36+
File
37+
}
38+
```
39+
40+
41+
## OpenAPI Specification
42+
43+
The [OpenAPI Specification](https://reference.aspose.cloud/cells/#/ConversionController/ConvertRangeToCsv) defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

docs/api/convert-range-to-html.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# **Spreadsheet Cloud API: convertRangeToHtml**
2+
3+
Converts a range of spreadsheet on a local drive to the html file.
4+
5+
6+
## **Quick Start**
7+
8+
- **Base URL**: `http://api.aspose.cloud/v4.0`
9+
- **Authentication Method**: `JWT (OAuth2, application)` **Token URL**: `https://api.aspose.cloud/connect/token`
10+
## **Interface Details**
11+
12+
### **Endpoint**
13+
14+
```
15+
PUT http://api.aspose.cloud/v4.0/cells/convert/range/html
16+
```
17+
### **Function Description**
18+
This method reads a spreadsheet file from the local file system, converts it's range to the desired html file, and returns the converted result.The source file path and target format must be specified correctly.Ensure that the necessary permissions are in place to read the source file and write the converted file if applicable.The conversion process occurs entirely on the cloud server, eliminating the need for any cloud storage or external downloads.If the source file does not exist, is inaccessible, or if an error occurs during the conversion process, an appropriate exception will be thrown.Supported formats for conversion depend on the available libraries and their capabilities.
19+
20+
### The request parameters of **convertRangeToHtml** API are:
21+
22+
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
23+
| :- | :- | :- |:- |
24+
|Spreadsheet|File|FormData|Upload spreadsheet file.|
25+
|worksheet|String|Query|worksheet name of spreadsheet.|
26+
|range|String|Query|cell area. e.g. A1:C10|
27+
|outPath|String|Query|(Optional) The folder path where the workbook is stored. The default is null.|
28+
|outStorageName|String|Query|Output file Storage Name.|
29+
|fontsLocation|String|Query|Use Custom fonts.|
30+
|regoin|String|Query|The spreadsheet region setting.|
31+
|password|String|Query|The password for opening spreadsheet file.|
32+
33+
### **Response Description**
34+
```json
35+
{
36+
File
37+
}
38+
```
39+
40+
41+
## OpenAPI Specification
42+
43+
The [OpenAPI Specification](https://reference.aspose.cloud/cells/#/ConversionController/ConvertRangeToHtml) defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

docs/api/convert-range-to-image.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# **Spreadsheet Cloud API: convertRangeToImage**
2+
3+
Converts a range of spreadsheet on a local drive to the image file.
4+
5+
6+
## **Quick Start**
7+
8+
- **Base URL**: `http://api.aspose.cloud/v4.0`
9+
- **Authentication Method**: `JWT (OAuth2, application)` **Token URL**: `https://api.aspose.cloud/connect/token`
10+
- **Example**
11+
12+
## **Interface Details**
13+
14+
### **Endpoint**
15+
16+
```
17+
PUT http://api.aspose.cloud/v4.0/cells/convert/range/image
18+
```
19+
### **Function Description**
20+
This method reads a spreadsheet file from the local file system, converts it's range to the desired image file, and returns the converted result.The source file path and target format must be specified correctly.Ensure that the necessary permissions are in place to read the source file and write the converted file if applicable.The conversion process occurs entirely on the cloud server, eliminating the need for any cloud storage or external downloads.If the source file does not exist, is inaccessible, or if an error occurs during the conversion process, an appropriate exception will be thrown.Supported formats for conversion depend on the available libraries and their capabilities.
21+
22+
### The request parameters of **convertRangeToImage** API are:
23+
24+
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
25+
| :- | :- | :- |:- |
26+
|Spreadsheet|File|FormData|Upload spreadsheet file.|
27+
|worksheet|String|Query|worksheet name of spreadsheet.|
28+
|range|String|Query|cell area. e.g. A1:C10|
29+
|format|String|Query|file format. e.g. png, svg, tiff |
30+
|printHeadings|Boolean|Query|Represents if row and column headings are printed with this page.|
31+
|outPath|String|Query|(Optional) The folder path where the workbook is stored. The default is null.|
32+
|outStorageName|String|Query|Output file Storage Name.|
33+
|fontsLocation|String|Query|Use Custom fonts.|
34+
|regoin|String|Query|The spreadsheet region setting.|
35+
|password|String|Query|The password for opening spreadsheet file.|
36+
37+
### **Response Description**
38+
```json
39+
{
40+
File
41+
}
42+
```
43+
44+
45+
## OpenAPI Specification
46+
47+
The [OpenAPI Specification](https://reference.aspose.cloud/cells/#/ConversionController/ConvertRangeToImage) defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

docs/api/convert-range-to-json.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# **Spreadsheet Cloud API: convertRangeToJson**
2+
3+
Converts a range of spreadsheet on a local drive to the json file.
4+
5+
6+
## **Quick Start**
7+
8+
- **Base URL**: `http://api.aspose.cloud/v4.0`
9+
- **Authentication Method**: `JWT (OAuth2, application)` **Token URL**: `https://api.aspose.cloud/connect/token`
10+
## **Interface Details**
11+
12+
### **Endpoint**
13+
14+
```
15+
PUT http://api.aspose.cloud/v4.0/cells/convert/range/json
16+
```
17+
### **Function Description**
18+
This method reads a spreadsheet file from the local file system, converts it's range to the desired json file, and returns the converted result.The source file path and target format must be specified correctly.Ensure that the necessary permissions are in place to read the source file and write the converted file if applicable.The conversion process occurs entirely on the cloud server, eliminating the need for any cloud storage or external downloads.If the source file does not exist, is inaccessible, or if an error occurs during the conversion process, an appropriate exception will be thrown.Supported formats for conversion depend on the available libraries and their capabilities.
19+
20+
### The request parameters of **convertRangeToJson** API are:
21+
22+
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
23+
| :- | :- | :- |:- |
24+
|Spreadsheet|File|FormData|Upload spreadsheet file.|
25+
|worksheet|String|Query|worksheet name of spreadsheet.|
26+
|range|String|Query|cell area. e.g. A1:C10|
27+
|outPath|String|Query|(Optional) The folder path where the workbook is stored. The default is null.|
28+
|outStorageName|String|Query|Output file Storage Name.|
29+
|fontsLocation|String|Query|Use Custom fonts.|
30+
|regoin|String|Query|The spreadsheet region setting.|
31+
|password|String|Query|The password for opening spreadsheet file.|
32+
33+
### **Response Description**
34+
```json
35+
{
36+
File
37+
}
38+
```
39+
40+
41+
## OpenAPI Specification
42+
43+
The [OpenAPI Specification](https://reference.aspose.cloud/cells/#/ConversionController/ConvertRangeToJson) defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

docs/api/convert-range-to-pdf.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# **Spreadsheet Cloud API: convertRangeToPdf**
2+
3+
Converts a range of spreadsheet on a local drive to the pdf file.
4+
5+
6+
## **Quick Start**
7+
8+
- **Base URL**: `http://api.aspose.cloud/v4.0`
9+
- **Authentication Method**: `JWT (OAuth2, application)` **Token URL**: `https://api.aspose.cloud/connect/token`
10+
- **Example**
11+
12+
## **Interface Details**
13+
14+
### **Endpoint**
15+
16+
```
17+
PUT http://api.aspose.cloud/v4.0/cells/convert/range/pdf
18+
```
19+
### **Function Description**
20+
This method reads a spreadsheet file from the local file system, converts it's range to the desired pdf file, and returns the converted result.The source file path and target format must be specified correctly.Ensure that the necessary permissions are in place to read the source file and write the converted file if applicable.The conversion process occurs entirely on the cloud server, eliminating the need for any cloud storage or external downloads.If the source file does not exist, is inaccessible, or if an error occurs during the conversion process, an appropriate exception will be thrown.Supported formats for conversion depend on the available libraries and their capabilities.
21+
22+
### The request parameters of **convertRangeToPdf** API are:
23+
24+
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
25+
| :- | :- | :- |:- |
26+
|Spreadsheet|File|FormData|Upload spreadsheet file.|
27+
|worksheet|String|Query|worksheet name of spreadsheet.|
28+
|range|String|Query|cell area. e.g. A1:C10|
29+
|outPath|String|Query|(Optional) The folder path where the workbook is stored. The default is null.|
30+
|outStorageName|String|Query|Output file Storage Name.|
31+
|fontsLocation|String|Query|Use Custom fonts.|
32+
|regoin|String|Query|The spreadsheet region setting.|
33+
|password|String|Query|The password for opening spreadsheet file.|
34+
35+
### **Response Description**
36+
```json
37+
{
38+
File
39+
}
40+
```
41+
42+
43+
## OpenAPI Specification
44+
45+
The [OpenAPI Specification](https://reference.aspose.cloud/cells/#/ConversionController/ConvertRangeToPdf) defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

docs/api/convert-table-to-csv.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# **Spreadsheet Cloud API: convertTableToCsv**
2+
3+
Converts a table of spreadsheet on a local drive to the csv file.
4+
5+
6+
## **Quick Start**
7+
8+
- **Base URL**: `http://api.aspose.cloud/v4.0`
9+
- **Authentication Method**: `JWT (OAuth2, application)` **Token URL**: `https://api.aspose.cloud/connect/token`
10+
## **Interface Details**
11+
12+
### **Endpoint**
13+
14+
```
15+
PUT http://api.aspose.cloud/v4.0/cells/convert/table/csv
16+
```
17+
### **Function Description**
18+
This method reads a spreadsheet file from the local file system, converts it's table to the desired csv file, and returns the converted result.The source file path and target format must be specified correctly.Ensure that the necessary permissions are in place to read the source file and write the converted file if applicable.The conversion process occurs entirely on the cloud server, eliminating the need for any cloud storage or external downloads.If the source file does not exist, is inaccessible, or if an error occurs during the conversion process, an appropriate exception will be thrown.Supported formats for conversion depend on the available libraries and their capabilities.
19+
20+
### The request parameters of **convertTableToCsv** API are:
21+
22+
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
23+
| :- | :- | :- |:- |
24+
|Spreadsheet|File|FormData|Upload spreadsheet file.|
25+
|worksheet|String|Query|worksheet name of spreadsheet.|
26+
|tableName|String|Query|table name|
27+
|outPath|String|Query|(Optional) The folder path where the workbook is stored. The default is null.|
28+
|outStorageName|String|Query|Output file Storage Name.|
29+
|fontsLocation|String|Query|Use Custom fonts.|
30+
|regoin|String|Query|The spreadsheet region setting.|
31+
|password|String|Query|The password for opening spreadsheet file.|
32+
33+
### **Response Description**
34+
```json
35+
{
36+
File
37+
}
38+
```
39+
40+
41+
## OpenAPI Specification
42+
43+
The [OpenAPI Specification](https://reference.aspose.cloud/cells/#/ConversionController/ConvertTableToCsv) defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

docs/api/convert-table-to-html.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# **Spreadsheet Cloud API: convertTableToHtml**
2+
3+
Converts a table of spreadsheet on a local drive to the html file.
4+
5+
6+
## **Quick Start**
7+
8+
- **Base URL**: `http://api.aspose.cloud/v4.0`
9+
- **Authentication Method**: `JWT (OAuth2, application)` **Token URL**: `https://api.aspose.cloud/connect/token`
10+
## **Interface Details**
11+
12+
### **Endpoint**
13+
14+
```
15+
PUT http://api.aspose.cloud/v4.0/cells/convert/table/html
16+
```
17+
### **Function Description**
18+
This method reads a spreadsheet file from the local file system, converts it's table to the desired html file, and returns the converted result.The source file path and target format must be specified correctly.Ensure that the necessary permissions are in place to read the source file and write the converted file if applicable.The conversion process occurs entirely on the cloud server, eliminating the need for any cloud storage or external downloads.If the source file does not exist, is inaccessible, or if an error occurs during the conversion process, an appropriate exception will be thrown.Supported formats for conversion depend on the available libraries and their capabilities.
19+
20+
### The request parameters of **convertTableToHtml** API are:
21+
22+
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
23+
| :- | :- | :- |:- |
24+
|Spreadsheet|File|FormData|Upload spreadsheet file.|
25+
|worksheet|String|Query|worksheet name of spreadsheet.|
26+
|tableName|String|Query|table name|
27+
|outPath|String|Query|(Optional) The folder path where the workbook is stored. The default is null.|
28+
|outStorageName|String|Query|Output file Storage Name.|
29+
|fontsLocation|String|Query|Use Custom fonts.|
30+
|regoin|String|Query|The spreadsheet region setting.|
31+
|password|String|Query|The password for opening spreadsheet file.|
32+
33+
### **Response Description**
34+
```json
35+
{
36+
File
37+
}
38+
```
39+
40+
41+
## OpenAPI Specification
42+
43+
The [OpenAPI Specification](https://reference.aspose.cloud/cells/#/ConversionController/ConvertTableToHtml) defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

docs/api/convert-table-to-image.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# **Spreadsheet Cloud API: convertTableToImage**
2+
3+
Converts a table of spreadsheet on a local drive to the image file.
4+
5+
6+
## **Quick Start**
7+
8+
- **Base URL**: `http://api.aspose.cloud/v4.0`
9+
- **Authentication Method**: `JWT (OAuth2, application)` **Token URL**: `https://api.aspose.cloud/connect/token`
10+
- **Example**
11+
12+
## **Interface Details**
13+
14+
### **Endpoint**
15+
16+
```
17+
PUT http://api.aspose.cloud/v4.0/cells/convert/table/image
18+
```
19+
### **Function Description**
20+
This method reads a spreadsheet file from the local file system, converts it's table to the desired image file, and returns the converted result.The source file path and target format must be specified correctly.Ensure that the necessary permissions are in place to read the source file and write the converted file if applicable.The conversion process occurs entirely on the cloud server, eliminating the need for any cloud storage or external downloads.If the source file does not exist, is inaccessible, or if an error occurs during the conversion process, an appropriate exception will be thrown.Supported formats for conversion depend on the available libraries and their capabilities.
21+
22+
### The request parameters of **convertTableToImage** API are:
23+
24+
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
25+
| :- | :- | :- |:- |
26+
|Spreadsheet|File|FormData|Upload spreadsheet file.|
27+
|worksheet|String|Query|worksheet name of spreadsheet.|
28+
|tableName|String|Query|table name|
29+
|format|String|Query|file format. |
30+
|outPath|String|Query|(Optional) The folder path where the workbook is stored. The default is null.|
31+
|outStorageName|String|Query|Output file Storage Name.|
32+
|fontsLocation|String|Query|Use Custom fonts.|
33+
|regoin|String|Query|The spreadsheet region setting.|
34+
|password|String|Query|The password for opening spreadsheet file.|
35+
36+
### **Response Description**
37+
```json
38+
{
39+
File
40+
}
41+
```
42+
43+
44+
## OpenAPI Specification
45+
46+
The [OpenAPI Specification](https://reference.aspose.cloud/cells/#/ConversionController/ConvertTableToImage) defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

0 commit comments

Comments
 (0)