aspose_words_cloud 23.4.0 → 23.6.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.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud/api/words_api.rb +85 -1
  3. data/lib/aspose_words_cloud/api_client.rb +1 -1
  4. data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +11 -11
  5. data/lib/aspose_words_cloud/models/comment.rb +39 -39
  6. data/lib/aspose_words_cloud/models/comment_insert.rb +21 -21
  7. data/lib/aspose_words_cloud/models/comment_update.rb +21 -21
  8. data/lib/aspose_words_cloud/models/custom_xml_part.rb +14 -14
  9. data/lib/aspose_words_cloud/models/custom_xml_part_insert.rb +14 -14
  10. data/lib/aspose_words_cloud/models/custom_xml_part_update.rb +14 -14
  11. data/lib/aspose_words_cloud/models/doc_save_options_data.rb +10 -10
  12. data/lib/aspose_words_cloud/models/document.rb +13 -13
  13. data/lib/aspose_words_cloud/models/document_entry.rb +41 -0
  14. data/lib/aspose_words_cloud/models/document_property.rb +15 -15
  15. data/lib/aspose_words_cloud/models/document_stat_data.rb +16 -16
  16. data/lib/aspose_words_cloud/models/drawing_object.rb +41 -41
  17. data/lib/aspose_words_cloud/models/emf_save_options_data.rb +11 -11
  18. data/lib/aspose_words_cloud/models/footnote.rb +21 -21
  19. data/lib/aspose_words_cloud/models/form_field.rb +46 -46
  20. data/lib/aspose_words_cloud/models/form_field_checkbox.rb +59 -59
  21. data/lib/aspose_words_cloud/models/form_field_drop_down.rb +46 -46
  22. data/lib/aspose_words_cloud/models/form_field_text_input.rb +66 -66
  23. data/lib/aspose_words_cloud/models/gif_save_options_data.rb +11 -11
  24. data/lib/aspose_words_cloud/models/header_footer.rb +14 -14
  25. data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +10 -10
  26. data/lib/aspose_words_cloud/models/html_save_options_data.rb +10 -10
  27. data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +11 -11
  28. data/lib/aspose_words_cloud/models/list_format.rb +15 -15
  29. data/lib/aspose_words_cloud/models/list_info.rb +35 -35
  30. data/lib/aspose_words_cloud/models/list_level.rb +76 -76
  31. data/lib/aspose_words_cloud/models/load_web_document_data.rb +14 -14
  32. data/lib/aspose_words_cloud/models/markdown_save_options_data.rb +10 -10
  33. data/lib/aspose_words_cloud/models/page_stat_data.rb +14 -14
  34. data/lib/aspose_words_cloud/models/paragraph_format.rb +21 -21
  35. data/lib/aspose_words_cloud/models/paragraph_format_base.rb +14 -14
  36. data/lib/aspose_words_cloud/models/paragraph_format_update.rb +14 -14
  37. data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +10 -10
  38. data/lib/aspose_words_cloud/models/png_save_options_data.rb +11 -11
  39. data/lib/aspose_words_cloud/models/ps_save_options_data.rb +10 -10
  40. data/lib/aspose_words_cloud/models/requests/create_document_request.rb +9 -3
  41. data/lib/aspose_words_cloud/models/requests/insert_section_online_request.rb +204 -0
  42. data/lib/aspose_words_cloud/models/requests/insert_section_request.rb +203 -0
  43. data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +10 -10
  44. data/lib/aspose_words_cloud/models/save_result.rb +16 -16
  45. data/lib/aspose_words_cloud/models/search_result.rb +14 -14
  46. data/lib/aspose_words_cloud/models/section.rb +15 -15
  47. data/lib/aspose_words_cloud/models/split_document_result.rb +16 -16
  48. data/lib/aspose_words_cloud/models/structured_document_tag.rb +142 -142
  49. data/lib/aspose_words_cloud/models/structured_document_tag_insert.rb +142 -142
  50. data/lib/aspose_words_cloud/models/structured_document_tag_update.rb +142 -142
  51. data/lib/aspose_words_cloud/models/style.rb +71 -71
  52. data/lib/aspose_words_cloud/models/svg_save_options_data.rb +10 -10
  53. data/lib/aspose_words_cloud/models/table.rb +14 -14
  54. data/lib/aspose_words_cloud/models/table_row.rb +14 -14
  55. data/lib/aspose_words_cloud/models/table_row_format.rb +24 -24
  56. data/lib/aspose_words_cloud/models/text_save_options_data.rb +10 -10
  57. data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +19 -19
  58. data/lib/aspose_words_cloud/models/xps_save_options_data.rb +10 -10
  59. data/lib/aspose_words_cloud/version.rb +1 -1
  60. data/lib/aspose_words_cloud.rb +2 -0
  61. metadata +4 -2
@@ -126,9 +126,6 @@ module AsposeWordsCloud
126
126
  # Gets or sets a value indicating whether to use anti-aliasing for rendering.
127
127
  attr_accessor :use_anti_aliasing
128
128
 
129
- # Gets or sets a value indicating whether to use GDI+ or Aspose.Words metafile renderer when saving to EMF.
130
- attr_accessor :use_gdi_emf_renderer
131
-
132
129
  # Gets or sets a value indicating whether to use high quality (i.e. slow) rendering algorithms.
133
130
  attr_accessor :use_high_quality_rendering
134
131
 
@@ -137,6 +134,9 @@ module AsposeWordsCloud
137
134
  # The default value is 96.
138
135
  attr_accessor :vertical_resolution
139
136
 
137
+ # Gets or sets a value indicating whether to use GDI+ or Aspose.Words metafile renderer when saving to EMF.
138
+ attr_accessor :use_gdi_emf_renderer
139
+
140
140
  # Gets the format of save.
141
141
  attr_accessor :save_format
142
142
 
@@ -194,9 +194,9 @@ module AsposeWordsCloud
194
194
  :'resolution' => :'Resolution',
195
195
  :'scale' => :'Scale',
196
196
  :'use_anti_aliasing' => :'UseAntiAliasing',
197
- :'use_gdi_emf_renderer' => :'UseGdiEmfRenderer',
198
197
  :'use_high_quality_rendering' => :'UseHighQualityRendering',
199
198
  :'vertical_resolution' => :'VerticalResolution',
199
+ :'use_gdi_emf_renderer' => :'UseGdiEmfRenderer',
200
200
  :'save_format' => :'SaveFormat'
201
201
  }
202
202
  end
@@ -233,9 +233,9 @@ module AsposeWordsCloud
233
233
  :'resolution' => :'Float',
234
234
  :'scale' => :'Float',
235
235
  :'use_anti_aliasing' => :'BOOLEAN',
236
- :'use_gdi_emf_renderer' => :'BOOLEAN',
237
236
  :'use_high_quality_rendering' => :'BOOLEAN',
238
237
  :'vertical_resolution' => :'Float',
238
+ :'use_gdi_emf_renderer' => :'BOOLEAN',
239
239
  :'save_format' => :'String'
240
240
  }
241
241
  end
@@ -366,10 +366,6 @@ module AsposeWordsCloud
366
366
  self.use_anti_aliasing = attributes[:'UseAntiAliasing']
367
367
  end
368
368
 
369
- if attributes.key?(:'UseGdiEmfRenderer')
370
- self.use_gdi_emf_renderer = attributes[:'UseGdiEmfRenderer']
371
- end
372
-
373
369
  if attributes.key?(:'UseHighQualityRendering')
374
370
  self.use_high_quality_rendering = attributes[:'UseHighQualityRendering']
375
371
  end
@@ -377,6 +373,10 @@ module AsposeWordsCloud
377
373
  if attributes.key?(:'VerticalResolution')
378
374
  self.vertical_resolution = attributes[:'VerticalResolution']
379
375
  end
376
+
377
+ if attributes.key?(:'UseGdiEmfRenderer')
378
+ self.use_gdi_emf_renderer = attributes[:'UseGdiEmfRenderer']
379
+ end
380
380
  end
381
381
 
382
382
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -556,9 +556,9 @@ module AsposeWordsCloud
556
556
  resolution == other.resolution &&
557
557
  scale == other.scale &&
558
558
  use_anti_aliasing == other.use_anti_aliasing &&
559
- use_gdi_emf_renderer == other.use_gdi_emf_renderer &&
560
559
  use_high_quality_rendering == other.use_high_quality_rendering &&
561
560
  vertical_resolution == other.vertical_resolution &&
561
+ use_gdi_emf_renderer == other.use_gdi_emf_renderer &&
562
562
  save_format == other.save_format
563
563
  end
564
564
 
@@ -571,7 +571,7 @@ module AsposeWordsCloud
571
571
  # Calculates hash code according to all attributes.
572
572
  # @return [Fixnum] Hash code
573
573
  def hash
574
- [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, 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, save_format].hash
574
+ [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, 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_high_quality_rendering, vertical_resolution, use_gdi_emf_renderer, save_format].hash
575
575
  end
576
576
 
577
577
  # Builds the object from hash
@@ -38,12 +38,12 @@ module AsposeWordsCloud
38
38
  # Gets or sets the child nodes.
39
39
  attr_accessor :child_nodes
40
40
 
41
- # Gets or sets the link to DrawingObjects resource.
42
- attr_accessor :drawing_objects
43
-
44
41
  # Gets or sets the link to Paragraphs resource.
45
42
  attr_accessor :paragraphs
46
43
 
44
+ # Gets or sets the link to DrawingObjects resource.
45
+ attr_accessor :drawing_objects
46
+
47
47
  class EnumAttributeValidator
48
48
  attr_reader :datatype
49
49
  attr_reader :allowable_values
@@ -72,8 +72,8 @@ module AsposeWordsCloud
72
72
  :'link' => :'Link',
73
73
  :'type' => :'Type',
74
74
  :'child_nodes' => :'ChildNodes',
75
- :'drawing_objects' => :'DrawingObjects',
76
- :'paragraphs' => :'Paragraphs'
75
+ :'paragraphs' => :'Paragraphs',
76
+ :'drawing_objects' => :'DrawingObjects'
77
77
  }
78
78
  end
79
79
 
@@ -83,8 +83,8 @@ module AsposeWordsCloud
83
83
  :'link' => :'WordsApiLink',
84
84
  :'type' => :'String',
85
85
  :'child_nodes' => :'Array<NodeLink>',
86
- :'drawing_objects' => :'LinkElement',
87
- :'paragraphs' => :'LinkElement'
86
+ :'paragraphs' => :'LinkElement',
87
+ :'drawing_objects' => :'LinkElement'
88
88
  }
89
89
  end
90
90
 
@@ -110,13 +110,13 @@ module AsposeWordsCloud
110
110
  end
111
111
  end
112
112
 
113
- if attributes.key?(:'DrawingObjects')
114
- self.drawing_objects = attributes[:'DrawingObjects']
115
- end
116
-
117
113
  if attributes.key?(:'Paragraphs')
118
114
  self.paragraphs = attributes[:'Paragraphs']
119
115
  end
116
+
117
+ if attributes.key?(:'DrawingObjects')
118
+ self.drawing_objects = attributes[:'DrawingObjects']
119
+ end
120
120
  end
121
121
 
122
122
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -158,8 +158,8 @@ module AsposeWordsCloud
158
158
  link == other.link &&
159
159
  type == other.type &&
160
160
  child_nodes == other.child_nodes &&
161
- drawing_objects == other.drawing_objects &&
162
- paragraphs == other.paragraphs
161
+ paragraphs == other.paragraphs &&
162
+ drawing_objects == other.drawing_objects
163
163
  end
164
164
 
165
165
  # @see the `==` method
@@ -171,7 +171,7 @@ module AsposeWordsCloud
171
171
  # Calculates hash code according to all attributes.
172
172
  # @return [Fixnum] Hash code
173
173
  def hash
174
- [link, type, child_nodes, drawing_objects, paragraphs].hash
174
+ [link, type, child_nodes, paragraphs, drawing_objects].hash
175
175
  end
176
176
 
177
177
  # Builds the object from hash
@@ -135,15 +135,15 @@ module AsposeWordsCloud
135
135
  # Gets or sets a value indicating whether "@font-face" CSS rules should be placed into a separate file "fontFaces.css" when a document is being saved with external stylesheet (that is, when Aspose.Words.Saving.HtmlFixedSaveOptions.ExportEmbeddedCss is false). The default value is false, all CSS rules are written into single file "styles.css".
136
136
  attr_accessor :save_font_face_css_separately
137
137
 
138
- # Gets the format of save.
139
- attr_accessor :save_format
140
-
141
138
  # Gets or sets a value indicating whether to show border around pages.
142
139
  attr_accessor :show_page_border
143
140
 
144
141
  # Gets or sets a value indicating whether fonts from target machine must be used to display the document. If this flag is set to true, Aspose.Words.Saving.HtmlFixedSaveOptions.FontFormat and Aspose.Words.Saving.HtmlFixedSaveOptions.ExportEmbeddedFonts properties do not have effect, also Aspose.Words.Saving.HtmlFixedSaveOptions.ResourceSavingCallback is not fired for fonts. The default value is false.
145
142
  attr_accessor :use_target_machine_fonts
146
143
 
144
+ # Gets the format of save.
145
+ attr_accessor :save_format
146
+
147
147
  class EnumAttributeValidator
148
148
  attr_reader :datatype
149
149
  attr_reader :allowable_values
@@ -201,9 +201,9 @@ module AsposeWordsCloud
201
201
  :'resources_folder' => :'ResourcesFolder',
202
202
  :'resources_folder_alias' => :'ResourcesFolderAlias',
203
203
  :'save_font_face_css_separately' => :'SaveFontFaceCssSeparately',
204
- :'save_format' => :'SaveFormat',
205
204
  :'show_page_border' => :'ShowPageBorder',
206
- :'use_target_machine_fonts' => :'UseTargetMachineFonts'
205
+ :'use_target_machine_fonts' => :'UseTargetMachineFonts',
206
+ :'save_format' => :'SaveFormat'
207
207
  }
208
208
  end
209
209
 
@@ -242,9 +242,9 @@ module AsposeWordsCloud
242
242
  :'resources_folder' => :'String',
243
243
  :'resources_folder_alias' => :'String',
244
244
  :'save_font_face_css_separately' => :'BOOLEAN',
245
- :'save_format' => :'String',
246
245
  :'show_page_border' => :'BOOLEAN',
247
- :'use_target_machine_fonts' => :'BOOLEAN'
246
+ :'use_target_machine_fonts' => :'BOOLEAN',
247
+ :'save_format' => :'String'
248
248
  }
249
249
  end
250
250
 
@@ -575,9 +575,9 @@ module AsposeWordsCloud
575
575
  resources_folder == other.resources_folder &&
576
576
  resources_folder_alias == other.resources_folder_alias &&
577
577
  save_font_face_css_separately == other.save_font_face_css_separately &&
578
- save_format == other.save_format &&
579
578
  show_page_border == other.show_page_border &&
580
- use_target_machine_fonts == other.use_target_machine_fonts
579
+ use_target_machine_fonts == other.use_target_machine_fonts &&
580
+ save_format == other.save_format
581
581
  end
582
582
 
583
583
  # @see the `==` method
@@ -589,7 +589,7 @@ module AsposeWordsCloud
589
589
  # Calculates hash code according to all attributes.
590
590
  # @return [Fixnum] Hash code
591
591
  def hash
592
- [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, update_sdt_content, 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, save_format, show_page_border, use_target_machine_fonts].hash
592
+ [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, update_sdt_content, 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
593
593
  end
594
594
 
595
595
  # Builds the object from hash
@@ -189,15 +189,15 @@ module AsposeWordsCloud
189
189
  # Gets or sets the name of the folder used to construct URIs of all resources written into HTML document. The default value is an empty string.
190
190
  attr_accessor :resource_folder_alias
191
191
 
192
- # Gets the format of save.
193
- attr_accessor :save_format
194
-
195
192
  # Gets or sets a value indicating whether images are scaled by Aspose.Words to the bounding shape size when exporting.
196
193
  attr_accessor :scale_image_to_shape_size
197
194
 
198
195
  # Gets or sets the option that controls how table, row and cell widths are exported.
199
196
  attr_accessor :table_width_output_mode
200
197
 
198
+ # Gets the format of save.
199
+ attr_accessor :save_format
200
+
201
201
  class EnumAttributeValidator
202
202
  attr_reader :datatype
203
203
  attr_reader :allowable_values
@@ -272,9 +272,9 @@ module AsposeWordsCloud
272
272
  :'resolve_font_names' => :'ResolveFontNames',
273
273
  :'resource_folder' => :'ResourceFolder',
274
274
  :'resource_folder_alias' => :'ResourceFolderAlias',
275
- :'save_format' => :'SaveFormat',
276
275
  :'scale_image_to_shape_size' => :'ScaleImageToShapeSize',
277
- :'table_width_output_mode' => :'TableWidthOutputMode'
276
+ :'table_width_output_mode' => :'TableWidthOutputMode',
277
+ :'save_format' => :'SaveFormat'
278
278
  }
279
279
  end
280
280
 
@@ -330,9 +330,9 @@ module AsposeWordsCloud
330
330
  :'resolve_font_names' => :'BOOLEAN',
331
331
  :'resource_folder' => :'String',
332
332
  :'resource_folder_alias' => :'String',
333
- :'save_format' => :'String',
334
333
  :'scale_image_to_shape_size' => :'BOOLEAN',
335
- :'table_width_output_mode' => :'String'
334
+ :'table_width_output_mode' => :'String',
335
+ :'save_format' => :'String'
336
336
  }
337
337
  end
338
338
 
@@ -812,9 +812,9 @@ module AsposeWordsCloud
812
812
  resolve_font_names == other.resolve_font_names &&
813
813
  resource_folder == other.resource_folder &&
814
814
  resource_folder_alias == other.resource_folder_alias &&
815
- save_format == other.save_format &&
816
815
  scale_image_to_shape_size == other.scale_image_to_shape_size &&
817
- table_width_output_mode == other.table_width_output_mode
816
+ table_width_output_mode == other.table_width_output_mode &&
817
+ save_format == other.save_format
818
818
  end
819
819
 
820
820
  # @see the `==` method
@@ -826,7 +826,7 @@ module AsposeWordsCloud
826
826
  # Calculates hash code according to all attributes.
827
827
  # @return [Fixnum] Hash code
828
828
  def hash
829
- [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, update_sdt_content, zip_output, allow_negative_indent, css_class_name_prefix, css_style_sheet_file_name, css_style_sheet_type, document_split_criteria, document_split_heading_level, encoding, export_document_properties, export_drop_down_form_field_as_text, export_font_resources, export_fonts_as_base64, export_headers_footers_mode, export_images_as_base64, export_language_information, export_list_labels, export_original_url_for_linked_images, export_page_margins, export_page_setup, export_relative_font_size, export_roundtrip_information, export_text_input_form_field_as_text, export_toc_page_numbers, export_xhtml_transitional, font_resources_subsetting_size_threshold, fonts_folder, fonts_folder_alias, html_version, image_resolution, images_folder, images_folder_alias, metafile_format, office_math_output_mode, pretty_format, resolve_font_names, resource_folder, resource_folder_alias, save_format, scale_image_to_shape_size, table_width_output_mode].hash
829
+ [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, update_sdt_content, zip_output, allow_negative_indent, css_class_name_prefix, css_style_sheet_file_name, css_style_sheet_type, document_split_criteria, document_split_heading_level, encoding, export_document_properties, export_drop_down_form_field_as_text, export_font_resources, export_fonts_as_base64, export_headers_footers_mode, export_images_as_base64, export_language_information, export_list_labels, export_original_url_for_linked_images, export_page_margins, export_page_setup, export_relative_font_size, export_roundtrip_information, export_text_input_form_field_as_text, export_toc_page_numbers, export_xhtml_transitional, font_resources_subsetting_size_threshold, fonts_folder, fonts_folder_alias, html_version, image_resolution, images_folder, images_folder_alias, metafile_format, office_math_output_mode, pretty_format, resolve_font_names, resource_folder, resource_folder_alias, scale_image_to_shape_size, table_width_output_mode, save_format].hash
830
830
  end
831
831
 
832
832
  # Builds the object from hash
@@ -126,9 +126,6 @@ module AsposeWordsCloud
126
126
  # Gets or sets a value indicating whether to use anti-aliasing for rendering.
127
127
  attr_accessor :use_anti_aliasing
128
128
 
129
- # Gets or sets a value indicating whether to use GDI+ or Aspose.Words metafile renderer when saving to EMF.
130
- attr_accessor :use_gdi_emf_renderer
131
-
132
129
  # Gets or sets a value indicating whether to use high quality (i.e. slow) rendering algorithms.
133
130
  attr_accessor :use_high_quality_rendering
134
131
 
@@ -137,6 +134,9 @@ module AsposeWordsCloud
137
134
  # The default value is 96.
138
135
  attr_accessor :vertical_resolution
139
136
 
137
+ # Gets or sets a value indicating whether to use GDI+ or Aspose.Words metafile renderer when saving to EMF.
138
+ attr_accessor :use_gdi_emf_renderer
139
+
140
140
  # Gets the format of save.
141
141
  attr_accessor :save_format
142
142
 
@@ -194,9 +194,9 @@ module AsposeWordsCloud
194
194
  :'resolution' => :'Resolution',
195
195
  :'scale' => :'Scale',
196
196
  :'use_anti_aliasing' => :'UseAntiAliasing',
197
- :'use_gdi_emf_renderer' => :'UseGdiEmfRenderer',
198
197
  :'use_high_quality_rendering' => :'UseHighQualityRendering',
199
198
  :'vertical_resolution' => :'VerticalResolution',
199
+ :'use_gdi_emf_renderer' => :'UseGdiEmfRenderer',
200
200
  :'save_format' => :'SaveFormat'
201
201
  }
202
202
  end
@@ -233,9 +233,9 @@ module AsposeWordsCloud
233
233
  :'resolution' => :'Float',
234
234
  :'scale' => :'Float',
235
235
  :'use_anti_aliasing' => :'BOOLEAN',
236
- :'use_gdi_emf_renderer' => :'BOOLEAN',
237
236
  :'use_high_quality_rendering' => :'BOOLEAN',
238
237
  :'vertical_resolution' => :'Float',
238
+ :'use_gdi_emf_renderer' => :'BOOLEAN',
239
239
  :'save_format' => :'String'
240
240
  }
241
241
  end
@@ -366,10 +366,6 @@ module AsposeWordsCloud
366
366
  self.use_anti_aliasing = attributes[:'UseAntiAliasing']
367
367
  end
368
368
 
369
- if attributes.key?(:'UseGdiEmfRenderer')
370
- self.use_gdi_emf_renderer = attributes[:'UseGdiEmfRenderer']
371
- end
372
-
373
369
  if attributes.key?(:'UseHighQualityRendering')
374
370
  self.use_high_quality_rendering = attributes[:'UseHighQualityRendering']
375
371
  end
@@ -377,6 +373,10 @@ module AsposeWordsCloud
377
373
  if attributes.key?(:'VerticalResolution')
378
374
  self.vertical_resolution = attributes[:'VerticalResolution']
379
375
  end
376
+
377
+ if attributes.key?(:'UseGdiEmfRenderer')
378
+ self.use_gdi_emf_renderer = attributes[:'UseGdiEmfRenderer']
379
+ end
380
380
  end
381
381
 
382
382
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -556,9 +556,9 @@ module AsposeWordsCloud
556
556
  resolution == other.resolution &&
557
557
  scale == other.scale &&
558
558
  use_anti_aliasing == other.use_anti_aliasing &&
559
- use_gdi_emf_renderer == other.use_gdi_emf_renderer &&
560
559
  use_high_quality_rendering == other.use_high_quality_rendering &&
561
560
  vertical_resolution == other.vertical_resolution &&
561
+ use_gdi_emf_renderer == other.use_gdi_emf_renderer &&
562
562
  save_format == other.save_format
563
563
  end
564
564
 
@@ -571,7 +571,7 @@ module AsposeWordsCloud
571
571
  # Calculates hash code according to all attributes.
572
572
  # @return [Fixnum] Hash code
573
573
  def hash
574
- [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, 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, save_format].hash
574
+ [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, 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_high_quality_rendering, vertical_resolution, use_gdi_emf_renderer, save_format].hash
575
575
  end
576
576
 
577
577
  # Builds the object from hash
@@ -32,21 +32,21 @@ module AsposeWordsCloud
32
32
  # Gets or sets the link to the document.
33
33
  attr_accessor :link
34
34
 
35
- # Gets or sets a value indicating whether the paragraph has bulleted or numbered formatting applied to it.
36
- attr_accessor :is_list_item
35
+ # Gets or sets the list level number (0 to 8) for the paragraph.
36
+ attr_accessor :list_level_number
37
37
 
38
38
  # Gets or sets the list id of this paragraph.
39
39
  attr_accessor :list_id
40
40
 
41
- # Gets or sets the list level number (0 to 8) for the paragraph.
42
- attr_accessor :list_level_number
41
+ # Gets or sets a value indicating whether the paragraph has bulleted or numbered formatting applied to it.
42
+ attr_accessor :is_list_item
43
43
  # Attribute mapping from ruby-style variable name to JSON key.
44
44
  def self.attribute_map
45
45
  {
46
46
  :'link' => :'Link',
47
- :'is_list_item' => :'IsListItem',
47
+ :'list_level_number' => :'ListLevelNumber',
48
48
  :'list_id' => :'ListId',
49
- :'list_level_number' => :'ListLevelNumber'
49
+ :'is_list_item' => :'IsListItem'
50
50
  }
51
51
  end
52
52
 
@@ -54,9 +54,9 @@ module AsposeWordsCloud
54
54
  def self.swagger_types
55
55
  {
56
56
  :'link' => :'WordsApiLink',
57
- :'is_list_item' => :'BOOLEAN',
57
+ :'list_level_number' => :'Integer',
58
58
  :'list_id' => :'Integer',
59
- :'list_level_number' => :'Integer'
59
+ :'is_list_item' => :'BOOLEAN'
60
60
  }
61
61
  end
62
62
 
@@ -72,16 +72,16 @@ module AsposeWordsCloud
72
72
  self.link = attributes[:'Link']
73
73
  end
74
74
 
75
- if attributes.key?(:'IsListItem')
76
- self.is_list_item = attributes[:'IsListItem']
75
+ if attributes.key?(:'ListLevelNumber')
76
+ self.list_level_number = attributes[:'ListLevelNumber']
77
77
  end
78
78
 
79
79
  if attributes.key?(:'ListId')
80
80
  self.list_id = attributes[:'ListId']
81
81
  end
82
82
 
83
- if attributes.key?(:'ListLevelNumber')
84
- self.list_level_number = attributes[:'ListLevelNumber']
83
+ if attributes.key?(:'IsListItem')
84
+ self.is_list_item = attributes[:'IsListItem']
85
85
  end
86
86
  end
87
87
 
@@ -104,9 +104,9 @@ module AsposeWordsCloud
104
104
  return true if self.equal?(other)
105
105
  self.class == other.class &&
106
106
  link == other.link &&
107
- is_list_item == other.is_list_item &&
107
+ list_level_number == other.list_level_number &&
108
108
  list_id == other.list_id &&
109
- list_level_number == other.list_level_number
109
+ is_list_item == other.is_list_item
110
110
  end
111
111
 
112
112
  # @see the `==` method
@@ -118,7 +118,7 @@ module AsposeWordsCloud
118
118
  # Calculates hash code according to all attributes.
119
119
  # @return [Fixnum] Hash code
120
120
  def hash
121
- [link, is_list_item, list_id, list_level_number].hash
121
+ [link, list_level_number, list_id, is_list_item].hash
122
122
  end
123
123
 
124
124
  # Builds the object from hash
@@ -32,11 +32,8 @@ module AsposeWordsCloud
32
32
  # Gets or sets the link to the document.
33
33
  attr_accessor :link
34
34
 
35
- # Gets or sets a value indicating whether this list is a definition of a list style.
36
- attr_accessor :is_list_style_definition
37
-
38
- # Gets or sets a value indicating whether this list is a reference to a list style.
39
- attr_accessor :is_list_style_reference
35
+ # Gets or sets the unique identifier of the list.
36
+ attr_accessor :list_id
40
37
 
41
38
  # Gets or sets a value indicating whether the list contains 9 levels; false when 1 level.
42
39
  attr_accessor :is_multi_level
@@ -44,25 +41,28 @@ module AsposeWordsCloud
44
41
  # Gets or sets a value indicating whether list should be restarted at each section. The default value is false.
45
42
  attr_accessor :is_restart_at_each_section
46
43
 
47
- # Gets or sets the unique identifier of the list.
48
- attr_accessor :list_id
44
+ # Gets or sets a value indicating whether this list is a definition of a list style.
45
+ attr_accessor :is_list_style_definition
49
46
 
50
- # Gets or sets the collection of list levels for this list.
51
- attr_accessor :list_levels
47
+ # Gets or sets a value indicating whether this list is a reference to a list style.
48
+ attr_accessor :is_list_style_reference
52
49
 
53
50
  # Gets or sets the list style that this list references or defines.
54
51
  attr_accessor :style
52
+
53
+ # Gets or sets the collection of list levels for this list.
54
+ attr_accessor :list_levels
55
55
  # Attribute mapping from ruby-style variable name to JSON key.
56
56
  def self.attribute_map
57
57
  {
58
58
  :'link' => :'Link',
59
- :'is_list_style_definition' => :'IsListStyleDefinition',
60
- :'is_list_style_reference' => :'IsListStyleReference',
59
+ :'list_id' => :'ListId',
61
60
  :'is_multi_level' => :'IsMultiLevel',
62
61
  :'is_restart_at_each_section' => :'IsRestartAtEachSection',
63
- :'list_id' => :'ListId',
64
- :'list_levels' => :'ListLevels',
65
- :'style' => :'Style'
62
+ :'is_list_style_definition' => :'IsListStyleDefinition',
63
+ :'is_list_style_reference' => :'IsListStyleReference',
64
+ :'style' => :'Style',
65
+ :'list_levels' => :'ListLevels'
66
66
  }
67
67
  end
68
68
 
@@ -70,13 +70,13 @@ module AsposeWordsCloud
70
70
  def self.swagger_types
71
71
  {
72
72
  :'link' => :'WordsApiLink',
73
- :'is_list_style_definition' => :'BOOLEAN',
74
- :'is_list_style_reference' => :'BOOLEAN',
73
+ :'list_id' => :'Integer',
75
74
  :'is_multi_level' => :'BOOLEAN',
76
75
  :'is_restart_at_each_section' => :'BOOLEAN',
77
- :'list_id' => :'Integer',
78
- :'list_levels' => :'ListLevels',
79
- :'style' => :'Style'
76
+ :'is_list_style_definition' => :'BOOLEAN',
77
+ :'is_list_style_reference' => :'BOOLEAN',
78
+ :'style' => :'Style',
79
+ :'list_levels' => :'ListLevels'
80
80
  }
81
81
  end
82
82
 
@@ -92,12 +92,8 @@ module AsposeWordsCloud
92
92
  self.link = attributes[:'Link']
93
93
  end
94
94
 
95
- if attributes.key?(:'IsListStyleDefinition')
96
- self.is_list_style_definition = attributes[:'IsListStyleDefinition']
97
- end
98
-
99
- if attributes.key?(:'IsListStyleReference')
100
- self.is_list_style_reference = attributes[:'IsListStyleReference']
95
+ if attributes.key?(:'ListId')
96
+ self.list_id = attributes[:'ListId']
101
97
  end
102
98
 
103
99
  if attributes.key?(:'IsMultiLevel')
@@ -108,17 +104,21 @@ module AsposeWordsCloud
108
104
  self.is_restart_at_each_section = attributes[:'IsRestartAtEachSection']
109
105
  end
110
106
 
111
- if attributes.key?(:'ListId')
112
- self.list_id = attributes[:'ListId']
107
+ if attributes.key?(:'IsListStyleDefinition')
108
+ self.is_list_style_definition = attributes[:'IsListStyleDefinition']
113
109
  end
114
110
 
115
- if attributes.key?(:'ListLevels')
116
- self.list_levels = attributes[:'ListLevels']
111
+ if attributes.key?(:'IsListStyleReference')
112
+ self.is_list_style_reference = attributes[:'IsListStyleReference']
117
113
  end
118
114
 
119
115
  if attributes.key?(:'Style')
120
116
  self.style = attributes[:'Style']
121
117
  end
118
+
119
+ if attributes.key?(:'ListLevels')
120
+ self.list_levels = attributes[:'ListLevels']
121
+ end
122
122
  end
123
123
 
124
124
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -140,13 +140,13 @@ module AsposeWordsCloud
140
140
  return true if self.equal?(other)
141
141
  self.class == other.class &&
142
142
  link == other.link &&
143
- is_list_style_definition == other.is_list_style_definition &&
144
- is_list_style_reference == other.is_list_style_reference &&
143
+ list_id == other.list_id &&
145
144
  is_multi_level == other.is_multi_level &&
146
145
  is_restart_at_each_section == other.is_restart_at_each_section &&
147
- list_id == other.list_id &&
148
- list_levels == other.list_levels &&
149
- style == other.style
146
+ is_list_style_definition == other.is_list_style_definition &&
147
+ is_list_style_reference == other.is_list_style_reference &&
148
+ style == other.style &&
149
+ list_levels == other.list_levels
150
150
  end
151
151
 
152
152
  # @see the `==` method
@@ -158,7 +158,7 @@ module AsposeWordsCloud
158
158
  # Calculates hash code according to all attributes.
159
159
  # @return [Fixnum] Hash code
160
160
  def hash
161
- [link, is_list_style_definition, is_list_style_reference, is_multi_level, is_restart_at_each_section, list_id, list_levels, style].hash
161
+ [link, list_id, is_multi_level, is_restart_at_each_section, is_list_style_definition, is_list_style_reference, style, list_levels].hash
162
162
  end
163
163
 
164
164
  # Builds the object from hash