Skip to content

Commit 3e255b6

Browse files
Merge branch 'master' into release
2 parents 681179e + 31e0c1e commit 3e255b6

File tree

4 files changed

+35
-4
lines changed

4 files changed

+35
-4
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ This repository contains Aspose.Words Cloud SDK for Ruby source code. This SDK a
1313
* Watermarks and protection
1414
* Full read & write access to Document Object Model, including sections, paragraphs, text, images, tables, headers/footers and many others
1515

16+
## Enhancements in Version 25.2
17+
18+
- Added 'IdPrefix' property for HtmlFixedSaveOptionsData and SvgSaveOptionsData class.
19+
20+
1621
## Enhancements in Version 24.12
1722

1823
- Added 'RenderChoiceFormFieldBorder' property for PdfSaveOptionsData class.
@@ -369,7 +374,7 @@ To use Aspose Words for Cloud Ruby SDK you need to register an account with [Asp
369374
To install this package do the following:
370375
update your Gemfile
371376
```ruby
372-
gem 'aspose_words_cloud', '~> 25.1'
377+
gem 'aspose_words_cloud', '~> 25.2'
373378
```
374379
or install directly
375380
```bash

lib/aspose_words_cloud/models/html_fixed_save_options_data.rb

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@ class HtmlFixedSaveOptionsData
127127
# Gets or sets the export format of fonts.
128128
attr_accessor :font_format
129129

130+
# Gets or sets a prefix that is prepended to all generated element IDs in the output document.
131+
# Default value is null and no prefix is prepended.
132+
# If the prefix is specified, it can contain only letters, digits, underscores, and hyphens,
133+
# and must start with a letter.
134+
attr_accessor :id_prefix
135+
130136
# Gets or sets the horizontal alignment of pages in the HTML document.
131137
# The default value is HtmlFixedHorizontalPageAlignment.Center.
132138
attr_accessor :page_horizontal_alignment
@@ -210,6 +216,7 @@ def self.attribute_map
210216
:'export_embedded_images' => :'ExportEmbeddedImages',
211217
:'export_form_fields' => :'ExportFormFields',
212218
:'font_format' => :'FontFormat',
219+
:'id_prefix' => :'IdPrefix',
213220
:'page_horizontal_alignment' => :'PageHorizontalAlignment',
214221
:'page_margins' => :'PageMargins',
215222
:'resources_folder' => :'ResourcesFolder',
@@ -250,6 +257,7 @@ def self.swagger_types
250257
:'export_embedded_images' => :'BOOLEAN',
251258
:'export_form_fields' => :'BOOLEAN',
252259
:'font_format' => :'String',
260+
:'id_prefix' => :'String',
253261
:'page_horizontal_alignment' => :'String',
254262
:'page_margins' => :'Float',
255263
:'resources_folder' => :'String',
@@ -375,6 +383,10 @@ def initialize(attributes = {})
375383
self.font_format = attributes[:'FontFormat']
376384
end
377385

386+
if attributes.key?(:'IdPrefix')
387+
self.id_prefix = attributes[:'IdPrefix']
388+
end
389+
378390
if attributes.key?(:'PageHorizontalAlignment')
379391
self.page_horizontal_alignment = attributes[:'PageHorizontalAlignment']
380392
end
@@ -571,6 +583,7 @@ def ==(other)
571583
export_embedded_images == other.export_embedded_images &&
572584
export_form_fields == other.export_form_fields &&
573585
font_format == other.font_format &&
586+
id_prefix == other.id_prefix &&
574587
page_horizontal_alignment == other.page_horizontal_alignment &&
575588
page_margins == other.page_margins &&
576589
resources_folder == other.resources_folder &&
@@ -590,7 +603,7 @@ def eql?(other)
590603
# Calculates hash code according to all attributes.
591604
# @return [Fixnum] Hash code
592605
def hash
593-
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, css_class_names_prefix, encoding, export_embedded_css, export_embedded_fonts, export_embedded_images, export_form_fields, font_format, page_horizontal_alignment, page_margins, resources_folder, resources_folder_alias, save_font_face_css_separately, show_page_border, use_target_machine_fonts, save_format].hash
606+
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, css_class_names_prefix, encoding, export_embedded_css, export_embedded_fonts, export_embedded_images, export_form_fields, font_format, id_prefix, page_horizontal_alignment, page_margins, resources_folder, resources_folder_alias, save_font_face_css_separately, show_page_border, use_target_machine_fonts, save_format].hash
594607
end
595608

596609
# Builds the object from hash

lib/aspose_words_cloud/models/svg_save_options_data.rb

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ class SvgSaveOptionsData
111111
# Gets or sets a value indicating whether the output SVG should fill the available viewport area (browser window or container). When set to true width and height of output SVG are set to 100%.
112112
attr_accessor :fit_to_view_port
113113

114+
# Gets or sets specifies a prefix that is prepended to all generated element IDs in the output document.
115+
# Default value is null and no prefix is prepended.
116+
# If the prefix is specified, it can contain only letters, digits, underscores, and hyphens,
117+
# and must start with a letter.
118+
attr_accessor :id_prefix
119+
114120
# Gets or sets a value in pixels per inch that limits resolution of exported raster images.
115121
# If the value of this property is non-zero, it limits resolution of exported raster images.
116122
# That is, higher-resolution images are resampled down to the limit and lower-resolution images are exported as is.
@@ -177,6 +183,7 @@ def self.attribute_map
177183
:'page_index' => :'PageIndex',
178184
:'export_embedded_images' => :'ExportEmbeddedImages',
179185
:'fit_to_view_port' => :'FitToViewPort',
186+
:'id_prefix' => :'IdPrefix',
180187
:'max_image_resolution' => :'MaxImageResolution',
181188
:'resources_folder' => :'ResourcesFolder',
182189
:'resources_folder_alias' => :'ResourcesFolderAlias',
@@ -210,6 +217,7 @@ def self.swagger_types
210217
:'page_index' => :'Integer',
211218
:'export_embedded_images' => :'BOOLEAN',
212219
:'fit_to_view_port' => :'BOOLEAN',
220+
:'id_prefix' => :'String',
213221
:'max_image_resolution' => :'Integer',
214222
:'resources_folder' => :'String',
215223
:'resources_folder_alias' => :'String',
@@ -313,6 +321,10 @@ def initialize(attributes = {})
313321
self.fit_to_view_port = attributes[:'FitToViewPort']
314322
end
315323

324+
if attributes.key?(:'IdPrefix')
325+
self.id_prefix = attributes[:'IdPrefix']
326+
end
327+
316328
if attributes.key?(:'MaxImageResolution')
317329
self.max_image_resolution = attributes[:'MaxImageResolution']
318330
end
@@ -480,6 +492,7 @@ def ==(other)
480492
page_index == other.page_index &&
481493
export_embedded_images == other.export_embedded_images &&
482494
fit_to_view_port == other.fit_to_view_port &&
495+
id_prefix == other.id_prefix &&
483496
max_image_resolution == other.max_image_resolution &&
484497
resources_folder == other.resources_folder &&
485498
resources_folder_alias == other.resources_folder_alias &&
@@ -497,7 +510,7 @@ def eql?(other)
497510
# Calculates hash code according to all attributes.
498511
# @return [Fixnum] Hash code
499512
def hash
500-
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, export_embedded_images, fit_to_view_port, max_image_resolution, resources_folder, resources_folder_alias, show_page_border, text_output_mode, save_format].hash
513+
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, export_embedded_images, fit_to_view_port, id_prefix, max_image_resolution, resources_folder, resources_folder_alias, show_page_border, text_output_mode, save_format].hash
501514
end
502515

503516
# Builds the object from hash

lib/aspose_words_cloud/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
# ------------------------------------------------------------------------------------
2525

2626
module AsposeWordsCloud
27-
VERSION = "25.1".freeze
27+
VERSION = "25.2".freeze
2828
end

0 commit comments

Comments
 (0)