Skip to content

Commit 17e7800

Browse files
Merge branch 'master' into release
2 parents ce25539 + de4dd07 commit 17e7800

File tree

9 files changed

+634
-3
lines changed

9 files changed

+634
-3
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ 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 25.5
17+
18+
- Added data models support for classes 'CommentRangeStart', 'CommentRangeEnd'.
19+
- Added data models support for classes 'FormFieldCheckboxLink', 'FormFieldDropDownLink', 'FormFieldTextInputLink'.
20+
21+
1622
## Enhancements in Version 25.4
1723

1824
- Added 'AttachmentsEmbeddingMode' property for PdfSaveOptionsData class.
@@ -393,7 +399,7 @@ Add this dependency to your project's POM:
393399
<dependency>
394400
<groupId>com.aspose</groupId>
395401
<artifactId>aspose-words-cloud</artifactId>
396-
<version>25.4.0</version>
402+
<version>25.5.0</version>
397403
</dependency>
398404
</dependencies>
399405
```

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>25.4.0</version>
7+
<version>25.5.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: 1 addition & 1 deletion
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 = "25.4";
62+
private String clientVersion = "25.5";
6363
private boolean debugging = false;
6464
private Map<String, String> defaultHeaderMap = new HashMap<String, String>();
6565
private String tempFolderPath = null;

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,8 @@ public static class ModelAdapterFactory implements TypeAdapterFactory {
433433
put("Comment, _", com.aspose.words.cloud.model.Comment.class);
434434
put("CommentInsert, _", com.aspose.words.cloud.model.CommentInsert.class);
435435
put("CommentLink, _", com.aspose.words.cloud.model.CommentLink.class);
436+
put("CommentRangeEnd, _", com.aspose.words.cloud.model.CommentRangeEnd.class);
437+
put("CommentRangeStart, _", com.aspose.words.cloud.model.CommentRangeStart.class);
436438
put("CommentResponse, _", com.aspose.words.cloud.model.CommentResponse.class);
437439
put("CommentsCollection, _", com.aspose.words.cloud.model.CommentsCollection.class);
438440
put("CommentsResponse, _", com.aspose.words.cloud.model.CommentsResponse.class);
@@ -509,11 +511,14 @@ public static class ModelAdapterFactory implements TypeAdapterFactory {
509511
put("FootnotesStatData, _", com.aspose.words.cloud.model.FootnotesStatData.class);
510512
put("FootnoteUpdate, _", com.aspose.words.cloud.model.FootnoteUpdate.class);
511513
put("FormFieldCheckbox, _", com.aspose.words.cloud.model.FormFieldCheckbox.class);
514+
put("FormFieldCheckboxLink, _", com.aspose.words.cloud.model.FormFieldCheckboxLink.class);
512515
put("FormFieldCollection, _", com.aspose.words.cloud.model.FormFieldCollection.class);
513516
put("FormFieldDropDown, _", com.aspose.words.cloud.model.FormFieldDropDown.class);
517+
put("FormFieldDropDownLink, _", com.aspose.words.cloud.model.FormFieldDropDownLink.class);
514518
put("FormFieldResponse, _", com.aspose.words.cloud.model.FormFieldResponse.class);
515519
put("FormFieldsResponse, _", com.aspose.words.cloud.model.FormFieldsResponse.class);
516520
put("FormFieldTextInput, _", com.aspose.words.cloud.model.FormFieldTextInput.class);
521+
put("FormFieldTextInputLink, _", com.aspose.words.cloud.model.FormFieldTextInputLink.class);
517522
put("GifSaveOptionsData, _", com.aspose.words.cloud.model.GifSaveOptionsData.class);
518523
put("HeaderFooter, _", com.aspose.words.cloud.model.HeaderFooter.class);
519524
put("HeaderFooterLink, _", com.aspose.words.cloud.model.HeaderFooterLink.class);
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
/*
2+
* --------------------------------------------------------------------------------
3+
* <copyright company="Aspose" file="CommentRangeEnd.java">
4+
* Copyright (c) 2025 Aspose.Words for 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.words.cloud.model;
29+
30+
import java.util.Objects;
31+
import java.util.Arrays;
32+
import java.util.ArrayList;
33+
import java.util.List;
34+
import java.io.IOException;
35+
import org.threeten.bp.OffsetDateTime;
36+
import com.aspose.words.cloud.ApiException;
37+
import com.aspose.words.cloud.model.*;
38+
import com.google.gson.TypeAdapter;
39+
import com.google.gson.annotations.JsonAdapter;
40+
import com.google.gson.annotations.SerializedName;
41+
import com.google.gson.stream.JsonReader;
42+
import com.google.gson.stream.JsonWriter;
43+
import io.swagger.annotations.ApiModel;
44+
import io.swagger.annotations.ApiModelProperty;
45+
46+
/**
47+
* Comment range end link.
48+
*/
49+
@ApiModel(description = "Comment range end link.")
50+
public class CommentRangeEnd extends NodeLink {
51+
@SerializedName("CommentLink")
52+
protected CommentLink commentLink;
53+
/**
54+
* Gets or sets the link to comment.
55+
* @return commentLink
56+
**/
57+
@ApiModelProperty(value = "Gets or sets the link to comment.")
58+
public CommentLink getCommentLink() {
59+
return commentLink;
60+
}
61+
62+
public CommentRangeEnd commentLink(CommentLink commentLink) {
63+
this.commentLink = commentLink;
64+
return this;
65+
}
66+
67+
public void setCommentLink(CommentLink commentLink) {
68+
this.commentLink = commentLink;
69+
}
70+
71+
72+
public CommentRangeEnd() {
73+
super();
74+
this.commentLink = null;
75+
}
76+
77+
/*
78+
* Gets files content.
79+
*
80+
* @param resultFilesContent List<FileReference> instance.
81+
*/
82+
@Override
83+
public void getFilesContent(List<FileReference> resultFilesContent) {
84+
}
85+
86+
/*
87+
* Validate required properties.
88+
*
89+
* @throws ApiException If fails to validate required properties.
90+
*/
91+
@Override
92+
public void validate() throws ApiException {
93+
super.validate();
94+
95+
if (this.commentLink != null) {
96+
this.commentLink.validate();
97+
}
98+
99+
}
100+
101+
@Override
102+
public boolean equals(java.lang.Object o) {
103+
if (this == o) {
104+
return true;
105+
}
106+
if (o == null || getClass() != o.getClass()) {
107+
return false;
108+
}
109+
110+
CommentRangeEnd commentRangeEnd = (CommentRangeEnd) o;
111+
return
112+
Objects.equals(this.commentLink, commentRangeEnd.commentLink) &&
113+
super.equals(o);
114+
}
115+
116+
@Override
117+
public int hashCode() {
118+
return Objects.hash(commentLink, super.hashCode());
119+
}
120+
121+
@Override
122+
public String toString() {
123+
StringBuilder sb = new StringBuilder();
124+
sb.append("class CommentRangeEnd {\n");
125+
sb.append(" link: ").append(toIndentedString(getLink())).append("\n");
126+
sb.append(" nodeId: ").append(toIndentedString(getNodeId())).append("\n");
127+
sb.append(" commentLink: ").append(toIndentedString(getCommentLink())).append("\n");
128+
sb.append("}");
129+
return sb.toString();
130+
}
131+
132+
/**
133+
* Convert the given object to string with each line indented by 4 spaces
134+
* (except the first line).
135+
*/
136+
private String toIndentedString(java.lang.Object o) {
137+
if (o == null) {
138+
return "null";
139+
}
140+
return o.toString().replace("\n", "\n ");
141+
}
142+
}
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
/*
2+
* --------------------------------------------------------------------------------
3+
* <copyright company="Aspose" file="CommentRangeStart.java">
4+
* Copyright (c) 2025 Aspose.Words for 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.words.cloud.model;
29+
30+
import java.util.Objects;
31+
import java.util.Arrays;
32+
import java.util.ArrayList;
33+
import java.util.List;
34+
import java.io.IOException;
35+
import org.threeten.bp.OffsetDateTime;
36+
import com.aspose.words.cloud.ApiException;
37+
import com.aspose.words.cloud.model.*;
38+
import com.google.gson.TypeAdapter;
39+
import com.google.gson.annotations.JsonAdapter;
40+
import com.google.gson.annotations.SerializedName;
41+
import com.google.gson.stream.JsonReader;
42+
import com.google.gson.stream.JsonWriter;
43+
import io.swagger.annotations.ApiModel;
44+
import io.swagger.annotations.ApiModelProperty;
45+
46+
/**
47+
* Comment range start link.
48+
*/
49+
@ApiModel(description = "Comment range start link.")
50+
public class CommentRangeStart extends NodeLink {
51+
@SerializedName("CommentLink")
52+
protected CommentLink commentLink;
53+
/**
54+
* Gets or sets the link to comment.
55+
* @return commentLink
56+
**/
57+
@ApiModelProperty(value = "Gets or sets the link to comment.")
58+
public CommentLink getCommentLink() {
59+
return commentLink;
60+
}
61+
62+
public CommentRangeStart commentLink(CommentLink commentLink) {
63+
this.commentLink = commentLink;
64+
return this;
65+
}
66+
67+
public void setCommentLink(CommentLink commentLink) {
68+
this.commentLink = commentLink;
69+
}
70+
71+
72+
public CommentRangeStart() {
73+
super();
74+
this.commentLink = null;
75+
}
76+
77+
/*
78+
* Gets files content.
79+
*
80+
* @param resultFilesContent List<FileReference> instance.
81+
*/
82+
@Override
83+
public void getFilesContent(List<FileReference> resultFilesContent) {
84+
}
85+
86+
/*
87+
* Validate required properties.
88+
*
89+
* @throws ApiException If fails to validate required properties.
90+
*/
91+
@Override
92+
public void validate() throws ApiException {
93+
super.validate();
94+
95+
if (this.commentLink != null) {
96+
this.commentLink.validate();
97+
}
98+
99+
}
100+
101+
@Override
102+
public boolean equals(java.lang.Object o) {
103+
if (this == o) {
104+
return true;
105+
}
106+
if (o == null || getClass() != o.getClass()) {
107+
return false;
108+
}
109+
110+
CommentRangeStart commentRangeStart = (CommentRangeStart) o;
111+
return
112+
Objects.equals(this.commentLink, commentRangeStart.commentLink) &&
113+
super.equals(o);
114+
}
115+
116+
@Override
117+
public int hashCode() {
118+
return Objects.hash(commentLink, super.hashCode());
119+
}
120+
121+
@Override
122+
public String toString() {
123+
StringBuilder sb = new StringBuilder();
124+
sb.append("class CommentRangeStart {\n");
125+
sb.append(" link: ").append(toIndentedString(getLink())).append("\n");
126+
sb.append(" nodeId: ").append(toIndentedString(getNodeId())).append("\n");
127+
sb.append(" commentLink: ").append(toIndentedString(getCommentLink())).append("\n");
128+
sb.append("}");
129+
return sb.toString();
130+
}
131+
132+
/**
133+
* Convert the given object to string with each line indented by 4 spaces
134+
* (except the first line).
135+
*/
136+
private String toIndentedString(java.lang.Object o) {
137+
if (o == null) {
138+
return "null";
139+
}
140+
return o.toString().replace("\n", "\n ");
141+
}
142+
}

0 commit comments

Comments
 (0)