aspose_words_cloud 25.1 → 25.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 997f0b282e68d6bb757b646bab2e878c35b8ee47f310ecbb58c86224a63c8448
4
- data.tar.gz: 5e51f8b8bd0e86b9c4def5bf63c950e771aaee74dc8e17af5e69fac579115443
3
+ metadata.gz: e3afe9ff4270704ea7cff88c8af84af47e828376393416c3ccf3b705c50b5a0f
4
+ data.tar.gz: 51d365c2a42d545a4edde56b4e792bf67fb2c74e6101fc379b831bb1d01e45db
5
5
  SHA512:
6
- metadata.gz: ffb0107ed6f3dba73b94918e7b5ef2e75f9a9a3a0a2e63c86cbe8e580e1f5df6202847f30b4db78cfa762dae845ccbd971e86c18f1b65df982bbf476495c4b1f
7
- data.tar.gz: 617e143bea922783fc52fe2592fa7b6300684119c798eb7cc8c4443f102054ebbc9d552646cf386a541c8fc8e840c41e9ebb14310c9b0847b58f313f9fd541c8
6
+ metadata.gz: ac0ef723320abb3e231293de3e64dba7071c9671d2fe3e1825b3e9f7af128796ad1d5e658606306eaad736159a6f87a882a7797947dbcdf8e0f2b4d323f62d74
7
+ data.tar.gz: 754be49b6fc86ab2669b04100b75f31e0a770c2e9f9407a9f8c2fe36d7bfd11a7cc83011bf5aed27cd08d35eb6ebc6bb4ed4e8fecab5f5da6149e75e6f57279b
@@ -127,6 +127,12 @@ module AsposeWordsCloud
127
127
  # Gets or sets the export format of fonts.
128
128
  attr_accessor :font_format
129
129
 
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
+
130
136
  # Gets or sets the horizontal alignment of pages in the HTML document.
131
137
  # The default value is HtmlFixedHorizontalPageAlignment.Center.
132
138
  attr_accessor :page_horizontal_alignment
@@ -210,6 +216,7 @@ module AsposeWordsCloud
210
216
  :'export_embedded_images' => :'ExportEmbeddedImages',
211
217
  :'export_form_fields' => :'ExportFormFields',
212
218
  :'font_format' => :'FontFormat',
219
+ :'id_prefix' => :'IdPrefix',
213
220
  :'page_horizontal_alignment' => :'PageHorizontalAlignment',
214
221
  :'page_margins' => :'PageMargins',
215
222
  :'resources_folder' => :'ResourcesFolder',
@@ -250,6 +257,7 @@ module AsposeWordsCloud
250
257
  :'export_embedded_images' => :'BOOLEAN',
251
258
  :'export_form_fields' => :'BOOLEAN',
252
259
  :'font_format' => :'String',
260
+ :'id_prefix' => :'String',
253
261
  :'page_horizontal_alignment' => :'String',
254
262
  :'page_margins' => :'Float',
255
263
  :'resources_folder' => :'String',
@@ -375,6 +383,10 @@ module AsposeWordsCloud
375
383
  self.font_format = attributes[:'FontFormat']
376
384
  end
377
385
 
386
+ if attributes.key?(:'IdPrefix')
387
+ self.id_prefix = attributes[:'IdPrefix']
388
+ end
389
+
378
390
  if attributes.key?(:'PageHorizontalAlignment')
379
391
  self.page_horizontal_alignment = attributes[:'PageHorizontalAlignment']
380
392
  end
@@ -571,6 +583,7 @@ module AsposeWordsCloud
571
583
  export_embedded_images == other.export_embedded_images &&
572
584
  export_form_fields == other.export_form_fields &&
573
585
  font_format == other.font_format &&
586
+ id_prefix == other.id_prefix &&
574
587
  page_horizontal_alignment == other.page_horizontal_alignment &&
575
588
  page_margins == other.page_margins &&
576
589
  resources_folder == other.resources_folder &&
@@ -590,7 +603,7 @@ module AsposeWordsCloud
590
603
  # Calculates hash code according to all attributes.
591
604
  # @return [Fixnum] Hash code
592
605
  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
594
607
  end
595
608
 
596
609
  # Builds the object from hash
@@ -569,7 +569,7 @@ module AsposeWordsCloud
569
569
  return false unless color_mode_validator.valid?(@color_mode)
570
570
  numeral_format_validator = EnumAttributeValidator.new('String', ["European", "ArabicIndic", "EasternArabicIndic", "Context", "System"])
571
571
  return false unless numeral_format_validator.valid?(@numeral_format)
572
- compliance_validator = EnumAttributeValidator.new('String', ["Pdf17", "Pdf20", "PdfA1a", "PdfA1b", "PdfA2a", "PdfA2u", "PdfA4", "PdfA4Ua2", "PdfUa1", "PdfUa2"])
572
+ compliance_validator = EnumAttributeValidator.new('String', ["Pdf17", "Pdf20", "PdfA1a", "PdfA1b", "PdfA2a", "PdfA2u", "PdfA3a", "PdfA3u", "PdfA4", "PdfA4f", "PdfA4Ua2", "PdfUa1", "PdfUa2"])
573
573
  return false unless compliance_validator.valid?(@compliance)
574
574
  custom_properties_export_validator = EnumAttributeValidator.new('String', ["None", "Standard", "Metadata"])
575
575
  return false unless custom_properties_export_validator.valid?(@custom_properties_export)
@@ -676,7 +676,7 @@ module AsposeWordsCloud
676
676
  # Custom attribute writer method checking allowed values (enum).
677
677
  # @param [Object] compliance Object to be assigned
678
678
  def compliance=(compliance)
679
- validator = EnumAttributeValidator.new('String', ["Pdf17", "Pdf20", "PdfA1a", "PdfA1b", "PdfA2a", "PdfA2u", "PdfA4", "PdfA4Ua2", "PdfUa1", "PdfUa2"])
679
+ validator = EnumAttributeValidator.new('String', ["Pdf17", "Pdf20", "PdfA1a", "PdfA1b", "PdfA2a", "PdfA2u", "PdfA3a", "PdfA3u", "PdfA4", "PdfA4f", "PdfA4Ua2", "PdfUa1", "PdfUa2"])
680
680
  if compliance.to_i == 0
681
681
  unless validator.valid?(compliance)
682
682
  raise ArgumentError, "invalid value for 'compliance', must be one of #{validator.allowable_values}."
@@ -111,6 +111,12 @@ module AsposeWordsCloud
111
111
  # 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%.
112
112
  attr_accessor :fit_to_view_port
113
113
 
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
+
114
120
  # Gets or sets a value in pixels per inch that limits resolution of exported raster images.
115
121
  # If the value of this property is non-zero, it limits resolution of exported raster images.
116
122
  # That is, higher-resolution images are resampled down to the limit and lower-resolution images are exported as is.
@@ -177,6 +183,7 @@ module AsposeWordsCloud
177
183
  :'page_index' => :'PageIndex',
178
184
  :'export_embedded_images' => :'ExportEmbeddedImages',
179
185
  :'fit_to_view_port' => :'FitToViewPort',
186
+ :'id_prefix' => :'IdPrefix',
180
187
  :'max_image_resolution' => :'MaxImageResolution',
181
188
  :'resources_folder' => :'ResourcesFolder',
182
189
  :'resources_folder_alias' => :'ResourcesFolderAlias',
@@ -210,6 +217,7 @@ module AsposeWordsCloud
210
217
  :'page_index' => :'Integer',
211
218
  :'export_embedded_images' => :'BOOLEAN',
212
219
  :'fit_to_view_port' => :'BOOLEAN',
220
+ :'id_prefix' => :'String',
213
221
  :'max_image_resolution' => :'Integer',
214
222
  :'resources_folder' => :'String',
215
223
  :'resources_folder_alias' => :'String',
@@ -313,6 +321,10 @@ module AsposeWordsCloud
313
321
  self.fit_to_view_port = attributes[:'FitToViewPort']
314
322
  end
315
323
 
324
+ if attributes.key?(:'IdPrefix')
325
+ self.id_prefix = attributes[:'IdPrefix']
326
+ end
327
+
316
328
  if attributes.key?(:'MaxImageResolution')
317
329
  self.max_image_resolution = attributes[:'MaxImageResolution']
318
330
  end
@@ -480,6 +492,7 @@ module AsposeWordsCloud
480
492
  page_index == other.page_index &&
481
493
  export_embedded_images == other.export_embedded_images &&
482
494
  fit_to_view_port == other.fit_to_view_port &&
495
+ id_prefix == other.id_prefix &&
483
496
  max_image_resolution == other.max_image_resolution &&
484
497
  resources_folder == other.resources_folder &&
485
498
  resources_folder_alias == other.resources_folder_alias &&
@@ -497,7 +510,7 @@ module AsposeWordsCloud
497
510
  # Calculates hash code according to all attributes.
498
511
  # @return [Fixnum] Hash code
499
512
  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
501
514
  end
502
515
 
503
516
  # Builds the object from hash
@@ -24,5 +24,5 @@
24
24
  # ------------------------------------------------------------------------------------
25
25
 
26
26
  module AsposeWordsCloud
27
- VERSION = "25.1".freeze
27
+ VERSION = "25.3".freeze
28
28
  end
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.1'
4
+ version: '25.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - YaroslawEkimov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-16 00:00:00.000000000 Z
11
+ date: 2025-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday