Skip to content

Commit c9cf8cd

Browse files
committed
Release Aspose.Cells Cloud SDK 24.10.0
1 parent 79c30e7 commit c9cf8cd

14 files changed

+731
-6
lines changed

README.md

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

33
# Java package for Aspose.Cells Cloud
44

@@ -17,12 +17,11 @@ Enhance your Java applications with the [Aspose.Cells Cloud](https://products.as
1717
- Import/Export: Facilitates importing data from various sources into spreadsheets and exporting spreadsheet data to other formats.
1818
- Security Management: Offers a range of security features like data encryption, access control, and permission management to safeguard the security and integrity of spreadsheet data.
1919

20-
## Feature & Enhancements in Version 24.9
20+
## Feature & Enhancements in Version 24.10
2121

2222
Full list of issues covering all changes in this release:
2323

24-
- Add word case function for TextProcessingController.
25-
- Support to export Worksheet to HTML with cell address or id.
24+
- Add the new feature about removing characters on TextProcessingController.
2625

2726
## Support file format
2827

@@ -111,6 +110,11 @@ File response = cellsApi.putConvertWorkbook(request);
111110

112111
# Release history version
113112

113+
## Enhancements in Version 24.9
114+
115+
- Add word case function for TextProcessingController.
116+
- Support to export Worksheet to HTML with cell address or id.
117+
114118
## Enhancements in Version 24.8
115119

116120
- Add the text trim feature on Cells Cloud Services.

docs/api/post-remove-characters.md

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

docs/model/character-sets-type.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# **characterSetsType**
2+
3+
4+
5+
## **Properties**
6+
7+
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
8+
| :- | :- | :- |:- | :- | :- |
9+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# **removeCharactersByCharacter**
2+
3+
4+
5+
## **Properties**
6+
7+
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
8+
| :- | :- | :- |:- | :- | :- |
9+
|RemoveTextMethod|String|true|false | ||
10+
|RemoveCharacters|Container|true|false | ||
11+
|RemoveCharacterSetsType|String|true|false | ||
12+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# **removeCharactersByPosition**
2+
3+
4+
5+
## **Properties**
6+
7+
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
8+
| :- | :- | :- |:- | :- | :- |
9+
|TheFirstNCharacters|Integer|true|false | ||
10+
|TheLastNCharacters|Integer|true|false | ||
11+
|AllCharactersBeforeText|String|true|false | ||
12+
|AllCharactersAfterText|String|true|false | ||
13+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# **removeCharactersOptions**
2+
3+
4+
5+
## **Properties**
6+
7+
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
8+
| :- | :- | :- |:- | :- | :- |
9+
|Name|String|true|false | ||
10+
|DataSource|Class|true|false | ||
11+
|FileInfo|Class|true|false | ||
12+
|Worksheet|String|true|false | ||
13+
|Range|String|true|false | ||
14+
|RemoveCharactersByCharacter|Class|true|false | ||
15+
|RemoveCharactersByPosition|Class|true|false | ||
16+

docs/model/remove-text-method-type.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# **removeTextMethodType**
2+
3+
4+
5+
## **Properties**
6+
7+
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
8+
| :- | :- | :- |:- | :- | :- |
9+

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>aspose-cells-cloud</artifactId>
66
<packaging>jar</packaging>
77
<name>aspose-cells-cloud</name>
8-
<version>24.9</version>
8+
<version>24.10</version>
99
<url>https://github.com/aspose-cells-cloud/aspose-cells-cloud-java</url>
1010
<scm>
1111
<connection>scm:git:git@github.com:aspose-cells-cloud/aspose-cells-cloud-java</connection>

src/main/java/com/aspose/cloud/cells/api/CellsApi.java

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13948,6 +13948,60 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
1394813948
}
1394913949

1395013950

13951+
@SuppressWarnings("rawtypes")
13952+
private com.squareup.okhttp.Call postRemoveCharactersValidateBeforeCall(PostRemoveCharactersRequest request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, IOException {
13953+
return request.buildHttpRequest(apiClient, progressListener, progressRequestListener, true);
13954+
}
13955+
13956+
public FileInfo postRemoveCharacters(PostRemoveCharactersRequest request) throws ApiException, IOException {
13957+
try {
13958+
ApiResponse< FileInfo > resp = postRemoveCharactersWithHttpInfo(request);
13959+
return resp.getData();
13960+
}
13961+
catch (ApiException ex) {
13962+
if (ex.getCode() == apiClient.getNotAuthCode()) {
13963+
apiClient.requestToken();
13964+
ApiResponse< FileInfo > resp = postRemoveCharactersWithHttpInfo(request);
13965+
return resp.getData();
13966+
}
13967+
throw ex;
13968+
}
13969+
}
13970+
13971+
private ApiResponse< FileInfo > postRemoveCharactersWithHttpInfo(PostRemoveCharactersRequest request) throws ApiException, IOException {
13972+
com.squareup.okhttp.Call call = postRemoveCharactersValidateBeforeCall(request, null, null);
13973+
Type localVarReturnType = new TypeToken< FileInfo >(){}.getType();
13974+
return apiClient.execute(call, localVarReturnType);
13975+
}
13976+
13977+
public com.squareup.okhttp.Call postRemoveCharactersAsync( PostRemoveCharactersRequest request, final ApiCallback< FileInfo > callback) throws ApiException, IOException {
13978+
13979+
ProgressResponseBody.ProgressListener progressListener = null;
13980+
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
13981+
13982+
if (callback != null) {
13983+
progressListener = new ProgressResponseBody.ProgressListener() {
13984+
@Override
13985+
public void update(long bytesRead, long contentLength, boolean done) {
13986+
callback.onDownloadProgress(bytesRead, contentLength, done);
13987+
}
13988+
};
13989+
13990+
progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
13991+
@Override
13992+
public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
13993+
callback.onUploadProgress(bytesWritten, contentLength, done);
13994+
}
13995+
};
13996+
}
13997+
13998+
com.squareup.okhttp.Call call = postRemoveCharactersValidateBeforeCall(request, progressListener, progressRequestListener);
13999+
Type localVarReturnType = new TypeToken< FileInfo >(){}.getType();
14000+
apiClient.executeAsync(call, localVarReturnType, callback);
14001+
return call;
14002+
}
14003+
14004+
1395114005
@SuppressWarnings("rawtypes")
1395214006
private com.squareup.okhttp.Call getWorkbookDefaultStyleValidateBeforeCall(GetWorkbookDefaultStyleRequest request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, IOException {
1395314007
return request.buildHttpRequest(apiClient, progressListener, progressRequestListener, true);

src/main/java/com/aspose/cloud/cells/client/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public ApiClient() {
186186
this.lenientDatetimeFormat = true;
187187

188188
// Set default User-Agent.
189-
setUserAgent("CellsCloud-SDK/24.9/java");
189+
setUserAgent("CellsCloud-SDK/24.10/java");
190190

191191
// Setup authentications (key: authentication name, value:
192192
// authentication).
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
/*
2+
* --------------------------------------------------------------------------------
3+
* <copyright company="Aspose" file="RemoveCharactersByCharacter.java">
4+
* Copyright (c) 2024 Aspose.Cells Cloud
5+
* </copyright>
6+
* <summary>
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
* </summary>
25+
* --------------------------------------------------------------------------------
26+
*/
27+
28+
package com.aspose.cloud.cells.model;
29+
30+
import java.util.Objects;
31+
import io.swagger.annotations.ApiModelProperty;
32+
import com.aspose.cloud.cells.model.*;
33+
import java.util.ArrayList;
34+
import java.util.List;
35+
import com.google.gson.annotations.SerializedName;
36+
import java.time.OffsetDateTime;
37+
38+
39+
public class RemoveCharactersByCharacter {
40+
@SerializedName("RemoveTextMethod")
41+
private String removeTextMethod ;
42+
43+
public RemoveCharactersByCharacter removeTextMethod(String removeTextMethod) {
44+
this.removeTextMethod = removeTextMethod;
45+
return this;
46+
}
47+
48+
@ApiModelProperty(value = "")
49+
public String getRemoveTextMethod() {
50+
return removeTextMethod;
51+
}
52+
53+
public void setRemoveTextMethod(String removeTextMethod) {
54+
this.removeTextMethod = removeTextMethod;
55+
}
56+
57+
@SerializedName("RemoveCharacters")
58+
private List<String> removeCharacters ;
59+
60+
public RemoveCharactersByCharacter removeCharacters(List<String> removeCharacters) {
61+
this.removeCharacters = removeCharacters;
62+
return this;
63+
}
64+
65+
@ApiModelProperty(value = "")
66+
public List<String> getRemoveCharacters() {
67+
return removeCharacters;
68+
}
69+
70+
public void setRemoveCharacters(List<String> removeCharacters) {
71+
this.removeCharacters = removeCharacters;
72+
}
73+
74+
@SerializedName("RemoveCharacterSetsType")
75+
private String removeCharacterSetsType ;
76+
77+
public RemoveCharactersByCharacter removeCharacterSetsType(String removeCharacterSetsType) {
78+
this.removeCharacterSetsType = removeCharacterSetsType;
79+
return this;
80+
}
81+
82+
@ApiModelProperty(value = "")
83+
public String getRemoveCharacterSetsType() {
84+
return removeCharacterSetsType;
85+
}
86+
87+
public void setRemoveCharacterSetsType(String removeCharacterSetsType) {
88+
this.removeCharacterSetsType = removeCharacterSetsType;
89+
}
90+
91+
@Override
92+
public boolean equals(java.lang.Object o) {
93+
if (this == o) {
94+
return true;
95+
}
96+
if (o == null || getClass() != o.getClass()) {
97+
return false;
98+
}
99+
100+
RemoveCharactersByCharacter removeCharactersByCharacter = (RemoveCharactersByCharacter) o;
101+
return
102+
Objects.equals(this.removeTextMethod, removeCharactersByCharacter.removeTextMethod) &&
103+
Objects.equals(this.removeCharacters, removeCharactersByCharacter.removeCharacters) &&
104+
Objects.equals(this.removeCharacterSetsType, removeCharactersByCharacter.removeCharacterSetsType);
105+
}
106+
107+
@Override
108+
public int hashCode() {
109+
return Objects.hash(removeTextMethod, removeCharacters, removeCharacterSetsType);
110+
}
111+
@Override
112+
public String toString() {
113+
StringBuilder sb = new StringBuilder();
114+
sb.append("class RemoveCharactersByCharacter {\n");
115+
sb.append(" removeTextMethod: ").append(toIndentedString(getRemoveTextMethod())).append("\n");
116+
sb.append(" removeCharacters: ").append(toIndentedString(getRemoveCharacters())).append("\n");
117+
sb.append(" removeCharacterSetsType: ").append(toIndentedString(getRemoveCharacterSetsType())).append("\n");
118+
sb.append("}");
119+
return sb.toString();
120+
}
121+
122+
/**
123+
* Convert the given object to string with each line indented by 4 spaces
124+
* (except the first line).
125+
*/
126+
private String toIndentedString(java.lang.Object o) {
127+
if (o == null) {
128+
return "null";
129+
}
130+
return o.toString().replace("\n", "\n ");
131+
}
132+
133+
134+
}
135+

0 commit comments

Comments
 (0)