Skip to content

Commit 8f6acf9

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents ab0c7b8 + 36ec871 commit 8f6acf9

19 files changed

+501
-99
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [24.4.0] - Aspose Words Cloud for Dart 24.4 Release Notes
2+
3+
- Added the 'MergeWithNext' method to merge a section with the next one.
4+
5+
16
## [24.3.0] - Aspose Words Cloud for Dart 24.3 Release Notes
27

38
- Added support for 'RemoveEmptyCells' option for the 'Cleanup' parameter in the insert 'MailMerge' API method.

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ node('words-linux') {
3737
}
3838

3939
if (packageTesting) {
40-
docker.image('dart:2.19.4').inside {
40+
docker.image('dart:stable').inside {
4141
stage('prepare'){
4242
sh "rm -rf lib"
4343
sh "cp ./pubspec_package_testing.yaml ./pubspec.yaml"
@@ -61,7 +61,7 @@ node('words-linux') {
6161
}
6262
}
6363
else if (needToBuild) {
64-
docker.image('dart:2.19.4').inside {
64+
docker.image('dart:stable').inside {
6565
stage('prepare'){
6666
sh "dart pub get"
6767
sh "dart pub global activate junitreport"

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: 24.3.0
30+
aspose_words_cloud: 24.4.0
3131
```
3232
3333
## Getting Started

lib/aspose_words_cloud.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,8 @@ export 'src/requests/insert_watermark_text_online_request.dart';
565565
export 'src/requests/insert_watermark_text_request.dart';
566566
export 'src/requests/link_header_footers_to_previous_request.dart';
567567
export 'src/requests/load_web_document_request.dart';
568+
export 'src/requests/merge_with_next_online_request.dart';
569+
export 'src/requests/merge_with_next_request.dart';
568570
export 'src/requests/move_file_request.dart';
569571
export 'src/requests/move_folder_request.dart';
570572
export 'src/requests/optimize_document_online_request.dart';

lib/src/api_client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ class ApiClient {
503503

504504
var httpRequest = http.Request(requestData.method, Uri.parse(requestData.url));
505505
httpRequest.headers['x-aspose-client'] = 'dart sdk';
506-
httpRequest.headers['x-aspose-client-version'] = '24.3';
506+
httpRequest.headers['x-aspose-client-version'] = '24.4';
507507
httpRequest.headers['Authorization'] = await _getAuthToken();
508508
httpRequest.headers.addAll(requestData.headers);
509509

lib/src/models/drawing_object_insert.dart

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,13 @@ class DrawingObjectInsert implements ModelBase {
8787
set wrapType(DrawingObjectInsert_WrapTypeEnum? val) => _wrapType = val;
8888

8989

90+
/// Gets or sets a value indicating whether AspectRatioLocked option on or off.
91+
bool? _aspectRatioLocked;
92+
93+
bool? get aspectRatioLocked => _aspectRatioLocked;
94+
set aspectRatioLocked(bool? val) => _aspectRatioLocked = val;
95+
96+
9097
@override
9198
void deserialize(Map<String, dynamic>? json) {
9299
if (json == null) {
@@ -171,6 +178,12 @@ class DrawingObjectInsert implements ModelBase {
171178
} else {
172179
wrapType = null;
173180
}
181+
182+
if (json.containsKey('AspectRatioLocked')) {
183+
aspectRatioLocked = json['AspectRatioLocked'] as bool;
184+
} else {
185+
aspectRatioLocked = null;
186+
}
174187
}
175188

176189
@override
@@ -238,6 +251,10 @@ class DrawingObjectInsert implements ModelBase {
238251
default: break;
239252
}
240253
}
254+
255+
if (aspectRatioLocked != null) {
256+
_result['AspectRatioLocked'] = aspectRatioLocked!;
257+
}
241258
return _result;
242259
}
243260

@@ -285,6 +302,7 @@ class DrawingObjectInsert implements ModelBase {
285302

286303

287304

305+
288306
}
289307
}
290308

lib/src/models/drawing_object_update.dart

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ class DrawingObjectUpdate implements ModelBase {
8080
set wrapType(DrawingObjectUpdate_WrapTypeEnum? val) => _wrapType = val;
8181

8282

83+
/// Gets or sets a value indicating whether AspectRatioLocked option on or off.
84+
bool? _aspectRatioLocked;
85+
86+
bool? get aspectRatioLocked => _aspectRatioLocked;
87+
set aspectRatioLocked(bool? val) => _aspectRatioLocked = val;
88+
89+
8390
@override
8491
void deserialize(Map<String, dynamic>? json) {
8592
if (json == null) {
@@ -158,6 +165,12 @@ class DrawingObjectUpdate implements ModelBase {
158165
} else {
159166
wrapType = null;
160167
}
168+
169+
if (json.containsKey('AspectRatioLocked')) {
170+
aspectRatioLocked = json['AspectRatioLocked'] as bool;
171+
} else {
172+
aspectRatioLocked = null;
173+
}
161174
}
162175

163176
@override
@@ -221,6 +234,10 @@ class DrawingObjectUpdate implements ModelBase {
221234
default: break;
222235
}
223236
}
237+
238+
if (aspectRatioLocked != null) {
239+
_result['AspectRatioLocked'] = aspectRatioLocked!;
240+
}
224241
return _result;
225242
}
226243

lib/src/models/structured_document_tag.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ class StructuredDocumentTag extends StructuredDocumentTagBase {
8282

8383
if (json.containsKey('Appearance')) {
8484
switch (json['Appearance'] as String) {
85-
case 'Default': appearance = StructuredDocumentTagBase_AppearanceEnum.defaultValue; break;
8685
case 'BoundingBox': appearance = StructuredDocumentTagBase_AppearanceEnum.boundingBox; break;
86+
case 'Default': appearance = StructuredDocumentTagBase_AppearanceEnum.defaultValue; break;
8787
case 'Tags': appearance = StructuredDocumentTagBase_AppearanceEnum.tags; break;
8888
case 'Hidden': appearance = StructuredDocumentTagBase_AppearanceEnum.hidden; break;
8989
default: appearance = null; break;

lib/src/models/structured_document_tag_base.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ abstract class StructuredDocumentTagBase extends NodeLink {
254254

255255
if (json.containsKey('Appearance')) {
256256
switch (json['Appearance'] as String) {
257-
case 'Default': appearance = StructuredDocumentTagBase_AppearanceEnum.defaultValue; break;
258257
case 'BoundingBox': appearance = StructuredDocumentTagBase_AppearanceEnum.boundingBox; break;
258+
case 'Default': appearance = StructuredDocumentTagBase_AppearanceEnum.defaultValue; break;
259259
case 'Tags': appearance = StructuredDocumentTagBase_AppearanceEnum.tags; break;
260260
case 'Hidden': appearance = StructuredDocumentTagBase_AppearanceEnum.hidden; break;
261261
default: appearance = null; break;
@@ -410,8 +410,8 @@ abstract class StructuredDocumentTagBase extends NodeLink {
410410

411411
if (appearance != null) {
412412
switch (appearance!) {
413-
case StructuredDocumentTagBase_AppearanceEnum.defaultValue: _result['Appearance'] = 'Default'; break;
414413
case StructuredDocumentTagBase_AppearanceEnum.boundingBox: _result['Appearance'] = 'BoundingBox'; break;
414+
case StructuredDocumentTagBase_AppearanceEnum.defaultValue: _result['Appearance'] = 'Default'; break;
415415
case StructuredDocumentTagBase_AppearanceEnum.tags: _result['Appearance'] = 'Tags'; break;
416416
case StructuredDocumentTagBase_AppearanceEnum.hidden: _result['Appearance'] = 'Hidden'; break;
417417
default: break;
@@ -562,8 +562,8 @@ abstract class StructuredDocumentTagBase extends NodeLink {
562562
/// Gets or sets the appearance of a structured document tag.
563563
enum StructuredDocumentTagBase_AppearanceEnum
564564
{
565-
defaultValue,
566565
boundingBox,
566+
defaultValue,
567567
tags,
568568
hidden
569569
}

lib/src/models/structured_document_tag_insert.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ class StructuredDocumentTagInsert extends StructuredDocumentTagBase {
8989

9090
if (json.containsKey('Appearance')) {
9191
switch (json['Appearance'] as String) {
92-
case 'Default': appearance = StructuredDocumentTagBase_AppearanceEnum.defaultValue; break;
9392
case 'BoundingBox': appearance = StructuredDocumentTagBase_AppearanceEnum.boundingBox; break;
93+
case 'Default': appearance = StructuredDocumentTagBase_AppearanceEnum.defaultValue; break;
9494
case 'Tags': appearance = StructuredDocumentTagBase_AppearanceEnum.tags; break;
9595
case 'Hidden': appearance = StructuredDocumentTagBase_AppearanceEnum.hidden; break;
9696
default: appearance = null; break;

0 commit comments

Comments
 (0)