aspose_slides_cloud 22.2.0 → 22.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +7 -7
  3. data/LICENSE +20 -20
  4. data/README.md +27 -0
  5. data/Rakefile +8 -8
  6. data/TestData/oleObject.xlsx +0 -0
  7. data/TestData/test.pptx +0 -0
  8. data/aspose_slides_cloud.gemspec +56 -56
  9. data/lib/aspose_slides_cloud/api/slides_api.rb +192 -13
  10. data/lib/aspose_slides_cloud/api_error.rb +48 -48
  11. data/lib/aspose_slides_cloud/configuration.rb +188 -188
  12. data/lib/aspose_slides_cloud/models/access_permissions.rb +321 -0
  13. data/lib/aspose_slides_cloud/models/{waterfall_series.rb → alpha_bi_level_effect.rb} +16 -26
  14. data/lib/aspose_slides_cloud/models/alpha_ceiling_effect.rb +223 -0
  15. data/lib/aspose_slides_cloud/models/alpha_floor_effect.rb +223 -0
  16. data/lib/aspose_slides_cloud/models/alpha_inverse_effect.rb +223 -0
  17. data/lib/aspose_slides_cloud/models/alpha_modulate_effect.rb +223 -0
  18. data/lib/aspose_slides_cloud/models/alpha_modulate_fixed_effect.rb +238 -0
  19. data/lib/aspose_slides_cloud/models/alpha_replace_effect.rb +238 -0
  20. data/lib/aspose_slides_cloud/models/audio_frame.rb +12 -3
  21. data/lib/aspose_slides_cloud/models/axis.rb +22 -2
  22. data/lib/aspose_slides_cloud/models/bi_level_effect.rb +238 -0
  23. data/lib/aspose_slides_cloud/models/blur_image_effect.rb +253 -0
  24. data/lib/aspose_slides_cloud/models/chart.rb +1 -2
  25. data/lib/aspose_slides_cloud/models/chart_lines_format.rb +221 -0
  26. data/lib/aspose_slides_cloud/models/color_change_effect.rb +243 -0
  27. data/lib/aspose_slides_cloud/models/color_replace_effect.rb +233 -0
  28. data/lib/aspose_slides_cloud/models/connector.rb +1 -2
  29. data/lib/aspose_slides_cloud/models/duotone_effect.rb +243 -0
  30. data/lib/aspose_slides_cloud/models/export_options.rb +10 -18
  31. data/lib/aspose_slides_cloud/models/fill_overlay_image_effect.rb +260 -0
  32. data/lib/aspose_slides_cloud/models/font_fallback_rule.rb +243 -0
  33. data/lib/aspose_slides_cloud/models/geometry_shape.rb +1 -2
  34. data/lib/aspose_slides_cloud/models/gif_export_options.rb +4 -3
  35. data/lib/aspose_slides_cloud/models/graphical_object.rb +1 -2
  36. data/lib/aspose_slides_cloud/models/{waterfall_chart_data_point.rb → gray_scale_effect.rb} +26 -13
  37. data/lib/aspose_slides_cloud/models/group_shape.rb +12 -3
  38. data/lib/aspose_slides_cloud/models/hsl_effect.rb +268 -0
  39. data/lib/aspose_slides_cloud/models/html5_export_options.rb +2 -3
  40. data/lib/aspose_slides_cloud/models/html_export_options.rb +2 -3
  41. data/lib/aspose_slides_cloud/models/image_export_options.rb +4 -3
  42. data/lib/aspose_slides_cloud/models/image_export_options_base.rb +222 -0
  43. data/lib/aspose_slides_cloud/models/image_transform_effect.rb +244 -0
  44. data/lib/aspose_slides_cloud/models/legend.rb +12 -2
  45. data/lib/aspose_slides_cloud/models/luminance_effect.rb +253 -0
  46. data/lib/aspose_slides_cloud/models/ole_object_frame.rb +72 -3
  47. data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +12 -2
  48. data/lib/aspose_slides_cloud/models/one_value_series.rb +74 -2
  49. data/lib/aspose_slides_cloud/models/paragraph.rb +12 -2
  50. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +3 -16
  51. data/lib/aspose_slides_cloud/models/picture_fill.rb +14 -2
  52. data/lib/aspose_slides_cloud/models/picture_frame.rb +1 -2
  53. data/lib/aspose_slides_cloud/models/portion.rb +32 -2
  54. data/lib/aspose_slides_cloud/models/portion_format.rb +633 -0
  55. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +2 -3
  56. data/lib/aspose_slides_cloud/models/resource_uri.rb +22 -2
  57. data/lib/aspose_slides_cloud/models/section_zoom_frame.rb +1 -2
  58. data/lib/aspose_slides_cloud/models/shape.rb +1 -2
  59. data/lib/aspose_slides_cloud/models/shape_base.rb +1 -11
  60. data/lib/aspose_slides_cloud/models/shape_type.rb +54 -0
  61. data/lib/aspose_slides_cloud/models/slide_comment.rb +32 -48
  62. data/lib/aspose_slides_cloud/models/slide_comment_base.rb +286 -0
  63. data/lib/aspose_slides_cloud/models/slide_comments.rb +1 -1
  64. data/lib/aspose_slides_cloud/models/{box_and_whisker_series.rb → slide_modern_comment.rb} +37 -68
  65. data/lib/aspose_slides_cloud/models/smart_art.rb +1 -2
  66. data/lib/aspose_slides_cloud/models/smart_art_node.rb +12 -2
  67. data/lib/aspose_slides_cloud/models/smart_art_shape.rb +1 -2
  68. data/lib/aspose_slides_cloud/models/summary_zoom_frame.rb +1 -2
  69. data/lib/aspose_slides_cloud/models/summary_zoom_section.rb +1 -2
  70. data/lib/aspose_slides_cloud/models/svg_export_options.rb +2 -3
  71. data/lib/aspose_slides_cloud/models/swf_export_options.rb +2 -3
  72. data/lib/aspose_slides_cloud/models/table.rb +1 -2
  73. data/lib/aspose_slides_cloud/models/table_cell.rb +22 -2
  74. data/lib/aspose_slides_cloud/models/text_bounds.rb +261 -0
  75. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +4 -3
  76. data/lib/aspose_slides_cloud/models/tint_effect.rb +253 -0
  77. data/lib/aspose_slides_cloud/models/video_export_options.rb +35 -4
  78. data/lib/aspose_slides_cloud/models/video_frame.rb +12 -3
  79. data/lib/aspose_slides_cloud/models/xaml_export_options.rb +2 -3
  80. data/lib/aspose_slides_cloud/models/xps_export_options.rb +2 -3
  81. data/lib/aspose_slides_cloud/models/zoom_frame.rb +1 -2
  82. data/lib/aspose_slides_cloud/models/zoom_object.rb +2 -2
  83. data/lib/aspose_slides_cloud/type_registry.rb +54 -13
  84. data/lib/aspose_slides_cloud/version.rb +1 -1
  85. data/lib/aspose_slides_cloud.rb +31 -7
  86. data/spec/api/slides_api_spec.rb +585 -33
  87. data/spec/spec_helper.rb +122 -122
  88. data/spec/use_cases/merge_spec.rb +0 -1
  89. data/spec/use_cases/shape_spec.rb +0 -2
  90. data/testRules.json +6 -4
  91. metadata +30 -7
  92. data/Dockerfile +0 -16
  93. data/docker-entrypoint.sh +0 -7
@@ -28,10 +28,14 @@ module AsposeSlidesCloud
28
28
  # Value.
29
29
  attr_accessor :value
30
30
 
31
+ # SetAsTotal. Applied to Waterfall data points only.
32
+ attr_accessor :set_as_total
33
+
31
34
  # Attribute mapping from ruby-style variable name to JSON key.
32
35
  def self.attribute_map
33
36
  super.merge({
34
37
  :'value' => :'Value',
38
+ :'set_as_total' => :'SetAsTotal',
35
39
  })
36
40
  end
37
41
 
@@ -39,6 +43,7 @@ module AsposeSlidesCloud
39
43
  def self.swagger_types
40
44
  super.merge({
41
45
  :'value' => :'Float',
46
+ :'set_as_total' => :'BOOLEAN',
42
47
  })
43
48
  end
44
49
 
@@ -50,6 +55,10 @@ module AsposeSlidesCloud
50
55
  if attributes.has_key?(:'Value')
51
56
  self.value = attributes[:'Value']
52
57
  end
58
+
59
+ if attributes.has_key?(:'SetAsTotal')
60
+ self.set_as_total = attributes[:'SetAsTotal']
61
+ end
53
62
  end
54
63
 
55
64
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -76,7 +85,8 @@ module AsposeSlidesCloud
76
85
  def ==(o)
77
86
  return true if self.equal?(o)
78
87
  self.class == o.class &&
79
- value == o.value
88
+ value == o.value &&
89
+ set_as_total == o.set_as_total
80
90
  end
81
91
 
82
92
  # @see the `==` method
@@ -88,7 +98,7 @@ module AsposeSlidesCloud
88
98
  # Calculates hash code according to all attributes.
89
99
  # @return [Fixnum] Hash code
90
100
  def hash
91
- [value].hash
101
+ [value, set_as_total].hash
92
102
  end
93
103
 
94
104
  # Builds the object from hash
@@ -31,6 +31,24 @@ module AsposeSlidesCloud
31
31
  # The number format for the series values.
32
32
  attr_accessor :number_format_of_values
33
33
 
34
+ # True if inner points are shown. Applied to Waterfall series only.
35
+ attr_accessor :show_connector_lines
36
+
37
+ # Quartile method. Applied to BoxAndWhisker series only.
38
+ attr_accessor :quartile_method
39
+
40
+ # True if inner points are shown. Applied to BoxAndWhisker series only.
41
+ attr_accessor :show_inner_points
42
+
43
+ # True if mean line is shown. Applied to BoxAndWhisker series only.
44
+ attr_accessor :show_mean_line
45
+
46
+ # True if mean markers are shown. Applied to BoxAndWhisker series only.
47
+ attr_accessor :show_mean_markers
48
+
49
+ # True if outlier points are shown. Applied to BoxAndWhisker series only.
50
+ attr_accessor :show_outlier_points
51
+
34
52
  class EnumAttributeValidator
35
53
  attr_reader :datatype
36
54
  attr_reader :allowable_values
@@ -58,6 +76,12 @@ module AsposeSlidesCloud
58
76
  super.merge({
59
77
  :'data_points' => :'DataPoints',
60
78
  :'number_format_of_values' => :'NumberFormatOfValues',
79
+ :'show_connector_lines' => :'ShowConnectorLines',
80
+ :'quartile_method' => :'QuartileMethod',
81
+ :'show_inner_points' => :'ShowInnerPoints',
82
+ :'show_mean_line' => :'ShowMeanLine',
83
+ :'show_mean_markers' => :'ShowMeanMarkers',
84
+ :'show_outlier_points' => :'ShowOutlierPoints',
61
85
  })
62
86
  end
63
87
 
@@ -66,6 +90,12 @@ module AsposeSlidesCloud
66
90
  super.merge({
67
91
  :'data_points' => :'Array<OneValueChartDataPoint>',
68
92
  :'number_format_of_values' => :'String',
93
+ :'show_connector_lines' => :'BOOLEAN',
94
+ :'quartile_method' => :'String',
95
+ :'show_inner_points' => :'BOOLEAN',
96
+ :'show_mean_line' => :'BOOLEAN',
97
+ :'show_mean_markers' => :'BOOLEAN',
98
+ :'show_outlier_points' => :'BOOLEAN',
69
99
  })
70
100
  end
71
101
 
@@ -83,6 +113,30 @@ module AsposeSlidesCloud
83
113
  if attributes.has_key?(:'NumberFormatOfValues')
84
114
  self.number_format_of_values = attributes[:'NumberFormatOfValues']
85
115
  end
116
+
117
+ if attributes.has_key?(:'ShowConnectorLines')
118
+ self.show_connector_lines = attributes[:'ShowConnectorLines']
119
+ end
120
+
121
+ if attributes.has_key?(:'QuartileMethod')
122
+ self.quartile_method = attributes[:'QuartileMethod']
123
+ end
124
+
125
+ if attributes.has_key?(:'ShowInnerPoints')
126
+ self.show_inner_points = attributes[:'ShowInnerPoints']
127
+ end
128
+
129
+ if attributes.has_key?(:'ShowMeanLine')
130
+ self.show_mean_line = attributes[:'ShowMeanLine']
131
+ end
132
+
133
+ if attributes.has_key?(:'ShowMeanMarkers')
134
+ self.show_mean_markers = attributes[:'ShowMeanMarkers']
135
+ end
136
+
137
+ if attributes.has_key?(:'ShowOutlierPoints')
138
+ self.show_outlier_points = attributes[:'ShowOutlierPoints']
139
+ end
86
140
  self.data_point_type = "OneValue"
87
141
  end
88
142
 
@@ -97,9 +151,21 @@ module AsposeSlidesCloud
97
151
  # @return true if the model is valid
98
152
  def valid?
99
153
  return false if !super
154
+ quartile_method_validator = EnumAttributeValidator.new('String', ['Exclusive', 'Inclusive'])
155
+ return false unless quartile_method_validator.valid?(@quartile_method)
100
156
  true
101
157
  end
102
158
 
159
+ # Custom attribute writer method checking allowed values (enum).
160
+ # @param [Object] quartile_method Object to be assigned
161
+ def quartile_method=(quartile_method)
162
+ validator = EnumAttributeValidator.new('String', ['Exclusive', 'Inclusive'])
163
+ unless validator.valid?(quartile_method)
164
+ fail ArgumentError, 'invalid value for "quartile_method", must be one of #{validator.allowable_values}.'
165
+ end
166
+ @quartile_method = quartile_method
167
+ end
168
+
103
169
  # Checks equality by comparing each attribute.
104
170
  # @param [Object] Object to be compared
105
171
  def ==(o)
@@ -120,7 +186,13 @@ module AsposeSlidesCloud
120
186
  line_format == o.line_format &&
121
187
  data_point_type == o.data_point_type &&
122
188
  data_points == o.data_points &&
123
- number_format_of_values == o.number_format_of_values
189
+ number_format_of_values == o.number_format_of_values &&
190
+ show_connector_lines == o.show_connector_lines &&
191
+ quartile_method == o.quartile_method &&
192
+ show_inner_points == o.show_inner_points &&
193
+ show_mean_line == o.show_mean_line &&
194
+ show_mean_markers == o.show_mean_markers &&
195
+ show_outlier_points == o.show_outlier_points
124
196
  end
125
197
 
126
198
  # @see the `==` method
@@ -132,7 +204,7 @@ module AsposeSlidesCloud
132
204
  # Calculates hash code according to all attributes.
133
205
  # @return [Fixnum] Hash code
134
206
  def hash
135
- [type, name, is_color_varied, inverted_solid_fill_color, smooth, plot_on_second_axis, order, invert_if_negative, explosion, marker, fill_format, effect_format, line_format, data_point_type, data_points, number_format_of_values].hash
207
+ [type, name, is_color_varied, inverted_solid_fill_color, smooth, plot_on_second_axis, order, invert_if_negative, explosion, marker, fill_format, effect_format, line_format, data_point_type, data_points, number_format_of_values, show_connector_lines, quartile_method, show_inner_points, show_mean_line, show_mean_markers, show_outlier_points].hash
136
208
  end
137
209
 
138
210
  # Builds the object from hash
@@ -85,6 +85,9 @@ module AsposeSlidesCloud
85
85
  # List of portion links.
86
86
  attr_accessor :portion_list
87
87
 
88
+ # Default portion format.
89
+ attr_accessor :default_portion_format
90
+
88
91
  class EnumAttributeValidator
89
92
  attr_reader :datatype
90
93
  attr_reader :allowable_values
@@ -130,6 +133,7 @@ module AsposeSlidesCloud
130
133
  :'latin_line_break' => :'LatinLineBreak',
131
134
  :'right_to_left' => :'RightToLeft',
132
135
  :'portion_list' => :'PortionList',
136
+ :'default_portion_format' => :'DefaultPortionFormat',
133
137
  })
134
138
  end
135
139
 
@@ -156,6 +160,7 @@ module AsposeSlidesCloud
156
160
  :'latin_line_break' => :'String',
157
161
  :'right_to_left' => :'String',
158
162
  :'portion_list' => :'Array<Portion>',
163
+ :'default_portion_format' => :'PortionFormat',
159
164
  })
160
165
  end
161
166
 
@@ -245,6 +250,10 @@ module AsposeSlidesCloud
245
250
  self.portion_list = value
246
251
  end
247
252
  end
253
+
254
+ if attributes.has_key?(:'DefaultPortionFormat')
255
+ self.default_portion_format = attributes[:'DefaultPortionFormat']
256
+ end
248
257
  end
249
258
 
250
259
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -383,7 +392,8 @@ module AsposeSlidesCloud
383
392
  east_asian_line_break == o.east_asian_line_break &&
384
393
  latin_line_break == o.latin_line_break &&
385
394
  right_to_left == o.right_to_left &&
386
- portion_list == o.portion_list
395
+ portion_list == o.portion_list &&
396
+ default_portion_format == o.default_portion_format
387
397
  end
388
398
 
389
399
  # @see the `==` method
@@ -395,7 +405,7 @@ module AsposeSlidesCloud
395
405
  # Calculates hash code according to all attributes.
396
406
  # @return [Fixnum] Hash code
397
407
  def hash
398
- [self_uri, alternate_links, margin_left, margin_right, space_before, space_after, space_within, indent, alignment, font_alignment, default_tab_size, depth, bullet_char, bullet_height, bullet_type, numbered_bullet_start_with, numbered_bullet_style, hanging_punctuation, east_asian_line_break, latin_line_break, right_to_left, portion_list].hash
408
+ [self_uri, alternate_links, margin_left, margin_right, space_before, space_after, space_within, indent, alignment, font_alignment, default_tab_size, depth, bullet_char, bullet_height, bullet_type, numbered_bullet_start_with, numbered_bullet_style, hanging_punctuation, east_asian_line_break, latin_line_break, right_to_left, portion_list, default_portion_format].hash
399
409
  end
400
410
 
401
411
  # Builds the object from hash
@@ -150,7 +150,7 @@ module AsposeSlidesCloud
150
150
  :'show_comments_by_no_author' => :'BOOLEAN',
151
151
  :'image_transparent_color' => :'String',
152
152
  :'apply_image_transparent' => :'BOOLEAN',
153
- :'access_permissions' => :'String',
153
+ :'access_permissions' => :'AccessPermissions',
154
154
  })
155
155
  end
156
156
 
@@ -258,8 +258,6 @@ module AsposeSlidesCloud
258
258
  return false unless notes_position_validator.valid?(@notes_position)
259
259
  comments_position_validator = EnumAttributeValidator.new('String', ['None', 'Bottom', 'Right'])
260
260
  return false unless comments_position_validator.valid?(@comments_position)
261
- access_permissions_validator = EnumAttributeValidator.new('String', ['None', 'PrintDocument', 'ModifyContent', 'CopyTextAndGraphics', 'AddOrModifyFields', 'FillExistingFields', 'ExtractTextAndGraphics', 'AssembleDocument', 'HighQualityPrint'])
262
- return false unless access_permissions_validator.valid?(@access_permissions)
263
261
  true
264
262
  end
265
263
 
@@ -303,24 +301,13 @@ module AsposeSlidesCloud
303
301
  @comments_position = comments_position
304
302
  end
305
303
 
306
- # Custom attribute writer method checking allowed values (enum).
307
- # @param [Object] access_permissions Object to be assigned
308
- def access_permissions=(access_permissions)
309
- validator = EnumAttributeValidator.new('String', ['None', 'PrintDocument', 'ModifyContent', 'CopyTextAndGraphics', 'AddOrModifyFields', 'FillExistingFields', 'ExtractTextAndGraphics', 'AssembleDocument', 'HighQualityPrint'])
310
- unless validator.valid?(access_permissions)
311
- fail ArgumentError, 'invalid value for "access_permissions", must be one of #{validator.allowable_values}.'
312
- end
313
- @access_permissions = access_permissions
314
- end
315
-
316
304
  # Checks equality by comparing each attribute.
317
305
  # @param [Object] Object to be compared
318
306
  def ==(o)
319
307
  return true if self.equal?(o)
320
308
  self.class == o.class &&
321
309
  default_regular_font == o.default_regular_font &&
322
- height == o.height &&
323
- width == o.width &&
310
+ font_fallback_rules == o.font_fallback_rules &&
324
311
  format == o.format &&
325
312
  text_compression == o.text_compression &&
326
313
  embed_full_fonts == o.embed_full_fonts &&
@@ -352,7 +339,7 @@ module AsposeSlidesCloud
352
339
  # Calculates hash code according to all attributes.
353
340
  # @return [Fixnum] Hash code
354
341
  def hash
355
- [default_regular_font, height, width, format, text_compression, embed_full_fonts, compliance, sufficient_resolution, jpeg_quality, draw_slides_frame, show_hidden_slides, save_metafiles_as_png, password, embed_true_type_fonts_for_ascii, additional_common_font_families, notes_position, comments_position, comments_area_width, comments_area_color, show_comments_by_no_author, image_transparent_color, apply_image_transparent, access_permissions].hash
342
+ [default_regular_font, font_fallback_rules, format, text_compression, embed_full_fonts, compliance, sufficient_resolution, jpeg_quality, draw_slides_frame, show_hidden_slides, save_metafiles_as_png, password, embed_true_type_fonts_for_ascii, additional_common_font_families, notes_position, comments_position, comments_area_width, comments_area_color, show_comments_by_no_author, image_transparent_color, apply_image_transparent, access_permissions].hash
356
343
  end
357
344
 
358
345
  # Builds the object from hash
@@ -52,6 +52,9 @@ module AsposeSlidesCloud
52
52
  # Fill mode.
53
53
  attr_accessor :picture_fill_mode
54
54
 
55
+ # Image transform effects.
56
+ attr_accessor :image_transform_list
57
+
55
58
  class EnumAttributeValidator
56
59
  attr_reader :datatype
57
60
  attr_reader :allowable_values
@@ -86,6 +89,7 @@ module AsposeSlidesCloud
86
89
  :'base64_data' => :'Base64Data',
87
90
  :'svg_data' => :'SvgData',
88
91
  :'picture_fill_mode' => :'PictureFillMode',
92
+ :'image_transform_list' => :'ImageTransformList',
89
93
  })
90
94
  end
91
95
 
@@ -101,6 +105,7 @@ module AsposeSlidesCloud
101
105
  :'base64_data' => :'String',
102
106
  :'svg_data' => :'String',
103
107
  :'picture_fill_mode' => :'String',
108
+ :'image_transform_list' => :'Array<ImageTransformEffect>',
104
109
  })
105
110
  end
106
111
 
@@ -144,6 +149,12 @@ module AsposeSlidesCloud
144
149
  if attributes.has_key?(:'PictureFillMode')
145
150
  self.picture_fill_mode = attributes[:'PictureFillMode']
146
151
  end
152
+
153
+ if attributes.has_key?(:'ImageTransformList')
154
+ if (value = attributes[:'ImageTransformList']).is_a?(Array)
155
+ self.image_transform_list = value
156
+ end
157
+ end
147
158
  self.type = "Picture"
148
159
  end
149
160
 
@@ -217,7 +228,8 @@ module AsposeSlidesCloud
217
228
  image == o.image &&
218
229
  base64_data == o.base64_data &&
219
230
  svg_data == o.svg_data &&
220
- picture_fill_mode == o.picture_fill_mode
231
+ picture_fill_mode == o.picture_fill_mode &&
232
+ image_transform_list == o.image_transform_list
221
233
  end
222
234
 
223
235
  # @see the `==` method
@@ -229,7 +241,7 @@ module AsposeSlidesCloud
229
241
  # Calculates hash code according to all attributes.
230
242
  # @return [Fixnum] Hash code
231
243
  def hash
232
- [type, crop_bottom, crop_left, crop_right, crop_top, dpi, image, base64_data, svg_data, picture_fill_mode].hash
244
+ [type, crop_bottom, crop_left, crop_right, crop_top, dpi, image, base64_data, svg_data, picture_fill_mode, image_transform_list].hash
233
245
  end
234
246
 
235
247
  # Builds the object from hash
@@ -105,7 +105,6 @@ module AsposeSlidesCloud
105
105
  x == o.x &&
106
106
  y == o.y &&
107
107
  z_order_position == o.z_order_position &&
108
- shapes == o.shapes &&
109
108
  fill_format == o.fill_format &&
110
109
  effect_format == o.effect_format &&
111
110
  three_d_format == o.three_d_format &&
@@ -126,7 +125,7 @@ module AsposeSlidesCloud
126
125
  # Calculates hash code according to all attributes.
127
126
  # @return [Fixnum] Hash code
128
127
  def hash
129
- [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, shapes, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, shape_type, picture_fill_format].hash
128
+ [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, shape_type, picture_fill_format].hash
130
129
  end
131
130
 
132
131
  # Builds the object from hash
@@ -109,6 +109,15 @@ module AsposeSlidesCloud
109
109
  # Hyperlink defined for mouse over.
110
110
  attr_accessor :hyperlink_mouse_over
111
111
 
112
+ # Returns or sets the Latin font info.
113
+ attr_accessor :latin_font
114
+
115
+ # Returns or sets the East Asian font info.
116
+ attr_accessor :east_asian_font
117
+
118
+ # Returns or sets the complex script font info.
119
+ attr_accessor :complex_script_font
120
+
112
121
  class EnumAttributeValidator
113
122
  attr_reader :datatype
114
123
  attr_reader :allowable_values
@@ -162,6 +171,9 @@ module AsposeSlidesCloud
162
171
  :'underline_line_format' => :'UnderlineLineFormat',
163
172
  :'hyperlink_click' => :'HyperlinkClick',
164
173
  :'hyperlink_mouse_over' => :'HyperlinkMouseOver',
174
+ :'latin_font' => :'LatinFont',
175
+ :'east_asian_font' => :'EastAsianFont',
176
+ :'complex_script_font' => :'ComplexScriptFont',
165
177
  })
166
178
  end
167
179
 
@@ -196,6 +208,9 @@ module AsposeSlidesCloud
196
208
  :'underline_line_format' => :'LineFormat',
197
209
  :'hyperlink_click' => :'Hyperlink',
198
210
  :'hyperlink_mouse_over' => :'Hyperlink',
211
+ :'latin_font' => :'String',
212
+ :'east_asian_font' => :'String',
213
+ :'complex_script_font' => :'String',
199
214
  })
200
215
  end
201
216
 
@@ -315,6 +330,18 @@ module AsposeSlidesCloud
315
330
  if attributes.has_key?(:'HyperlinkMouseOver')
316
331
  self.hyperlink_mouse_over = attributes[:'HyperlinkMouseOver']
317
332
  end
333
+
334
+ if attributes.has_key?(:'LatinFont')
335
+ self.latin_font = attributes[:'LatinFont']
336
+ end
337
+
338
+ if attributes.has_key?(:'EastAsianFont')
339
+ self.east_asian_font = attributes[:'EastAsianFont']
340
+ end
341
+
342
+ if attributes.has_key?(:'ComplexScriptFont')
343
+ self.complex_script_font = attributes[:'ComplexScriptFont']
344
+ end
318
345
  end
319
346
 
320
347
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -485,7 +512,10 @@ module AsposeSlidesCloud
485
512
  underline_fill_format == o.underline_fill_format &&
486
513
  underline_line_format == o.underline_line_format &&
487
514
  hyperlink_click == o.hyperlink_click &&
488
- hyperlink_mouse_over == o.hyperlink_mouse_over
515
+ hyperlink_mouse_over == o.hyperlink_mouse_over &&
516
+ latin_font == o.latin_font &&
517
+ east_asian_font == o.east_asian_font &&
518
+ complex_script_font == o.complex_script_font
489
519
  end
490
520
 
491
521
  # @see the `==` method
@@ -497,7 +527,7 @@ module AsposeSlidesCloud
497
527
  # Calculates hash code according to all attributes.
498
528
  # @return [Fixnum] Hash code
499
529
  def hash
500
- [self_uri, alternate_links, text, math_paragraph, font_bold, font_italic, font_underline, strikethrough_type, text_cap_type, escapement, spacing, font_color, highlight_color, font_height, normalise_height, proof_disabled, smart_tag_clean, kerning_minimal_size, kumimoji, language_id, alternative_language_id, is_hard_underline_fill, is_hard_underline_line, fill_format, effect_format, line_format, underline_fill_format, underline_line_format, hyperlink_click, hyperlink_mouse_over].hash
530
+ [self_uri, alternate_links, text, math_paragraph, font_bold, font_italic, font_underline, strikethrough_type, text_cap_type, escapement, spacing, font_color, highlight_color, font_height, normalise_height, proof_disabled, smart_tag_clean, kerning_minimal_size, kumimoji, language_id, alternative_language_id, is_hard_underline_fill, is_hard_underline_line, fill_format, effect_format, line_format, underline_fill_format, underline_line_format, hyperlink_click, hyperlink_mouse_over, latin_font, east_asian_font, complex_script_font].hash
501
531
  end
502
532
 
503
533
  # Builds the object from hash