Skip to content

Commit 840e864

Browse files
SDK regenerated by CI server [ci skip]
1 parent 986d22e commit 840e864

File tree

4 files changed

+32
-4
lines changed

4 files changed

+32
-4
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ 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 24.12
17+
18+
- Added 'RenderChoiceFormFieldBorder' property for PdfSaveOptionsData class.
19+
- Added 'ApplySuperscript' property for ReplaceTextParameters class.
20+
21+
1622
## Enhancements in Version 24.11
1723

1824
- Added GetAllRevisions method to obtain all available revisions in document.
@@ -363,7 +369,7 @@ To use Aspose Words for Cloud Ruby SDK you need to register an account with [Asp
363369
To install this package do the following:
364370
update your Gemfile
365371
```ruby
366-
gem 'aspose_words_cloud', '~> 24.11'
372+
gem 'aspose_words_cloud', '~> 24.12'
367373
```
368374
or install directly
369375
```bash

lib/aspose_words_cloud/models/pdf_save_options_data.rb

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@ class PdfSaveOptionsData
191191
# Gets or sets a value indicating whether to preserve Microsoft Word form fields as form fields in PDF or convert them to text.
192192
attr_accessor :preserve_form_fields
193193

194+
# Gets or sets a value indicating whether to render PDF choice form field border.
195+
# PDF choice form fields are used for export of SDT Combo Box Content Control, SDT Drop-Down List Content
196+
# Control and legacy Drop-Down Form Field when PreserveFormFields option is enabled.The default value is true.
197+
attr_accessor :render_choice_form_field_border
198+
194199
# Gets or sets the compression type to be used for all textual content in the document.
195200
attr_accessor :text_compression
196201

@@ -280,6 +285,7 @@ def self.attribute_map
280285
:'page_mode' => :'PageMode',
281286
:'preblend_images' => :'PreblendImages',
282287
:'preserve_form_fields' => :'PreserveFormFields',
288+
:'render_choice_form_field_border' => :'RenderChoiceFormFieldBorder',
283289
:'text_compression' => :'TextCompression',
284290
:'use_book_fold_printing_settings' => :'UseBookFoldPrintingSettings',
285291
:'use_core_fonts' => :'UseCoreFonts',
@@ -334,6 +340,7 @@ def self.swagger_types
334340
:'page_mode' => :'String',
335341
:'preblend_images' => :'BOOLEAN',
336342
:'preserve_form_fields' => :'BOOLEAN',
343+
:'render_choice_form_field_border' => :'BOOLEAN',
337344
:'text_compression' => :'String',
338345
:'use_book_fold_printing_settings' => :'BOOLEAN',
339346
:'use_core_fonts' => :'BOOLEAN',
@@ -518,6 +525,10 @@ def initialize(attributes = {})
518525
self.preserve_form_fields = attributes[:'PreserveFormFields']
519526
end
520527

528+
if attributes.key?(:'RenderChoiceFormFieldBorder')
529+
self.render_choice_form_field_border = attributes[:'RenderChoiceFormFieldBorder']
530+
end
531+
521532
if attributes.key?(:'TextCompression')
522533
self.text_compression = attributes[:'TextCompression']
523534
end
@@ -821,6 +832,7 @@ def ==(other)
821832
page_mode == other.page_mode &&
822833
preblend_images == other.preblend_images &&
823834
preserve_form_fields == other.preserve_form_fields &&
835+
render_choice_form_field_border == other.render_choice_form_field_border &&
824836
text_compression == other.text_compression &&
825837
use_book_fold_printing_settings == other.use_book_fold_printing_settings &&
826838
use_core_fonts == other.use_core_fonts &&
@@ -839,7 +851,7 @@ def eql?(other)
839851
# Calculates hash code according to all attributes.
840852
# @return [Fixnum] Hash code
841853
def hash
842-
[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, cache_background_graphics, compliance, create_note_hyperlinks, custom_properties_export, digital_signature_details, display_doc_title, downsample_options, embed_attachments, embed_full_fonts, encryption_details, export_document_structure, export_language_to_span_tag, font_embedding_mode, header_footer_bookmarks_export_mode, image_color_space_export_mode, image_compression, interpolate_images, open_hyperlinks_in_new_window, outline_options, page_mode, preblend_images, preserve_form_fields, text_compression, use_book_fold_printing_settings, use_core_fonts, use_sdt_tag_as_form_field_name, zoom_behavior, zoom_factor, save_format].hash
854+
[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, cache_background_graphics, compliance, create_note_hyperlinks, custom_properties_export, digital_signature_details, display_doc_title, downsample_options, embed_attachments, embed_full_fonts, encryption_details, export_document_structure, export_language_to_span_tag, font_embedding_mode, header_footer_bookmarks_export_mode, image_color_space_export_mode, image_compression, interpolate_images, open_hyperlinks_in_new_window, outline_options, page_mode, preblend_images, preserve_form_fields, render_choice_form_field_border, text_compression, use_book_fold_printing_settings, use_core_fonts, use_sdt_tag_as_form_field_name, zoom_behavior, zoom_factor, save_format].hash
843855
end
844856

845857
# Builds the object from hash

lib/aspose_words_cloud/models/replace_text_parameters.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ module AsposeWordsCloud
2929

3030
# Class for document replace text request building.
3131
class ReplaceTextParameters
32+
# Gets or sets a value indicating whether apply superscript to font or not.
33+
attr_accessor :apply_superscript
34+
3235
# Gets or sets a value indicating whether flag, true means the search is case-sensitive; false means the search is not case-sensitive.
3336
attr_accessor :is_match_case
3437

@@ -46,6 +49,7 @@ class ReplaceTextParameters
4649
# Attribute mapping from ruby-style variable name to JSON key.
4750
def self.attribute_map
4851
{
52+
:'apply_superscript' => :'ApplySuperscript',
4953
:'is_match_case' => :'IsMatchCase',
5054
:'is_match_whole_word' => :'IsMatchWholeWord',
5155
:'is_old_value_regex' => :'IsOldValueRegex',
@@ -57,6 +61,7 @@ def self.attribute_map
5761
# Attribute type mapping.
5862
def self.swagger_types
5963
{
64+
:'apply_superscript' => :'BOOLEAN',
6065
:'is_match_case' => :'BOOLEAN',
6166
:'is_match_whole_word' => :'BOOLEAN',
6267
:'is_old_value_regex' => :'BOOLEAN',
@@ -73,6 +78,10 @@ def initialize(attributes = {})
7378
# convert string to symbol for hash key
7479
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
7580

81+
if attributes.key?(:'ApplySuperscript')
82+
self.apply_superscript = attributes[:'ApplySuperscript']
83+
end
84+
7685
if attributes.key?(:'IsMatchCase')
7786
self.is_match_case = attributes[:'IsMatchCase']
7887
end
@@ -105,6 +114,7 @@ def valid?
105114
def ==(other)
106115
return true if self.equal?(other)
107116
self.class == other.class &&
117+
apply_superscript == other.apply_superscript &&
108118
is_match_case == other.is_match_case &&
109119
is_match_whole_word == other.is_match_whole_word &&
110120
is_old_value_regex == other.is_old_value_regex &&
@@ -121,7 +131,7 @@ def eql?(other)
121131
# Calculates hash code according to all attributes.
122132
# @return [Fixnum] Hash code
123133
def hash
124-
[is_match_case, is_match_whole_word, is_old_value_regex, new_value, old_value].hash
134+
[apply_superscript, is_match_case, is_match_whole_word, is_old_value_regex, new_value, old_value].hash
125135
end
126136

127137
# 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 = "24.11".freeze
27+
VERSION = "24.12".freeze
2828
end

0 commit comments

Comments
 (0)