Skip to content

Commit b581a36

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents c233164 + 283771a commit b581a36

File tree

6 files changed

+46
-3
lines changed

6 files changed

+46
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [24.12.0] - Aspose Words Cloud for Dart 24.12 Release Notes
2+
3+
- Added 'RenderChoiceFormFieldBorder' property for PdfSaveOptionsData class.
4+
- Added 'ApplySuperscript' property for ReplaceTextParameters class.
5+
6+
17
## [24.11.0] - Aspose Words Cloud for Dart 24.11 Release Notes
28

39
- Added GetAllRevisions method to obtain all available revisions in document.

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

lib/src/models/pdf_save_options_data.dart

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,15 @@ class PdfSaveOptionsData extends FixedPageSaveOptionsData {
205205
set preserveFormFields(bool? val) => _preserveFormFields = val;
206206

207207

208+
/// Gets or sets a value indicating whether to render PDF choice form field border.
209+
/// PDF choice form fields are used for export of SDT Combo Box Content Control, SDT Drop-Down List Content
210+
/// Control and legacy Drop-Down Form Field when PreserveFormFields option is enabled.The default value is true.
211+
bool? _renderChoiceFormFieldBorder;
212+
213+
bool? get renderChoiceFormFieldBorder => _renderChoiceFormFieldBorder;
214+
set renderChoiceFormFieldBorder(bool? val) => _renderChoiceFormFieldBorder = val;
215+
216+
208217
/// Gets or sets the compression type to be used for all textual content in the document.
209218
PdfSaveOptionsData_TextCompressionEnum? _textCompression;
210219

@@ -576,6 +585,12 @@ class PdfSaveOptionsData extends FixedPageSaveOptionsData {
576585
preserveFormFields = null;
577586
}
578587

588+
if (json.containsKey('RenderChoiceFormFieldBorder')) {
589+
renderChoiceFormFieldBorder = json['RenderChoiceFormFieldBorder'] as bool;
590+
} else {
591+
renderChoiceFormFieldBorder = null;
592+
}
593+
579594
if (json.containsKey('TextCompression')) {
580595
switch (json['TextCompression'] as String) {
581596
case 'None': textCompression = PdfSaveOptionsData_TextCompressionEnum.none; break;
@@ -756,6 +771,10 @@ class PdfSaveOptionsData extends FixedPageSaveOptionsData {
756771
_result['PreserveFormFields'] = preserveFormFields!;
757772
}
758773

774+
if (renderChoiceFormFieldBorder != null) {
775+
_result['RenderChoiceFormFieldBorder'] = renderChoiceFormFieldBorder!;
776+
}
777+
759778
if (textCompression != null) {
760779
switch (textCompression!) {
761780
case PdfSaveOptionsData_TextCompressionEnum.none: _result['TextCompression'] = 'None'; break;
@@ -841,6 +860,7 @@ class PdfSaveOptionsData extends FixedPageSaveOptionsData {
841860

842861

843862

863+
844864
}
845865
}
846866

lib/src/models/replace_text_parameters.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
/// Class for document replace text request building.
3333
class ReplaceTextParameters implements ModelBase {
34+
/// Gets or sets a value indicating whether apply superscript to font or not.
35+
bool? _applySuperscript;
36+
37+
bool? get applySuperscript => _applySuperscript;
38+
set applySuperscript(bool? val) => _applySuperscript = val;
39+
40+
3441
/// Gets or sets a value indicating whether flag, true means the search is case-sensitive; false means the search is not case-sensitive.
3542
bool? _isMatchCase;
3643

@@ -72,6 +79,12 @@ class ReplaceTextParameters implements ModelBase {
7279
throw ApiException(400, 'Failed to deserialize ReplaceTextParameters data model.');
7380
}
7481

82+
if (json.containsKey('ApplySuperscript')) {
83+
applySuperscript = json['ApplySuperscript'] as bool;
84+
} else {
85+
applySuperscript = null;
86+
}
87+
7588
if (json.containsKey('IsMatchCase')) {
7689
isMatchCase = json['IsMatchCase'] as bool;
7790
} else {
@@ -106,6 +119,10 @@ class ReplaceTextParameters implements ModelBase {
106119
@override
107120
Map<String, dynamic> serialize() {
108121
var _result = <String, dynamic>{};
122+
if (applySuperscript != null) {
123+
_result['ApplySuperscript'] = applySuperscript!;
124+
}
125+
109126
if (isMatchCase != null) {
110127
_result['IsMatchCase'] = isMatchCase!;
111128
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: aspose_words_cloud
22
description: This package allows you to work with Aspose.Words Cloud REST APIs in your Dart applications quickly and easily, with zero initial cost.
3-
version: 24.11.0
3+
version: 24.12.0
44
homepage: https://github.com/aspose-words-cloud/aspose-words-cloud-dart
55

66
environment:

0 commit comments

Comments
 (0)