Skip to content

Commit 1979575

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents 2f02bf2 + 4cfbf81 commit 1979575

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+355
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [25.4.0] - Aspose Words Cloud for Dart 25.4 Release Notes
2+
3+
- Added 'AttachmentsEmbeddingMode' property for PdfSaveOptionsData class.
4+
- Added 'UpdateAmbiguousTextFont' property for SaveOptionsData class.
5+
- Added 'Granularity' property for CompareOptions class.
6+
7+
18
## [25.2.0] - Aspose Words Cloud for Dart 25.2 Release Notes
29

310
- Added 'IdPrefix' property for HtmlFixedSaveOptionsData and SvgSaveOptionsData 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.3.0
30+
aspose_words_cloud: 25.4.0
3131
```
3232
3333
## Getting Started

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.3';
521+
httpRequest.headers['x-aspose-client-version'] = '25.4';
522522
httpRequest.headers['Authorization'] = await _getAuthToken();
523523
httpRequest.headers.addAll(requestData.headers);
524524

lib/src/models/azw3_save_options_data.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ class Azw3SaveOptionsData extends HtmlSaveOptionsData {
111111
imlRenderingMode = null;
112112
}
113113

114+
if (json.containsKey('UpdateAmbiguousTextFont')) {
115+
updateAmbiguousTextFont = json['UpdateAmbiguousTextFont'] as bool;
116+
} else {
117+
updateAmbiguousTextFont = null;
118+
}
119+
114120
if (json.containsKey('UpdateCreatedTimeProperty')) {
115121
updateCreatedTimeProperty = json['UpdateCreatedTimeProperty'] as bool;
116122
} else {

lib/src/models/bmp_save_options_data.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ class BmpSaveOptionsData extends ImageSaveOptionsData {
104104
imlRenderingMode = null;
105105
}
106106

107+
if (json.containsKey('UpdateAmbiguousTextFont')) {
108+
updateAmbiguousTextFont = json['UpdateAmbiguousTextFont'] as bool;
109+
} else {
110+
updateAmbiguousTextFont = null;
111+
}
112+
107113
if (json.containsKey('UpdateCreatedTimeProperty')) {
108114
updateCreatedTimeProperty = json['UpdateCreatedTimeProperty'] as bool;
109115
} else {

lib/src/models/compare_options.dart

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ class CompareOptions implements ModelBase {
3838
set acceptAllRevisionsBeforeComparison(bool? val) => _acceptAllRevisionsBeforeComparison = val;
3939

4040

41+
/// Gets or sets the option indicating whether changes are tracked by character or by word.
42+
CompareOptions_GranularityEnum? _granularity;
43+
44+
CompareOptions_GranularityEnum? get granularity => _granularity;
45+
set granularity(CompareOptions_GranularityEnum? val) => _granularity = val;
46+
47+
4148
/// Gets or sets a value indicating whether documents comparison is case insensitive. By default comparison is case sensitive.
4249
bool? _ignoreCaseChanges;
4350

@@ -113,6 +120,16 @@ class CompareOptions implements ModelBase {
113120
acceptAllRevisionsBeforeComparison = null;
114121
}
115122

123+
if (json.containsKey('Granularity')) {
124+
switch (json['Granularity'] as String) {
125+
case 'CharLevel': granularity = CompareOptions_GranularityEnum.charLevel; break;
126+
case 'WordLevel': granularity = CompareOptions_GranularityEnum.wordLevel; break;
127+
default: granularity = null; break;
128+
}
129+
} else {
130+
granularity = null;
131+
}
132+
116133
if (json.containsKey('IgnoreCaseChanges')) {
117134
ignoreCaseChanges = json['IgnoreCaseChanges'] as bool;
118135
} else {
@@ -179,6 +196,14 @@ class CompareOptions implements ModelBase {
179196
_result['AcceptAllRevisionsBeforeComparison'] = acceptAllRevisionsBeforeComparison!;
180197
}
181198

199+
if (granularity != null) {
200+
switch (granularity!) {
201+
case CompareOptions_GranularityEnum.charLevel: _result['Granularity'] = 'CharLevel'; break;
202+
case CompareOptions_GranularityEnum.wordLevel: _result['Granularity'] = 'WordLevel'; break;
203+
default: break;
204+
}
205+
}
206+
182207
if (ignoreCaseChanges != null) {
183208
_result['IgnoreCaseChanges'] = ignoreCaseChanges!;
184209
}
@@ -230,6 +255,13 @@ class CompareOptions implements ModelBase {
230255
}
231256
}
232257

258+
/// Gets or sets the option indicating whether changes are tracked by character or by word.
259+
enum CompareOptions_GranularityEnum
260+
{
261+
charLevel,
262+
wordLevel
263+
}
264+
233265
/// Gets or sets the option that controls which document shall be used as a target during comparison.
234266
enum CompareOptions_TargetEnum
235267
{

lib/src/models/doc_save_options_data.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,12 @@ class DocSaveOptionsData extends SaveOptionsData {
134134
imlRenderingMode = null;
135135
}
136136

137+
if (json.containsKey('UpdateAmbiguousTextFont')) {
138+
updateAmbiguousTextFont = json['UpdateAmbiguousTextFont'] as bool;
139+
} else {
140+
updateAmbiguousTextFont = null;
141+
}
142+
137143
if (json.containsKey('UpdateCreatedTimeProperty')) {
138144
updateCreatedTimeProperty = json['UpdateCreatedTimeProperty'] as bool;
139145
} else {

lib/src/models/docm_save_options_data.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ class DocmSaveOptionsData extends OoxmlSaveOptionsData {
104104
imlRenderingMode = null;
105105
}
106106

107+
if (json.containsKey('UpdateAmbiguousTextFont')) {
108+
updateAmbiguousTextFont = json['UpdateAmbiguousTextFont'] as bool;
109+
} else {
110+
updateAmbiguousTextFont = null;
111+
}
112+
107113
if (json.containsKey('UpdateCreatedTimeProperty')) {
108114
updateCreatedTimeProperty = json['UpdateCreatedTimeProperty'] as bool;
109115
} else {

lib/src/models/docx_save_options_data.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ class DocxSaveOptionsData extends OoxmlSaveOptionsData {
104104
imlRenderingMode = null;
105105
}
106106

107+
if (json.containsKey('UpdateAmbiguousTextFont')) {
108+
updateAmbiguousTextFont = json['UpdateAmbiguousTextFont'] as bool;
109+
} else {
110+
updateAmbiguousTextFont = null;
111+
}
112+
107113
if (json.containsKey('UpdateCreatedTimeProperty')) {
108114
updateCreatedTimeProperty = json['UpdateCreatedTimeProperty'] as bool;
109115
} else {

lib/src/models/dot_save_options_data.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ class DotSaveOptionsData extends DocSaveOptionsData {
104104
imlRenderingMode = null;
105105
}
106106

107+
if (json.containsKey('UpdateAmbiguousTextFont')) {
108+
updateAmbiguousTextFont = json['UpdateAmbiguousTextFont'] as bool;
109+
} else {
110+
updateAmbiguousTextFont = null;
111+
}
112+
107113
if (json.containsKey('UpdateCreatedTimeProperty')) {
108114
updateCreatedTimeProperty = json['UpdateCreatedTimeProperty'] as bool;
109115
} else {

0 commit comments

Comments
 (0)