Skip to content

Commit 85cb1d8

Browse files
Merge branch 'master' into release
2 parents b297fdd + 1894500 commit 85cb1d8

File tree

84 files changed

+2223
-1917
lines changed

Some content is hidden

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

84 files changed

+2223
-1917
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ This repository contains Aspose.Words Cloud SDK for Java source code. This SDK a
1313
* Watermarks and protection
1414
* Full read & write access to Document Object Model, including sections, paragraphs, text, images, tables, headers/footers and many others
1515

16+
## Enhancements in Version 23.9
17+
18+
- Support for class inheritance in responses from the server.
19+
20+
21+
## Enhancements in Version 23.6
22+
23+
- Fix XMLHttpRequest in web applications.
24+
25+
1626
## Enhancements in Version 23.5
1727

1828
- Added InsertSection method.
@@ -286,7 +296,7 @@ Add this dependency to your project's POM:
286296
<dependency>
287297
<groupId>com.aspose</groupId>
288298
<artifactId>aspose-words-cloud</artifactId>
289-
<version>23.5.0</version>
299+
<version>23.8.0</version>
290300
</dependency>
291301
</dependencies>
292302
```

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<artifactId>aspose-words-cloud</artifactId>
55
<packaging>jar</packaging>
66
<name>AsposeWordsCloud</name>
7-
<version>23.5.0</version>
7+
<version>23.8.0</version>
88
<url>https://www.aspose.cloud/</url>
99
<description>Aspose Words Java SDK</description>
1010
<scm>

src/main/java/com/aspose/words/cloud/ApiClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public class ApiClient {
5959
private String apiVersion = "v4.0";
6060
private String baseUrl = "https://api.aspose.cloud";
6161
private String basePath = baseUrl + "/" + apiVersion;
62-
private String clientVersion = "23.5";
62+
private String clientVersion = "23.8";
6363
private boolean debugging = false;
6464
private Map<String, String> defaultHeaderMap = new HashMap<String, String>();
6565
private String tempFolderPath = null;
@@ -1011,7 +1011,7 @@ public void requestToken() throws ApiException {
10111011
.addEncoded("client_secret", getClientSecret())
10121012
.build();
10131013

1014-
String url = baseUrl + "/connect/token";
1014+
String url = baseUrl + "/v4.0/words/connect/token";
10151015
Request request = new Request.Builder()
10161016
.url(url)
10171017
.post(requestBody)

src/main/java/com/aspose/words/cloud/JSON.java

Lines changed: 335 additions & 21 deletions
Large diffs are not rendered by default.

src/main/java/com/aspose/words/cloud/model/BmpSaveOptionsData.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ public String toString() {
9494
sb.append(" updateFields: ").append(toIndentedString(getUpdateFields())).append("\n");
9595
sb.append(" updateLastPrintedProperty: ").append(toIndentedString(getUpdateLastPrintedProperty())).append("\n");
9696
sb.append(" updateLastSavedTimeProperty: ").append(toIndentedString(getUpdateLastSavedTimeProperty())).append("\n");
97-
sb.append(" updateSdtContent: ").append(toIndentedString(getUpdateSdtContent())).append("\n");
9897
sb.append(" zipOutput: ").append(toIndentedString(getZipOutput())).append("\n");
9998
sb.append(" colorMode: ").append(toIndentedString(getColorMode())).append("\n");
10099
sb.append(" jpegQuality: ").append(toIndentedString(getJpegQuality())).append("\n");
@@ -112,9 +111,9 @@ public String toString() {
112111
sb.append(" resolution: ").append(toIndentedString(getResolution())).append("\n");
113112
sb.append(" scale: ").append(toIndentedString(getScale())).append("\n");
114113
sb.append(" useAntiAliasing: ").append(toIndentedString(getUseAntiAliasing())).append("\n");
115-
sb.append(" useGdiEmfRenderer: ").append(toIndentedString(getUseGdiEmfRenderer())).append("\n");
116114
sb.append(" useHighQualityRendering: ").append(toIndentedString(getUseHighQualityRendering())).append("\n");
117115
sb.append(" verticalResolution: ").append(toIndentedString(getVerticalResolution())).append("\n");
116+
sb.append(" useGdiEmfRenderer: ").append(toIndentedString(getUseGdiEmfRenderer())).append("\n");
118117
sb.append(" saveFormat: ").append(toIndentedString(getSaveFormat())).append("\n");
119118
sb.append("}");
120119
return sb.toString();

src/main/java/com/aspose/words/cloud/model/Comment.java

Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -47,80 +47,80 @@
4747
*/
4848
@ApiModel(description = "DTO container with a comment.")
4949
public class Comment extends CommentLink {
50-
@SerializedName("Author")
51-
protected String author;
50+
@SerializedName("RangeStart")
51+
protected DocumentPosition rangeStart;
5252

53-
@SerializedName("Content")
54-
protected StoryChildNodes content;
53+
@SerializedName("RangeEnd")
54+
protected DocumentPosition rangeEnd;
5555

56-
@SerializedName("DateTime")
57-
protected OffsetDateTime dateTime;
56+
@SerializedName("Author")
57+
protected String author;
5858

5959
@SerializedName("Initial")
6060
protected String initial;
6161

62-
@SerializedName("RangeEnd")
63-
protected DocumentPosition rangeEnd;
64-
65-
@SerializedName("RangeStart")
66-
protected DocumentPosition rangeStart;
62+
@SerializedName("DateTime")
63+
protected OffsetDateTime dateTime;
6764

6865
@SerializedName("Text")
6966
protected String text;
67+
68+
@SerializedName("Content")
69+
protected StoryChildNodes content;
7070
/**
71-
* Gets or sets the author name for a comment.
72-
* @return author
71+
* Gets or sets the link to comment range start node.
72+
* @return rangeStart
7373
**/
74-
@ApiModelProperty(value = "Gets or sets the author name for a comment.")
75-
public String getAuthor() {
76-
return author;
74+
@ApiModelProperty(value = "Gets or sets the link to comment range start node.")
75+
public DocumentPosition getRangeStart() {
76+
return rangeStart;
7777
}
7878

79-
public Comment author(String author) {
80-
this.author = author;
79+
public Comment rangeStart(DocumentPosition rangeStart) {
80+
this.rangeStart = rangeStart;
8181
return this;
8282
}
8383

84-
public void setAuthor(String author) {
85-
this.author = author;
84+
public void setRangeStart(DocumentPosition rangeStart) {
85+
this.rangeStart = rangeStart;
8686
}
8787

8888

8989
/**
90-
* Gets or sets the content of the comment.
91-
* @return content
90+
* Gets or sets the link to comment range end node.
91+
* @return rangeEnd
9292
**/
93-
@ApiModelProperty(value = "Gets or sets the content of the comment.")
94-
public StoryChildNodes getContent() {
95-
return content;
93+
@ApiModelProperty(value = "Gets or sets the link to comment range end node.")
94+
public DocumentPosition getRangeEnd() {
95+
return rangeEnd;
9696
}
9797

98-
public Comment content(StoryChildNodes content) {
99-
this.content = content;
98+
public Comment rangeEnd(DocumentPosition rangeEnd) {
99+
this.rangeEnd = rangeEnd;
100100
return this;
101101
}
102102

103-
public void setContent(StoryChildNodes content) {
104-
this.content = content;
103+
public void setRangeEnd(DocumentPosition rangeEnd) {
104+
this.rangeEnd = rangeEnd;
105105
}
106106

107107

108108
/**
109-
* Gets or sets the date and time that the comment was made.
110-
* @return dateTime
109+
* Gets or sets the author name for a comment.
110+
* @return author
111111
**/
112-
@ApiModelProperty(value = "Gets or sets the date and time that the comment was made.")
113-
public OffsetDateTime getDateTime() {
114-
return dateTime;
112+
@ApiModelProperty(value = "Gets or sets the author name for a comment.")
113+
public String getAuthor() {
114+
return author;
115115
}
116116

117-
public Comment dateTime(OffsetDateTime dateTime) {
118-
this.dateTime = dateTime;
117+
public Comment author(String author) {
118+
this.author = author;
119119
return this;
120120
}
121121

122-
public void setDateTime(OffsetDateTime dateTime) {
123-
this.dateTime = dateTime;
122+
public void setAuthor(String author) {
123+
this.author = author;
124124
}
125125

126126

@@ -144,71 +144,71 @@ public void setInitial(String initial) {
144144

145145

146146
/**
147-
* Gets or sets the link to comment range end node.
148-
* @return rangeEnd
147+
* Gets or sets the date and time that the comment was made.
148+
* @return dateTime
149149
**/
150-
@ApiModelProperty(value = "Gets or sets the link to comment range end node.")
151-
public DocumentPosition getRangeEnd() {
152-
return rangeEnd;
150+
@ApiModelProperty(value = "Gets or sets the date and time that the comment was made.")
151+
public OffsetDateTime getDateTime() {
152+
return dateTime;
153153
}
154154

155-
public Comment rangeEnd(DocumentPosition rangeEnd) {
156-
this.rangeEnd = rangeEnd;
155+
public Comment dateTime(OffsetDateTime dateTime) {
156+
this.dateTime = dateTime;
157157
return this;
158158
}
159159

160-
public void setRangeEnd(DocumentPosition rangeEnd) {
161-
this.rangeEnd = rangeEnd;
160+
public void setDateTime(OffsetDateTime dateTime) {
161+
this.dateTime = dateTime;
162162
}
163163

164164

165165
/**
166-
* Gets or sets the link to comment range start node.
167-
* @return rangeStart
166+
* Gets or sets text of the comment.
167+
* @return text
168168
**/
169-
@ApiModelProperty(value = "Gets or sets the link to comment range start node.")
170-
public DocumentPosition getRangeStart() {
171-
return rangeStart;
169+
@ApiModelProperty(value = "Gets or sets text of the comment.")
170+
public String getText() {
171+
return text;
172172
}
173173

174-
public Comment rangeStart(DocumentPosition rangeStart) {
175-
this.rangeStart = rangeStart;
174+
public Comment text(String text) {
175+
this.text = text;
176176
return this;
177177
}
178178

179-
public void setRangeStart(DocumentPosition rangeStart) {
180-
this.rangeStart = rangeStart;
179+
public void setText(String text) {
180+
this.text = text;
181181
}
182182

183183

184184
/**
185-
* Gets or sets text of the comment.
186-
* @return text
185+
* Gets or sets the content of the comment.
186+
* @return content
187187
**/
188-
@ApiModelProperty(value = "Gets or sets text of the comment.")
189-
public String getText() {
190-
return text;
188+
@ApiModelProperty(value = "Gets or sets the content of the comment.")
189+
public StoryChildNodes getContent() {
190+
return content;
191191
}
192192

193-
public Comment text(String text) {
194-
this.text = text;
193+
public Comment content(StoryChildNodes content) {
194+
this.content = content;
195195
return this;
196196
}
197197

198-
public void setText(String text) {
199-
this.text = text;
198+
public void setContent(StoryChildNodes content) {
199+
this.content = content;
200200
}
201201

202202

203203
public Comment() {
204204
super();
205+
this.rangeStart = null;
206+
this.rangeEnd = null;
205207
this.author = null;
206-
this.content = null;
207-
this.dateTime = null;
208208
this.initial = null;
209-
this.rangeEnd = null;
210-
this.rangeStart = null;
209+
this.dateTime = null;
211210
this.text = null;
211+
this.content = null;
212212
}
213213

214214
/*
@@ -231,33 +231,33 @@ public boolean equals(java.lang.Object o) {
231231

232232
Comment comment = (Comment) o;
233233
return
234+
Objects.equals(this.rangeStart, comment.rangeStart) &&
235+
Objects.equals(this.rangeEnd, comment.rangeEnd) &&
234236
Objects.equals(this.author, comment.author) &&
235-
Objects.equals(this.content, comment.content) &&
236-
Objects.equals(this.dateTime, comment.dateTime) &&
237237
Objects.equals(this.initial, comment.initial) &&
238-
Objects.equals(this.rangeEnd, comment.rangeEnd) &&
239-
Objects.equals(this.rangeStart, comment.rangeStart) &&
238+
Objects.equals(this.dateTime, comment.dateTime) &&
240239
Objects.equals(this.text, comment.text) &&
240+
Objects.equals(this.content, comment.content) &&
241241
super.equals(o);
242242
}
243243

244244
@Override
245245
public int hashCode() {
246-
return Objects.hash(author, content, dateTime, initial, rangeEnd, rangeStart, text, super.hashCode());
246+
return Objects.hash(rangeStart, rangeEnd, author, initial, dateTime, text, content, super.hashCode());
247247
}
248248

249249
@Override
250250
public String toString() {
251251
StringBuilder sb = new StringBuilder();
252252
sb.append("class Comment {\n");
253253
sb.append(" link: ").append(toIndentedString(getLink())).append("\n");
254+
sb.append(" rangeStart: ").append(toIndentedString(getRangeStart())).append("\n");
255+
sb.append(" rangeEnd: ").append(toIndentedString(getRangeEnd())).append("\n");
254256
sb.append(" author: ").append(toIndentedString(getAuthor())).append("\n");
255-
sb.append(" content: ").append(toIndentedString(getContent())).append("\n");
256-
sb.append(" dateTime: ").append(toIndentedString(getDateTime())).append("\n");
257257
sb.append(" initial: ").append(toIndentedString(getInitial())).append("\n");
258-
sb.append(" rangeEnd: ").append(toIndentedString(getRangeEnd())).append("\n");
259-
sb.append(" rangeStart: ").append(toIndentedString(getRangeStart())).append("\n");
258+
sb.append(" dateTime: ").append(toIndentedString(getDateTime())).append("\n");
260259
sb.append(" text: ").append(toIndentedString(getText())).append("\n");
260+
sb.append(" content: ").append(toIndentedString(getContent())).append("\n");
261261
sb.append("}");
262262
return sb.toString();
263263
}

0 commit comments

Comments
 (0)