File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 11## [ 21.8.0] - Aspose Words Cloud for Dart 21.8 Release Notes
22
33- Added new api methods to get, insert, update or delete custom xml parts from documents.
4+ - Added parameter 'ResultDocumentFormat' to Compare API
5+ - Added 'ExportLanguageToSpanTag' pdf save option
6+ - Added 'FlatOpcXmlMappingOnly' save option
47
58
69## [ 21.7.0] - Aspose Words Cloud for Dart 21.7 Release Notes
Original file line number Diff line number Diff line change @@ -61,6 +61,9 @@ class PdfSaveOptionsData extends FixedPageSaveOptionsData {
6161 /// Gets or sets a value indicating whether to export document structure.
6262 bool exportDocumentStructure;
6363
64+ /// Gets or sets a value determining whether or not to create a "Span" tag in the document structure to export the text language.
65+ bool exportLanguageToSpanTag;
66+
6467 /// Gets or sets the font embedding mode.
6568 String fontEmbeddingMode;
6669
@@ -171,6 +174,12 @@ class PdfSaveOptionsData extends FixedPageSaveOptionsData {
171174 exportDocumentStructure = null ;
172175 }
173176
177+ if (json.containsKey ('ExportLanguageToSpanTag' )) {
178+ exportLanguageToSpanTag = json['ExportLanguageToSpanTag' ] as bool ;
179+ } else {
180+ exportLanguageToSpanTag = null ;
181+ }
182+
174183 if (json.containsKey ('FontEmbeddingMode' )) {
175184 fontEmbeddingMode = json['FontEmbeddingMode' ] as String ;
176185 } else {
@@ -308,6 +317,10 @@ class PdfSaveOptionsData extends FixedPageSaveOptionsData {
308317 _result['ExportDocumentStructure' ] = exportDocumentStructure;
309318 }
310319
320+ if (exportLanguageToSpanTag != null ) {
321+ _result['ExportLanguageToSpanTag' ] = exportLanguageToSpanTag;
322+ }
323+
311324 if (fontEmbeddingMode != null ) {
312325 _result['FontEmbeddingMode' ] = fontEmbeddingMode;
313326 }
Original file line number Diff line number Diff line change @@ -50,6 +50,10 @@ class SaveOptionsData implements ModelBase {
5050 /// Gets or sets the name of destination file.
5151 String fileName;
5252
53+ /// Gets or sets value determining which document formats are allowed to be mapped by Aspose.Words.Markup.StructuredDocumentTag.XmlMapping.
54+ /// By default only Aspose.Words.LoadFormat.FlatOpc document format is allowed to be mapped.
55+ bool flatOpcXmlMappingOnly;
56+
5357 /// Gets or sets the value determining how ink (InkML) objects are rendered.
5458 String imlRenderingMode;
5559
@@ -123,6 +127,12 @@ class SaveOptionsData implements ModelBase {
123127 fileName = null ;
124128 }
125129
130+ if (json.containsKey ('FlatOpcXmlMappingOnly' )) {
131+ flatOpcXmlMappingOnly = json['FlatOpcXmlMappingOnly' ] as bool ;
132+ } else {
133+ flatOpcXmlMappingOnly = null ;
134+ }
135+
126136 if (json.containsKey ('ImlRenderingMode' )) {
127137 imlRenderingMode = json['ImlRenderingMode' ] as String ;
128138 } else {
@@ -203,6 +213,10 @@ class SaveOptionsData implements ModelBase {
203213 _result['FileName' ] = fileName;
204214 }
205215
216+ if (flatOpcXmlMappingOnly != null ) {
217+ _result['FlatOpcXmlMappingOnly' ] = flatOpcXmlMappingOnly;
218+ }
219+
206220 if (imlRenderingMode != null ) {
207221 _result['ImlRenderingMode' ] = imlRenderingMode;
208222 }
You can’t perform that action at this time.
0 commit comments