aspose_slides_cloud 21.9.0 → 21.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -1
  3. data/TestData/test-unprotected.pptx +0 -0
  4. data/TestData/test.pptx +0 -0
  5. data/lib/aspose_slides_cloud/api/slides_api.rb +119 -113
  6. data/lib/aspose_slides_cloud/models/audio_frame.rb +2 -1
  7. data/lib/aspose_slides_cloud/models/chart.rb +2 -1
  8. data/lib/aspose_slides_cloud/models/connector.rb +2 -1
  9. data/lib/aspose_slides_cloud/models/effect.rb +11 -1
  10. data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
  11. data/lib/aspose_slides_cloud/models/export_options.rb +21 -1
  12. data/lib/aspose_slides_cloud/models/geometry_shape.rb +2 -1
  13. data/lib/aspose_slides_cloud/models/graphical_object.rb +2 -1
  14. data/lib/aspose_slides_cloud/models/group_shape.rb +2 -1
  15. data/lib/aspose_slides_cloud/models/html_export_options.rb +3 -46
  16. data/lib/aspose_slides_cloud/models/image_export_options.rb +3 -16
  17. data/lib/aspose_slides_cloud/models/ole_object_frame.rb +2 -1
  18. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +3 -76
  19. data/lib/aspose_slides_cloud/models/picture_frame.rb +2 -1
  20. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +3 -6
  21. data/lib/aspose_slides_cloud/models/save.rb +2 -2
  22. data/lib/aspose_slides_cloud/models/shape.rb +2 -1
  23. data/lib/aspose_slides_cloud/models/shape_base.rb +11 -1
  24. data/lib/aspose_slides_cloud/models/shape_image_export_options.rb +0 -15
  25. data/lib/aspose_slides_cloud/models/smart_art.rb +2 -1
  26. data/lib/aspose_slides_cloud/models/smart_art_shape.rb +2 -1
  27. data/lib/aspose_slides_cloud/models/special_slide_type.rb +41 -0
  28. data/lib/aspose_slides_cloud/models/svg_export_options.rb +3 -46
  29. data/lib/aspose_slides_cloud/models/swf_export_options.rb +3 -86
  30. data/lib/aspose_slides_cloud/models/table.rb +2 -1
  31. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +3 -56
  32. data/lib/aspose_slides_cloud/models/video_frame.rb +2 -1
  33. data/lib/aspose_slides_cloud/models/xps_export_options.rb +3 -16
  34. data/lib/aspose_slides_cloud/type_registry.rb +6 -0
  35. data/lib/aspose_slides_cloud/version.rb +1 -1
  36. data/lib/aspose_slides_cloud.rb +5 -0
  37. data/spec/api/slides_api_spec.rb +90 -20
  38. data/testRules.json +30 -75
  39. metadata +3 -2
@@ -108,27 +108,12 @@ module AsposeSlidesCloud
108
108
  # @return Array for valid properties with the reasons
109
109
  def list_invalid_properties
110
110
  invalid_properties = Array.new
111
- if @scale_x.nil?
112
- invalid_properties.push('invalid value for "scale_x", scale_x cannot be nil.')
113
- end
114
-
115
- if @scale_y.nil?
116
- invalid_properties.push('invalid value for "scale_y", scale_y cannot be nil.')
117
- end
118
-
119
- if @thumbnail_bounds.nil?
120
- invalid_properties.push('invalid value for "thumbnail_bounds", thumbnail_bounds cannot be nil.')
121
- end
122
-
123
111
  invalid_properties
124
112
  end
125
113
 
126
114
  # Check to see if the all the properties in the model are valid
127
115
  # @return true if the model is valid
128
116
  def valid?
129
- return false if @scale_x.nil?
130
- return false if @scale_y.nil?
131
- return false if @thumbnail_bounds.nil?
132
117
  thumbnail_bounds_validator = EnumAttributeValidator.new('String', ['Slide', 'Shape', 'Appearance'])
133
118
  return false unless thumbnail_bounds_validator.valid?(@thumbnail_bounds)
134
119
  true
@@ -202,6 +202,7 @@ module AsposeSlidesCloud
202
202
  shapes == o.shapes &&
203
203
  fill_format == o.fill_format &&
204
204
  effect_format == o.effect_format &&
205
+ three_d_format == o.three_d_format &&
205
206
  line_format == o.line_format &&
206
207
  type == o.type &&
207
208
  layout == o.layout &&
@@ -220,7 +221,7 @@ module AsposeSlidesCloud
220
221
  # Calculates hash code according to all attributes.
221
222
  # @return [Fixnum] Hash code
222
223
  def hash
223
- [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, shapes, fill_format, effect_format, line_format, type, layout, quick_style, color_style, nodes, is_reversed].hash
224
+ [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, type, layout, quick_style, color_style, nodes, is_reversed].hash
224
225
  end
225
226
 
226
227
  # Builds the object from hash
@@ -99,6 +99,7 @@ module AsposeSlidesCloud
99
99
  shapes == o.shapes &&
100
100
  fill_format == o.fill_format &&
101
101
  effect_format == o.effect_format &&
102
+ three_d_format == o.three_d_format &&
102
103
  line_format == o.line_format &&
103
104
  type == o.type &&
104
105
  shape_type == o.shape_type
@@ -113,7 +114,7 @@ module AsposeSlidesCloud
113
114
  # Calculates hash code according to all attributes.
114
115
  # @return [Fixnum] Hash code
115
116
  def hash
116
- [self_uri, alternate_linksname, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, shapes, fill_format, effect_format, line_format, typeshape_type].hash
117
+ [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, typeshape_type].hash
117
118
  end
118
119
 
119
120
  # Builds the object from hash
@@ -0,0 +1,41 @@
1
+ =begin
2
+ Copyright (c) 2019 Aspose Pty Ltd
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all
12
+ copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
+ SOFTWARE.
21
+ =end
22
+
23
+ require 'date'
24
+
25
+ module AsposeSlidesCloud
26
+ class SpecialSlideType
27
+
28
+ MASTER_SLIDE = "MasterSlide".freeze
29
+ LAYOUT_SLIDE = "LayoutSlide".freeze
30
+ NOTES_SLIDE = "NotesSlide".freeze
31
+
32
+ # Builds the enum from string
33
+ # @param [String] The enum value in the form of the string
34
+ # @return [String] The enum value
35
+ def build_from_hash(value)
36
+ constantValues = SpecialSlideType.constants.select { |c| SpecialSlideType::const_get(c) == value }
37
+ raise "Invalid ENUM value #{value} for class #SpecialSlideType" if constantValues.empty?
38
+ value
39
+ end
40
+ end
41
+ end
@@ -151,42 +151,6 @@ module AsposeSlidesCloud
151
151
  # @return Array for valid properties with the reasons
152
152
  def list_invalid_properties
153
153
  invalid_properties = super
154
- if @vectorize_text.nil?
155
- invalid_properties.push('invalid value for "vectorize_text", vectorize_text cannot be nil.')
156
- end
157
-
158
- if @metafile_rasterization_dpi.nil?
159
- invalid_properties.push('invalid value for "metafile_rasterization_dpi", metafile_rasterization_dpi cannot be nil.')
160
- end
161
-
162
- if @disable3_d_text.nil?
163
- invalid_properties.push('invalid value for "disable3_d_text", disable3_d_text cannot be nil.')
164
- end
165
-
166
- if @disable_gradient_split.nil?
167
- invalid_properties.push('invalid value for "disable_gradient_split", disable_gradient_split cannot be nil.')
168
- end
169
-
170
- if @disable_line_end_cropping.nil?
171
- invalid_properties.push('invalid value for "disable_line_end_cropping", disable_line_end_cropping cannot be nil.')
172
- end
173
-
174
- if @jpeg_quality.nil?
175
- invalid_properties.push('invalid value for "jpeg_quality", jpeg_quality cannot be nil.')
176
- end
177
-
178
- if @pictures_compression.nil?
179
- invalid_properties.push('invalid value for "pictures_compression", pictures_compression cannot be nil.')
180
- end
181
-
182
- if @delete_pictures_cropped_areas.nil?
183
- invalid_properties.push('invalid value for "delete_pictures_cropped_areas", delete_pictures_cropped_areas cannot be nil.')
184
- end
185
-
186
- if @external_fonts_handling.nil?
187
- invalid_properties.push('invalid value for "external_fonts_handling", external_fonts_handling cannot be nil.')
188
- end
189
-
190
154
  invalid_properties
191
155
  end
192
156
 
@@ -194,17 +158,8 @@ module AsposeSlidesCloud
194
158
  # @return true if the model is valid
195
159
  def valid?
196
160
  return false if !super
197
- return false if @vectorize_text.nil?
198
- return false if @metafile_rasterization_dpi.nil?
199
- return false if @disable3_d_text.nil?
200
- return false if @disable_gradient_split.nil?
201
- return false if @disable_line_end_cropping.nil?
202
- return false if @jpeg_quality.nil?
203
- return false if @pictures_compression.nil?
204
161
  pictures_compression_validator = EnumAttributeValidator.new('String', ['Dpi330', 'Dpi220', 'Dpi150', 'Dpi96', 'Dpi72', 'DocumentResolution'])
205
162
  return false unless pictures_compression_validator.valid?(@pictures_compression)
206
- return false if @delete_pictures_cropped_areas.nil?
207
- return false if @external_fonts_handling.nil?
208
163
  external_fonts_handling_validator = EnumAttributeValidator.new('String', ['AddLinksToFontFiles', 'Embed', 'Vectorize'])
209
164
  return false unless external_fonts_handling_validator.valid?(@external_fonts_handling)
210
165
  true
@@ -236,6 +191,8 @@ module AsposeSlidesCloud
236
191
  return true if self.equal?(o)
237
192
  self.class == o.class &&
238
193
  default_regular_font == o.default_regular_font &&
194
+ height == o.height &&
195
+ width == o.width &&
239
196
  format == o.format &&
240
197
  vectorize_text == o.vectorize_text &&
241
198
  metafile_rasterization_dpi == o.metafile_rasterization_dpi &&
@@ -257,7 +214,7 @@ module AsposeSlidesCloud
257
214
  # Calculates hash code according to all attributes.
258
215
  # @return [Fixnum] Hash code
259
216
  def hash
260
- [default_regular_font, 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
217
+ [default_regular_font, height, width, 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
261
218
  end
262
219
 
263
220
  # Builds the object from hash
@@ -250,74 +250,6 @@ module AsposeSlidesCloud
250
250
  # @return Array for valid properties with the reasons
251
251
  def list_invalid_properties
252
252
  invalid_properties = super
253
- if @show_hidden_slides.nil?
254
- invalid_properties.push('invalid value for "show_hidden_slides", show_hidden_slides cannot be nil.')
255
- end
256
-
257
- if @compressed.nil?
258
- invalid_properties.push('invalid value for "compressed", compressed cannot be nil.')
259
- end
260
-
261
- if @viewer_included.nil?
262
- invalid_properties.push('invalid value for "viewer_included", viewer_included cannot be nil.')
263
- end
264
-
265
- if @show_page_border.nil?
266
- invalid_properties.push('invalid value for "show_page_border", show_page_border cannot be nil.')
267
- end
268
-
269
- if @show_full_screen.nil?
270
- invalid_properties.push('invalid value for "show_full_screen", show_full_screen cannot be nil.')
271
- end
272
-
273
- if @show_page_stepper.nil?
274
- invalid_properties.push('invalid value for "show_page_stepper", show_page_stepper cannot be nil.')
275
- end
276
-
277
- if @show_search.nil?
278
- invalid_properties.push('invalid value for "show_search", show_search cannot be nil.')
279
- end
280
-
281
- if @show_top_pane.nil?
282
- invalid_properties.push('invalid value for "show_top_pane", show_top_pane cannot be nil.')
283
- end
284
-
285
- if @show_bottom_pane.nil?
286
- invalid_properties.push('invalid value for "show_bottom_pane", show_bottom_pane cannot be nil.')
287
- end
288
-
289
- if @show_left_pane.nil?
290
- invalid_properties.push('invalid value for "show_left_pane", show_left_pane cannot be nil.')
291
- end
292
-
293
- if @start_open_left_pane.nil?
294
- invalid_properties.push('invalid value for "start_open_left_pane", start_open_left_pane cannot be nil.')
295
- end
296
-
297
- if @enable_context_menu.nil?
298
- invalid_properties.push('invalid value for "enable_context_menu", enable_context_menu cannot be nil.')
299
- end
300
-
301
- if @jpeg_quality.nil?
302
- invalid_properties.push('invalid value for "jpeg_quality", jpeg_quality cannot be nil.')
303
- end
304
-
305
- if @notes_position.nil?
306
- invalid_properties.push('invalid value for "notes_position", notes_position cannot be nil.')
307
- end
308
-
309
- if @comments_position.nil?
310
- invalid_properties.push('invalid value for "comments_position", comments_position cannot be nil.')
311
- end
312
-
313
- if @comments_area_width.nil?
314
- invalid_properties.push('invalid value for "comments_area_width", comments_area_width cannot be nil.')
315
- end
316
-
317
- if @show_comments_by_no_author.nil?
318
- invalid_properties.push('invalid value for "show_comments_by_no_author", show_comments_by_no_author cannot be nil.')
319
- end
320
-
321
253
  invalid_properties
322
254
  end
323
255
 
@@ -325,27 +257,10 @@ module AsposeSlidesCloud
325
257
  # @return true if the model is valid
326
258
  def valid?
327
259
  return false if !super
328
- return false if @show_hidden_slides.nil?
329
- return false if @compressed.nil?
330
- return false if @viewer_included.nil?
331
- return false if @show_page_border.nil?
332
- return false if @show_full_screen.nil?
333
- return false if @show_page_stepper.nil?
334
- return false if @show_search.nil?
335
- return false if @show_top_pane.nil?
336
- return false if @show_bottom_pane.nil?
337
- return false if @show_left_pane.nil?
338
- return false if @start_open_left_pane.nil?
339
- return false if @enable_context_menu.nil?
340
- return false if @jpeg_quality.nil?
341
- return false if @notes_position.nil?
342
260
  notes_position_validator = EnumAttributeValidator.new('String', ['None', 'BottomFull', 'BottomTruncated'])
343
261
  return false unless notes_position_validator.valid?(@notes_position)
344
- return false if @comments_position.nil?
345
262
  comments_position_validator = EnumAttributeValidator.new('String', ['None', 'Bottom', 'Right'])
346
263
  return false unless comments_position_validator.valid?(@comments_position)
347
- return false if @comments_area_width.nil?
348
- return false if @show_comments_by_no_author.nil?
349
264
  true
350
265
  end
351
266
 
@@ -375,6 +290,8 @@ module AsposeSlidesCloud
375
290
  return true if self.equal?(o)
376
291
  self.class == o.class &&
377
292
  default_regular_font == o.default_regular_font &&
293
+ height == o.height &&
294
+ width == o.width &&
378
295
  format == o.format &&
379
296
  show_hidden_slides == o.show_hidden_slides &&
380
297
  compressed == o.compressed &&
@@ -407,7 +324,7 @@ module AsposeSlidesCloud
407
324
  # Calculates hash code according to all attributes.
408
325
  # @return [Fixnum] Hash code
409
326
  def hash
410
- [default_regular_font, 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
327
+ [default_regular_font, height, width, 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
411
328
  end
412
329
 
413
330
  # Builds the object from hash
@@ -205,6 +205,7 @@ module AsposeSlidesCloud
205
205
  shapes == o.shapes &&
206
206
  fill_format == o.fill_format &&
207
207
  effect_format == o.effect_format &&
208
+ three_d_format == o.three_d_format &&
208
209
  line_format == o.line_format &&
209
210
  type == o.type &&
210
211
  style == o.style &&
@@ -228,7 +229,7 @@ module AsposeSlidesCloud
228
229
  # Calculates hash code according to all attributes.
229
230
  # @return [Fixnum] Hash code
230
231
  def hash
231
- [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, shapes, fill_format, effect_format, line_format, type, style, rows, columns, first_col, first_row, horizontal_banding, last_col, last_row, right_to_left, vertical_banding].hash
232
+ [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, type, style, rows, columns, first_col, first_row, horizontal_banding, last_col, last_row, right_to_left, vertical_banding].hash
232
233
  end
233
234
 
234
235
  # Builds the object from hash
@@ -28,12 +28,6 @@ module AsposeSlidesCloud
28
28
  # Compression type.
29
29
  attr_accessor :compression
30
30
 
31
- # Width.
32
- attr_accessor :width
33
-
34
- # Height.
35
- attr_accessor :height
36
-
37
31
  # Horizontal resolution, in dots per inch.
38
32
  attr_accessor :dpi_x
39
33
 
@@ -87,8 +81,6 @@ module AsposeSlidesCloud
87
81
  def self.attribute_map
88
82
  super.merge({
89
83
  :'compression' => :'Compression',
90
- :'width' => :'Width',
91
- :'height' => :'Height',
92
84
  :'dpi_x' => :'DpiX',
93
85
  :'dpi_y' => :'DpiY',
94
86
  :'show_hidden_slides' => :'ShowHiddenSlides',
@@ -105,8 +97,6 @@ module AsposeSlidesCloud
105
97
  def self.swagger_types
106
98
  super.merge({
107
99
  :'compression' => :'String',
108
- :'width' => :'Integer',
109
- :'height' => :'Integer',
110
100
  :'dpi_x' => :'Integer',
111
101
  :'dpi_y' => :'Integer',
112
102
  :'show_hidden_slides' => :'BOOLEAN',
@@ -128,14 +118,6 @@ module AsposeSlidesCloud
128
118
  self.compression = attributes[:'Compression']
129
119
  end
130
120
 
131
- if attributes.has_key?(:'Width')
132
- self.width = attributes[:'Width']
133
- end
134
-
135
- if attributes.has_key?(:'Height')
136
- self.height = attributes[:'Height']
137
- end
138
-
139
121
  if attributes.has_key?(:'DpiX')
140
122
  self.dpi_x = attributes[:'DpiX']
141
123
  end
@@ -178,34 +160,6 @@ module AsposeSlidesCloud
178
160
  # @return Array for valid properties with the reasons
179
161
  def list_invalid_properties
180
162
  invalid_properties = super
181
- if @compression.nil?
182
- invalid_properties.push('invalid value for "compression", compression cannot be nil.')
183
- end
184
-
185
- if @show_hidden_slides.nil?
186
- invalid_properties.push('invalid value for "show_hidden_slides", show_hidden_slides cannot be nil.')
187
- end
188
-
189
- if @pixel_format.nil?
190
- invalid_properties.push('invalid value for "pixel_format", pixel_format cannot be nil.')
191
- end
192
-
193
- if @notes_position.nil?
194
- invalid_properties.push('invalid value for "notes_position", notes_position cannot be nil.')
195
- end
196
-
197
- if @comments_position.nil?
198
- invalid_properties.push('invalid value for "comments_position", comments_position cannot be nil.')
199
- end
200
-
201
- if @comments_area_width.nil?
202
- invalid_properties.push('invalid value for "comments_area_width", comments_area_width cannot be nil.')
203
- end
204
-
205
- if @show_comments_by_no_author.nil?
206
- invalid_properties.push('invalid value for "show_comments_by_no_author", show_comments_by_no_author cannot be nil.')
207
- end
208
-
209
163
  invalid_properties
210
164
  end
211
165
 
@@ -213,21 +167,14 @@ module AsposeSlidesCloud
213
167
  # @return true if the model is valid
214
168
  def valid?
215
169
  return false if !super
216
- return false if @compression.nil?
217
170
  compression_validator = EnumAttributeValidator.new('String', ['Default', 'None', 'CCITT3', 'CCITT4', 'LZW', 'RLE'])
218
171
  return false unless compression_validator.valid?(@compression)
219
- return false if @show_hidden_slides.nil?
220
- return false if @pixel_format.nil?
221
172
  pixel_format_validator = EnumAttributeValidator.new('String', ['Format1bppIndexed', 'Format4bppIndexed', 'Format8bppIndexed', 'Format24bppRgb', 'Format32bppArgb'])
222
173
  return false unless pixel_format_validator.valid?(@pixel_format)
223
- return false if @notes_position.nil?
224
174
  notes_position_validator = EnumAttributeValidator.new('String', ['None', 'BottomFull', 'BottomTruncated'])
225
175
  return false unless notes_position_validator.valid?(@notes_position)
226
- return false if @comments_position.nil?
227
176
  comments_position_validator = EnumAttributeValidator.new('String', ['None', 'Bottom', 'Right'])
228
177
  return false unless comments_position_validator.valid?(@comments_position)
229
- return false if @comments_area_width.nil?
230
- return false if @show_comments_by_no_author.nil?
231
178
  true
232
179
  end
233
180
 
@@ -277,10 +224,10 @@ module AsposeSlidesCloud
277
224
  return true if self.equal?(o)
278
225
  self.class == o.class &&
279
226
  default_regular_font == o.default_regular_font &&
227
+ height == o.height &&
228
+ width == o.width &&
280
229
  format == o.format &&
281
230
  compression == o.compression &&
282
- width == o.width &&
283
- height == o.height &&
284
231
  dpi_x == o.dpi_x &&
285
232
  dpi_y == o.dpi_y &&
286
233
  show_hidden_slides == o.show_hidden_slides &&
@@ -301,7 +248,7 @@ module AsposeSlidesCloud
301
248
  # Calculates hash code according to all attributes.
302
249
  # @return [Fixnum] Hash code
303
250
  def hash
304
- [default_regular_font, format, compression, width, height, 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
251
+ [default_regular_font, height, width, 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
305
252
  end
306
253
 
307
254
  # Builds the object from hash
@@ -186,6 +186,7 @@ module AsposeSlidesCloud
186
186
  shapes == o.shapes &&
187
187
  fill_format == o.fill_format &&
188
188
  effect_format == o.effect_format &&
189
+ three_d_format == o.three_d_format &&
189
190
  line_format == o.line_format &&
190
191
  type == o.type &&
191
192
  shape_type == o.shape_type &&
@@ -207,7 +208,7 @@ module AsposeSlidesCloud
207
208
  # Calculates hash code according to all attributes.
208
209
  # @return [Fixnum] Hash code
209
210
  def hash
210
- [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, shapes, fill_format, effect_format, line_format, type, shape_type, full_screen_mode, hide_at_showing, play_loop_mode, play_mode, rewind_video, volume, base64_data].hash
211
+ [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, type, shape_type, full_screen_mode, hide_at_showing, play_loop_mode, play_mode, rewind_video, volume, base64_data].hash
211
212
  end
212
213
 
213
214
  # Builds the object from hash
@@ -75,18 +75,6 @@ module AsposeSlidesCloud
75
75
  # @return Array for valid properties with the reasons
76
76
  def list_invalid_properties
77
77
  invalid_properties = super
78
- if @show_hidden_slides.nil?
79
- invalid_properties.push('invalid value for "show_hidden_slides", show_hidden_slides cannot be nil.')
80
- end
81
-
82
- if @save_metafiles_as_png.nil?
83
- invalid_properties.push('invalid value for "save_metafiles_as_png", save_metafiles_as_png cannot be nil.')
84
- end
85
-
86
- if @draw_slides_frame.nil?
87
- invalid_properties.push('invalid value for "draw_slides_frame", draw_slides_frame cannot be nil.')
88
- end
89
-
90
78
  invalid_properties
91
79
  end
92
80
 
@@ -94,9 +82,6 @@ module AsposeSlidesCloud
94
82
  # @return true if the model is valid
95
83
  def valid?
96
84
  return false if !super
97
- return false if @show_hidden_slides.nil?
98
- return false if @save_metafiles_as_png.nil?
99
- return false if @draw_slides_frame.nil?
100
85
  true
101
86
  end
102
87
 
@@ -106,6 +91,8 @@ module AsposeSlidesCloud
106
91
  return true if self.equal?(o)
107
92
  self.class == o.class &&
108
93
  default_regular_font == o.default_regular_font &&
94
+ height == o.height &&
95
+ width == o.width &&
109
96
  format == o.format &&
110
97
  show_hidden_slides == o.show_hidden_slides &&
111
98
  save_metafiles_as_png == o.save_metafiles_as_png &&
@@ -121,7 +108,7 @@ module AsposeSlidesCloud
121
108
  # Calculates hash code according to all attributes.
122
109
  # @return [Fixnum] Hash code
123
110
  def hash
124
- [default_regular_font, format, show_hidden_slides, save_metafiles_as_png, draw_slides_frame].hash
111
+ [default_regular_font, height, width, format, show_hidden_slides, save_metafiles_as_png, draw_slides_frame].hash
125
112
  end
126
113
 
127
114
  # Builds the object from hash
@@ -71,6 +71,7 @@ module AsposeSlidesCloud
71
71
  :'FormatScheme' => :'ResourceBase',
72
72
  :'GradientFill' => :'FillFormat',
73
73
  :'HeaderFooter' => :'ResourceBase',
74
+ :'Html5ExportOptions' => :'ExportOptions',
74
75
  :'HtmlExportOptions' => :'ExportOptions',
75
76
  :'Image' => :'ResourceBase',
76
77
  :'ImageExportOptions' => :'ExportOptions',
@@ -161,6 +162,7 @@ module AsposeSlidesCloud
161
162
  :'Axes' => { },
162
163
  :'Axis' => { },
163
164
  :'BlurEffect' => { },
165
+ :'Camera' => { },
164
166
  :'ChartCategory' => { },
165
167
  :'ChartTitle' => { },
166
168
  :'ChartWall' => { },
@@ -190,6 +192,7 @@ module AsposeSlidesCloud
190
192
  :'InputFile' => { },
191
193
  :'InteractiveSequence' => { },
192
194
  :'Legend' => { },
195
+ :'LightRig' => { },
193
196
  :'LineFormat' => { },
194
197
  :'MergingSource' => { },
195
198
  :'NormalViewRestoredProperties' => { },
@@ -208,6 +211,7 @@ module AsposeSlidesCloud
208
211
  :'ResourceUri' => { },
209
212
  :'Series' => { },
210
213
  :'SeriesMarker' => { },
214
+ :'ShapeBevel' => { },
211
215
  :'ShapeExportFormat' => { },
212
216
  :'ShapeImageExportOptions' => { },
213
217
  :'ShapeThumbnailBounds' => { },
@@ -224,6 +228,7 @@ module AsposeSlidesCloud
224
228
  :'TableRow' => { },
225
229
  :'Task' => { },
226
230
  :'TextItem' => { },
231
+ :'ThreeDFormat' => { },
227
232
  :'AddLayoutSlide' => { :'Type' => "AddLayoutSlide", },
228
233
  :'AddMasterSlide' => { :'Type' => "AddMasterSlide", },
229
234
  :'AddShape' => { :'Type' => "AddShape", },
@@ -239,6 +244,7 @@ module AsposeSlidesCloud
239
244
  :'FormatScheme' => { },
240
245
  :'GradientFill' => { :'Type' => "Gradient", },
241
246
  :'HeaderFooter' => { },
247
+ :'Html5ExportOptions' => { :'Format' => "html5", },
242
248
  :'HtmlExportOptions' => { :'Format' => "html", },
243
249
  :'Image' => { },
244
250
  :'ImageExportOptions' => { :'Format' => "image", },
@@ -21,5 +21,5 @@ SOFTWARE.
21
21
  =end
22
22
 
23
23
  module AsposeSlidesCloud
24
- VERSION = '21.9.0'
24
+ VERSION = '21.12.0'
25
25
  end
@@ -33,6 +33,7 @@ require 'aspose_slides_cloud/models/arrow_head_properties'
33
33
  require 'aspose_slides_cloud/models/axes'
34
34
  require 'aspose_slides_cloud/models/axis'
35
35
  require 'aspose_slides_cloud/models/blur_effect'
36
+ require 'aspose_slides_cloud/models/camera'
36
37
  require 'aspose_slides_cloud/models/chart_category'
37
38
  require 'aspose_slides_cloud/models/chart_title'
38
39
  require 'aspose_slides_cloud/models/chart_wall'
@@ -62,6 +63,7 @@ require 'aspose_slides_cloud/models/input'
62
63
  require 'aspose_slides_cloud/models/input_file'
63
64
  require 'aspose_slides_cloud/models/interactive_sequence'
64
65
  require 'aspose_slides_cloud/models/legend'
66
+ require 'aspose_slides_cloud/models/light_rig'
65
67
  require 'aspose_slides_cloud/models/line_format'
66
68
  require 'aspose_slides_cloud/models/merging_source'
67
69
  require 'aspose_slides_cloud/models/normal_view_restored_properties'
@@ -80,6 +82,7 @@ require 'aspose_slides_cloud/models/resource_base'
80
82
  require 'aspose_slides_cloud/models/resource_uri'
81
83
  require 'aspose_slides_cloud/models/series'
82
84
  require 'aspose_slides_cloud/models/series_marker'
85
+ require 'aspose_slides_cloud/models/shape_bevel'
83
86
  require 'aspose_slides_cloud/models/shape_export_format'
84
87
  require 'aspose_slides_cloud/models/shape_image_export_options'
85
88
  require 'aspose_slides_cloud/models/shape_thumbnail_bounds'
@@ -96,6 +99,7 @@ require 'aspose_slides_cloud/models/table_column'
96
99
  require 'aspose_slides_cloud/models/table_row'
97
100
  require 'aspose_slides_cloud/models/task'
98
101
  require 'aspose_slides_cloud/models/text_item'
102
+ require 'aspose_slides_cloud/models/three_d_format'
99
103
  require 'aspose_slides_cloud/models/add_layout_slide'
100
104
  require 'aspose_slides_cloud/models/add_master_slide'
101
105
  require 'aspose_slides_cloud/models/add_shape'
@@ -111,6 +115,7 @@ require 'aspose_slides_cloud/models/font_scheme'
111
115
  require 'aspose_slides_cloud/models/format_scheme'
112
116
  require 'aspose_slides_cloud/models/gradient_fill'
113
117
  require 'aspose_slides_cloud/models/header_footer'
118
+ require 'aspose_slides_cloud/models/html5_export_options'
114
119
  require 'aspose_slides_cloud/models/html_export_options'
115
120
  require 'aspose_slides_cloud/models/image'
116
121
  require 'aspose_slides_cloud/models/image_export_options'