aspose_words_cloud 19.12.0 → 20.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +11 -11
  3. data/lib/aspose_words_cloud/models/doc_save_options_data.rb +1 -11
  4. data/lib/aspose_words_cloud/models/emf_save_options_data.rb +11 -11
  5. data/lib/aspose_words_cloud/models/epub_save_options_data.rb +1 -11
  6. data/lib/aspose_words_cloud/models/fixed_page_save_options_data.rb +11 -11
  7. data/lib/aspose_words_cloud/models/gif_save_options_data.rb +11 -11
  8. data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +11 -11
  9. data/lib/aspose_words_cloud/models/html_save_options_data.rb +1 -11
  10. data/lib/aspose_words_cloud/models/image_save_options_data.rb +11 -11
  11. data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +11 -11
  12. data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +1 -11
  13. data/lib/aspose_words_cloud/models/odt_save_options_data.rb +1 -11
  14. data/lib/aspose_words_cloud/models/ooxml_save_options_data.rb +1 -11
  15. data/lib/aspose_words_cloud/models/pcl_save_options_data.rb +11 -11
  16. data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +11 -11
  17. data/lib/aspose_words_cloud/models/png_save_options_data.rb +11 -11
  18. data/lib/aspose_words_cloud/models/ps_save_options_data.rb +11 -11
  19. data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +1 -11
  20. data/lib/aspose_words_cloud/models/save_options_data.rb +1 -11
  21. data/lib/aspose_words_cloud/models/svg_save_options_data.rb +11 -11
  22. data/lib/aspose_words_cloud/models/text_save_options_data.rb +1 -11
  23. data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +11 -11
  24. data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +1 -11
  25. data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +11 -11
  26. data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +1 -11
  27. data/lib/aspose_words_cloud/models/xps_save_options_data.rb +11 -11
  28. data/lib/aspose_words_cloud/version.rb +1 -1
  29. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86635c4f5ada805d0eef2ec48db14fa1ce976957d82a9bb234a4fba46cb953bd
4
- data.tar.gz: 11a9226a41bfdd053866e246103508487eb6fa42ea23c1e7266dafee56d1e782
3
+ metadata.gz: f488252fd697f612be5a3b242948a5261fc7f4d091e141c872c70de36094cde0
4
+ data.tar.gz: 3c96d19fd16643df3ced6c7f73bb8c264aacc93d582a8fb4de3eafef320b70e9
5
5
  SHA512:
6
- metadata.gz: 0abbb18a1d7937e9149b89917218e7f6af658a262a6f76310a23b461f3094059934bedc3513b9b8432e11d066a275d4eabd529ad570f7149fac2f7e744ec570a
7
- data.tar.gz: 192b1e96319d71723245ead1fa57af0b5d338a0823a0c0306fc93c7df3a1da40a16d6b5e9c2ba9353e950c366b4ebe8e50f8a9b07ae42ea4cfcba1a5b4d05987
6
+ metadata.gz: 4b4f1a00669aae1413b311ab601ef09add1a459e8aa67bcb3f06b9fd142fd463fb3507c7315f31a2aba39bc0a7394e8125b39e247abe3bcc6729f972ecf3efc1
7
+ data.tar.gz: 5294922e983fce243658ef6ce46c2f172d7f5839ed1aae80365fee5797b440a3446935a3ec4067aedf049d3827559acb8212102c11bb8dc3d792623e9561e0db
@@ -31,9 +31,6 @@ module AsposeWordsCloud
31
31
 
32
32
  # Container class for bmp save options.
33
33
  class BmpSaveOptionsData
34
- # Gets or sets a value determining how colors are rendered. { Normal | Grayscale}.
35
- attr_accessor :color_mode
36
-
37
34
  # Gets or sets format of save.
38
35
  attr_accessor :save_format
39
36
 
@@ -58,6 +55,9 @@ module AsposeWordsCloud
58
55
  # Gets or sets a value determining if fields should be updated before saving the document to a fixed page format. Default value for this property is. true
59
56
  attr_accessor :update_fields
60
57
 
58
+ # Gets or sets a value determining how colors are rendered. { Normal | Grayscale}.
59
+ attr_accessor :color_mode
60
+
61
61
  # Gets or sets determines the quality of the JPEG images inside PDF document.
62
62
  attr_accessor :jpeg_quality
63
63
 
@@ -119,7 +119,6 @@ module AsposeWordsCloud
119
119
  # Attribute mapping from ruby-style variable name to JSON key.
120
120
  def self.attribute_map
121
121
  {
122
- :'color_mode' => :'ColorMode',
123
122
  :'save_format' => :'SaveFormat',
124
123
  :'file_name' => :'FileName',
125
124
  :'dml_rendering_mode' => :'DmlRenderingMode',
@@ -128,6 +127,7 @@ module AsposeWordsCloud
128
127
  :'update_last_saved_time_property' => :'UpdateLastSavedTimeProperty',
129
128
  :'update_sdt_content' => :'UpdateSdtContent',
130
129
  :'update_fields' => :'UpdateFields',
130
+ :'color_mode' => :'ColorMode',
131
131
  :'jpeg_quality' => :'JpegQuality',
132
132
  :'metafile_rendering_options' => :'MetafileRenderingOptions',
133
133
  :'numeral_format' => :'NumeralFormat',
@@ -153,7 +153,6 @@ module AsposeWordsCloud
153
153
  # Attribute type mapping.
154
154
  def self.swagger_types
155
155
  {
156
- :'color_mode' => :'String',
157
156
  :'save_format' => :'String',
158
157
  :'file_name' => :'String',
159
158
  :'dml_rendering_mode' => :'String',
@@ -162,6 +161,7 @@ module AsposeWordsCloud
162
161
  :'update_last_saved_time_property' => :'BOOLEAN',
163
162
  :'update_sdt_content' => :'BOOLEAN',
164
163
  :'update_fields' => :'BOOLEAN',
164
+ :'color_mode' => :'String',
165
165
  :'jpeg_quality' => :'Integer',
166
166
  :'metafile_rendering_options' => :'MetafileRenderingOptionsData',
167
167
  :'numeral_format' => :'String',
@@ -192,10 +192,6 @@ module AsposeWordsCloud
192
192
  # convert string to symbol for hash key
193
193
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
194
194
 
195
- if attributes.key?(:'ColorMode')
196
- self.color_mode = attributes[:'ColorMode']
197
- end
198
-
199
195
  if attributes.key?(:'SaveFormat')
200
196
  self.save_format = attributes[:'SaveFormat']
201
197
  end
@@ -228,6 +224,10 @@ module AsposeWordsCloud
228
224
  self.update_fields = attributes[:'UpdateFields']
229
225
  end
230
226
 
227
+ if attributes.key?(:'ColorMode')
228
+ self.color_mode = attributes[:'ColorMode']
229
+ end
230
+
231
231
  if attributes.key?(:'JpegQuality')
232
232
  self.jpeg_quality = attributes[:'JpegQuality']
233
233
  end
@@ -324,7 +324,6 @@ module AsposeWordsCloud
324
324
  def ==(other)
325
325
  return true if self.equal?(other)
326
326
  self.class == other.class &&
327
- color_mode == other.color_mode &&
328
327
  save_format == other.save_format &&
329
328
  file_name == other.file_name &&
330
329
  dml_rendering_mode == other.dml_rendering_mode &&
@@ -333,6 +332,7 @@ module AsposeWordsCloud
333
332
  update_last_saved_time_property == other.update_last_saved_time_property &&
334
333
  update_sdt_content == other.update_sdt_content &&
335
334
  update_fields == other.update_fields &&
335
+ color_mode == other.color_mode &&
336
336
  jpeg_quality == other.jpeg_quality &&
337
337
  metafile_rendering_options == other.metafile_rendering_options &&
338
338
  numeral_format == other.numeral_format &&
@@ -363,7 +363,7 @@ module AsposeWordsCloud
363
363
  # Calculates hash code according to all attributes.
364
364
  # @return [Fixnum] Hash code
365
365
  def hash
366
- [color_mode, save_format, file_name, dml_rendering_mode, dml_effects_rendering_mode, zip_output, update_last_saved_time_property, update_sdt_content, update_fields, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, 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
366
+ [save_format, file_name, dml_rendering_mode, dml_effects_rendering_mode, zip_output, update_last_saved_time_property, update_sdt_content, update_fields, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, 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
367
367
  end
368
368
 
369
369
  # Builds the object from hash
@@ -31,9 +31,6 @@ module AsposeWordsCloud
31
31
 
32
32
  # container class for doc/dot save options.
33
33
  class DocSaveOptionsData
34
- # Gets or sets a value determining how colors are rendered. { Normal | Grayscale}.
35
- attr_accessor :color_mode
36
-
37
34
  # Gets or sets format of save.
38
35
  attr_accessor :save_format
39
36
 
@@ -74,7 +71,6 @@ module AsposeWordsCloud
74
71
  # Attribute mapping from ruby-style variable name to JSON key.
75
72
  def self.attribute_map
76
73
  {
77
- :'color_mode' => :'ColorMode',
78
74
  :'save_format' => :'SaveFormat',
79
75
  :'file_name' => :'FileName',
80
76
  :'dml_rendering_mode' => :'DmlRenderingMode',
@@ -93,7 +89,6 @@ module AsposeWordsCloud
93
89
  # Attribute type mapping.
94
90
  def self.swagger_types
95
91
  {
96
- :'color_mode' => :'String',
97
92
  :'save_format' => :'String',
98
93
  :'file_name' => :'String',
99
94
  :'dml_rendering_mode' => :'String',
@@ -117,10 +112,6 @@ module AsposeWordsCloud
117
112
  # convert string to symbol for hash key
118
113
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
119
114
 
120
- if attributes.key?(:'ColorMode')
121
- self.color_mode = attributes[:'ColorMode']
122
- end
123
-
124
115
  if attributes.key?(:'SaveFormat')
125
116
  self.save_format = attributes[:'SaveFormat']
126
117
  end
@@ -189,7 +180,6 @@ module AsposeWordsCloud
189
180
  def ==(other)
190
181
  return true if self.equal?(other)
191
182
  self.class == other.class &&
192
- color_mode == other.color_mode &&
193
183
  save_format == other.save_format &&
194
184
  file_name == other.file_name &&
195
185
  dml_rendering_mode == other.dml_rendering_mode &&
@@ -213,7 +203,7 @@ module AsposeWordsCloud
213
203
  # Calculates hash code according to all attributes.
214
204
  # @return [Fixnum] Hash code
215
205
  def hash
216
- [color_mode, save_format, file_name, dml_rendering_mode, dml_effects_rendering_mode, zip_output, update_last_saved_time_property, update_sdt_content, update_fields, always_compress_metafiles, password, save_picture_bullet, save_routing_slip].hash
206
+ [save_format, file_name, dml_rendering_mode, dml_effects_rendering_mode, zip_output, update_last_saved_time_property, update_sdt_content, update_fields, always_compress_metafiles, password, save_picture_bullet, save_routing_slip].hash
217
207
  end
218
208
 
219
209
  # Builds the object from hash
@@ -31,9 +31,6 @@ module AsposeWordsCloud
31
31
 
32
32
  # Container class for emf save options.
33
33
  class EmfSaveOptionsData
34
- # Gets or sets a value determining how colors are rendered. { Normal | Grayscale}.
35
- attr_accessor :color_mode
36
-
37
34
  # Gets or sets format of save.
38
35
  attr_accessor :save_format
39
36
 
@@ -58,6 +55,9 @@ module AsposeWordsCloud
58
55
  # Gets or sets a value determining if fields should be updated before saving the document to a fixed page format. Default value for this property is. true
59
56
  attr_accessor :update_fields
60
57
 
58
+ # Gets or sets a value determining how colors are rendered. { Normal | Grayscale}.
59
+ attr_accessor :color_mode
60
+
61
61
  # Gets or sets determines the quality of the JPEG images inside PDF document.
62
62
  attr_accessor :jpeg_quality
63
63
 
@@ -119,7 +119,6 @@ module AsposeWordsCloud
119
119
  # Attribute mapping from ruby-style variable name to JSON key.
120
120
  def self.attribute_map
121
121
  {
122
- :'color_mode' => :'ColorMode',
123
122
  :'save_format' => :'SaveFormat',
124
123
  :'file_name' => :'FileName',
125
124
  :'dml_rendering_mode' => :'DmlRenderingMode',
@@ -128,6 +127,7 @@ module AsposeWordsCloud
128
127
  :'update_last_saved_time_property' => :'UpdateLastSavedTimeProperty',
129
128
  :'update_sdt_content' => :'UpdateSdtContent',
130
129
  :'update_fields' => :'UpdateFields',
130
+ :'color_mode' => :'ColorMode',
131
131
  :'jpeg_quality' => :'JpegQuality',
132
132
  :'metafile_rendering_options' => :'MetafileRenderingOptions',
133
133
  :'numeral_format' => :'NumeralFormat',
@@ -153,7 +153,6 @@ module AsposeWordsCloud
153
153
  # Attribute type mapping.
154
154
  def self.swagger_types
155
155
  {
156
- :'color_mode' => :'String',
157
156
  :'save_format' => :'String',
158
157
  :'file_name' => :'String',
159
158
  :'dml_rendering_mode' => :'String',
@@ -162,6 +161,7 @@ module AsposeWordsCloud
162
161
  :'update_last_saved_time_property' => :'BOOLEAN',
163
162
  :'update_sdt_content' => :'BOOLEAN',
164
163
  :'update_fields' => :'BOOLEAN',
164
+ :'color_mode' => :'String',
165
165
  :'jpeg_quality' => :'Integer',
166
166
  :'metafile_rendering_options' => :'MetafileRenderingOptionsData',
167
167
  :'numeral_format' => :'String',
@@ -192,10 +192,6 @@ module AsposeWordsCloud
192
192
  # convert string to symbol for hash key
193
193
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
194
194
 
195
- if attributes.key?(:'ColorMode')
196
- self.color_mode = attributes[:'ColorMode']
197
- end
198
-
199
195
  if attributes.key?(:'SaveFormat')
200
196
  self.save_format = attributes[:'SaveFormat']
201
197
  end
@@ -228,6 +224,10 @@ module AsposeWordsCloud
228
224
  self.update_fields = attributes[:'UpdateFields']
229
225
  end
230
226
 
227
+ if attributes.key?(:'ColorMode')
228
+ self.color_mode = attributes[:'ColorMode']
229
+ end
230
+
231
231
  if attributes.key?(:'JpegQuality')
232
232
  self.jpeg_quality = attributes[:'JpegQuality']
233
233
  end
@@ -324,7 +324,6 @@ module AsposeWordsCloud
324
324
  def ==(other)
325
325
  return true if self.equal?(other)
326
326
  self.class == other.class &&
327
- color_mode == other.color_mode &&
328
327
  save_format == other.save_format &&
329
328
  file_name == other.file_name &&
330
329
  dml_rendering_mode == other.dml_rendering_mode &&
@@ -333,6 +332,7 @@ module AsposeWordsCloud
333
332
  update_last_saved_time_property == other.update_last_saved_time_property &&
334
333
  update_sdt_content == other.update_sdt_content &&
335
334
  update_fields == other.update_fields &&
335
+ color_mode == other.color_mode &&
336
336
  jpeg_quality == other.jpeg_quality &&
337
337
  metafile_rendering_options == other.metafile_rendering_options &&
338
338
  numeral_format == other.numeral_format &&
@@ -363,7 +363,7 @@ module AsposeWordsCloud
363
363
  # Calculates hash code according to all attributes.
364
364
  # @return [Fixnum] Hash code
365
365
  def hash
366
- [color_mode, save_format, file_name, dml_rendering_mode, dml_effects_rendering_mode, zip_output, update_last_saved_time_property, update_sdt_content, update_fields, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, 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
366
+ [save_format, file_name, dml_rendering_mode, dml_effects_rendering_mode, zip_output, update_last_saved_time_property, update_sdt_content, update_fields, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, 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
367
367
  end
368
368
 
369
369
  # Builds the object from hash
@@ -31,9 +31,6 @@ module AsposeWordsCloud
31
31
 
32
32
  # Container class for epub save options.
33
33
  class EpubSaveOptionsData
34
- # Gets or sets a value determining how colors are rendered. { Normal | Grayscale}.
35
- attr_accessor :color_mode
36
-
37
34
  # Gets or sets format of save.
38
35
  attr_accessor :save_format
39
36
 
@@ -203,7 +200,6 @@ module AsposeWordsCloud
203
200
  # Attribute mapping from ruby-style variable name to JSON key.
204
201
  def self.attribute_map
205
202
  {
206
- :'color_mode' => :'ColorMode',
207
203
  :'save_format' => :'SaveFormat',
208
204
  :'file_name' => :'FileName',
209
205
  :'dml_rendering_mode' => :'DmlRenderingMode',
@@ -258,7 +254,6 @@ module AsposeWordsCloud
258
254
  # Attribute type mapping.
259
255
  def self.swagger_types
260
256
  {
261
- :'color_mode' => :'String',
262
257
  :'save_format' => :'String',
263
258
  :'file_name' => :'String',
264
259
  :'dml_rendering_mode' => :'String',
@@ -318,10 +313,6 @@ module AsposeWordsCloud
318
313
  # convert string to symbol for hash key
319
314
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
320
315
 
321
- if attributes.key?(:'ColorMode')
322
- self.color_mode = attributes[:'ColorMode']
323
- end
324
-
325
316
  if attributes.key?(:'SaveFormat')
326
317
  self.save_format = attributes[:'SaveFormat']
327
318
  end
@@ -582,7 +573,6 @@ module AsposeWordsCloud
582
573
  def ==(other)
583
574
  return true if self.equal?(other)
584
575
  self.class == other.class &&
585
- color_mode == other.color_mode &&
586
576
  save_format == other.save_format &&
587
577
  file_name == other.file_name &&
588
578
  dml_rendering_mode == other.dml_rendering_mode &&
@@ -642,7 +632,7 @@ module AsposeWordsCloud
642
632
  # Calculates hash code according to all attributes.
643
633
  # @return [Fixnum] Hash code
644
634
  def hash
645
- [color_mode, save_format, file_name, dml_rendering_mode, dml_effects_rendering_mode, zip_output, update_last_saved_time_property, update_sdt_content, update_fields, 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_box_as_svg, 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, resolve_font_names, resource_folder, resource_folder_alias, scale_image_to_shape_size, table_width_output_mode, epub_navigation_map_level].hash
635
+ [save_format, file_name, dml_rendering_mode, dml_effects_rendering_mode, zip_output, update_last_saved_time_property, update_sdt_content, update_fields, 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_box_as_svg, 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, resolve_font_names, resource_folder, resource_folder_alias, scale_image_to_shape_size, table_width_output_mode, epub_navigation_map_level].hash
646
636
  end
647
637
 
648
638
  # Builds the object from hash
@@ -31,9 +31,6 @@ module AsposeWordsCloud
31
31
 
32
32
  # Contains common options that can be specified when saving a document into fixed page formats (PDF, XPS, images etc).
33
33
  class FixedPageSaveOptionsData
34
- # Gets or sets a value determining how colors are rendered. { Normal | Grayscale}.
35
- attr_accessor :color_mode
36
-
37
34
  # Gets or sets format of save.
38
35
  attr_accessor :save_format
39
36
 
@@ -58,6 +55,9 @@ module AsposeWordsCloud
58
55
  # Gets or sets a value determining if fields should be updated before saving the document to a fixed page format. Default value for this property is. true
59
56
  attr_accessor :update_fields
60
57
 
58
+ # Gets or sets a value determining how colors are rendered. { Normal | Grayscale}.
59
+ attr_accessor :color_mode
60
+
61
61
  # Gets or sets determines the quality of the JPEG images inside PDF document.
62
62
  attr_accessor :jpeg_quality
63
63
 
@@ -80,7 +80,6 @@ module AsposeWordsCloud
80
80
  # Attribute mapping from ruby-style variable name to JSON key.
81
81
  def self.attribute_map
82
82
  {
83
- :'color_mode' => :'ColorMode',
84
83
  :'save_format' => :'SaveFormat',
85
84
  :'file_name' => :'FileName',
86
85
  :'dml_rendering_mode' => :'DmlRenderingMode',
@@ -89,6 +88,7 @@ module AsposeWordsCloud
89
88
  :'update_last_saved_time_property' => :'UpdateLastSavedTimeProperty',
90
89
  :'update_sdt_content' => :'UpdateSdtContent',
91
90
  :'update_fields' => :'UpdateFields',
91
+ :'color_mode' => :'ColorMode',
92
92
  :'jpeg_quality' => :'JpegQuality',
93
93
  :'metafile_rendering_options' => :'MetafileRenderingOptions',
94
94
  :'numeral_format' => :'NumeralFormat',
@@ -101,7 +101,6 @@ module AsposeWordsCloud
101
101
  # Attribute type mapping.
102
102
  def self.swagger_types
103
103
  {
104
- :'color_mode' => :'String',
105
104
  :'save_format' => :'String',
106
105
  :'file_name' => :'String',
107
106
  :'dml_rendering_mode' => :'String',
@@ -110,6 +109,7 @@ module AsposeWordsCloud
110
109
  :'update_last_saved_time_property' => :'BOOLEAN',
111
110
  :'update_sdt_content' => :'BOOLEAN',
112
111
  :'update_fields' => :'BOOLEAN',
112
+ :'color_mode' => :'String',
113
113
  :'jpeg_quality' => :'Integer',
114
114
  :'metafile_rendering_options' => :'MetafileRenderingOptionsData',
115
115
  :'numeral_format' => :'String',
@@ -127,10 +127,6 @@ module AsposeWordsCloud
127
127
  # convert string to symbol for hash key
128
128
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
129
129
 
130
- if attributes.key?(:'ColorMode')
131
- self.color_mode = attributes[:'ColorMode']
132
- end
133
-
134
130
  if attributes.key?(:'SaveFormat')
135
131
  self.save_format = attributes[:'SaveFormat']
136
132
  end
@@ -163,6 +159,10 @@ module AsposeWordsCloud
163
159
  self.update_fields = attributes[:'UpdateFields']
164
160
  end
165
161
 
162
+ if attributes.key?(:'ColorMode')
163
+ self.color_mode = attributes[:'ColorMode']
164
+ end
165
+
166
166
  if attributes.key?(:'JpegQuality')
167
167
  self.jpeg_quality = attributes[:'JpegQuality']
168
168
  end
@@ -207,7 +207,6 @@ module AsposeWordsCloud
207
207
  def ==(other)
208
208
  return true if self.equal?(other)
209
209
  self.class == other.class &&
210
- color_mode == other.color_mode &&
211
210
  save_format == other.save_format &&
212
211
  file_name == other.file_name &&
213
212
  dml_rendering_mode == other.dml_rendering_mode &&
@@ -216,6 +215,7 @@ module AsposeWordsCloud
216
215
  update_last_saved_time_property == other.update_last_saved_time_property &&
217
216
  update_sdt_content == other.update_sdt_content &&
218
217
  update_fields == other.update_fields &&
218
+ color_mode == other.color_mode &&
219
219
  jpeg_quality == other.jpeg_quality &&
220
220
  metafile_rendering_options == other.metafile_rendering_options &&
221
221
  numeral_format == other.numeral_format &&
@@ -233,7 +233,7 @@ module AsposeWordsCloud
233
233
  # Calculates hash code according to all attributes.
234
234
  # @return [Fixnum] Hash code
235
235
  def hash
236
- [color_mode, save_format, file_name, dml_rendering_mode, dml_effects_rendering_mode, zip_output, update_last_saved_time_property, update_sdt_content, update_fields, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index].hash
236
+ [save_format, file_name, dml_rendering_mode, dml_effects_rendering_mode, zip_output, update_last_saved_time_property, update_sdt_content, update_fields, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index].hash
237
237
  end
238
238
 
239
239
  # Builds the object from hash
@@ -31,9 +31,6 @@ module AsposeWordsCloud
31
31
 
32
32
  # Container class for gif save options.
33
33
  class GifSaveOptionsData
34
- # Gets or sets a value determining how colors are rendered. { Normal | Grayscale}.
35
- attr_accessor :color_mode
36
-
37
34
  # Gets or sets format of save.
38
35
  attr_accessor :save_format
39
36
 
@@ -58,6 +55,9 @@ module AsposeWordsCloud
58
55
  # Gets or sets a value determining if fields should be updated before saving the document to a fixed page format. Default value for this property is. true
59
56
  attr_accessor :update_fields
60
57
 
58
+ # Gets or sets a value determining how colors are rendered. { Normal | Grayscale}.
59
+ attr_accessor :color_mode
60
+
61
61
  # Gets or sets determines the quality of the JPEG images inside PDF document.
62
62
  attr_accessor :jpeg_quality
63
63
 
@@ -119,7 +119,6 @@ module AsposeWordsCloud
119
119
  # Attribute mapping from ruby-style variable name to JSON key.
120
120
  def self.attribute_map
121
121
  {
122
- :'color_mode' => :'ColorMode',
123
122
  :'save_format' => :'SaveFormat',
124
123
  :'file_name' => :'FileName',
125
124
  :'dml_rendering_mode' => :'DmlRenderingMode',
@@ -128,6 +127,7 @@ module AsposeWordsCloud
128
127
  :'update_last_saved_time_property' => :'UpdateLastSavedTimeProperty',
129
128
  :'update_sdt_content' => :'UpdateSdtContent',
130
129
  :'update_fields' => :'UpdateFields',
130
+ :'color_mode' => :'ColorMode',
131
131
  :'jpeg_quality' => :'JpegQuality',
132
132
  :'metafile_rendering_options' => :'MetafileRenderingOptions',
133
133
  :'numeral_format' => :'NumeralFormat',
@@ -153,7 +153,6 @@ module AsposeWordsCloud
153
153
  # Attribute type mapping.
154
154
  def self.swagger_types
155
155
  {
156
- :'color_mode' => :'String',
157
156
  :'save_format' => :'String',
158
157
  :'file_name' => :'String',
159
158
  :'dml_rendering_mode' => :'String',
@@ -162,6 +161,7 @@ module AsposeWordsCloud
162
161
  :'update_last_saved_time_property' => :'BOOLEAN',
163
162
  :'update_sdt_content' => :'BOOLEAN',
164
163
  :'update_fields' => :'BOOLEAN',
164
+ :'color_mode' => :'String',
165
165
  :'jpeg_quality' => :'Integer',
166
166
  :'metafile_rendering_options' => :'MetafileRenderingOptionsData',
167
167
  :'numeral_format' => :'String',
@@ -192,10 +192,6 @@ module AsposeWordsCloud
192
192
  # convert string to symbol for hash key
193
193
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
194
194
 
195
- if attributes.key?(:'ColorMode')
196
- self.color_mode = attributes[:'ColorMode']
197
- end
198
-
199
195
  if attributes.key?(:'SaveFormat')
200
196
  self.save_format = attributes[:'SaveFormat']
201
197
  end
@@ -228,6 +224,10 @@ module AsposeWordsCloud
228
224
  self.update_fields = attributes[:'UpdateFields']
229
225
  end
230
226
 
227
+ if attributes.key?(:'ColorMode')
228
+ self.color_mode = attributes[:'ColorMode']
229
+ end
230
+
231
231
  if attributes.key?(:'JpegQuality')
232
232
  self.jpeg_quality = attributes[:'JpegQuality']
233
233
  end
@@ -324,7 +324,6 @@ module AsposeWordsCloud
324
324
  def ==(other)
325
325
  return true if self.equal?(other)
326
326
  self.class == other.class &&
327
- color_mode == other.color_mode &&
328
327
  save_format == other.save_format &&
329
328
  file_name == other.file_name &&
330
329
  dml_rendering_mode == other.dml_rendering_mode &&
@@ -333,6 +332,7 @@ module AsposeWordsCloud
333
332
  update_last_saved_time_property == other.update_last_saved_time_property &&
334
333
  update_sdt_content == other.update_sdt_content &&
335
334
  update_fields == other.update_fields &&
335
+ color_mode == other.color_mode &&
336
336
  jpeg_quality == other.jpeg_quality &&
337
337
  metafile_rendering_options == other.metafile_rendering_options &&
338
338
  numeral_format == other.numeral_format &&
@@ -363,7 +363,7 @@ module AsposeWordsCloud
363
363
  # Calculates hash code according to all attributes.
364
364
  # @return [Fixnum] Hash code
365
365
  def hash
366
- [color_mode, save_format, file_name, dml_rendering_mode, dml_effects_rendering_mode, zip_output, update_last_saved_time_property, update_sdt_content, update_fields, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, 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
366
+ [save_format, file_name, dml_rendering_mode, dml_effects_rendering_mode, zip_output, update_last_saved_time_property, update_sdt_content, update_fields, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, 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
367
367
  end
368
368
 
369
369
  # Builds the object from hash