aspose_slides_cloud 22.3.0 → 22.4.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 (52) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +7 -7
  3. data/LICENSE +20 -20
  4. data/README.md +20 -0
  5. data/Rakefile +8 -8
  6. data/aspose_slides_cloud.gemspec +56 -56
  7. data/lib/aspose_slides_cloud/api_error.rb +48 -48
  8. data/lib/aspose_slides_cloud/configuration.rb +188 -188
  9. data/lib/aspose_slides_cloud/models/access_permissions.rb +321 -0
  10. data/lib/aspose_slides_cloud/models/audio_frame.rb +12 -3
  11. data/lib/aspose_slides_cloud/models/chart.rb +1 -2
  12. data/lib/aspose_slides_cloud/models/connector.rb +1 -2
  13. data/lib/aspose_slides_cloud/models/export_options.rb +1 -21
  14. data/lib/aspose_slides_cloud/models/geometry_shape.rb +1 -2
  15. data/lib/aspose_slides_cloud/models/gif_export_options.rb +4 -4
  16. data/lib/aspose_slides_cloud/models/graphical_object.rb +1 -2
  17. data/lib/aspose_slides_cloud/models/group_shape.rb +12 -3
  18. data/lib/aspose_slides_cloud/models/html5_export_options.rb +1 -3
  19. data/lib/aspose_slides_cloud/models/html_export_options.rb +1 -3
  20. data/lib/aspose_slides_cloud/models/image_export_options.rb +4 -4
  21. data/lib/aspose_slides_cloud/models/image_export_options_base.rb +222 -0
  22. data/lib/aspose_slides_cloud/models/ole_object_frame.rb +72 -3
  23. data/lib/aspose_slides_cloud/models/paragraph.rb +12 -2
  24. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +2 -16
  25. data/lib/aspose_slides_cloud/models/picture_frame.rb +1 -2
  26. data/lib/aspose_slides_cloud/models/portion_format.rb +633 -0
  27. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +1 -3
  28. data/lib/aspose_slides_cloud/models/section_zoom_frame.rb +1 -2
  29. data/lib/aspose_slides_cloud/models/shape.rb +1 -2
  30. data/lib/aspose_slides_cloud/models/shape_base.rb +1 -11
  31. data/lib/aspose_slides_cloud/models/smart_art.rb +1 -2
  32. data/lib/aspose_slides_cloud/models/smart_art_shape.rb +1 -2
  33. data/lib/aspose_slides_cloud/models/summary_zoom_frame.rb +1 -2
  34. data/lib/aspose_slides_cloud/models/summary_zoom_section.rb +1 -2
  35. data/lib/aspose_slides_cloud/models/svg_export_options.rb +1 -3
  36. data/lib/aspose_slides_cloud/models/swf_export_options.rb +1 -3
  37. data/lib/aspose_slides_cloud/models/table.rb +1 -2
  38. data/lib/aspose_slides_cloud/models/table_cell.rb +22 -2
  39. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +4 -4
  40. data/lib/aspose_slides_cloud/models/video_export_options.rb +34 -4
  41. data/lib/aspose_slides_cloud/models/video_frame.rb +1 -2
  42. data/lib/aspose_slides_cloud/models/xaml_export_options.rb +1 -3
  43. data/lib/aspose_slides_cloud/models/xps_export_options.rb +1 -3
  44. data/lib/aspose_slides_cloud/models/zoom_frame.rb +1 -2
  45. data/lib/aspose_slides_cloud/models/zoom_object.rb +1 -2
  46. data/lib/aspose_slides_cloud/type_registry.rb +10 -6
  47. data/lib/aspose_slides_cloud/version.rb +1 -1
  48. data/lib/aspose_slides_cloud.rb +6 -3
  49. data/spec/spec_helper.rb +122 -122
  50. metadata +5 -4
  51. data/Dockerfile +0 -16
  52. data/docker-entrypoint.sh +0 -7
@@ -52,9 +52,6 @@ module AsposeSlidesCloud
52
52
  # Gets z-order position of shape
53
53
  attr_accessor :z_order_position
54
54
 
55
- # Gets or sets the link to shapes.
56
- attr_accessor :shapes
57
-
58
55
  # Gets or sets the fill format.
59
56
  attr_accessor :fill_format
60
57
 
@@ -109,7 +106,6 @@ module AsposeSlidesCloud
109
106
  :'x' => :'X',
110
107
  :'y' => :'Y',
111
108
  :'z_order_position' => :'ZOrderPosition',
112
- :'shapes' => :'Shapes',
113
109
  :'fill_format' => :'FillFormat',
114
110
  :'effect_format' => :'EffectFormat',
115
111
  :'three_d_format' => :'ThreeDFormat',
@@ -132,7 +128,6 @@ module AsposeSlidesCloud
132
128
  :'x' => :'Float',
133
129
  :'y' => :'Float',
134
130
  :'z_order_position' => :'Integer',
135
- :'shapes' => :'ResourceUri',
136
131
  :'fill_format' => :'FillFormat',
137
132
  :'effect_format' => :'EffectFormat',
138
133
  :'three_d_format' => :'ThreeDFormat',
@@ -184,10 +179,6 @@ module AsposeSlidesCloud
184
179
  self.z_order_position = attributes[:'ZOrderPosition']
185
180
  end
186
181
 
187
- if attributes.has_key?(:'Shapes')
188
- self.shapes = attributes[:'Shapes']
189
- end
190
-
191
182
  if attributes.has_key?(:'FillFormat')
192
183
  self.fill_format = attributes[:'FillFormat']
193
184
  end
@@ -264,7 +255,6 @@ module AsposeSlidesCloud
264
255
  x == o.x &&
265
256
  y == o.y &&
266
257
  z_order_position == o.z_order_position &&
267
- shapes == o.shapes &&
268
258
  fill_format == o.fill_format &&
269
259
  effect_format == o.effect_format &&
270
260
  three_d_format == o.three_d_format &&
@@ -283,7 +273,7 @@ module AsposeSlidesCloud
283
273
  # Calculates hash code according to all attributes.
284
274
  # @return [Fixnum] Hash code
285
275
  def hash
286
- [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].hash
276
+ [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].hash
287
277
  end
288
278
 
289
279
  # Builds the object from hash
@@ -199,7 +199,6 @@ module AsposeSlidesCloud
199
199
  x == o.x &&
200
200
  y == o.y &&
201
201
  z_order_position == o.z_order_position &&
202
- shapes == o.shapes &&
203
202
  fill_format == o.fill_format &&
204
203
  effect_format == o.effect_format &&
205
204
  three_d_format == o.three_d_format &&
@@ -223,7 +222,7 @@ module AsposeSlidesCloud
223
222
  # Calculates hash code according to all attributes.
224
223
  # @return [Fixnum] Hash code
225
224
  def hash
226
- [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, layout, quick_style, color_style, nodes, is_reversed].hash
225
+ [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, layout, quick_style, color_style, nodes, is_reversed].hash
227
226
  end
228
227
 
229
228
  # Builds the object from hash
@@ -96,7 +96,6 @@ module AsposeSlidesCloud
96
96
  x == o.x &&
97
97
  y == o.y &&
98
98
  z_order_position == o.z_order_position &&
99
- shapes == o.shapes &&
100
99
  fill_format == o.fill_format &&
101
100
  effect_format == o.effect_format &&
102
101
  three_d_format == o.three_d_format &&
@@ -116,7 +115,7 @@ module AsposeSlidesCloud
116
115
  # Calculates hash code according to all attributes.
117
116
  # @return [Fixnum] Hash code
118
117
  def hash
119
- [self_uri, alternate_linksname, 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, typeshape_type].hash
118
+ [self_uri, alternate_linksname, 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, typeshape_type].hash
120
119
  end
121
120
 
122
121
  # Builds the object from hash
@@ -128,7 +128,6 @@ module AsposeSlidesCloud
128
128
  x == o.x &&
129
129
  y == o.y &&
130
130
  z_order_position == o.z_order_position &&
131
- shapes == o.shapes &&
132
131
  fill_format == o.fill_format &&
133
132
  effect_format == o.effect_format &&
134
133
  three_d_format == o.three_d_format &&
@@ -149,7 +148,7 @@ module AsposeSlidesCloud
149
148
  # Calculates hash code according to all attributes.
150
149
  # @return [Fixnum] Hash code
151
150
  def hash
152
- [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, zoom_layout, sections].hash
151
+ [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, zoom_layout, sections].hash
153
152
  end
154
153
 
155
154
  # Builds the object from hash
@@ -114,7 +114,6 @@ module AsposeSlidesCloud
114
114
  x == o.x &&
115
115
  y == o.y &&
116
116
  z_order_position == o.z_order_position &&
117
- shapes == o.shapes &&
118
117
  fill_format == o.fill_format &&
119
118
  effect_format == o.effect_format &&
120
119
  three_d_format == o.three_d_format &&
@@ -141,7 +140,7 @@ module AsposeSlidesCloud
141
140
  # Calculates hash code according to all attributes.
142
141
  # @return [Fixnum] Hash code
143
142
  def hash
144
- [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, image_type, return_to_parent, show_background, image, transition_duration, target_section_index, title, description].hash
143
+ [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, image_type, return_to_parent, show_background, image, transition_duration, target_section_index, title, description].hash
145
144
  end
146
145
 
147
146
  # Builds the object from hash
@@ -191,8 +191,6 @@ module AsposeSlidesCloud
191
191
  return true if self.equal?(o)
192
192
  self.class == o.class &&
193
193
  default_regular_font == o.default_regular_font &&
194
- height == o.height &&
195
- width == o.width &&
196
194
  font_fallback_rules == o.font_fallback_rules &&
197
195
  format == o.format &&
198
196
  vectorize_text == o.vectorize_text &&
@@ -215,7 +213,7 @@ module AsposeSlidesCloud
215
213
  # Calculates hash code according to all attributes.
216
214
  # @return [Fixnum] Hash code
217
215
  def hash
218
- [default_regular_font, height, width, font_fallback_rules, format, vectorize_text, metafile_rasterization_dpi, disable3_d_text, disable_gradient_split, disable_line_end_cropping, jpeg_quality, pictures_compression, delete_pictures_cropped_areas, external_fonts_handling].hash
216
+ [default_regular_font, font_fallback_rules, format, vectorize_text, metafile_rasterization_dpi, disable3_d_text, disable_gradient_split, disable_line_end_cropping, jpeg_quality, pictures_compression, delete_pictures_cropped_areas, external_fonts_handling].hash
219
217
  end
220
218
 
221
219
  # Builds the object from hash
@@ -290,8 +290,6 @@ module AsposeSlidesCloud
290
290
  return true if self.equal?(o)
291
291
  self.class == o.class &&
292
292
  default_regular_font == o.default_regular_font &&
293
- height == o.height &&
294
- width == o.width &&
295
293
  font_fallback_rules == o.font_fallback_rules &&
296
294
  format == o.format &&
297
295
  show_hidden_slides == o.show_hidden_slides &&
@@ -325,7 +323,7 @@ module AsposeSlidesCloud
325
323
  # Calculates hash code according to all attributes.
326
324
  # @return [Fixnum] Hash code
327
325
  def hash
328
- [default_regular_font, height, width, font_fallback_rules, format, show_hidden_slides, compressed, viewer_included, show_page_border, show_full_screen, show_page_stepper, show_search, show_top_pane, show_bottom_pane, show_left_pane, start_open_left_pane, enable_context_menu, logo_image, logo_link, jpeg_quality, notes_position, comments_position, comments_area_width, comments_area_color, show_comments_by_no_author].hash
326
+ [default_regular_font, font_fallback_rules, format, show_hidden_slides, compressed, viewer_included, show_page_border, show_full_screen, show_page_stepper, show_search, show_top_pane, show_bottom_pane, show_left_pane, start_open_left_pane, enable_context_menu, logo_image, logo_link, jpeg_quality, notes_position, comments_position, comments_area_width, comments_area_color, show_comments_by_no_author].hash
329
327
  end
330
328
 
331
329
  # Builds the object from hash
@@ -202,7 +202,6 @@ module AsposeSlidesCloud
202
202
  x == o.x &&
203
203
  y == o.y &&
204
204
  z_order_position == o.z_order_position &&
205
- shapes == o.shapes &&
206
205
  fill_format == o.fill_format &&
207
206
  effect_format == o.effect_format &&
208
207
  three_d_format == o.three_d_format &&
@@ -231,7 +230,7 @@ module AsposeSlidesCloud
231
230
  # Calculates hash code according to all attributes.
232
231
  # @return [Fixnum] Hash code
233
232
  def hash
234
- [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, style, rows, columns, first_col, first_row, horizontal_banding, last_col, last_row, right_to_left, vertical_banding].hash
233
+ [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, style, rows, columns, first_col, first_row, horizontal_banding, last_col, last_row, right_to_left, vertical_banding].hash
235
234
  end
236
235
 
237
236
  # Builds the object from hash
@@ -73,6 +73,12 @@ module AsposeSlidesCloud
73
73
  # Line properties set for the diagonal down border of the cell.
74
74
  attr_accessor :border_diagonal_down
75
75
 
76
+ # Cell column index
77
+ attr_accessor :column_index
78
+
79
+ # Cell row index
80
+ attr_accessor :row_index
81
+
76
82
  class EnumAttributeValidator
77
83
  attr_reader :datatype
78
84
  attr_reader :allowable_values
@@ -114,6 +120,8 @@ module AsposeSlidesCloud
114
120
  :'border_bottom' => :'BorderBottom',
115
121
  :'border_diagonal_up' => :'BorderDiagonalUp',
116
122
  :'border_diagonal_down' => :'BorderDiagonalDown',
123
+ :'column_index' => :'ColumnIndex',
124
+ :'row_index' => :'RowIndex',
117
125
  }
118
126
  end
119
127
 
@@ -136,6 +144,8 @@ module AsposeSlidesCloud
136
144
  :'border_bottom' => :'LineFormat',
137
145
  :'border_diagonal_up' => :'LineFormat',
138
146
  :'border_diagonal_down' => :'LineFormat',
147
+ :'column_index' => :'Integer',
148
+ :'row_index' => :'Integer',
139
149
  }
140
150
  end
141
151
 
@@ -210,6 +220,14 @@ module AsposeSlidesCloud
210
220
  if attributes.has_key?(:'BorderDiagonalDown')
211
221
  self.border_diagonal_down = attributes[:'BorderDiagonalDown']
212
222
  end
223
+
224
+ if attributes.has_key?(:'ColumnIndex')
225
+ self.column_index = attributes[:'ColumnIndex']
226
+ end
227
+
228
+ if attributes.has_key?(:'RowIndex')
229
+ self.row_index = attributes[:'RowIndex']
230
+ end
213
231
  end
214
232
 
215
233
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -269,7 +287,9 @@ module AsposeSlidesCloud
269
287
  border_left == o.border_left &&
270
288
  border_bottom == o.border_bottom &&
271
289
  border_diagonal_up == o.border_diagonal_up &&
272
- border_diagonal_down == o.border_diagonal_down
290
+ border_diagonal_down == o.border_diagonal_down &&
291
+ column_index == o.column_index &&
292
+ row_index == o.row_index
273
293
  end
274
294
 
275
295
  # @see the `==` method
@@ -281,7 +301,7 @@ module AsposeSlidesCloud
281
301
  # Calculates hash code according to all attributes.
282
302
  # @return [Fixnum] Hash code
283
303
  def hash
284
- [text, row_span, col_span, margin_top, margin_right, margin_left, margin_bottom, text_anchor_type, text_vertical_type, fill_format, border_top, border_right, border_left, border_bottom, border_diagonal_up, border_diagonal_down].hash
304
+ [text, row_span, col_span, margin_top, margin_right, margin_left, margin_bottom, text_anchor_type, text_vertical_type, fill_format, border_top, border_right, border_left, border_bottom, border_diagonal_up, border_diagonal_down, column_index, row_index].hash
285
305
  end
286
306
 
287
307
  # Builds the object from hash
@@ -24,7 +24,7 @@ require 'date'
24
24
 
25
25
  module AsposeSlidesCloud
26
26
  # Provides options that control how a presentation is saved in TIFF format.
27
- class TiffExportOptions < ExportOptions
27
+ class TiffExportOptions < ImageExportOptionsBase
28
28
  # Compression type.
29
29
  attr_accessor :compression
30
30
 
@@ -224,10 +224,10 @@ module AsposeSlidesCloud
224
224
  return true if self.equal?(o)
225
225
  self.class == o.class &&
226
226
  default_regular_font == o.default_regular_font &&
227
- height == o.height &&
228
- width == o.width &&
229
227
  font_fallback_rules == o.font_fallback_rules &&
230
228
  format == o.format &&
229
+ height == o.height &&
230
+ width == o.width &&
231
231
  compression == o.compression &&
232
232
  dpi_x == o.dpi_x &&
233
233
  dpi_y == o.dpi_y &&
@@ -249,7 +249,7 @@ module AsposeSlidesCloud
249
249
  # Calculates hash code according to all attributes.
250
250
  # @return [Fixnum] Hash code
251
251
  def hash
252
- [default_regular_font, height, width, font_fallback_rules, format, compression, dpi_x, dpi_y, show_hidden_slides, pixel_format, notes_position, comments_position, comments_area_width, comments_area_color, show_comments_by_no_author].hash
252
+ [default_regular_font, font_fallback_rules, format, height, width, compression, dpi_x, dpi_y, show_hidden_slides, pixel_format, notes_position, comments_position, comments_area_width, comments_area_color, show_comments_by_no_author].hash
253
253
  end
254
254
 
255
255
  # Builds the object from hash
@@ -25,7 +25,13 @@ require 'date'
25
25
  module AsposeSlidesCloud
26
26
  # Provides options that control how a presentation is saved in an video format.
27
27
  class VideoExportOptions < ExportOptions
28
- # Transition duration.
28
+ # Slides transition duration.
29
+ attr_accessor :slides_transition_duration
30
+
31
+ # Video transition type
32
+ attr_accessor :transition_type
33
+
34
+ # Duration of transition defined in TransitionType property.
29
35
  attr_accessor :transition_duration
30
36
 
31
37
  # Video resolution type
@@ -56,6 +62,8 @@ module AsposeSlidesCloud
56
62
  # Attribute mapping from ruby-style variable name to JSON key.
57
63
  def self.attribute_map
58
64
  super.merge({
65
+ :'slides_transition_duration' => :'SlidesTransitionDuration',
66
+ :'transition_type' => :'TransitionType',
59
67
  :'transition_duration' => :'TransitionDuration',
60
68
  :'video_resolution_type' => :'VideoResolutionType',
61
69
  })
@@ -64,6 +72,8 @@ module AsposeSlidesCloud
64
72
  # Attribute type mapping.
65
73
  def self.swagger_types
66
74
  super.merge({
75
+ :'slides_transition_duration' => :'Integer',
76
+ :'transition_type' => :'String',
67
77
  :'transition_duration' => :'Integer',
68
78
  :'video_resolution_type' => :'String',
69
79
  })
@@ -74,6 +84,14 @@ module AsposeSlidesCloud
74
84
  def initialize(attributes = {})
75
85
  super
76
86
 
87
+ if attributes.has_key?(:'SlidesTransitionDuration')
88
+ self.slides_transition_duration = attributes[:'SlidesTransitionDuration']
89
+ end
90
+
91
+ if attributes.has_key?(:'TransitionType')
92
+ self.transition_type = attributes[:'TransitionType']
93
+ end
94
+
77
95
  if attributes.has_key?(:'TransitionDuration')
78
96
  self.transition_duration = attributes[:'TransitionDuration']
79
97
  end
@@ -95,11 +113,23 @@ module AsposeSlidesCloud
95
113
  # @return true if the model is valid
96
114
  def valid?
97
115
  return false if !super
116
+ transition_type_validator = EnumAttributeValidator.new('String', ['None', 'Fade', 'Distance', 'Slidedown', 'Slideright', 'Slideleft', 'Slideup', 'Smoothleft', 'Smoothright', 'Smoothup', 'Smoothdown', 'Rectcrop', 'Circlecrop', 'Circleclose', 'Circleopen', 'Horzclose', 'Horzopen', 'Vertclose', 'Vertopen', 'Diagbl', 'Diagbr', 'Diagtl', 'Diagtr', 'Hlslice', 'Hrslice', 'Vuslice', 'Vdslice', 'Dissolve', 'Pixelize', 'Radial'])
117
+ return false unless transition_type_validator.valid?(@transition_type)
98
118
  video_resolution_type_validator = EnumAttributeValidator.new('String', ['FullHD', 'SD', 'HD', 'QHD'])
99
119
  return false unless video_resolution_type_validator.valid?(@video_resolution_type)
100
120
  true
101
121
  end
102
122
 
123
+ # Custom attribute writer method checking allowed values (enum).
124
+ # @param [Object] transition_type Object to be assigned
125
+ def transition_type=(transition_type)
126
+ validator = EnumAttributeValidator.new('String', ['None', 'Fade', 'Distance', 'Slidedown', 'Slideright', 'Slideleft', 'Slideup', 'Smoothleft', 'Smoothright', 'Smoothup', 'Smoothdown', 'Rectcrop', 'Circlecrop', 'Circleclose', 'Circleopen', 'Horzclose', 'Horzopen', 'Vertclose', 'Vertopen', 'Diagbl', 'Diagbr', 'Diagtl', 'Diagtr', 'Hlslice', 'Hrslice', 'Vuslice', 'Vdslice', 'Dissolve', 'Pixelize', 'Radial'])
127
+ unless validator.valid?(transition_type)
128
+ fail ArgumentError, 'invalid value for "transition_type", must be one of #{validator.allowable_values}.'
129
+ end
130
+ @transition_type = transition_type
131
+ end
132
+
103
133
  # Custom attribute writer method checking allowed values (enum).
104
134
  # @param [Object] video_resolution_type Object to be assigned
105
135
  def video_resolution_type=(video_resolution_type)
@@ -116,10 +146,10 @@ module AsposeSlidesCloud
116
146
  return true if self.equal?(o)
117
147
  self.class == o.class &&
118
148
  default_regular_font == o.default_regular_font &&
119
- height == o.height &&
120
- width == o.width &&
121
149
  font_fallback_rules == o.font_fallback_rules &&
122
150
  format == o.format &&
151
+ slides_transition_duration == o.slides_transition_duration &&
152
+ transition_type == o.transition_type &&
123
153
  transition_duration == o.transition_duration &&
124
154
  video_resolution_type == o.video_resolution_type
125
155
  end
@@ -133,7 +163,7 @@ module AsposeSlidesCloud
133
163
  # Calculates hash code according to all attributes.
134
164
  # @return [Fixnum] Hash code
135
165
  def hash
136
- [default_regular_font, height, width, font_fallback_rules, format, transition_duration, video_resolution_type].hash
166
+ [default_regular_font, font_fallback_rules, format, slides_transition_duration, transition_type, transition_duration, video_resolution_type].hash
137
167
  end
138
168
 
139
169
  # Builds the object from hash
@@ -183,7 +183,6 @@ module AsposeSlidesCloud
183
183
  x == o.x &&
184
184
  y == o.y &&
185
185
  z_order_position == o.z_order_position &&
186
- shapes == o.shapes &&
187
186
  fill_format == o.fill_format &&
188
187
  effect_format == o.effect_format &&
189
188
  three_d_format == o.three_d_format &&
@@ -210,7 +209,7 @@ module AsposeSlidesCloud
210
209
  # Calculates hash code according to all attributes.
211
210
  # @return [Fixnum] Hash code
212
211
  def hash
213
- [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, full_screen_mode, hide_at_showing, play_loop_mode, play_mode, rewind_video, volume, base64_data].hash
212
+ [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, full_screen_mode, hide_at_showing, play_loop_mode, play_mode, rewind_video, volume, base64_data].hash
214
213
  end
215
214
 
216
215
  # Builds the object from hash
@@ -73,8 +73,6 @@ module AsposeSlidesCloud
73
73
  return true if self.equal?(o)
74
74
  self.class == o.class &&
75
75
  default_regular_font == o.default_regular_font &&
76
- height == o.height &&
77
- width == o.width &&
78
76
  font_fallback_rules == o.font_fallback_rules &&
79
77
  format == o.format &&
80
78
  export_hidden_slides == o.export_hidden_slides
@@ -89,7 +87,7 @@ module AsposeSlidesCloud
89
87
  # Calculates hash code according to all attributes.
90
88
  # @return [Fixnum] Hash code
91
89
  def hash
92
- [default_regular_font, height, width, font_fallback_rules, format, export_hidden_slides].hash
90
+ [default_regular_font, font_fallback_rules, format, export_hidden_slides].hash
93
91
  end
94
92
 
95
93
  # Builds the object from hash
@@ -91,8 +91,6 @@ module AsposeSlidesCloud
91
91
  return true if self.equal?(o)
92
92
  self.class == o.class &&
93
93
  default_regular_font == o.default_regular_font &&
94
- height == o.height &&
95
- width == o.width &&
96
94
  font_fallback_rules == o.font_fallback_rules &&
97
95
  format == o.format &&
98
96
  show_hidden_slides == o.show_hidden_slides &&
@@ -109,7 +107,7 @@ module AsposeSlidesCloud
109
107
  # Calculates hash code according to all attributes.
110
108
  # @return [Fixnum] Hash code
111
109
  def hash
112
- [default_regular_font, height, width, font_fallback_rules, format, show_hidden_slides, save_metafiles_as_png, draw_slides_frame].hash
110
+ [default_regular_font, font_fallback_rules, format, show_hidden_slides, save_metafiles_as_png, draw_slides_frame].hash
113
111
  end
114
112
 
115
113
  # 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 &&
@@ -130,7 +129,7 @@ module AsposeSlidesCloud
130
129
  # Calculates hash code according to all attributes.
131
130
  # @return [Fixnum] Hash code
132
131
  def hash
133
- [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, image_type, return_to_parent, show_background, image, transition_duration, target_slide_index].hash
132
+ [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, image_type, return_to_parent, show_background, image, transition_duration, target_slide_index].hash
134
133
  end
135
134
 
136
135
  # Builds the object from hash
@@ -152,7 +152,6 @@ module AsposeSlidesCloud
152
152
  x == o.x &&
153
153
  y == o.y &&
154
154
  z_order_position == o.z_order_position &&
155
- shapes == o.shapes &&
156
155
  fill_format == o.fill_format &&
157
156
  effect_format == o.effect_format &&
158
157
  three_d_format == o.three_d_format &&
@@ -176,7 +175,7 @@ module AsposeSlidesCloud
176
175
  # Calculates hash code according to all attributes.
177
176
  # @return [Fixnum] Hash code
178
177
  def hash
179
- [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, image_type, return_to_parent, show_background, image, transition_duration].hash
178
+ [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, image_type, return_to_parent, show_background, image, transition_duration].hash
180
179
  end
181
180
 
182
181
  # Builds the object from hash
@@ -95,14 +95,13 @@ module AsposeSlidesCloud
95
95
  :'FormatScheme' => :'ResourceBase',
96
96
  :'FractionElement' => :'MathElement',
97
97
  :'FunctionElement' => :'MathElement',
98
- :'GifExportOptions' => :'ExportOptions',
99
98
  :'GradientFill' => :'FillFormat',
100
99
  :'GroupingCharacterElement' => :'MathElement',
101
100
  :'HeaderFooter' => :'ResourceBase',
102
101
  :'Html5ExportOptions' => :'ExportOptions',
103
102
  :'HtmlExportOptions' => :'ExportOptions',
104
103
  :'Image' => :'ResourceBase',
105
- :'ImageExportOptions' => :'ExportOptions',
104
+ :'ImageExportOptionsBase' => :'ExportOptions',
106
105
  :'Images' => :'ResourceBase',
107
106
  :'LayoutSlide' => :'ResourceBase',
108
107
  :'LayoutSlides' => :'ResourceBase',
@@ -168,7 +167,6 @@ module AsposeSlidesCloud
168
167
  :'TextElement' => :'MathElement',
169
168
  :'TextItems' => :'ResourceBase',
170
169
  :'Theme' => :'ResourceBase',
171
- :'TiffExportOptions' => :'ExportOptions',
172
170
  :'UpdateBackground' => :'Task',
173
171
  :'UpdateShape' => :'Task',
174
172
  :'VideoExportOptions' => :'ExportOptions',
@@ -182,14 +180,17 @@ module AsposeSlidesCloud
182
180
  :'Chart' => :'ShapeBase',
183
181
  :'DocumentReplaceResult' => :'Document',
184
182
  :'GeometryShape' => :'ShapeBase',
183
+ :'GifExportOptions' => :'ImageExportOptionsBase',
185
184
  :'GraphicalObject' => :'ShapeBase',
186
185
  :'GroupShape' => :'ShapeBase',
186
+ :'ImageExportOptions' => :'ImageExportOptionsBase',
187
187
  :'OleObjectFrame' => :'ShapeBase',
188
188
  :'ScatterSeries' => :'XYSeries',
189
189
  :'SlideReplaceResult' => :'Slide',
190
190
  :'SmartArt' => :'ShapeBase',
191
191
  :'SummaryZoomFrame' => :'ShapeBase',
192
192
  :'Table' => :'ShapeBase',
193
+ :'TiffExportOptions' => :'ImageExportOptionsBase',
193
194
  :'WaterfallChartDataPoint' => :'OneValueChartDataPoint',
194
195
  :'WaterfallSeries' => :'OneValueSeries',
195
196
  :'ZoomObject' => :'ShapeBase',
@@ -208,6 +209,7 @@ module AsposeSlidesCloud
208
209
 
209
210
  def self.type_determiners
210
211
  {
212
+ :'AccessPermissions' => { },
211
213
  :'ApiInfo' => { },
212
214
  :'ArrowHeadProperties' => { },
213
215
  :'Axes' => { },
@@ -262,6 +264,7 @@ module AsposeSlidesCloud
262
264
  :'PathSegment' => { },
263
265
  :'Pipeline' => { },
264
266
  :'PlotArea' => { },
267
+ :'PortionFormat' => { },
265
268
  :'PresentationToMerge' => { },
266
269
  :'PresentationsMergeRequest' => { },
267
270
  :'PresetShadowEffect' => { },
@@ -315,14 +318,13 @@ module AsposeSlidesCloud
315
318
  :'FormatScheme' => { },
316
319
  :'FractionElement' => { :'Type' => "Fraction", },
317
320
  :'FunctionElement' => { :'Type' => "Function", },
318
- :'GifExportOptions' => { :'Format' => "gif", },
319
321
  :'GradientFill' => { :'Type' => "Gradient", },
320
322
  :'GroupingCharacterElement' => { :'Type' => "GroupingCharacter", },
321
323
  :'HeaderFooter' => { },
322
324
  :'Html5ExportOptions' => { :'Format' => "html5", },
323
325
  :'HtmlExportOptions' => { :'Format' => "html", },
324
326
  :'Image' => { },
325
- :'ImageExportOptions' => { :'Format' => "image", },
327
+ :'ImageExportOptionsBase' => { },
326
328
  :'Images' => { },
327
329
  :'LayoutSlide' => { },
328
330
  :'LayoutSlides' => { },
@@ -388,7 +390,6 @@ module AsposeSlidesCloud
388
390
  :'TextElement' => { :'Type' => "Text", },
389
391
  :'TextItems' => { },
390
392
  :'Theme' => { },
391
- :'TiffExportOptions' => { :'Format' => "tiff", },
392
393
  :'UpdateBackground' => { :'Type' => "UpdateBackground", },
393
394
  :'UpdateShape' => { :'Type' => "UpdateShape", },
394
395
  :'VideoExportOptions' => { :'Format' => "mpeg4", },
@@ -402,14 +403,17 @@ module AsposeSlidesCloud
402
403
  :'Chart' => { :'Type' => "Chart", },
403
404
  :'DocumentReplaceResult' => { },
404
405
  :'GeometryShape' => { },
406
+ :'GifExportOptions' => { :'Format' => "gif", },
405
407
  :'GraphicalObject' => { :'Type' => "GraphicalObject", },
406
408
  :'GroupShape' => { :'Type' => "GroupShape", },
409
+ :'ImageExportOptions' => { :'Format' => "image", },
407
410
  :'OleObjectFrame' => { :'Type' => "OleObjectFrame", },
408
411
  :'ScatterSeries' => { :'DataPointType' => "Scatter", },
409
412
  :'SlideReplaceResult' => { },
410
413
  :'SmartArt' => { :'Type' => "SmartArt", },
411
414
  :'SummaryZoomFrame' => { :'Type' => "SummaryZoomFrame", },
412
415
  :'Table' => { :'Type' => "Table", },
416
+ :'TiffExportOptions' => { :'Format' => "tiff", },
413
417
  :'WaterfallChartDataPoint' => { },
414
418
  :'WaterfallSeries' => { :'DataPointType' => "OneValue", },
415
419
  :'ZoomObject' => { },
@@ -21,5 +21,5 @@ SOFTWARE.
21
21
  =end
22
22
 
23
23
  module AsposeSlidesCloud
24
- VERSION = '22.3.0'
24
+ VERSION = '22.4.0'
25
25
  end
@@ -28,6 +28,7 @@ require 'aspose_slides_cloud/version'
28
28
  require 'aspose_slides_cloud/configuration'
29
29
 
30
30
  # Models
31
+ require 'aspose_slides_cloud/models/access_permissions'
31
32
  require 'aspose_slides_cloud/models/api_info'
32
33
  require 'aspose_slides_cloud/models/arrow_head_properties'
33
34
  require 'aspose_slides_cloud/models/axes'
@@ -82,6 +83,7 @@ require 'aspose_slides_cloud/models/output_file'
82
83
  require 'aspose_slides_cloud/models/path_segment'
83
84
  require 'aspose_slides_cloud/models/pipeline'
84
85
  require 'aspose_slides_cloud/models/plot_area'
86
+ require 'aspose_slides_cloud/models/portion_format'
85
87
  require 'aspose_slides_cloud/models/presentation_to_merge'
86
88
  require 'aspose_slides_cloud/models/presentations_merge_request'
87
89
  require 'aspose_slides_cloud/models/preset_shadow_effect'
@@ -135,14 +137,13 @@ require 'aspose_slides_cloud/models/font_scheme'
135
137
  require 'aspose_slides_cloud/models/format_scheme'
136
138
  require 'aspose_slides_cloud/models/fraction_element'
137
139
  require 'aspose_slides_cloud/models/function_element'
138
- require 'aspose_slides_cloud/models/gif_export_options'
139
140
  require 'aspose_slides_cloud/models/gradient_fill'
140
141
  require 'aspose_slides_cloud/models/grouping_character_element'
141
142
  require 'aspose_slides_cloud/models/header_footer'
142
143
  require 'aspose_slides_cloud/models/html5_export_options'
143
144
  require 'aspose_slides_cloud/models/html_export_options'
144
145
  require 'aspose_slides_cloud/models/image'
145
- require 'aspose_slides_cloud/models/image_export_options'
146
+ require 'aspose_slides_cloud/models/image_export_options_base'
146
147
  require 'aspose_slides_cloud/models/images'
147
148
  require 'aspose_slides_cloud/models/layout_slide'
148
149
  require 'aspose_slides_cloud/models/layout_slides'
@@ -208,7 +209,6 @@ require 'aspose_slides_cloud/models/swf_export_options'
208
209
  require 'aspose_slides_cloud/models/text_element'
209
210
  require 'aspose_slides_cloud/models/text_items'
210
211
  require 'aspose_slides_cloud/models/theme'
211
- require 'aspose_slides_cloud/models/tiff_export_options'
212
212
  require 'aspose_slides_cloud/models/update_background'
213
213
  require 'aspose_slides_cloud/models/update_shape'
214
214
  require 'aspose_slides_cloud/models/video_export_options'
@@ -222,14 +222,17 @@ require 'aspose_slides_cloud/models/bubble_series'
222
222
  require 'aspose_slides_cloud/models/chart'
223
223
  require 'aspose_slides_cloud/models/document_replace_result'
224
224
  require 'aspose_slides_cloud/models/geometry_shape'
225
+ require 'aspose_slides_cloud/models/gif_export_options'
225
226
  require 'aspose_slides_cloud/models/graphical_object'
226
227
  require 'aspose_slides_cloud/models/group_shape'
228
+ require 'aspose_slides_cloud/models/image_export_options'
227
229
  require 'aspose_slides_cloud/models/ole_object_frame'
228
230
  require 'aspose_slides_cloud/models/scatter_series'
229
231
  require 'aspose_slides_cloud/models/slide_replace_result'
230
232
  require 'aspose_slides_cloud/models/smart_art'
231
233
  require 'aspose_slides_cloud/models/summary_zoom_frame'
232
234
  require 'aspose_slides_cloud/models/table'
235
+ require 'aspose_slides_cloud/models/tiff_export_options'
233
236
  require 'aspose_slides_cloud/models/waterfall_chart_data_point'
234
237
  require 'aspose_slides_cloud/models/waterfall_series'
235
238
  require 'aspose_slides_cloud/models/zoom_object'