Skip to content

Commit bdcb9f9

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents 1979575 + 72168c1 commit bdcb9f9

11 files changed

+415
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [25.5.0] - Aspose Words Cloud for Dart 25.5 Release Notes
2+
3+
- Added data models support for classes 'CommentRangeStart', 'CommentRangeEnd'.
4+
- Added data models support for classes 'FormFieldCheckboxLink', 'FormFieldDropDownLink', 'FormFieldTextInputLink'.
5+
6+
17
## [25.4.0] - Aspose Words Cloud for Dart 25.4 Release Notes
28

39
- Added 'AttachmentsEmbeddingMode' property for PdfSaveOptionsData class.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Add this dependency to your *pubspec.yaml*:
2727

2828
```yaml
2929
dependencies:
30-
aspose_words_cloud: 25.4.0
30+
aspose_words_cloud: 25.5.0
3131
```
3232
3333
## Getting Started

lib/aspose_words_cloud.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ export 'src/models/classification_result.dart';
5151
export 'src/models/comment_base.dart';
5252
export 'src/models/comment_insert.dart';
5353
export 'src/models/comment_link.dart';
54+
export 'src/models/comment_range_end.dart';
55+
export 'src/models/comment_range_start.dart';
5456
export 'src/models/comment_response.dart';
5557
export 'src/models/comment_update.dart';
5658
export 'src/models/comment.dart';
@@ -131,10 +133,13 @@ export 'src/models/footnote_update.dart';
131133
export 'src/models/footnote.dart';
132134
export 'src/models/footnotes_response.dart';
133135
export 'src/models/footnotes_stat_data.dart';
136+
export 'src/models/form_field_checkbox_link.dart';
134137
export 'src/models/form_field_checkbox.dart';
135138
export 'src/models/form_field_collection.dart';
139+
export 'src/models/form_field_drop_down_link.dart';
136140
export 'src/models/form_field_drop_down.dart';
137141
export 'src/models/form_field_response.dart';
142+
export 'src/models/form_field_text_input_link.dart';
138143
export 'src/models/form_field_text_input.dart';
139144
export 'src/models/form_field.dart';
140145
export 'src/models/form_fields_response.dart';

lib/src/api_client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ class ApiClient {
518518
}
519519

520520
httpRequest.headers['x-aspose-client'] = 'dart sdk';
521-
httpRequest.headers['x-aspose-client-version'] = '25.4';
521+
httpRequest.headers['x-aspose-client-version'] = '25.5';
522522
httpRequest.headers['Authorization'] = await _getAuthToken();
523523
httpRequest.headers.addAll(requestData.headers);
524524

lib/src/models/comment_range_end.dart

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
/*
2+
* --------------------------------------------------------------------------------
3+
* <copyright company="Aspose" file="comment_range_end.dart">
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+
library aspose_words_cloud;
29+
30+
import '../../aspose_words_cloud.dart';
31+
32+
/// Comment range end link.
33+
class CommentRangeEnd extends NodeLink {
34+
/// Gets or sets the link to comment.
35+
CommentLink? _commentLink;
36+
37+
CommentLink? get commentLink => _commentLink;
38+
set commentLink(CommentLink? val) => _commentLink = val;
39+
40+
41+
@override
42+
void deserialize(Map<String, dynamic>? json) {
43+
if (json == null) {
44+
throw ApiException(400, 'Failed to deserialize CommentRangeEnd data model.');
45+
}
46+
47+
super.deserialize(json);
48+
if (json.containsKey('Link')) {
49+
link = ModelBase.createInstance< WordsApiLink >(json['Link'] as Map<String, dynamic>);
50+
} else {
51+
link = null;
52+
}
53+
54+
if (json.containsKey('NodeId')) {
55+
nodeId = json['NodeId'] as String;
56+
} else {
57+
nodeId = null;
58+
}
59+
60+
if (json.containsKey('CommentLink')) {
61+
commentLink = ModelBase.createInstance< CommentLink >(json['CommentLink'] as Map<String, dynamic>);
62+
} else {
63+
commentLink = null;
64+
}
65+
}
66+
67+
@override
68+
Map<String, dynamic> serialize() {
69+
var _result = <String, dynamic>{};
70+
_result.addAll(super.serialize());
71+
if (commentLink != null) {
72+
_result['CommentLink'] = commentLink!.serialize();
73+
}
74+
return _result;
75+
}
76+
77+
@override
78+
void getFilesContent(List<FileReference> resultFilesContent) {
79+
}
80+
81+
@override
82+
void validate() {
83+
super.validate();
84+
85+
commentLink?.validate();
86+
87+
}
88+
}
89+
90+
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
/*
2+
* --------------------------------------------------------------------------------
3+
* <copyright company="Aspose" file="comment_range_start.dart">
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+
library aspose_words_cloud;
29+
30+
import '../../aspose_words_cloud.dart';
31+
32+
/// Comment range start link.
33+
class CommentRangeStart extends NodeLink {
34+
/// Gets or sets the link to comment.
35+
CommentLink? _commentLink;
36+
37+
CommentLink? get commentLink => _commentLink;
38+
set commentLink(CommentLink? val) => _commentLink = val;
39+
40+
41+
@override
42+
void deserialize(Map<String, dynamic>? json) {
43+
if (json == null) {
44+
throw ApiException(400, 'Failed to deserialize CommentRangeStart data model.');
45+
}
46+
47+
super.deserialize(json);
48+
if (json.containsKey('Link')) {
49+
link = ModelBase.createInstance< WordsApiLink >(json['Link'] as Map<String, dynamic>);
50+
} else {
51+
link = null;
52+
}
53+
54+
if (json.containsKey('NodeId')) {
55+
nodeId = json['NodeId'] as String;
56+
} else {
57+
nodeId = null;
58+
}
59+
60+
if (json.containsKey('CommentLink')) {
61+
commentLink = ModelBase.createInstance< CommentLink >(json['CommentLink'] as Map<String, dynamic>);
62+
} else {
63+
commentLink = null;
64+
}
65+
}
66+
67+
@override
68+
Map<String, dynamic> serialize() {
69+
var _result = <String, dynamic>{};
70+
_result.addAll(super.serialize());
71+
if (commentLink != null) {
72+
_result['CommentLink'] = commentLink!.serialize();
73+
}
74+
return _result;
75+
}
76+
77+
@override
78+
void getFilesContent(List<FileReference> resultFilesContent) {
79+
}
80+
81+
@override
82+
void validate() {
83+
super.validate();
84+
85+
commentLink?.validate();
86+
87+
}
88+
}
89+
90+
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/*
2+
* --------------------------------------------------------------------------------
3+
* <copyright company="Aspose" file="form_field_checkbox_link.dart">
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+
library aspose_words_cloud;
29+
30+
import '../../aspose_words_cloud.dart';
31+
32+
/// Link to FormField checkbox element.
33+
class FormFieldCheckboxLink extends NodeLink {
34+
35+
@override
36+
void deserialize(Map<String, dynamic>? json) {
37+
if (json == null) {
38+
throw ApiException(400, 'Failed to deserialize FormFieldCheckboxLink data model.');
39+
}
40+
41+
super.deserialize(json);
42+
if (json.containsKey('Link')) {
43+
link = ModelBase.createInstance< WordsApiLink >(json['Link'] as Map<String, dynamic>);
44+
} else {
45+
link = null;
46+
}
47+
48+
if (json.containsKey('NodeId')) {
49+
nodeId = json['NodeId'] as String;
50+
} else {
51+
nodeId = null;
52+
}
53+
}
54+
55+
@override
56+
Map<String, dynamic> serialize() {
57+
var _result = <String, dynamic>{};
58+
_result.addAll(super.serialize());
59+
return _result;
60+
}
61+
62+
@override
63+
void getFilesContent(List<FileReference> resultFilesContent) {
64+
}
65+
66+
@override
67+
void validate() {
68+
super.validate();
69+
}
70+
}
71+
72+
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/*
2+
* --------------------------------------------------------------------------------
3+
* <copyright company="Aspose" file="form_field_drop_down_link.dart">
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+
library aspose_words_cloud;
29+
30+
import '../../aspose_words_cloud.dart';
31+
32+
/// Link to FormField DropDown element.
33+
class FormFieldDropDownLink extends NodeLink {
34+
35+
@override
36+
void deserialize(Map<String, dynamic>? json) {
37+
if (json == null) {
38+
throw ApiException(400, 'Failed to deserialize FormFieldDropDownLink data model.');
39+
}
40+
41+
super.deserialize(json);
42+
if (json.containsKey('Link')) {
43+
link = ModelBase.createInstance< WordsApiLink >(json['Link'] as Map<String, dynamic>);
44+
} else {
45+
link = null;
46+
}
47+
48+
if (json.containsKey('NodeId')) {
49+
nodeId = json['NodeId'] as String;
50+
} else {
51+
nodeId = null;
52+
}
53+
}
54+
55+
@override
56+
Map<String, dynamic> serialize() {
57+
var _result = <String, dynamic>{};
58+
_result.addAll(super.serialize());
59+
return _result;
60+
}
61+
62+
@override
63+
void getFilesContent(List<FileReference> resultFilesContent) {
64+
}
65+
66+
@override
67+
void validate() {
68+
super.validate();
69+
}
70+
}
71+
72+

0 commit comments

Comments
 (0)