aspose_words_cloud 21.9.0 → 21.10.0
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 +4 -4
- data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +1 -11
- data/lib/aspose_words_cloud/models/emf_save_options_data.rb +1 -11
- data/lib/aspose_words_cloud/models/gif_save_options_data.rb +1 -11
- data/lib/aspose_words_cloud/models/image_save_options_data.rb +1 -11
- data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +1 -11
- data/lib/aspose_words_cloud/models/{string_format_data.rb → json_data_load_options.rb} +42 -119
- data/lib/aspose_words_cloud/models/png_save_options_data.rb +1 -11
- data/lib/aspose_words_cloud/models/report_engine_settings.rb +24 -4
- data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +1 -11
- data/lib/aspose_words_cloud/models/xml_data_load_options.rb +203 -0
- data/lib/aspose_words_cloud/version.rb +1 -1
- data/lib/aspose_words_cloud.rb +2 -2
- metadata +4 -4
- data/lib/aspose_words_cloud/models/graphics_quality_options_data.rb +0 -356
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e85d432666ae3469ee8a3e92a5e5a4a8f23d91832e1dd1ad7db9d9bda7969bd3
|
4
|
+
data.tar.gz: f680074a71448a0918a942f02006401bbb341b997021d171791ec01d2a02df2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a781eea247c91782ac382f946b3b32863a025b2f100bc03600c23c40c25b110c7a663d6d71690507edc50e1a9672c824471dbabdea6686ecacf84601a3da7b4e
|
7
|
+
data.tar.gz: a5a74451f1f3f61e3d2917e45c9c1534ae9dd76320314bf7b775f8de3ff460c9aa016c6dddc3633838dd7c682b2a28ac6b8cc417b2f8129dc2dd9656a445cf85
|
@@ -102,9 +102,6 @@ module AsposeWordsCloud
|
|
102
102
|
# Gets or sets the 0-based index of the first page to render.
|
103
103
|
attr_accessor :page_index
|
104
104
|
|
105
|
-
# Gets or sets the additional System.Drawing.Graphics quality options.
|
106
|
-
attr_accessor :graphics_quality_options
|
107
|
-
|
108
105
|
# Gets or sets the horizontal resolution in dots per inch for the generated images.
|
109
106
|
# This property has effect only when saving to raster image formats.
|
110
107
|
# The default value is 96.
|
@@ -194,7 +191,6 @@ module AsposeWordsCloud
|
|
194
191
|
:'optimize_output' => :'OptimizeOutput',
|
195
192
|
:'page_count' => :'PageCount',
|
196
193
|
:'page_index' => :'PageIndex',
|
197
|
-
:'graphics_quality_options' => :'GraphicsQualityOptions',
|
198
194
|
:'horizontal_resolution' => :'HorizontalResolution',
|
199
195
|
:'image_brightness' => :'ImageBrightness',
|
200
196
|
:'image_color_mode' => :'ImageColorMode',
|
@@ -235,7 +231,6 @@ module AsposeWordsCloud
|
|
235
231
|
:'optimize_output' => :'BOOLEAN',
|
236
232
|
:'page_count' => :'Integer',
|
237
233
|
:'page_index' => :'Integer',
|
238
|
-
:'graphics_quality_options' => :'GraphicsQualityOptionsData',
|
239
234
|
:'horizontal_resolution' => :'Float',
|
240
235
|
:'image_brightness' => :'Float',
|
241
236
|
:'image_color_mode' => :'String',
|
@@ -347,10 +342,6 @@ module AsposeWordsCloud
|
|
347
342
|
self.page_index = attributes[:'PageIndex']
|
348
343
|
end
|
349
344
|
|
350
|
-
if attributes.key?(:'GraphicsQualityOptions')
|
351
|
-
self.graphics_quality_options = attributes[:'GraphicsQualityOptions']
|
352
|
-
end
|
353
|
-
|
354
345
|
if attributes.key?(:'HorizontalResolution')
|
355
346
|
self.horizontal_resolution = attributes[:'HorizontalResolution']
|
356
347
|
end
|
@@ -458,7 +449,6 @@ module AsposeWordsCloud
|
|
458
449
|
optimize_output == other.optimize_output &&
|
459
450
|
page_count == other.page_count &&
|
460
451
|
page_index == other.page_index &&
|
461
|
-
graphics_quality_options == other.graphics_quality_options &&
|
462
452
|
horizontal_resolution == other.horizontal_resolution &&
|
463
453
|
image_brightness == other.image_brightness &&
|
464
454
|
image_color_mode == other.image_color_mode &&
|
@@ -482,7 +472,7 @@ module AsposeWordsCloud
|
|
482
472
|
# Calculates hash code according to all attributes.
|
483
473
|
# @return [Fixnum] Hash code
|
484
474
|
def hash
|
485
|
-
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index,
|
475
|
+
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
|
486
476
|
end
|
487
477
|
|
488
478
|
# Builds the object from hash
|
@@ -102,9 +102,6 @@ module AsposeWordsCloud
|
|
102
102
|
# Gets or sets the 0-based index of the first page to render.
|
103
103
|
attr_accessor :page_index
|
104
104
|
|
105
|
-
# Gets or sets the additional System.Drawing.Graphics quality options.
|
106
|
-
attr_accessor :graphics_quality_options
|
107
|
-
|
108
105
|
# Gets or sets the horizontal resolution in dots per inch for the generated images.
|
109
106
|
# This property has effect only when saving to raster image formats.
|
110
107
|
# The default value is 96.
|
@@ -194,7 +191,6 @@ module AsposeWordsCloud
|
|
194
191
|
:'optimize_output' => :'OptimizeOutput',
|
195
192
|
:'page_count' => :'PageCount',
|
196
193
|
:'page_index' => :'PageIndex',
|
197
|
-
:'graphics_quality_options' => :'GraphicsQualityOptions',
|
198
194
|
:'horizontal_resolution' => :'HorizontalResolution',
|
199
195
|
:'image_brightness' => :'ImageBrightness',
|
200
196
|
:'image_color_mode' => :'ImageColorMode',
|
@@ -235,7 +231,6 @@ module AsposeWordsCloud
|
|
235
231
|
:'optimize_output' => :'BOOLEAN',
|
236
232
|
:'page_count' => :'Integer',
|
237
233
|
:'page_index' => :'Integer',
|
238
|
-
:'graphics_quality_options' => :'GraphicsQualityOptionsData',
|
239
234
|
:'horizontal_resolution' => :'Float',
|
240
235
|
:'image_brightness' => :'Float',
|
241
236
|
:'image_color_mode' => :'String',
|
@@ -347,10 +342,6 @@ module AsposeWordsCloud
|
|
347
342
|
self.page_index = attributes[:'PageIndex']
|
348
343
|
end
|
349
344
|
|
350
|
-
if attributes.key?(:'GraphicsQualityOptions')
|
351
|
-
self.graphics_quality_options = attributes[:'GraphicsQualityOptions']
|
352
|
-
end
|
353
|
-
|
354
345
|
if attributes.key?(:'HorizontalResolution')
|
355
346
|
self.horizontal_resolution = attributes[:'HorizontalResolution']
|
356
347
|
end
|
@@ -458,7 +449,6 @@ module AsposeWordsCloud
|
|
458
449
|
optimize_output == other.optimize_output &&
|
459
450
|
page_count == other.page_count &&
|
460
451
|
page_index == other.page_index &&
|
461
|
-
graphics_quality_options == other.graphics_quality_options &&
|
462
452
|
horizontal_resolution == other.horizontal_resolution &&
|
463
453
|
image_brightness == other.image_brightness &&
|
464
454
|
image_color_mode == other.image_color_mode &&
|
@@ -482,7 +472,7 @@ module AsposeWordsCloud
|
|
482
472
|
# Calculates hash code according to all attributes.
|
483
473
|
# @return [Fixnum] Hash code
|
484
474
|
def hash
|
485
|
-
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index,
|
475
|
+
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
|
486
476
|
end
|
487
477
|
|
488
478
|
# Builds the object from hash
|
@@ -102,9 +102,6 @@ module AsposeWordsCloud
|
|
102
102
|
# Gets or sets the 0-based index of the first page to render.
|
103
103
|
attr_accessor :page_index
|
104
104
|
|
105
|
-
# Gets or sets the additional System.Drawing.Graphics quality options.
|
106
|
-
attr_accessor :graphics_quality_options
|
107
|
-
|
108
105
|
# Gets or sets the horizontal resolution in dots per inch for the generated images.
|
109
106
|
# This property has effect only when saving to raster image formats.
|
110
107
|
# The default value is 96.
|
@@ -194,7 +191,6 @@ module AsposeWordsCloud
|
|
194
191
|
:'optimize_output' => :'OptimizeOutput',
|
195
192
|
:'page_count' => :'PageCount',
|
196
193
|
:'page_index' => :'PageIndex',
|
197
|
-
:'graphics_quality_options' => :'GraphicsQualityOptions',
|
198
194
|
:'horizontal_resolution' => :'HorizontalResolution',
|
199
195
|
:'image_brightness' => :'ImageBrightness',
|
200
196
|
:'image_color_mode' => :'ImageColorMode',
|
@@ -235,7 +231,6 @@ module AsposeWordsCloud
|
|
235
231
|
:'optimize_output' => :'BOOLEAN',
|
236
232
|
:'page_count' => :'Integer',
|
237
233
|
:'page_index' => :'Integer',
|
238
|
-
:'graphics_quality_options' => :'GraphicsQualityOptionsData',
|
239
234
|
:'horizontal_resolution' => :'Float',
|
240
235
|
:'image_brightness' => :'Float',
|
241
236
|
:'image_color_mode' => :'String',
|
@@ -347,10 +342,6 @@ module AsposeWordsCloud
|
|
347
342
|
self.page_index = attributes[:'PageIndex']
|
348
343
|
end
|
349
344
|
|
350
|
-
if attributes.key?(:'GraphicsQualityOptions')
|
351
|
-
self.graphics_quality_options = attributes[:'GraphicsQualityOptions']
|
352
|
-
end
|
353
|
-
|
354
345
|
if attributes.key?(:'HorizontalResolution')
|
355
346
|
self.horizontal_resolution = attributes[:'HorizontalResolution']
|
356
347
|
end
|
@@ -458,7 +449,6 @@ module AsposeWordsCloud
|
|
458
449
|
optimize_output == other.optimize_output &&
|
459
450
|
page_count == other.page_count &&
|
460
451
|
page_index == other.page_index &&
|
461
|
-
graphics_quality_options == other.graphics_quality_options &&
|
462
452
|
horizontal_resolution == other.horizontal_resolution &&
|
463
453
|
image_brightness == other.image_brightness &&
|
464
454
|
image_color_mode == other.image_color_mode &&
|
@@ -482,7 +472,7 @@ module AsposeWordsCloud
|
|
482
472
|
# Calculates hash code according to all attributes.
|
483
473
|
# @return [Fixnum] Hash code
|
484
474
|
def hash
|
485
|
-
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index,
|
475
|
+
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
|
486
476
|
end
|
487
477
|
|
488
478
|
# Builds the object from hash
|
@@ -102,9 +102,6 @@ module AsposeWordsCloud
|
|
102
102
|
# Gets or sets the 0-based index of the first page to render.
|
103
103
|
attr_accessor :page_index
|
104
104
|
|
105
|
-
# Gets or sets the additional System.Drawing.Graphics quality options.
|
106
|
-
attr_accessor :graphics_quality_options
|
107
|
-
|
108
105
|
# Gets or sets the horizontal resolution in dots per inch for the generated images.
|
109
106
|
# This property has effect only when saving to raster image formats.
|
110
107
|
# The default value is 96.
|
@@ -194,7 +191,6 @@ module AsposeWordsCloud
|
|
194
191
|
:'optimize_output' => :'OptimizeOutput',
|
195
192
|
:'page_count' => :'PageCount',
|
196
193
|
:'page_index' => :'PageIndex',
|
197
|
-
:'graphics_quality_options' => :'GraphicsQualityOptions',
|
198
194
|
:'horizontal_resolution' => :'HorizontalResolution',
|
199
195
|
:'image_brightness' => :'ImageBrightness',
|
200
196
|
:'image_color_mode' => :'ImageColorMode',
|
@@ -235,7 +231,6 @@ module AsposeWordsCloud
|
|
235
231
|
:'optimize_output' => :'BOOLEAN',
|
236
232
|
:'page_count' => :'Integer',
|
237
233
|
:'page_index' => :'Integer',
|
238
|
-
:'graphics_quality_options' => :'GraphicsQualityOptionsData',
|
239
234
|
:'horizontal_resolution' => :'Float',
|
240
235
|
:'image_brightness' => :'Float',
|
241
236
|
:'image_color_mode' => :'String',
|
@@ -347,10 +342,6 @@ module AsposeWordsCloud
|
|
347
342
|
self.page_index = attributes[:'PageIndex']
|
348
343
|
end
|
349
344
|
|
350
|
-
if attributes.key?(:'GraphicsQualityOptions')
|
351
|
-
self.graphics_quality_options = attributes[:'GraphicsQualityOptions']
|
352
|
-
end
|
353
|
-
|
354
345
|
if attributes.key?(:'HorizontalResolution')
|
355
346
|
self.horizontal_resolution = attributes[:'HorizontalResolution']
|
356
347
|
end
|
@@ -458,7 +449,6 @@ module AsposeWordsCloud
|
|
458
449
|
optimize_output == other.optimize_output &&
|
459
450
|
page_count == other.page_count &&
|
460
451
|
page_index == other.page_index &&
|
461
|
-
graphics_quality_options == other.graphics_quality_options &&
|
462
452
|
horizontal_resolution == other.horizontal_resolution &&
|
463
453
|
image_brightness == other.image_brightness &&
|
464
454
|
image_color_mode == other.image_color_mode &&
|
@@ -482,7 +472,7 @@ module AsposeWordsCloud
|
|
482
472
|
# Calculates hash code according to all attributes.
|
483
473
|
# @return [Fixnum] Hash code
|
484
474
|
def hash
|
485
|
-
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index,
|
475
|
+
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
|
486
476
|
end
|
487
477
|
|
488
478
|
# Builds the object from hash
|
@@ -102,9 +102,6 @@ module AsposeWordsCloud
|
|
102
102
|
# Gets or sets the 0-based index of the first page to render.
|
103
103
|
attr_accessor :page_index
|
104
104
|
|
105
|
-
# Gets or sets the additional System.Drawing.Graphics quality options.
|
106
|
-
attr_accessor :graphics_quality_options
|
107
|
-
|
108
105
|
# Gets or sets the horizontal resolution in dots per inch for the generated images.
|
109
106
|
# This property has effect only when saving to raster image formats.
|
110
107
|
# The default value is 96.
|
@@ -194,7 +191,6 @@ module AsposeWordsCloud
|
|
194
191
|
:'optimize_output' => :'OptimizeOutput',
|
195
192
|
:'page_count' => :'PageCount',
|
196
193
|
:'page_index' => :'PageIndex',
|
197
|
-
:'graphics_quality_options' => :'GraphicsQualityOptions',
|
198
194
|
:'horizontal_resolution' => :'HorizontalResolution',
|
199
195
|
:'image_brightness' => :'ImageBrightness',
|
200
196
|
:'image_color_mode' => :'ImageColorMode',
|
@@ -235,7 +231,6 @@ module AsposeWordsCloud
|
|
235
231
|
:'optimize_output' => :'BOOLEAN',
|
236
232
|
:'page_count' => :'Integer',
|
237
233
|
:'page_index' => :'Integer',
|
238
|
-
:'graphics_quality_options' => :'GraphicsQualityOptionsData',
|
239
234
|
:'horizontal_resolution' => :'Float',
|
240
235
|
:'image_brightness' => :'Float',
|
241
236
|
:'image_color_mode' => :'String',
|
@@ -347,10 +342,6 @@ module AsposeWordsCloud
|
|
347
342
|
self.page_index = attributes[:'PageIndex']
|
348
343
|
end
|
349
344
|
|
350
|
-
if attributes.key?(:'GraphicsQualityOptions')
|
351
|
-
self.graphics_quality_options = attributes[:'GraphicsQualityOptions']
|
352
|
-
end
|
353
|
-
|
354
345
|
if attributes.key?(:'HorizontalResolution')
|
355
346
|
self.horizontal_resolution = attributes[:'HorizontalResolution']
|
356
347
|
end
|
@@ -458,7 +449,6 @@ module AsposeWordsCloud
|
|
458
449
|
optimize_output == other.optimize_output &&
|
459
450
|
page_count == other.page_count &&
|
460
451
|
page_index == other.page_index &&
|
461
|
-
graphics_quality_options == other.graphics_quality_options &&
|
462
452
|
horizontal_resolution == other.horizontal_resolution &&
|
463
453
|
image_brightness == other.image_brightness &&
|
464
454
|
image_color_mode == other.image_color_mode &&
|
@@ -482,7 +472,7 @@ module AsposeWordsCloud
|
|
482
472
|
# Calculates hash code according to all attributes.
|
483
473
|
# @return [Fixnum] Hash code
|
484
474
|
def hash
|
485
|
-
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index,
|
475
|
+
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
|
486
476
|
end
|
487
477
|
|
488
478
|
# Builds the object from hash
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# ------------------------------------------------------------------------------------
|
2
|
-
# <copyright company="Aspose" file="
|
2
|
+
# <copyright company="Aspose" file="json_data_load_options.rb">
|
3
3
|
# Copyright (c) 2021 Aspose.Words for Cloud
|
4
4
|
# </copyright>
|
5
5
|
# <summary>
|
@@ -27,22 +27,21 @@ require 'date'
|
|
27
27
|
|
28
28
|
module AsposeWordsCloud
|
29
29
|
|
30
|
-
#
|
31
|
-
class
|
32
|
-
# Gets or sets
|
33
|
-
|
30
|
+
# Represents options for parsing JSON data.
|
31
|
+
class JsonDataLoadOptions
|
32
|
+
# Gets or sets a value indicating whether a generated data source will always contain
|
33
|
+
# an object for a JSON root element. If a JSON root element contains a single complex
|
34
|
+
# property, such an object is not created by default.
|
35
|
+
attr_accessor :always_generate_root_object
|
34
36
|
|
35
|
-
# Gets or sets
|
36
|
-
|
37
|
+
# Gets or sets exact formats for parsing JSON date-time values while loading JSON.
|
38
|
+
# The default is null.
|
39
|
+
attr_accessor :exact_date_time_parse_formats
|
37
40
|
|
38
|
-
# Gets or sets
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
attr_accessor :line_alignment
|
43
|
-
|
44
|
-
# Gets or sets the System.Drawing.StringTrimming enumeration for this System.Drawing.StringFormat object.
|
45
|
-
attr_accessor :trimming
|
41
|
+
# Gets or sets a mode for parsing JSON simple values (null, boolean, number, integer,
|
42
|
+
# and string) while loading JSON. Such a mode does not affect parsing of date-time
|
43
|
+
# values. The default is Aspose.Words.Reporting.JsonSimpleValueParseMode.Loose.
|
44
|
+
attr_accessor :simple_value_parse_mode
|
46
45
|
|
47
46
|
class EnumAttributeValidator
|
48
47
|
attr_reader :datatype
|
@@ -69,22 +68,18 @@ module AsposeWordsCloud
|
|
69
68
|
# Attribute mapping from ruby-style variable name to JSON key.
|
70
69
|
def self.attribute_map
|
71
70
|
{
|
72
|
-
:'
|
73
|
-
:'
|
74
|
-
:'
|
75
|
-
:'line_alignment' => :'LineAlignment',
|
76
|
-
:'trimming' => :'Trimming'
|
71
|
+
:'always_generate_root_object' => :'AlwaysGenerateRootObject',
|
72
|
+
:'exact_date_time_parse_formats' => :'ExactDateTimeParseFormats',
|
73
|
+
:'simple_value_parse_mode' => :'SimpleValueParseMode'
|
77
74
|
}
|
78
75
|
end
|
79
76
|
|
80
77
|
# Attribute type mapping.
|
81
78
|
def self.swagger_types
|
82
79
|
{
|
83
|
-
:'
|
84
|
-
:'
|
85
|
-
:'
|
86
|
-
:'line_alignment' => :'String',
|
87
|
-
:'trimming' => :'String'
|
80
|
+
:'always_generate_root_object' => :'BOOLEAN',
|
81
|
+
:'exact_date_time_parse_formats' => :'Array<String>',
|
82
|
+
:'simple_value_parse_mode' => :'String'
|
88
83
|
}
|
89
84
|
end
|
90
85
|
|
@@ -96,24 +91,18 @@ module AsposeWordsCloud
|
|
96
91
|
# convert string to symbol for hash key
|
97
92
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
98
93
|
|
99
|
-
if attributes.key?(:'
|
100
|
-
self.
|
101
|
-
end
|
102
|
-
|
103
|
-
if attributes.key?(:'FormatFlags')
|
104
|
-
self.format_flags = attributes[:'FormatFlags']
|
94
|
+
if attributes.key?(:'AlwaysGenerateRootObject')
|
95
|
+
self.always_generate_root_object = attributes[:'AlwaysGenerateRootObject']
|
105
96
|
end
|
106
97
|
|
107
|
-
if attributes.key?(:'
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
if attributes.key?(:'LineAlignment')
|
112
|
-
self.line_alignment = attributes[:'LineAlignment']
|
98
|
+
if attributes.key?(:'ExactDateTimeParseFormats')
|
99
|
+
if (value = attributes[:'ExactDateTimeParseFormats']).is_a?(Array)
|
100
|
+
self.exact_date_time_parse_formats = value
|
101
|
+
end
|
113
102
|
end
|
114
103
|
|
115
|
-
if attributes.key?(:'
|
116
|
-
self.
|
104
|
+
if attributes.key?(:'SimpleValueParseMode')
|
105
|
+
self.simple_value_parse_mode = attributes[:'SimpleValueParseMode']
|
117
106
|
end
|
118
107
|
end
|
119
108
|
|
@@ -127,87 +116,23 @@ module AsposeWordsCloud
|
|
127
116
|
# Check to see if the all the properties in the model are valid
|
128
117
|
# @return true if the model is valid
|
129
118
|
def valid?
|
130
|
-
|
131
|
-
return false unless
|
132
|
-
format_flags_validator = EnumAttributeValidator.new('String', ["DirectionRightToLeft", "DirectionVertical", "FitBlackBox", "DisplayFormatControl", "NoFontFallback", "MeasureTrailingSpaces", "NoWrap", "LineLimit", "NoClip"])
|
133
|
-
return false unless format_flags_validator.valid?(@format_flags)
|
134
|
-
hotkey_prefix_validator = EnumAttributeValidator.new('String', ["None", "Show", "Hide"])
|
135
|
-
return false unless hotkey_prefix_validator.valid?(@hotkey_prefix)
|
136
|
-
line_alignment_validator = EnumAttributeValidator.new('String', ["Near", "Center", "Far"])
|
137
|
-
return false unless line_alignment_validator.valid?(@line_alignment)
|
138
|
-
trimming_validator = EnumAttributeValidator.new('String', ["None", "Character", "Word", "EllipsisCharacter", "EllipsisWord", "EllipsisPath"])
|
139
|
-
return false unless trimming_validator.valid?(@trimming)
|
119
|
+
simple_value_parse_mode_validator = EnumAttributeValidator.new('String', ["Loose", "Strict"])
|
120
|
+
return false unless simple_value_parse_mode_validator.valid?(@simple_value_parse_mode)
|
140
121
|
|
141
122
|
return true
|
142
123
|
end
|
143
124
|
|
144
125
|
# Custom attribute writer method checking allowed values (enum).
|
145
|
-
# @param [Object]
|
146
|
-
def
|
147
|
-
validator = EnumAttributeValidator.new('String', ["
|
148
|
-
if
|
149
|
-
unless validator.valid?(
|
150
|
-
raise ArgumentError, "invalid value for '
|
151
|
-
end
|
152
|
-
@alignment = alignment
|
153
|
-
else
|
154
|
-
@alignment = validator.allowable_values[alignment.to_i]
|
155
|
-
end
|
156
|
-
end
|
157
|
-
|
158
|
-
# Custom attribute writer method checking allowed values (enum).
|
159
|
-
# @param [Object] format_flags Object to be assigned
|
160
|
-
def format_flags=(format_flags)
|
161
|
-
validator = EnumAttributeValidator.new('String', ["DirectionRightToLeft", "DirectionVertical", "FitBlackBox", "DisplayFormatControl", "NoFontFallback", "MeasureTrailingSpaces", "NoWrap", "LineLimit", "NoClip"])
|
162
|
-
if format_flags.to_i == 0
|
163
|
-
unless validator.valid?(format_flags)
|
164
|
-
raise ArgumentError, "invalid value for 'format_flags', must be one of #{validator.allowable_values}."
|
165
|
-
end
|
166
|
-
@format_flags = format_flags
|
167
|
-
else
|
168
|
-
@format_flags = validator.allowable_values[format_flags.to_i]
|
169
|
-
end
|
170
|
-
end
|
171
|
-
|
172
|
-
# Custom attribute writer method checking allowed values (enum).
|
173
|
-
# @param [Object] hotkey_prefix Object to be assigned
|
174
|
-
def hotkey_prefix=(hotkey_prefix)
|
175
|
-
validator = EnumAttributeValidator.new('String', ["None", "Show", "Hide"])
|
176
|
-
if hotkey_prefix.to_i == 0
|
177
|
-
unless validator.valid?(hotkey_prefix)
|
178
|
-
raise ArgumentError, "invalid value for 'hotkey_prefix', must be one of #{validator.allowable_values}."
|
179
|
-
end
|
180
|
-
@hotkey_prefix = hotkey_prefix
|
181
|
-
else
|
182
|
-
@hotkey_prefix = validator.allowable_values[hotkey_prefix.to_i]
|
183
|
-
end
|
184
|
-
end
|
185
|
-
|
186
|
-
# Custom attribute writer method checking allowed values (enum).
|
187
|
-
# @param [Object] line_alignment Object to be assigned
|
188
|
-
def line_alignment=(line_alignment)
|
189
|
-
validator = EnumAttributeValidator.new('String', ["Near", "Center", "Far"])
|
190
|
-
if line_alignment.to_i == 0
|
191
|
-
unless validator.valid?(line_alignment)
|
192
|
-
raise ArgumentError, "invalid value for 'line_alignment', must be one of #{validator.allowable_values}."
|
193
|
-
end
|
194
|
-
@line_alignment = line_alignment
|
195
|
-
else
|
196
|
-
@line_alignment = validator.allowable_values[line_alignment.to_i]
|
197
|
-
end
|
198
|
-
end
|
199
|
-
|
200
|
-
# Custom attribute writer method checking allowed values (enum).
|
201
|
-
# @param [Object] trimming Object to be assigned
|
202
|
-
def trimming=(trimming)
|
203
|
-
validator = EnumAttributeValidator.new('String', ["None", "Character", "Word", "EllipsisCharacter", "EllipsisWord", "EllipsisPath"])
|
204
|
-
if trimming.to_i == 0
|
205
|
-
unless validator.valid?(trimming)
|
206
|
-
raise ArgumentError, "invalid value for 'trimming', must be one of #{validator.allowable_values}."
|
126
|
+
# @param [Object] simple_value_parse_mode Object to be assigned
|
127
|
+
def simple_value_parse_mode=(simple_value_parse_mode)
|
128
|
+
validator = EnumAttributeValidator.new('String', ["Loose", "Strict"])
|
129
|
+
if simple_value_parse_mode.to_i == 0
|
130
|
+
unless validator.valid?(simple_value_parse_mode)
|
131
|
+
raise ArgumentError, "invalid value for 'simple_value_parse_mode', must be one of #{validator.allowable_values}."
|
207
132
|
end
|
208
|
-
@
|
133
|
+
@simple_value_parse_mode = simple_value_parse_mode
|
209
134
|
else
|
210
|
-
@
|
135
|
+
@simple_value_parse_mode = validator.allowable_values[simple_value_parse_mode.to_i]
|
211
136
|
end
|
212
137
|
end
|
213
138
|
|
@@ -217,11 +142,9 @@ module AsposeWordsCloud
|
|
217
142
|
def ==(other)
|
218
143
|
return true if self.equal?(other)
|
219
144
|
self.class == other.class &&
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
line_alignment == other.line_alignment &&
|
224
|
-
trimming == other.trimming
|
145
|
+
always_generate_root_object == other.always_generate_root_object &&
|
146
|
+
exact_date_time_parse_formats == other.exact_date_time_parse_formats &&
|
147
|
+
simple_value_parse_mode == other.simple_value_parse_mode
|
225
148
|
end
|
226
149
|
|
227
150
|
# @see the `==` method
|
@@ -233,7 +156,7 @@ module AsposeWordsCloud
|
|
233
156
|
# Calculates hash code according to all attributes.
|
234
157
|
# @return [Fixnum] Hash code
|
235
158
|
def hash
|
236
|
-
[
|
159
|
+
[always_generate_root_object, exact_date_time_parse_formats, simple_value_parse_mode].hash
|
237
160
|
end
|
238
161
|
|
239
162
|
# Builds the object from hash
|
@@ -102,9 +102,6 @@ module AsposeWordsCloud
|
|
102
102
|
# Gets or sets the 0-based index of the first page to render.
|
103
103
|
attr_accessor :page_index
|
104
104
|
|
105
|
-
# Gets or sets the additional System.Drawing.Graphics quality options.
|
106
|
-
attr_accessor :graphics_quality_options
|
107
|
-
|
108
105
|
# Gets or sets the horizontal resolution in dots per inch for the generated images.
|
109
106
|
# This property has effect only when saving to raster image formats.
|
110
107
|
# The default value is 96.
|
@@ -194,7 +191,6 @@ module AsposeWordsCloud
|
|
194
191
|
:'optimize_output' => :'OptimizeOutput',
|
195
192
|
:'page_count' => :'PageCount',
|
196
193
|
:'page_index' => :'PageIndex',
|
197
|
-
:'graphics_quality_options' => :'GraphicsQualityOptions',
|
198
194
|
:'horizontal_resolution' => :'HorizontalResolution',
|
199
195
|
:'image_brightness' => :'ImageBrightness',
|
200
196
|
:'image_color_mode' => :'ImageColorMode',
|
@@ -235,7 +231,6 @@ module AsposeWordsCloud
|
|
235
231
|
:'optimize_output' => :'BOOLEAN',
|
236
232
|
:'page_count' => :'Integer',
|
237
233
|
:'page_index' => :'Integer',
|
238
|
-
:'graphics_quality_options' => :'GraphicsQualityOptionsData',
|
239
234
|
:'horizontal_resolution' => :'Float',
|
240
235
|
:'image_brightness' => :'Float',
|
241
236
|
:'image_color_mode' => :'String',
|
@@ -347,10 +342,6 @@ module AsposeWordsCloud
|
|
347
342
|
self.page_index = attributes[:'PageIndex']
|
348
343
|
end
|
349
344
|
|
350
|
-
if attributes.key?(:'GraphicsQualityOptions')
|
351
|
-
self.graphics_quality_options = attributes[:'GraphicsQualityOptions']
|
352
|
-
end
|
353
|
-
|
354
345
|
if attributes.key?(:'HorizontalResolution')
|
355
346
|
self.horizontal_resolution = attributes[:'HorizontalResolution']
|
356
347
|
end
|
@@ -458,7 +449,6 @@ module AsposeWordsCloud
|
|
458
449
|
optimize_output == other.optimize_output &&
|
459
450
|
page_count == other.page_count &&
|
460
451
|
page_index == other.page_index &&
|
461
|
-
graphics_quality_options == other.graphics_quality_options &&
|
462
452
|
horizontal_resolution == other.horizontal_resolution &&
|
463
453
|
image_brightness == other.image_brightness &&
|
464
454
|
image_color_mode == other.image_color_mode &&
|
@@ -482,7 +472,7 @@ module AsposeWordsCloud
|
|
482
472
|
# Calculates hash code according to all attributes.
|
483
473
|
# @return [Fixnum] Hash code
|
484
474
|
def hash
|
485
|
-
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index,
|
475
|
+
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
|
486
476
|
end
|
487
477
|
|
488
478
|
# Builds the object from hash
|
@@ -38,9 +38,15 @@ module AsposeWordsCloud
|
|
38
38
|
# Gets or sets type of datasource.
|
39
39
|
attr_accessor :data_source_type
|
40
40
|
|
41
|
+
# Gets or sets the options for parsing JSON data.
|
42
|
+
attr_accessor :json_data_load_options
|
43
|
+
|
41
44
|
# Gets or sets type of options to build report.
|
42
45
|
attr_accessor :report_build_options
|
43
46
|
|
47
|
+
# Gets or sets the options for parsing XML data.
|
48
|
+
attr_accessor :xml_data_load_options
|
49
|
+
|
44
50
|
class EnumAttributeValidator
|
45
51
|
attr_reader :datatype
|
46
52
|
attr_reader :allowable_values
|
@@ -69,7 +75,9 @@ module AsposeWordsCloud
|
|
69
75
|
:'csv_data_load_options' => :'CsvDataLoadOptions',
|
70
76
|
:'data_source_name' => :'DataSourceName',
|
71
77
|
:'data_source_type' => :'DataSourceType',
|
72
|
-
:'
|
78
|
+
:'json_data_load_options' => :'JsonDataLoadOptions',
|
79
|
+
:'report_build_options' => :'ReportBuildOptions',
|
80
|
+
:'xml_data_load_options' => :'XmlDataLoadOptions'
|
73
81
|
}
|
74
82
|
end
|
75
83
|
|
@@ -79,7 +87,9 @@ module AsposeWordsCloud
|
|
79
87
|
:'csv_data_load_options' => :'CsvDataLoadOptions',
|
80
88
|
:'data_source_name' => :'String',
|
81
89
|
:'data_source_type' => :'String',
|
82
|
-
:'
|
90
|
+
:'json_data_load_options' => :'JsonDataLoadOptions',
|
91
|
+
:'report_build_options' => :'Array<String>',
|
92
|
+
:'xml_data_load_options' => :'XmlDataLoadOptions'
|
83
93
|
}
|
84
94
|
end
|
85
95
|
|
@@ -103,11 +113,19 @@ module AsposeWordsCloud
|
|
103
113
|
self.data_source_type = attributes[:'DataSourceType']
|
104
114
|
end
|
105
115
|
|
116
|
+
if attributes.key?(:'JsonDataLoadOptions')
|
117
|
+
self.json_data_load_options = attributes[:'JsonDataLoadOptions']
|
118
|
+
end
|
119
|
+
|
106
120
|
if attributes.key?(:'ReportBuildOptions')
|
107
121
|
if (value = attributes[:'ReportBuildOptions']).is_a?(Array)
|
108
122
|
self.report_build_options = value
|
109
123
|
end
|
110
124
|
end
|
125
|
+
|
126
|
+
if attributes.key?(:'XmlDataLoadOptions')
|
127
|
+
self.xml_data_load_options = attributes[:'XmlDataLoadOptions']
|
128
|
+
end
|
111
129
|
end
|
112
130
|
|
113
131
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -149,7 +167,9 @@ module AsposeWordsCloud
|
|
149
167
|
csv_data_load_options == other.csv_data_load_options &&
|
150
168
|
data_source_name == other.data_source_name &&
|
151
169
|
data_source_type == other.data_source_type &&
|
152
|
-
|
170
|
+
json_data_load_options == other.json_data_load_options &&
|
171
|
+
report_build_options == other.report_build_options &&
|
172
|
+
xml_data_load_options == other.xml_data_load_options
|
153
173
|
end
|
154
174
|
|
155
175
|
# @see the `==` method
|
@@ -161,7 +181,7 @@ module AsposeWordsCloud
|
|
161
181
|
# Calculates hash code according to all attributes.
|
162
182
|
# @return [Fixnum] Hash code
|
163
183
|
def hash
|
164
|
-
[csv_data_load_options, data_source_name, data_source_type, report_build_options].hash
|
184
|
+
[csv_data_load_options, data_source_name, data_source_type, json_data_load_options, report_build_options, xml_data_load_options].hash
|
165
185
|
end
|
166
186
|
|
167
187
|
# Builds the object from hash
|