aspose_words_cloud 25.4 → 25.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -195,6 +195,12 @@ module AsposeWordsCloud
195
195
  # Gets or sets a value indicating whether to use pretty formats output.
196
196
  attr_accessor :pretty_format
197
197
 
198
+ # Gets or sets the flag that indicates whether JavaScript will be removed from links.
199
+ # Default is false.
200
+ # If this option is enabled, all links containing JavaScript (e.g., links with "javascript:" in the href attribute)
201
+ # will be replaced with "javascript:void(0)". This can help prevent potential security risks, such as XSS attacks.
202
+ attr_accessor :remove_java_script_from_links
203
+
198
204
  # Gets or sets the flag that indicates whether backslash characters should be replaced with yen signs.
199
205
  # Default value is false.
200
206
  # By default, Aspose.Words mimics MS Word's behavior and doesn't replace backslash characters with yen signs in
@@ -292,6 +298,7 @@ module AsposeWordsCloud
292
298
  :'metafile_format' => :'MetafileFormat',
293
299
  :'office_math_output_mode' => :'OfficeMathOutputMode',
294
300
  :'pretty_format' => :'PrettyFormat',
301
+ :'remove_java_script_from_links' => :'RemoveJavaScriptFromLinks',
295
302
  :'replace_backslash_with_yen_sign' => :'ReplaceBackslashWithYenSign',
296
303
  :'resolve_font_names' => :'ResolveFontNames',
297
304
  :'resource_folder' => :'ResourceFolder',
@@ -351,6 +358,7 @@ module AsposeWordsCloud
351
358
  :'metafile_format' => :'String',
352
359
  :'office_math_output_mode' => :'String',
353
360
  :'pretty_format' => :'BOOLEAN',
361
+ :'remove_java_script_from_links' => :'BOOLEAN',
354
362
  :'replace_backslash_with_yen_sign' => :'BOOLEAN',
355
363
  :'resolve_font_names' => :'BOOLEAN',
356
364
  :'resource_folder' => :'String',
@@ -555,6 +563,10 @@ module AsposeWordsCloud
555
563
  self.pretty_format = attributes[:'PrettyFormat']
556
564
  end
557
565
 
566
+ if attributes.key?(:'RemoveJavaScriptFromLinks')
567
+ self.remove_java_script_from_links = attributes[:'RemoveJavaScriptFromLinks']
568
+ end
569
+
558
570
  if attributes.key?(:'ReplaceBackslashWithYenSign')
559
571
  self.replace_backslash_with_yen_sign = attributes[:'ReplaceBackslashWithYenSign']
560
572
  end
@@ -831,6 +843,7 @@ module AsposeWordsCloud
831
843
  metafile_format == other.metafile_format &&
832
844
  office_math_output_mode == other.office_math_output_mode &&
833
845
  pretty_format == other.pretty_format &&
846
+ remove_java_script_from_links == other.remove_java_script_from_links &&
834
847
  replace_backslash_with_yen_sign == other.replace_backslash_with_yen_sign &&
835
848
  resolve_font_names == other.resolve_font_names &&
836
849
  resource_folder == other.resource_folder &&
@@ -849,7 +862,7 @@ module AsposeWordsCloud
849
862
  # Calculates hash code according to all attributes.
850
863
  # @return [Fixnum] Hash code
851
864
  def hash
852
- [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_ambiguous_text_font, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, allow_negative_indent, css_class_name_prefix, css_style_sheet_file_name, css_style_sheet_type, document_split_criteria, document_split_heading_level, encoding, export_document_properties, export_drop_down_form_field_as_text, export_font_resources, export_fonts_as_base64, export_headers_footers_mode, export_images_as_base64, export_language_information, export_list_labels, export_original_url_for_linked_images, export_page_margins, export_page_setup, export_relative_font_size, export_roundtrip_information, export_text_input_form_field_as_text, export_toc_page_numbers, export_xhtml_transitional, font_resources_subsetting_size_threshold, fonts_folder, fonts_folder_alias, html_version, image_resolution, images_folder, images_folder_alias, metafile_format, office_math_output_mode, pretty_format, replace_backslash_with_yen_sign, resolve_font_names, resource_folder, resource_folder_alias, scale_image_to_shape_size, table_width_output_mode, save_format].hash
865
+ [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_ambiguous_text_font, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, allow_negative_indent, css_class_name_prefix, css_style_sheet_file_name, css_style_sheet_type, document_split_criteria, document_split_heading_level, encoding, export_document_properties, export_drop_down_form_field_as_text, export_font_resources, export_fonts_as_base64, export_headers_footers_mode, export_images_as_base64, export_language_information, export_list_labels, export_original_url_for_linked_images, export_page_margins, export_page_setup, export_relative_font_size, export_roundtrip_information, export_text_input_form_field_as_text, export_toc_page_numbers, export_xhtml_transitional, font_resources_subsetting_size_threshold, fonts_folder, fonts_folder_alias, html_version, image_resolution, images_folder, images_folder_alias, metafile_format, office_math_output_mode, pretty_format, remove_java_script_from_links, replace_backslash_with_yen_sign, resolve_font_names, resource_folder, resource_folder_alias, scale_image_to_shape_size, table_width_output_mode, save_format].hash
853
866
  end
854
867
 
855
868
  # Builds the object from hash
@@ -195,6 +195,12 @@ module AsposeWordsCloud
195
195
  # Gets or sets a value indicating whether to use pretty formats output.
196
196
  attr_accessor :pretty_format
197
197
 
198
+ # Gets or sets the flag that indicates whether JavaScript will be removed from links.
199
+ # Default is false.
200
+ # If this option is enabled, all links containing JavaScript (e.g., links with "javascript:" in the href attribute)
201
+ # will be replaced with "javascript:void(0)". This can help prevent potential security risks, such as XSS attacks.
202
+ attr_accessor :remove_java_script_from_links
203
+
198
204
  # Gets or sets the flag that indicates whether backslash characters should be replaced with yen signs.
199
205
  # Default value is false.
200
206
  # By default, Aspose.Words mimics MS Word's behavior and doesn't replace backslash characters with yen signs in
@@ -296,6 +302,7 @@ module AsposeWordsCloud
296
302
  :'metafile_format' => :'MetafileFormat',
297
303
  :'office_math_output_mode' => :'OfficeMathOutputMode',
298
304
  :'pretty_format' => :'PrettyFormat',
305
+ :'remove_java_script_from_links' => :'RemoveJavaScriptFromLinks',
299
306
  :'replace_backslash_with_yen_sign' => :'ReplaceBackslashWithYenSign',
300
307
  :'resolve_font_names' => :'ResolveFontNames',
301
308
  :'resource_folder' => :'ResourceFolder',
@@ -356,6 +363,7 @@ module AsposeWordsCloud
356
363
  :'metafile_format' => :'String',
357
364
  :'office_math_output_mode' => :'String',
358
365
  :'pretty_format' => :'BOOLEAN',
366
+ :'remove_java_script_from_links' => :'BOOLEAN',
359
367
  :'replace_backslash_with_yen_sign' => :'BOOLEAN',
360
368
  :'resolve_font_names' => :'BOOLEAN',
361
369
  :'resource_folder' => :'String',
@@ -561,6 +569,10 @@ module AsposeWordsCloud
561
569
  self.pretty_format = attributes[:'PrettyFormat']
562
570
  end
563
571
 
572
+ if attributes.key?(:'RemoveJavaScriptFromLinks')
573
+ self.remove_java_script_from_links = attributes[:'RemoveJavaScriptFromLinks']
574
+ end
575
+
564
576
  if attributes.key?(:'ReplaceBackslashWithYenSign')
565
577
  self.replace_backslash_with_yen_sign = attributes[:'ReplaceBackslashWithYenSign']
566
578
  end
@@ -841,6 +853,7 @@ module AsposeWordsCloud
841
853
  metafile_format == other.metafile_format &&
842
854
  office_math_output_mode == other.office_math_output_mode &&
843
855
  pretty_format == other.pretty_format &&
856
+ remove_java_script_from_links == other.remove_java_script_from_links &&
844
857
  replace_backslash_with_yen_sign == other.replace_backslash_with_yen_sign &&
845
858
  resolve_font_names == other.resolve_font_names &&
846
859
  resource_folder == other.resource_folder &&
@@ -860,7 +873,7 @@ module AsposeWordsCloud
860
873
  # Calculates hash code according to all attributes.
861
874
  # @return [Fixnum] Hash code
862
875
  def hash
863
- [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_ambiguous_text_font, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, allow_negative_indent, css_class_name_prefix, css_style_sheet_file_name, css_style_sheet_type, document_split_criteria, document_split_heading_level, encoding, export_document_properties, export_drop_down_form_field_as_text, export_font_resources, export_fonts_as_base64, export_headers_footers_mode, export_images_as_base64, export_language_information, export_list_labels, export_original_url_for_linked_images, export_page_margins, export_page_setup, export_relative_font_size, export_roundtrip_information, export_text_input_form_field_as_text, export_toc_page_numbers, export_xhtml_transitional, font_resources_subsetting_size_threshold, fonts_folder, fonts_folder_alias, html_version, image_resolution, images_folder, images_folder_alias, metafile_format, office_math_output_mode, pretty_format, replace_backslash_with_yen_sign, resolve_font_names, resource_folder, resource_folder_alias, scale_image_to_shape_size, table_width_output_mode, export_cid_urls_for_mhtml_resources, save_format].hash
876
+ [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_ambiguous_text_font, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, allow_negative_indent, css_class_name_prefix, css_style_sheet_file_name, css_style_sheet_type, document_split_criteria, document_split_heading_level, encoding, export_document_properties, export_drop_down_form_field_as_text, export_font_resources, export_fonts_as_base64, export_headers_footers_mode, export_images_as_base64, export_language_information, export_list_labels, export_original_url_for_linked_images, export_page_margins, export_page_setup, export_relative_font_size, export_roundtrip_information, export_text_input_form_field_as_text, export_toc_page_numbers, export_xhtml_transitional, font_resources_subsetting_size_threshold, fonts_folder, fonts_folder_alias, html_version, image_resolution, images_folder, images_folder_alias, metafile_format, office_math_output_mode, pretty_format, remove_java_script_from_links, replace_backslash_with_yen_sign, resolve_font_names, resource_folder, resource_folder_alias, scale_image_to_shape_size, table_width_output_mode, export_cid_urls_for_mhtml_resources, save_format].hash
864
877
  end
865
878
 
866
879
  # Builds the object from hash
@@ -24,5 +24,5 @@
24
24
  # ------------------------------------------------------------------------------------
25
25
 
26
26
  module AsposeWordsCloud
27
- VERSION = "25.4".freeze
27
+ VERSION = "25.6".freeze
28
28
  end
@@ -51,6 +51,8 @@ require_relative 'aspose_words_cloud/models/classification_result'
51
51
  require_relative 'aspose_words_cloud/models/comment'
52
52
  require_relative 'aspose_words_cloud/models/comment_insert'
53
53
  require_relative 'aspose_words_cloud/models/comment_link'
54
+ require_relative 'aspose_words_cloud/models/comment_range_end'
55
+ require_relative 'aspose_words_cloud/models/comment_range_start'
54
56
  require_relative 'aspose_words_cloud/models/comment_response'
55
57
  require_relative 'aspose_words_cloud/models/comments_collection'
56
58
  require_relative 'aspose_words_cloud/models/comments_response'
@@ -127,11 +129,14 @@ require_relative 'aspose_words_cloud/models/footnotes_response'
127
129
  require_relative 'aspose_words_cloud/models/footnotes_stat_data'
128
130
  require_relative 'aspose_words_cloud/models/footnote_update'
129
131
  require_relative 'aspose_words_cloud/models/form_field_checkbox'
132
+ require_relative 'aspose_words_cloud/models/form_field_checkbox_link'
130
133
  require_relative 'aspose_words_cloud/models/form_field_collection'
131
134
  require_relative 'aspose_words_cloud/models/form_field_drop_down'
135
+ require_relative 'aspose_words_cloud/models/form_field_drop_down_link'
132
136
  require_relative 'aspose_words_cloud/models/form_field_response'
133
137
  require_relative 'aspose_words_cloud/models/form_fields_response'
134
138
  require_relative 'aspose_words_cloud/models/form_field_text_input'
139
+ require_relative 'aspose_words_cloud/models/form_field_text_input_link'
135
140
  require_relative 'aspose_words_cloud/models/gif_save_options_data'
136
141
  require_relative 'aspose_words_cloud/models/header_footer'
137
142
  require_relative 'aspose_words_cloud/models/header_footer_link'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspose_words_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: '25.4'
4
+ version: '25.6'
5
5
  platform: ruby
6
6
  authors:
7
7
  - YaroslawEkimov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-10 00:00:00.000000000 Z
11
+ date: 2025-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -109,6 +109,8 @@ files:
109
109
  - lib/aspose_words_cloud/models/comment.rb
110
110
  - lib/aspose_words_cloud/models/comment_insert.rb
111
111
  - lib/aspose_words_cloud/models/comment_link.rb
112
+ - lib/aspose_words_cloud/models/comment_range_end.rb
113
+ - lib/aspose_words_cloud/models/comment_range_start.rb
112
114
  - lib/aspose_words_cloud/models/comment_response.rb
113
115
  - lib/aspose_words_cloud/models/comment_update.rb
114
116
  - lib/aspose_words_cloud/models/comments_collection.rb
@@ -186,10 +188,13 @@ files:
186
188
  - lib/aspose_words_cloud/models/footnotes_response.rb
187
189
  - lib/aspose_words_cloud/models/footnotes_stat_data.rb
188
190
  - lib/aspose_words_cloud/models/form_field_checkbox.rb
191
+ - lib/aspose_words_cloud/models/form_field_checkbox_link.rb
189
192
  - lib/aspose_words_cloud/models/form_field_collection.rb
190
193
  - lib/aspose_words_cloud/models/form_field_drop_down.rb
194
+ - lib/aspose_words_cloud/models/form_field_drop_down_link.rb
191
195
  - lib/aspose_words_cloud/models/form_field_response.rb
192
196
  - lib/aspose_words_cloud/models/form_field_text_input.rb
197
+ - lib/aspose_words_cloud/models/form_field_text_input_link.rb
193
198
  - lib/aspose_words_cloud/models/form_fields_response.rb
194
199
  - lib/aspose_words_cloud/models/gif_save_options_data.rb
195
200
  - lib/aspose_words_cloud/models/header_footer.rb