Skip to content

Commit 8e78b73

Browse files
SDK regenerated by CI server [ci skip]
1 parent 91fb8da commit 8e78b73

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## [24.11.0] - Aspose Words Cloud for Dart 24.11 Release Notes
22

33
- Added GetAllRevisions method to obtain all available revisions in document.
4+
- Added AppendAllEntriesToOneSection parameter to AppendDocument method to append entries to the same section.
45

56

67
## [24.9.0] - Aspose Words Cloud for Dart 24.9 Release Notes

lib/src/models/document_entry_list.dart

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ import '../../aspose_words_cloud.dart';
3131

3232
/// Represents a list of documents which will be appended to the original resource document.
3333
class DocumentEntryList extends BaseEntryList {
34+
/// Gets or sets a value indicating whether to append all documents to the same section.
35+
bool? _appendAllEntriesToOneSection;
36+
37+
bool? get appendAllEntriesToOneSection => _appendAllEntriesToOneSection;
38+
set appendAllEntriesToOneSection(bool? val) => _appendAllEntriesToOneSection = val;
39+
40+
3441
/// Gets or sets a value indicating whether to apply headers and footers from base document to appending documents. The default value is true.
3542
bool? _applyBaseDocumentHeadersAndFootersToAppendingDocuments;
3643

@@ -52,6 +59,12 @@ class DocumentEntryList extends BaseEntryList {
5259
}
5360

5461
super.deserialize(json);
62+
if (json.containsKey('AppendAllEntriesToOneSection')) {
63+
appendAllEntriesToOneSection = json['AppendAllEntriesToOneSection'] as bool;
64+
} else {
65+
appendAllEntriesToOneSection = null;
66+
}
67+
5568
if (json.containsKey('ApplyBaseDocumentHeadersAndFootersToAppendingDocuments')) {
5669
applyBaseDocumentHeadersAndFootersToAppendingDocuments = json['ApplyBaseDocumentHeadersAndFootersToAppendingDocuments'] as bool;
5770
} else {
@@ -73,6 +86,10 @@ class DocumentEntryList extends BaseEntryList {
7386
Map<String, dynamic> serialize() {
7487
var _result = <String, dynamic>{};
7588
_result.addAll(super.serialize());
89+
if (appendAllEntriesToOneSection != null) {
90+
_result['AppendAllEntriesToOneSection'] = appendAllEntriesToOneSection!;
91+
}
92+
7693
if (applyBaseDocumentHeadersAndFootersToAppendingDocuments != null) {
7794
_result['ApplyBaseDocumentHeadersAndFootersToAppendingDocuments'] = applyBaseDocumentHeadersAndFootersToAppendingDocuments!;
7895
}

0 commit comments

Comments
 (0)