aspose_words_cloud 26.8 → 26.9
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ebe540abcc0fa66d9f01ea29e9fe5eb9a1d4dd2a1b3e6d12d658ce924137c058
|
|
4
|
+
data.tar.gz: 51e670ac59d1a8dc106de6d6d459ec1e6e44e0ec3929c1403aeb79605f9e760c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ab93380604349a0043d72d734a5101d5ec30a2272040e8517f1abc481b948895594eaa3870a477936c0fce4e252633584e8021c18a4c8c6ddbe82055d50e3a6
|
|
7
|
+
data.tar.gz: 3535765b370df3cb5e827098d027f0ec0e50fbc75e2e9f1d63640598c456158f69a85acd9b76824e721121fc0712feb309f0a7990774f9fd732cccf13bfc73ac
|
|
@@ -111,6 +111,10 @@ module AsposeWordsCloud
|
|
|
111
111
|
# Gets or sets the level in the XPS document outline at which to display Word bookmarks.
|
|
112
112
|
attr_accessor :bookmarks_outline_level
|
|
113
113
|
|
|
114
|
+
# Gets or sets a compression level used to save document.
|
|
115
|
+
# The default value is Normal.
|
|
116
|
+
attr_accessor :compression_level
|
|
117
|
+
|
|
114
118
|
# Gets or sets the details for signing the output document.
|
|
115
119
|
attr_accessor :digital_signature_details
|
|
116
120
|
|
|
@@ -172,6 +176,7 @@ module AsposeWordsCloud
|
|
|
172
176
|
:'page_count' => :'PageCount',
|
|
173
177
|
:'page_index' => :'PageIndex',
|
|
174
178
|
:'bookmarks_outline_level' => :'BookmarksOutlineLevel',
|
|
179
|
+
:'compression_level' => :'CompressionLevel',
|
|
175
180
|
:'digital_signature_details' => :'DigitalSignatureDetails',
|
|
176
181
|
:'headings_outline_levels' => :'HeadingsOutlineLevels',
|
|
177
182
|
:'outline_options' => :'OutlineOptions',
|
|
@@ -204,6 +209,7 @@ module AsposeWordsCloud
|
|
|
204
209
|
:'page_count' => :'Integer',
|
|
205
210
|
:'page_index' => :'Integer',
|
|
206
211
|
:'bookmarks_outline_level' => :'Integer',
|
|
212
|
+
:'compression_level' => :'String',
|
|
207
213
|
:'digital_signature_details' => :'DigitalSignatureDetails',
|
|
208
214
|
:'headings_outline_levels' => :'Integer',
|
|
209
215
|
:'outline_options' => :'OutlineOptionsData',
|
|
@@ -306,6 +312,10 @@ module AsposeWordsCloud
|
|
|
306
312
|
self.bookmarks_outline_level = attributes[:'BookmarksOutlineLevel']
|
|
307
313
|
end
|
|
308
314
|
|
|
315
|
+
if attributes.key?(:'CompressionLevel')
|
|
316
|
+
self.compression_level = attributes[:'CompressionLevel']
|
|
317
|
+
end
|
|
318
|
+
|
|
309
319
|
if attributes.key?(:'DigitalSignatureDetails')
|
|
310
320
|
self.digital_signature_details = attributes[:'DigitalSignatureDetails']
|
|
311
321
|
end
|
|
@@ -338,6 +348,8 @@ module AsposeWordsCloud
|
|
|
338
348
|
return false unless color_mode_validator.valid?(@color_mode)
|
|
339
349
|
numeral_format_validator = EnumAttributeValidator.new('String', ["European", "ArabicIndic", "EasternArabicIndic", "Context", "System"])
|
|
340
350
|
return false unless numeral_format_validator.valid?(@numeral_format)
|
|
351
|
+
compression_level_validator = EnumAttributeValidator.new('String', ["Normal", "Maximum", "Fast", "SuperFast"])
|
|
352
|
+
return false unless compression_level_validator.valid?(@compression_level)
|
|
341
353
|
|
|
342
354
|
return true
|
|
343
355
|
end
|
|
@@ -426,6 +438,20 @@ module AsposeWordsCloud
|
|
|
426
438
|
end
|
|
427
439
|
end
|
|
428
440
|
|
|
441
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
442
|
+
# @param [Object] compression_level Object to be assigned
|
|
443
|
+
def compression_level=(compression_level)
|
|
444
|
+
validator = EnumAttributeValidator.new('String', ["Normal", "Maximum", "Fast", "SuperFast"])
|
|
445
|
+
if compression_level.to_i == 0
|
|
446
|
+
unless validator.valid?(compression_level)
|
|
447
|
+
raise ArgumentError, "invalid value for 'compression_level', must be one of #{validator.allowable_values}."
|
|
448
|
+
end
|
|
449
|
+
@compression_level = compression_level
|
|
450
|
+
else
|
|
451
|
+
@compression_level = validator.allowable_values[compression_level.to_i]
|
|
452
|
+
end
|
|
453
|
+
end
|
|
454
|
+
|
|
429
455
|
|
|
430
456
|
# Checks equality by comparing each attribute.
|
|
431
457
|
# @param [Object] Object to be compared
|
|
@@ -453,6 +479,7 @@ module AsposeWordsCloud
|
|
|
453
479
|
page_count == other.page_count &&
|
|
454
480
|
page_index == other.page_index &&
|
|
455
481
|
bookmarks_outline_level == other.bookmarks_outline_level &&
|
|
482
|
+
compression_level == other.compression_level &&
|
|
456
483
|
digital_signature_details == other.digital_signature_details &&
|
|
457
484
|
headings_outline_levels == other.headings_outline_levels &&
|
|
458
485
|
outline_options == other.outline_options &&
|
|
@@ -469,7 +496,7 @@ module AsposeWordsCloud
|
|
|
469
496
|
# Calculates hash code according to all attributes.
|
|
470
497
|
# @return [Fixnum] Hash code
|
|
471
498
|
def hash
|
|
472
|
-
[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, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, bookmarks_outline_level, digital_signature_details, headings_outline_levels, outline_options, use_book_fold_printing_settings, save_format].hash
|
|
499
|
+
[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, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, bookmarks_outline_level, compression_level, digital_signature_details, headings_outline_levels, outline_options, use_book_fold_printing_settings, save_format].hash
|
|
473
500
|
end
|
|
474
501
|
|
|
475
502
|
# Builds the object from hash
|
|
@@ -168,6 +168,15 @@ module AsposeWordsCloud
|
|
|
168
168
|
# Gets or sets the font embedding mode.
|
|
169
169
|
attr_accessor :font_embedding_mode
|
|
170
170
|
|
|
171
|
+
# Gets or sets a value determining whether to generate scripts that emulate specific Microsoft Word form field behavior in PDF.
|
|
172
|
+
# Default is false.
|
|
173
|
+
# When this option is enabled, the exporter generates PDF JavaScript actions to emulate Microsoft Word
|
|
174
|
+
# form field behavior, such as date and time form fields with formatting and validation rules.When set to true, supported behavior will be exported as PDF JavaScript actions.
|
|
175
|
+
# When set to false, no form field scripts will be generated.Script execution depends on the PDF viewer. Some PDF viewers might ignore scripts, restrict script execution,
|
|
176
|
+
# or require the user to enable JavaScript.JavaScript actions are prohibited by PDF/A-1, PDF/A-2 and PDF/A-3 compliance.
|
|
177
|
+
# The false value will be used automatically in this case.
|
|
178
|
+
attr_accessor :generate_form_field_scripts
|
|
179
|
+
|
|
171
180
|
# Gets or sets the option that controls how bookmarks in headers/footers are exported.
|
|
172
181
|
# The default value is Aspose.Words.Saving.HeaderFooterBookmarksExportMode.All.
|
|
173
182
|
attr_accessor :header_footer_bookmarks_export_mode
|
|
@@ -293,6 +302,7 @@ module AsposeWordsCloud
|
|
|
293
302
|
:'export_document_structure' => :'ExportDocumentStructure',
|
|
294
303
|
:'export_language_to_span_tag' => :'ExportLanguageToSpanTag',
|
|
295
304
|
:'font_embedding_mode' => :'FontEmbeddingMode',
|
|
305
|
+
:'generate_form_field_scripts' => :'GenerateFormFieldScripts',
|
|
296
306
|
:'header_footer_bookmarks_export_mode' => :'HeaderFooterBookmarksExportMode',
|
|
297
307
|
:'image_color_space_export_mode' => :'ImageColorSpaceExportMode',
|
|
298
308
|
:'image_compression' => :'ImageCompression',
|
|
@@ -351,6 +361,7 @@ module AsposeWordsCloud
|
|
|
351
361
|
:'export_document_structure' => :'BOOLEAN',
|
|
352
362
|
:'export_language_to_span_tag' => :'BOOLEAN',
|
|
353
363
|
:'font_embedding_mode' => :'String',
|
|
364
|
+
:'generate_form_field_scripts' => :'BOOLEAN',
|
|
354
365
|
:'header_footer_bookmarks_export_mode' => :'String',
|
|
355
366
|
:'image_color_space_export_mode' => :'String',
|
|
356
367
|
:'image_compression' => :'String',
|
|
@@ -518,6 +529,10 @@ module AsposeWordsCloud
|
|
|
518
529
|
self.font_embedding_mode = attributes[:'FontEmbeddingMode']
|
|
519
530
|
end
|
|
520
531
|
|
|
532
|
+
if attributes.key?(:'GenerateFormFieldScripts')
|
|
533
|
+
self.generate_form_field_scripts = attributes[:'GenerateFormFieldScripts']
|
|
534
|
+
end
|
|
535
|
+
|
|
521
536
|
if attributes.key?(:'HeaderFooterBookmarksExportMode')
|
|
522
537
|
self.header_footer_bookmarks_export_mode = attributes[:'HeaderFooterBookmarksExportMode']
|
|
523
538
|
end
|
|
@@ -874,6 +889,7 @@ module AsposeWordsCloud
|
|
|
874
889
|
export_document_structure == other.export_document_structure &&
|
|
875
890
|
export_language_to_span_tag == other.export_language_to_span_tag &&
|
|
876
891
|
font_embedding_mode == other.font_embedding_mode &&
|
|
892
|
+
generate_form_field_scripts == other.generate_form_field_scripts &&
|
|
877
893
|
header_footer_bookmarks_export_mode == other.header_footer_bookmarks_export_mode &&
|
|
878
894
|
image_color_space_export_mode == other.image_color_space_export_mode &&
|
|
879
895
|
image_compression == other.image_compression &&
|
|
@@ -903,7 +919,7 @@ module AsposeWordsCloud
|
|
|
903
919
|
# Calculates hash code according to all attributes.
|
|
904
920
|
# @return [Fixnum] Hash code
|
|
905
921
|
def hash
|
|
906
|
-
[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, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, attachments_embedding_mode, 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, export_floating_shapes_as_inline_tag, save_format].hash
|
|
922
|
+
[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, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, attachments_embedding_mode, 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, generate_form_field_scripts, 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, export_floating_shapes_as_inline_tag, save_format].hash
|
|
907
923
|
end
|
|
908
924
|
|
|
909
925
|
# Builds the object from hash
|
|
@@ -111,6 +111,10 @@ module AsposeWordsCloud
|
|
|
111
111
|
# Gets or sets the level in the XPS document outline at which to display Word bookmarks.
|
|
112
112
|
attr_accessor :bookmarks_outline_level
|
|
113
113
|
|
|
114
|
+
# Gets or sets a compression level used to save document.
|
|
115
|
+
# The default value is Normal.
|
|
116
|
+
attr_accessor :compression_level
|
|
117
|
+
|
|
114
118
|
# Gets or sets the details for signing the output document.
|
|
115
119
|
attr_accessor :digital_signature_details
|
|
116
120
|
|
|
@@ -172,6 +176,7 @@ module AsposeWordsCloud
|
|
|
172
176
|
:'page_count' => :'PageCount',
|
|
173
177
|
:'page_index' => :'PageIndex',
|
|
174
178
|
:'bookmarks_outline_level' => :'BookmarksOutlineLevel',
|
|
179
|
+
:'compression_level' => :'CompressionLevel',
|
|
175
180
|
:'digital_signature_details' => :'DigitalSignatureDetails',
|
|
176
181
|
:'headings_outline_levels' => :'HeadingsOutlineLevels',
|
|
177
182
|
:'outline_options' => :'OutlineOptions',
|
|
@@ -204,6 +209,7 @@ module AsposeWordsCloud
|
|
|
204
209
|
:'page_count' => :'Integer',
|
|
205
210
|
:'page_index' => :'Integer',
|
|
206
211
|
:'bookmarks_outline_level' => :'Integer',
|
|
212
|
+
:'compression_level' => :'String',
|
|
207
213
|
:'digital_signature_details' => :'DigitalSignatureDetails',
|
|
208
214
|
:'headings_outline_levels' => :'Integer',
|
|
209
215
|
:'outline_options' => :'OutlineOptionsData',
|
|
@@ -306,6 +312,10 @@ module AsposeWordsCloud
|
|
|
306
312
|
self.bookmarks_outline_level = attributes[:'BookmarksOutlineLevel']
|
|
307
313
|
end
|
|
308
314
|
|
|
315
|
+
if attributes.key?(:'CompressionLevel')
|
|
316
|
+
self.compression_level = attributes[:'CompressionLevel']
|
|
317
|
+
end
|
|
318
|
+
|
|
309
319
|
if attributes.key?(:'DigitalSignatureDetails')
|
|
310
320
|
self.digital_signature_details = attributes[:'DigitalSignatureDetails']
|
|
311
321
|
end
|
|
@@ -338,6 +348,8 @@ module AsposeWordsCloud
|
|
|
338
348
|
return false unless color_mode_validator.valid?(@color_mode)
|
|
339
349
|
numeral_format_validator = EnumAttributeValidator.new('String', ["European", "ArabicIndic", "EasternArabicIndic", "Context", "System"])
|
|
340
350
|
return false unless numeral_format_validator.valid?(@numeral_format)
|
|
351
|
+
compression_level_validator = EnumAttributeValidator.new('String', ["Normal", "Maximum", "Fast", "SuperFast"])
|
|
352
|
+
return false unless compression_level_validator.valid?(@compression_level)
|
|
341
353
|
|
|
342
354
|
return true
|
|
343
355
|
end
|
|
@@ -426,6 +438,20 @@ module AsposeWordsCloud
|
|
|
426
438
|
end
|
|
427
439
|
end
|
|
428
440
|
|
|
441
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
442
|
+
# @param [Object] compression_level Object to be assigned
|
|
443
|
+
def compression_level=(compression_level)
|
|
444
|
+
validator = EnumAttributeValidator.new('String', ["Normal", "Maximum", "Fast", "SuperFast"])
|
|
445
|
+
if compression_level.to_i == 0
|
|
446
|
+
unless validator.valid?(compression_level)
|
|
447
|
+
raise ArgumentError, "invalid value for 'compression_level', must be one of #{validator.allowable_values}."
|
|
448
|
+
end
|
|
449
|
+
@compression_level = compression_level
|
|
450
|
+
else
|
|
451
|
+
@compression_level = validator.allowable_values[compression_level.to_i]
|
|
452
|
+
end
|
|
453
|
+
end
|
|
454
|
+
|
|
429
455
|
|
|
430
456
|
# Checks equality by comparing each attribute.
|
|
431
457
|
# @param [Object] Object to be compared
|
|
@@ -453,6 +479,7 @@ module AsposeWordsCloud
|
|
|
453
479
|
page_count == other.page_count &&
|
|
454
480
|
page_index == other.page_index &&
|
|
455
481
|
bookmarks_outline_level == other.bookmarks_outline_level &&
|
|
482
|
+
compression_level == other.compression_level &&
|
|
456
483
|
digital_signature_details == other.digital_signature_details &&
|
|
457
484
|
headings_outline_levels == other.headings_outline_levels &&
|
|
458
485
|
outline_options == other.outline_options &&
|
|
@@ -469,7 +496,7 @@ module AsposeWordsCloud
|
|
|
469
496
|
# Calculates hash code according to all attributes.
|
|
470
497
|
# @return [Fixnum] Hash code
|
|
471
498
|
def hash
|
|
472
|
-
[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, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, bookmarks_outline_level, digital_signature_details, headings_outline_levels, outline_options, use_book_fold_printing_settings, save_format].hash
|
|
499
|
+
[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, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, bookmarks_outline_level, compression_level, digital_signature_details, headings_outline_levels, outline_options, use_book_fold_printing_settings, save_format].hash
|
|
473
500
|
end
|
|
474
501
|
|
|
475
502
|
# Builds the object from hash
|
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: '26.
|
|
4
|
+
version: '26.9'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aspose
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-09-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|