Skip to content

Commit 462894d

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents 09c101c + 2df9c4c commit 462894d

File tree

6 files changed

+48
-3
lines changed

6 files changed

+48
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [25.2.0] - Aspose Words Cloud for Dart 25.2 Release Notes
2+
3+
- Added 'IdPrefix' property for HtmlFixedSaveOptionsData and SvgSaveOptionsData class.
4+
5+
16
## [24.12.0] - Aspose Words Cloud for Dart 24.12 Release Notes
27

38
- Added 'RenderChoiceFormFieldBorder' property for PdfSaveOptionsData 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.1.0
30+
aspose_words_cloud: 25.2.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.1';
521+
httpRequest.headers['x-aspose-client-version'] = '25.2';
522522
httpRequest.headers['Authorization'] = await _getAuthToken();
523523
httpRequest.headers.addAll(requestData.headers);
524524

lib/src/models/html_fixed_save_options_data.dart

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@ class HtmlFixedSaveOptionsData extends FixedPageSaveOptionsData {
8181
set fontFormat(HtmlFixedSaveOptionsData_FontFormatEnum? val) => _fontFormat = val;
8282

8383

84+
/// Gets or sets a prefix that is prepended to all generated element IDs in the output document.
85+
/// Default value is null and no prefix is prepended.
86+
/// If the prefix is specified, it can contain only letters, digits, underscores, and hyphens,
87+
/// and must start with a letter.
88+
String? _idPrefix;
89+
90+
String? get idPrefix => _idPrefix;
91+
set idPrefix(String? val) => _idPrefix = val;
92+
93+
8494
/// Gets or sets the horizontal alignment of pages in the HTML document.
8595
/// The default value is HtmlFixedHorizontalPageAlignment.Center.
8696
HtmlFixedSaveOptionsData_PageHorizontalAlignmentEnum? _pageHorizontalAlignment;
@@ -340,6 +350,12 @@ class HtmlFixedSaveOptionsData extends FixedPageSaveOptionsData {
340350
fontFormat = null;
341351
}
342352

353+
if (json.containsKey('IdPrefix')) {
354+
idPrefix = json['IdPrefix'] as String;
355+
} else {
356+
idPrefix = null;
357+
}
358+
343359
if (json.containsKey('PageHorizontalAlignment')) {
344360
switch (json['PageHorizontalAlignment'] as String) {
345361
case 'Left': pageHorizontalAlignment = HtmlFixedSaveOptionsData_PageHorizontalAlignmentEnum.left; break;
@@ -424,6 +440,10 @@ class HtmlFixedSaveOptionsData extends FixedPageSaveOptionsData {
424440
}
425441
}
426442

443+
if (idPrefix != null) {
444+
_result['IdPrefix'] = idPrefix!;
445+
}
446+
427447
if (pageHorizontalAlignment != null) {
428448
switch (pageHorizontalAlignment!) {
429449
case HtmlFixedSaveOptionsData_PageHorizontalAlignmentEnum.left: _result['PageHorizontalAlignment'] = 'Left'; break;

lib/src/models/svg_save_options_data.dart

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ class SvgSaveOptionsData extends FixedPageSaveOptionsData {
4545
set fitToViewPort(bool? val) => _fitToViewPort = val;
4646

4747

48+
/// Gets or sets specifies a prefix that is prepended to all generated element IDs in the output document.
49+
/// Default value is null and no prefix is prepended.
50+
/// If the prefix is specified, it can contain only letters, digits, underscores, and hyphens,
51+
/// and must start with a letter.
52+
String? _idPrefix;
53+
54+
String? get idPrefix => _idPrefix;
55+
set idPrefix(String? val) => _idPrefix = val;
56+
57+
4858
/// Gets or sets a value in pixels per inch that limits resolution of exported raster images.
4959
/// If the value of this property is non-zero, it limits resolution of exported raster images.
5060
/// That is, higher-resolution images are resampled down to the limit and lower-resolution images are exported as is.
@@ -250,6 +260,12 @@ class SvgSaveOptionsData extends FixedPageSaveOptionsData {
250260
fitToViewPort = null;
251261
}
252262

263+
if (json.containsKey('IdPrefix')) {
264+
idPrefix = json['IdPrefix'] as String;
265+
} else {
266+
idPrefix = null;
267+
}
268+
253269
if (json.containsKey('MaxImageResolution')) {
254270
maxImageResolution = json['MaxImageResolution'] as int;
255271
} else {
@@ -298,6 +314,10 @@ class SvgSaveOptionsData extends FixedPageSaveOptionsData {
298314
_result['FitToViewPort'] = fitToViewPort!;
299315
}
300316

317+
if (idPrefix != null) {
318+
_result['IdPrefix'] = idPrefix!;
319+
}
320+
301321
if (maxImageResolution != null) {
302322
_result['MaxImageResolution'] = maxImageResolution!;
303323
}

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: 25.1.0
3+
version: 25.2.0
44
homepage: https://github.com/aspose-words-cloud/aspose-words-cloud-dart
55

66
environment:

0 commit comments

Comments
 (0)