@@ -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.
3333class 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