aspose_slides_cloud 24.9.0 → 25.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +20 -18
  3. data/README.md +15 -61
  4. data/TestData/video.pptx +0 -0
  5. data/lib/aspose_slides_cloud/api/slides_api.rb +448 -123
  6. data/lib/aspose_slides_cloud/api/slides_async_api.rb +12 -12
  7. data/lib/aspose_slides_cloud/models/audio_frame.rb +51 -1
  8. data/lib/aspose_slides_cloud/models/caption_track.rb +116 -0
  9. data/lib/aspose_slides_cloud/models/caption_tracks.rb +93 -0
  10. data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +14 -2
  11. data/lib/aspose_slides_cloud/models/drawing_guide.rb +123 -0
  12. data/lib/aspose_slides_cloud/models/effect.rb +4 -4
  13. data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
  14. data/lib/aspose_slides_cloud/models/export_options.rb +21 -1
  15. data/lib/aspose_slides_cloud/models/gif_export_options.rb +3 -1
  16. data/lib/aspose_slides_cloud/models/html5_export_options.rb +20 -8
  17. data/lib/aspose_slides_cloud/models/html_export_options.rb +14 -2
  18. data/lib/aspose_slides_cloud/models/image_export_options.rb +3 -1
  19. data/lib/aspose_slides_cloud/models/image_export_options_base.rb +3 -1
  20. data/lib/aspose_slides_cloud/models/markdown_export_options.rb +46 -2
  21. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +14 -2
  22. data/lib/aspose_slides_cloud/models/picture_fill.rb +105 -1
  23. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +14 -2
  24. data/lib/aspose_slides_cloud/models/save.rb +2 -2
  25. data/lib/aspose_slides_cloud/models/save_shape.rb +2 -2
  26. data/lib/aspose_slides_cloud/models/save_slide.rb +2 -2
  27. data/lib/aspose_slides_cloud/models/shape.rb +4 -2
  28. data/lib/aspose_slides_cloud/models/shape_export_format.rb +1 -0
  29. data/lib/aspose_slides_cloud/models/slide_export_format.rb +1 -0
  30. data/lib/aspose_slides_cloud/models/svg_export_options.rb +14 -2
  31. data/lib/aspose_slides_cloud/models/swf_export_options.rb +10 -72
  32. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +3 -1
  33. data/lib/aspose_slides_cloud/models/video_export_options.rb +3 -1
  34. data/lib/aspose_slides_cloud/models/view_properties.rb +12 -2
  35. data/lib/aspose_slides_cloud/models/xaml_export_options.rb +3 -1
  36. data/lib/aspose_slides_cloud/models/xps_export_options.rb +3 -1
  37. data/lib/aspose_slides_cloud/type_registry.rb +5 -0
  38. data/lib/aspose_slides_cloud/version.rb +1 -1
  39. data/lib/aspose_slides_cloud.rb +3 -0
  40. data/spec/api/slides_api_spec.rb +1304 -204
  41. data/spec/use_cases/image_spec.rb +15 -4
  42. data/spec/use_cases/merge_spec.rb +1 -1
  43. data/testRules.json +10 -1
  44. metadata +6 -2
@@ -207,8 +207,8 @@ module AsposeSlidesCloud
207
207
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_convert"
208
208
  end
209
209
  # verify enum value
210
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
211
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml"
210
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf'].any?{ |s| s.casecmp(format)==0 }
211
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml, Emf"
212
212
  end
213
213
  # resource path
214
214
  local_var_path = '/slides/async/convert/{format}'
@@ -282,8 +282,8 @@ module AsposeSlidesCloud
282
282
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_convert_and_save"
283
283
  end
284
284
  # verify enum value
285
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
286
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml"
285
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf'].any?{ |s| s.casecmp(format)==0 }
286
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml, Emf"
287
287
  end
288
288
  # verify the required parameter 'out_path' is set
289
289
  if @api_client.config.client_side_validation && out_path.nil?
@@ -362,8 +362,8 @@ module AsposeSlidesCloud
362
362
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_download_presentation"
363
363
  end
364
364
  # verify enum value
365
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
366
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml"
365
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf'].any?{ |s| s.casecmp(format)==0 }
366
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml, Emf"
367
367
  end
368
368
  # resource path
369
369
  local_var_path = '/slides/async/{name}/{format}'
@@ -543,8 +543,8 @@ module AsposeSlidesCloud
543
543
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_save_presentation"
544
544
  end
545
545
  # verify enum value
546
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
547
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml"
546
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf'].any?{ |s| s.casecmp(format)==0 }
547
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml, Emf"
548
548
  end
549
549
  # verify the required parameter 'out_path' is set
550
550
  if @api_client.config.client_side_validation && out_path.nil?
@@ -630,8 +630,8 @@ module AsposeSlidesCloud
630
630
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_split"
631
631
  end
632
632
  # verify enum value
633
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
634
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5, Md, Xml"
633
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf'].any?{ |s| s.casecmp(format)==0 }
634
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5, Md, Xml, Emf"
635
635
  end
636
636
  # resource path
637
637
  local_var_path = '/slides/async/{name}/split/{format}'
@@ -714,8 +714,8 @@ module AsposeSlidesCloud
714
714
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_upload_and_split"
715
715
  end
716
716
  # verify enum value
717
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
718
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5, Md, Xml"
717
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf'].any?{ |s| s.casecmp(format)==0 }
718
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5, Md, Xml, Emf"
719
719
  end
720
720
  # resource path
721
721
  local_var_path = '/slides/async/split/{format}'
@@ -52,6 +52,9 @@ module AsposeSlidesCloud
52
52
  # Returns or sets the audio volume.
53
53
  attr_accessor :volume
54
54
 
55
+ # Audio volume percent.
56
+ attr_accessor :volume_value
57
+
55
58
  # Audio data encoded in base64.
56
59
  attr_accessor :base64_data
57
60
 
@@ -61,6 +64,18 @@ module AsposeSlidesCloud
61
64
  # Determines whether audio is automatically rewound to start after playing.
62
65
  attr_accessor :rewind_audio
63
66
 
67
+ # Time duration for the initial fade-in of the media in milliseconds.
68
+ attr_accessor :fade_in_duration
69
+
70
+ # Time duration for the ending fade-out of the media in milliseconds.
71
+ attr_accessor :fade_out_duration
72
+
73
+ # Time duration to be removed from the beginning of the media during playback in milliseconds.
74
+ attr_accessor :trim_from_start
75
+
76
+ # Time duration to be removed from the end of the media during playback in milliseconds.
77
+ attr_accessor :trim_from_end
78
+
64
79
  # Picture fill format.
65
80
  attr_accessor :picture_fill_format
66
81
 
@@ -76,9 +91,14 @@ module AsposeSlidesCloud
76
91
  :'play_loop_mode' => :'PlayLoopMode',
77
92
  :'play_mode' => :'PlayMode',
78
93
  :'volume' => :'Volume',
94
+ :'volume_value' => :'VolumeValue',
79
95
  :'base64_data' => :'Base64Data',
80
96
  :'play_across_slides' => :'PlayAcrossSlides',
81
97
  :'rewind_audio' => :'RewindAudio',
98
+ :'fade_in_duration' => :'FadeInDuration',
99
+ :'fade_out_duration' => :'FadeOutDuration',
100
+ :'trim_from_start' => :'TrimFromStart',
101
+ :'trim_from_end' => :'TrimFromEnd',
82
102
  :'picture_fill_format' => :'PictureFillFormat',
83
103
  })
84
104
  end
@@ -95,9 +115,14 @@ module AsposeSlidesCloud
95
115
  :'play_loop_mode' => :'BOOLEAN',
96
116
  :'play_mode' => :'String',
97
117
  :'volume' => :'String',
118
+ :'volume_value' => :'Float',
98
119
  :'base64_data' => :'String',
99
120
  :'play_across_slides' => :'BOOLEAN',
100
121
  :'rewind_audio' => :'BOOLEAN',
122
+ :'fade_in_duration' => :'Float',
123
+ :'fade_out_duration' => :'Float',
124
+ :'trim_from_start' => :'Float',
125
+ :'trim_from_end' => :'Float',
101
126
  :'picture_fill_format' => :'PictureFill',
102
127
  })
103
128
  end
@@ -143,6 +168,10 @@ module AsposeSlidesCloud
143
168
  self.volume = attributes[:'Volume']
144
169
  end
145
170
 
171
+ if attributes.has_key?(:'VolumeValue')
172
+ self.volume_value = attributes[:'VolumeValue']
173
+ end
174
+
146
175
  if attributes.has_key?(:'Base64Data')
147
176
  self.base64_data = attributes[:'Base64Data']
148
177
  end
@@ -155,6 +184,22 @@ module AsposeSlidesCloud
155
184
  self.rewind_audio = attributes[:'RewindAudio']
156
185
  end
157
186
 
187
+ if attributes.has_key?(:'FadeInDuration')
188
+ self.fade_in_duration = attributes[:'FadeInDuration']
189
+ end
190
+
191
+ if attributes.has_key?(:'FadeOutDuration')
192
+ self.fade_out_duration = attributes[:'FadeOutDuration']
193
+ end
194
+
195
+ if attributes.has_key?(:'TrimFromStart')
196
+ self.trim_from_start = attributes[:'TrimFromStart']
197
+ end
198
+
199
+ if attributes.has_key?(:'TrimFromEnd')
200
+ self.trim_from_end = attributes[:'TrimFromEnd']
201
+ end
202
+
158
203
  if attributes.has_key?(:'PictureFillFormat')
159
204
  self.picture_fill_format = attributes[:'PictureFillFormat']
160
205
  end
@@ -233,9 +278,14 @@ module AsposeSlidesCloud
233
278
  play_loop_mode == o.play_loop_mode &&
234
279
  play_mode == o.play_mode &&
235
280
  volume == o.volume &&
281
+ volume_value == o.volume_value &&
236
282
  base64_data == o.base64_data &&
237
283
  play_across_slides == o.play_across_slides &&
238
284
  rewind_audio == o.rewind_audio &&
285
+ fade_in_duration == o.fade_in_duration &&
286
+ fade_out_duration == o.fade_out_duration &&
287
+ trim_from_start == o.trim_from_start &&
288
+ trim_from_end == o.trim_from_end &&
239
289
  picture_fill_format == o.picture_fill_format
240
290
  end
241
291
 
@@ -248,7 +298,7 @@ module AsposeSlidesCloud
248
298
  # Calculates hash code according to all attributes.
249
299
  # @return [Fixnum] Hash code
250
300
  def hash
251
- [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, is_decorative, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, shape_type, audio_cd_end_track, audio_cd_end_track_time, audio_cd_start_track, audio_cd_start_track_time, embedded, hide_at_showing, play_loop_mode, play_mode, volume, base64_data, play_across_slides, rewind_audio, picture_fill_format].hash
301
+ [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, is_decorative, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, shape_type, audio_cd_end_track, audio_cd_end_track_time, audio_cd_start_track, audio_cd_start_track_time, embedded, hide_at_showing, play_loop_mode, play_mode, volume, volume_value, base64_data, play_across_slides, rewind_audio, fade_in_duration, fade_out_duration, trim_from_start, trim_from_end, picture_fill_format].hash
252
302
  end
253
303
  end
254
304
  end
@@ -0,0 +1,116 @@
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
+ # Represents list of Links to Paragraphs resources
27
+ class CaptionTrack < ResourceBase
28
+ # Caption ID.
29
+ attr_accessor :caption_id
30
+
31
+ # Label.
32
+ attr_accessor :label
33
+
34
+ # Caption track data as string.
35
+ attr_accessor :data_as_string
36
+
37
+ # Attribute mapping from ruby-style variable name to JSON key.
38
+ def self.attribute_map
39
+ super.merge({
40
+ :'caption_id' => :'CaptionId',
41
+ :'label' => :'Label',
42
+ :'data_as_string' => :'DataAsString',
43
+ })
44
+ end
45
+
46
+ # Attribute type mapping.
47
+ def self.swagger_types
48
+ super.merge({
49
+ :'caption_id' => :'String',
50
+ :'label' => :'String',
51
+ :'data_as_string' => :'String',
52
+ })
53
+ end
54
+
55
+ # Initializes the object
56
+ # @param [Hash] attributes Model attributes in the form of hash
57
+ def initialize(attributes = {})
58
+ super
59
+
60
+ if attributes.has_key?(:'CaptionId')
61
+ self.caption_id = attributes[:'CaptionId']
62
+ end
63
+
64
+ if attributes.has_key?(:'Label')
65
+ self.label = attributes[:'Label']
66
+ end
67
+
68
+ if attributes.has_key?(:'DataAsString')
69
+ self.data_as_string = attributes[:'DataAsString']
70
+ end
71
+ end
72
+
73
+ # Show invalid properties with the reasons. Usually used together with valid?
74
+ # @return Array for valid properties with the reasons
75
+ def list_invalid_properties
76
+ invalid_properties = super
77
+ if @caption_id.nil?
78
+ invalid_properties.push('invalid value for "caption_id", caption_id cannot be nil.')
79
+ end
80
+
81
+ invalid_properties
82
+ end
83
+
84
+ # Check to see if the all the properties in the model are valid
85
+ # @return true if the model is valid
86
+ def valid?
87
+ return false if !super
88
+ return false if @caption_id.nil?
89
+ true
90
+ end
91
+
92
+ # Checks equality by comparing each attribute.
93
+ # @param [Object] Object to be compared
94
+ def ==(o)
95
+ return true if self.equal?(o)
96
+ self.class == o.class &&
97
+ self_uri == o.self_uri &&
98
+ alternate_links == o.alternate_links &&
99
+ caption_id == o.caption_id &&
100
+ label == o.label &&
101
+ data_as_string == o.data_as_string
102
+ end
103
+
104
+ # @see the `==` method
105
+ # @param [Object] Object to be compared
106
+ def eql?(o)
107
+ self == o
108
+ end
109
+
110
+ # Calculates hash code according to all attributes.
111
+ # @return [Fixnum] Hash code
112
+ def hash
113
+ [self_uri, alternate_links, caption_id, label, data_as_string].hash
114
+ end
115
+ end
116
+ end
@@ -0,0 +1,93 @@
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
+ # Represents list of Links to Paragraphs resources
27
+ class CaptionTracks < ResourceBase
28
+ # List of caption tracks.
29
+ attr_accessor :items
30
+
31
+ # Attribute mapping from ruby-style variable name to JSON key.
32
+ def self.attribute_map
33
+ super.merge({
34
+ :'items' => :'Items',
35
+ })
36
+ end
37
+
38
+ # Attribute type mapping.
39
+ def self.swagger_types
40
+ super.merge({
41
+ :'items' => :'Array<CaptionTrack>',
42
+ })
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ def initialize(attributes = {})
48
+ super
49
+
50
+ if attributes.has_key?(:'Items')
51
+ if (value = attributes[:'Items']).is_a?(Array)
52
+ self.items = value
53
+ end
54
+ end
55
+ end
56
+
57
+ # Show invalid properties with the reasons. Usually used together with valid?
58
+ # @return Array for valid properties with the reasons
59
+ def list_invalid_properties
60
+ invalid_properties = super
61
+ invalid_properties
62
+ end
63
+
64
+ # Check to see if the all the properties in the model are valid
65
+ # @return true if the model is valid
66
+ def valid?
67
+ return false if !super
68
+ true
69
+ end
70
+
71
+ # Checks equality by comparing each attribute.
72
+ # @param [Object] Object to be compared
73
+ def ==(o)
74
+ return true if self.equal?(o)
75
+ self.class == o.class &&
76
+ self_uri == o.self_uri &&
77
+ alternate_links == o.alternate_links &&
78
+ items == o.items
79
+ end
80
+
81
+ # @see the `==` method
82
+ # @param [Object] Object to be compared
83
+ def eql?(o)
84
+ self == o
85
+ end
86
+
87
+ # Calculates hash code according to all attributes.
88
+ # @return [Fixnum] Hash code
89
+ def hash
90
+ [self_uri, alternate_links, items].hash
91
+ end
92
+ end
93
+ end
@@ -31,11 +31,15 @@ module AsposeSlidesCloud
31
31
  # True if the view content should automatically scale to best fit the current window size.
32
32
  attr_accessor :variable_scale
33
33
 
34
+ # Drawing guides
35
+ attr_accessor :drawing_guides
36
+
34
37
  # Attribute mapping from ruby-style variable name to JSON key.
35
38
  def self.attribute_map
36
39
  {
37
40
  :'scale' => :'Scale',
38
41
  :'variable_scale' => :'VariableScale',
42
+ :'drawing_guides' => :'DrawingGuides',
39
43
  }
40
44
  end
41
45
 
@@ -44,6 +48,7 @@ module AsposeSlidesCloud
44
48
  {
45
49
  :'scale' => :'Integer',
46
50
  :'variable_scale' => :'BOOLEAN',
51
+ :'drawing_guides' => :'Array<DrawingGuide>',
47
52
  }
48
53
  end
49
54
 
@@ -62,6 +67,12 @@ module AsposeSlidesCloud
62
67
  if attributes.has_key?(:'VariableScale')
63
68
  self.variable_scale = attributes[:'VariableScale']
64
69
  end
70
+
71
+ if attributes.has_key?(:'DrawingGuides')
72
+ if (value = attributes[:'DrawingGuides']).is_a?(Array)
73
+ self.drawing_guides = value
74
+ end
75
+ end
65
76
  end
66
77
 
67
78
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -83,7 +94,8 @@ module AsposeSlidesCloud
83
94
  return true if self.equal?(o)
84
95
  self.class == o.class &&
85
96
  scale == o.scale &&
86
- variable_scale == o.variable_scale
97
+ variable_scale == o.variable_scale &&
98
+ drawing_guides == o.drawing_guides
87
99
  end
88
100
 
89
101
  # @see the `==` method
@@ -95,7 +107,7 @@ module AsposeSlidesCloud
95
107
  # Calculates hash code according to all attributes.
96
108
  # @return [Fixnum] Hash code
97
109
  def hash
98
- [scale, variable_scale].hash
110
+ [scale, variable_scale, drawing_guides].hash
99
111
  end
100
112
  end
101
113
  end
@@ -0,0 +1,123 @@
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
+ # Drawing guide.
27
+ class DrawingGuide < BaseObject
28
+ # Last used view mode.
29
+ attr_accessor :orientation
30
+
31
+ # Horizontal bar state.
32
+ attr_accessor :position
33
+
34
+ # Attribute mapping from ruby-style variable name to JSON key.
35
+ def self.attribute_map
36
+ {
37
+ :'orientation' => :'Orientation',
38
+ :'position' => :'Position',
39
+ }
40
+ end
41
+
42
+ # Attribute type mapping.
43
+ def self.swagger_types
44
+ {
45
+ :'orientation' => :'String',
46
+ :'position' => :'Float',
47
+ }
48
+ end
49
+
50
+ # Initializes the object
51
+ # @param [Hash] attributes Model attributes in the form of hash
52
+ def initialize(attributes = {})
53
+ return unless attributes.is_a?(Hash)
54
+
55
+ # convert string to symbol for hash key
56
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
57
+
58
+ if attributes.has_key?(:'Orientation')
59
+ self.orientation = attributes[:'Orientation']
60
+ end
61
+
62
+ if attributes.has_key?(:'Position')
63
+ self.position = attributes[:'Position']
64
+ end
65
+ end
66
+
67
+ # Show invalid properties with the reasons. Usually used together with valid?
68
+ # @return Array for valid properties with the reasons
69
+ def list_invalid_properties
70
+ invalid_properties = Array.new
71
+ if @orientation.nil?
72
+ invalid_properties.push('invalid value for "orientation", orientation cannot be nil.')
73
+ end
74
+
75
+ if @position.nil?
76
+ invalid_properties.push('invalid value for "position", position cannot be nil.')
77
+ end
78
+
79
+ invalid_properties
80
+ end
81
+
82
+ # Check to see if the all the properties in the model are valid
83
+ # @return true if the model is valid
84
+ def valid?
85
+ return false if @orientation.nil?
86
+ orientation_validator = EnumAttributeValidator.new('String', ['Horizontal', 'Vertical'])
87
+ return false unless orientation_validator.valid?(@orientation)
88
+ return false if @position.nil?
89
+ true
90
+ end
91
+
92
+ # Custom attribute writer method checking allowed values (enum).
93
+ # @param [Object] orientation Object to be assigned
94
+ def orientation=(orientation)
95
+ validator = EnumAttributeValidator.new('String', ['Horizontal', 'Vertical'])
96
+ unless validator.valid?(orientation)
97
+ fail ArgumentError, 'invalid value for "orientation", must be one of #{validator.allowable_values}.'
98
+ end
99
+ @orientation = orientation
100
+ end
101
+
102
+ # Checks equality by comparing each attribute.
103
+ # @param [Object] Object to be compared
104
+ def ==(o)
105
+ return true if self.equal?(o)
106
+ self.class == o.class &&
107
+ orientation == o.orientation &&
108
+ position == o.position
109
+ end
110
+
111
+ # @see the `==` method
112
+ # @param [Object] Object to be compared
113
+ def eql?(o)
114
+ self == o
115
+ end
116
+
117
+ # Calculates hash code according to all attributes.
118
+ # @return [Fixnum] Hash code
119
+ def hash
120
+ [orientation, position].hash
121
+ end
122
+ end
123
+ end
@@ -258,9 +258,9 @@ module AsposeSlidesCloud
258
258
  # Check to see if the all the properties in the model are valid
259
259
  # @return true if the model is valid
260
260
  def valid?
261
- type_validator = EnumAttributeValidator.new('String', ['Appear', 'CurveUpDown', 'Ascend', 'Blast', 'Blinds', 'Blink', 'BoldFlash', 'BoldReveal', 'Boomerang', 'Bounce', 'Box', 'BrushOnColor', 'BrushOnUnderline', 'CenterRevolve', 'ChangeFillColor', 'ChangeFont', 'ChangeFontColor', 'ChangeFontSize', 'ChangeFontStyle', 'ChangeLineColor', 'Checkerboard', 'Circle', 'ColorBlend', 'ColorTypewriter', 'ColorWave', 'ComplementaryColor', 'ComplementaryColor2', 'Compress', 'ContrastingColor', 'Crawl', 'Credits', 'Custom', 'Darken', 'Desaturate', 'Descend', 'Diamond', 'Dissolve', 'EaseInOut', 'Expand', 'Fade', 'FadedSwivel', 'FadedZoom', 'FlashBulb', 'FlashOnce', 'Flicker', 'Flip', 'Float', 'Fly', 'Fold', 'Glide', 'GrowAndTurn', 'GrowShrink', 'GrowWithColor', 'Lighten', 'LightSpeed', 'MediaPause', 'MediaPlay', 'MediaStop', 'Path4PointStar', 'Path5PointStar', 'Path6PointStar', 'Path8PointStar', 'PathArcDown', 'PathArcLeft', 'PathArcRight', 'PathArcUp', 'PathBean', 'PathBounceLeft', 'PathBounceRight', 'PathBuzzsaw', 'PathCircle', 'PathCrescentMoon', 'PathCurvedSquare', 'PathCurvedX', 'PathCurvyLeft', 'PathCurvyRight', 'PathCurvyStar', 'PathDecayingWave', 'PathDiagonalDownRight', 'PathDiagonalUpRight', 'PathDiamond', 'PathDown', 'PathEqualTriangle', 'PathFigure8Four', 'PathFootball', 'PathFunnel', 'PathHeart', 'PathHeartbeat', 'PathHexagon', 'PathHorizontalFigure8', 'PathInvertedSquare', 'PathInvertedTriangle', 'PathLeft', 'PathLoopdeLoop', 'PathNeutron', 'PathOctagon', 'PathParallelogram', 'PathPeanut', 'PathPentagon', 'PathPlus', 'PathPointyStar', 'PathRight', 'PathRightTriangle', 'PathSCurve1', 'PathSCurve2', 'PathSineWave', 'PathSpiralLeft', 'PathSpiralRight', 'PathSpring', 'PathSquare', 'PathStairsDown', 'PathSwoosh', 'PathTeardrop', 'PathTrapezoid', 'PathTurnDown', 'PathTurnRight', 'PathTurnUp', 'PathTurnUpRight', 'PathUp', 'PathUser', 'PathVerticalFigure8', 'PathWave', 'PathZigzag', 'Peek', 'Pinwheel', 'Plus', 'RandomBars', 'RandomEffects', 'RiseUp', 'Shimmer', 'Sling', 'Spin', 'Spinner', 'Spiral', 'Split', 'Stretch', 'Strips', 'StyleEmphasis', 'Swish', 'Swivel', 'Teeter', 'Thread', 'Transparency', 'Unfold', 'VerticalGrow', 'Wave', 'Wedge', 'Wheel', 'Whip', 'Wipe', 'Magnify', 'Zoom', 'OLEObjectShow', 'OLEObjectEdit', 'OLEObjectOpen'])
261
+ type_validator = EnumAttributeValidator.new('String', ['Appear', 'CurveUpDown', 'Ascend', 'FloatUp', 'Blast', 'Blinds', 'Blink', 'BoldFlash', 'BoldReveal', 'Boomerang', 'Bounce', 'Box', 'BrushOnColor', 'BrushOnUnderline', 'CenterRevolve', 'ChangeFillColor', 'ChangeFont', 'ChangeFontColor', 'ChangeFontSize', 'ChangeFontStyle', 'ChangeLineColor', 'Checkerboard', 'Circle', 'ColorBlend', 'ColorTypewriter', 'ColorWave', 'ComplementaryColor', 'ComplementaryColor2', 'Compress', 'ContrastingColor', 'Crawl', 'Credits', 'Custom', 'Darken', 'Desaturate', 'Descend', 'Floatdown', 'Diamond', 'Dissolve', 'EaseInOut', 'Expand', 'Fade', 'FadedSwivel', 'FadedZoom', 'FlashBulb', 'FlashOnce', 'Flicker', 'Flip', 'Float', 'Fly', 'Fold', 'Glide', 'GrowAndTurn', 'GrowShrink', 'GrowWithColor', 'Lighten', 'LightSpeed', 'MediaPause', 'MediaPlay', 'MediaStop', 'Path4PointStar', 'Path5PointStar', 'Path6PointStar', 'Path8PointStar', 'PathArcDown', 'PathArcLeft', 'PathArcRight', 'PathArcUp', 'PathBean', 'PathBounceLeft', 'PathBounceRight', 'PathBuzzsaw', 'PathCircle', 'PathCrescentMoon', 'PathCurvedSquare', 'PathCurvedX', 'PathCurvyLeft', 'PathCurvyRight', 'PathCurvyStar', 'PathDecayingWave', 'PathDiagonalDownRight', 'PathDiagonalUpRight', 'PathDiamond', 'PathDown', 'PathEqualTriangle', 'PathFigure8Four', 'PathFootball', 'PathFunnel', 'PathHeart', 'PathHeartbeat', 'PathHexagon', 'PathHorizontalFigure8', 'PathInvertedSquare', 'PathInvertedTriangle', 'PathLeft', 'PathLoopdeLoop', 'PathNeutron', 'PathOctagon', 'PathParallelogram', 'PathPeanut', 'PathPentagon', 'PathPlus', 'PathPointyStar', 'PathRight', 'PathRightTriangle', 'PathSCurve1', 'PathSCurve2', 'PathSineWave', 'PathSpiralLeft', 'PathSpiralRight', 'PathSpring', 'PathSquare', 'PathStairsDown', 'PathSwoosh', 'PathTeardrop', 'PathTrapezoid', 'PathTurnDown', 'PathTurnRight', 'PathTurnUp', 'PathTurnUpRight', 'PathUp', 'PathUser', 'PathVerticalFigure8', 'PathWave', 'PathZigzag', 'Peek', 'Pinwheel', 'Plus', 'RandomBars', 'RandomEffects', 'RiseUp', 'Shimmer', 'Sling', 'Spin', 'Spinner', 'Spiral', 'Split', 'Stretch', 'Strips', 'StyleEmphasis', 'Swish', 'Swivel', 'Teeter', 'Thread', 'Transparency', 'Unfold', 'VerticalGrow', 'Wave', 'Wedge', 'Wheel', 'Whip', 'Wipe', 'Magnify', 'Zoom', 'OLEObjectShow', 'OLEObjectEdit', 'OLEObjectOpen'])
262
262
  return false unless type_validator.valid?(@type)
263
- subtype_validator = EnumAttributeValidator.new('String', ['None', 'Across', 'Bottom', 'BottomLeft', 'BottomRight', 'Center', 'Clockwise', 'CounterClockwise', 'GradualAndCycleClockwise', 'GradualAndCycleCounterClockwise', 'Down', 'DownLeft', 'DownRight', 'FontAllCaps', 'FontBold', 'FontItalic', 'FontShadow', 'FontStrikethrough', 'FontUnderline', 'Gradual', 'Horizontal', 'HorizontalIn', 'HorizontalOut', 'In', 'InBottom', 'InCenter', 'InSlightly', 'Instant', 'Left', 'OrdinalMask', 'Out', 'OutBottom', 'OutCenter', 'OutSlightly', 'Right', 'Slightly', 'Top', 'TopLeft', 'TopRight', 'Up', 'UpLeft', 'UpRight', 'Vertical', 'VerticalIn', 'VerticalOut', 'Wheel1', 'Wheel2', 'Wheel3', 'Wheel4', 'Wheel8'])
263
+ subtype_validator = EnumAttributeValidator.new('String', ['None', 'Across', 'Bottom', 'BottomLeft', 'BottomRight', 'Center', 'ObjectCenter', 'SlideCenter', 'Clockwise', 'CounterClockwise', 'GradualAndCycleClockwise', 'GradualAndCycleCounterClockwise', 'Down', 'DownLeft', 'DownRight', 'FontAllCaps', 'FontBold', 'FontItalic', 'FontShadow', 'FontStrikethrough', 'FontUnderline', 'Gradual', 'Horizontal', 'HorizontalIn', 'HorizontalOut', 'In', 'InBottom', 'InCenter', 'InSlightly', 'Instant', 'Left', 'OrdinalMask', 'Out', 'OutBottom', 'OutCenter', 'OutSlightly', 'Right', 'Slightly', 'Top', 'TopLeft', 'TopRight', 'Up', 'UpLeft', 'UpRight', 'Vertical', 'VerticalIn', 'VerticalOut', 'Wheel1', 'Wheel2', 'Wheel3', 'Wheel4', 'Wheel8'])
264
264
  return false unless subtype_validator.valid?(@subtype)
265
265
  preset_class_type_validator = EnumAttributeValidator.new('String', ['Entrance', 'Exit', 'Emphasis', 'Path', 'MediaCall', 'OLEActionVerbs'])
266
266
  return false unless preset_class_type_validator.valid?(@preset_class_type)
@@ -279,7 +279,7 @@ module AsposeSlidesCloud
279
279
  # Custom attribute writer method checking allowed values (enum).
280
280
  # @param [Object] type Object to be assigned
281
281
  def type=(type)
282
- validator = EnumAttributeValidator.new('String', ['Appear', 'CurveUpDown', 'Ascend', 'Blast', 'Blinds', 'Blink', 'BoldFlash', 'BoldReveal', 'Boomerang', 'Bounce', 'Box', 'BrushOnColor', 'BrushOnUnderline', 'CenterRevolve', 'ChangeFillColor', 'ChangeFont', 'ChangeFontColor', 'ChangeFontSize', 'ChangeFontStyle', 'ChangeLineColor', 'Checkerboard', 'Circle', 'ColorBlend', 'ColorTypewriter', 'ColorWave', 'ComplementaryColor', 'ComplementaryColor2', 'Compress', 'ContrastingColor', 'Crawl', 'Credits', 'Custom', 'Darken', 'Desaturate', 'Descend', 'Diamond', 'Dissolve', 'EaseInOut', 'Expand', 'Fade', 'FadedSwivel', 'FadedZoom', 'FlashBulb', 'FlashOnce', 'Flicker', 'Flip', 'Float', 'Fly', 'Fold', 'Glide', 'GrowAndTurn', 'GrowShrink', 'GrowWithColor', 'Lighten', 'LightSpeed', 'MediaPause', 'MediaPlay', 'MediaStop', 'Path4PointStar', 'Path5PointStar', 'Path6PointStar', 'Path8PointStar', 'PathArcDown', 'PathArcLeft', 'PathArcRight', 'PathArcUp', 'PathBean', 'PathBounceLeft', 'PathBounceRight', 'PathBuzzsaw', 'PathCircle', 'PathCrescentMoon', 'PathCurvedSquare', 'PathCurvedX', 'PathCurvyLeft', 'PathCurvyRight', 'PathCurvyStar', 'PathDecayingWave', 'PathDiagonalDownRight', 'PathDiagonalUpRight', 'PathDiamond', 'PathDown', 'PathEqualTriangle', 'PathFigure8Four', 'PathFootball', 'PathFunnel', 'PathHeart', 'PathHeartbeat', 'PathHexagon', 'PathHorizontalFigure8', 'PathInvertedSquare', 'PathInvertedTriangle', 'PathLeft', 'PathLoopdeLoop', 'PathNeutron', 'PathOctagon', 'PathParallelogram', 'PathPeanut', 'PathPentagon', 'PathPlus', 'PathPointyStar', 'PathRight', 'PathRightTriangle', 'PathSCurve1', 'PathSCurve2', 'PathSineWave', 'PathSpiralLeft', 'PathSpiralRight', 'PathSpring', 'PathSquare', 'PathStairsDown', 'PathSwoosh', 'PathTeardrop', 'PathTrapezoid', 'PathTurnDown', 'PathTurnRight', 'PathTurnUp', 'PathTurnUpRight', 'PathUp', 'PathUser', 'PathVerticalFigure8', 'PathWave', 'PathZigzag', 'Peek', 'Pinwheel', 'Plus', 'RandomBars', 'RandomEffects', 'RiseUp', 'Shimmer', 'Sling', 'Spin', 'Spinner', 'Spiral', 'Split', 'Stretch', 'Strips', 'StyleEmphasis', 'Swish', 'Swivel', 'Teeter', 'Thread', 'Transparency', 'Unfold', 'VerticalGrow', 'Wave', 'Wedge', 'Wheel', 'Whip', 'Wipe', 'Magnify', 'Zoom', 'OLEObjectShow', 'OLEObjectEdit', 'OLEObjectOpen'])
282
+ validator = EnumAttributeValidator.new('String', ['Appear', 'CurveUpDown', 'Ascend', 'FloatUp', 'Blast', 'Blinds', 'Blink', 'BoldFlash', 'BoldReveal', 'Boomerang', 'Bounce', 'Box', 'BrushOnColor', 'BrushOnUnderline', 'CenterRevolve', 'ChangeFillColor', 'ChangeFont', 'ChangeFontColor', 'ChangeFontSize', 'ChangeFontStyle', 'ChangeLineColor', 'Checkerboard', 'Circle', 'ColorBlend', 'ColorTypewriter', 'ColorWave', 'ComplementaryColor', 'ComplementaryColor2', 'Compress', 'ContrastingColor', 'Crawl', 'Credits', 'Custom', 'Darken', 'Desaturate', 'Descend', 'Floatdown', 'Diamond', 'Dissolve', 'EaseInOut', 'Expand', 'Fade', 'FadedSwivel', 'FadedZoom', 'FlashBulb', 'FlashOnce', 'Flicker', 'Flip', 'Float', 'Fly', 'Fold', 'Glide', 'GrowAndTurn', 'GrowShrink', 'GrowWithColor', 'Lighten', 'LightSpeed', 'MediaPause', 'MediaPlay', 'MediaStop', 'Path4PointStar', 'Path5PointStar', 'Path6PointStar', 'Path8PointStar', 'PathArcDown', 'PathArcLeft', 'PathArcRight', 'PathArcUp', 'PathBean', 'PathBounceLeft', 'PathBounceRight', 'PathBuzzsaw', 'PathCircle', 'PathCrescentMoon', 'PathCurvedSquare', 'PathCurvedX', 'PathCurvyLeft', 'PathCurvyRight', 'PathCurvyStar', 'PathDecayingWave', 'PathDiagonalDownRight', 'PathDiagonalUpRight', 'PathDiamond', 'PathDown', 'PathEqualTriangle', 'PathFigure8Four', 'PathFootball', 'PathFunnel', 'PathHeart', 'PathHeartbeat', 'PathHexagon', 'PathHorizontalFigure8', 'PathInvertedSquare', 'PathInvertedTriangle', 'PathLeft', 'PathLoopdeLoop', 'PathNeutron', 'PathOctagon', 'PathParallelogram', 'PathPeanut', 'PathPentagon', 'PathPlus', 'PathPointyStar', 'PathRight', 'PathRightTriangle', 'PathSCurve1', 'PathSCurve2', 'PathSineWave', 'PathSpiralLeft', 'PathSpiralRight', 'PathSpring', 'PathSquare', 'PathStairsDown', 'PathSwoosh', 'PathTeardrop', 'PathTrapezoid', 'PathTurnDown', 'PathTurnRight', 'PathTurnUp', 'PathTurnUpRight', 'PathUp', 'PathUser', 'PathVerticalFigure8', 'PathWave', 'PathZigzag', 'Peek', 'Pinwheel', 'Plus', 'RandomBars', 'RandomEffects', 'RiseUp', 'Shimmer', 'Sling', 'Spin', 'Spinner', 'Spiral', 'Split', 'Stretch', 'Strips', 'StyleEmphasis', 'Swish', 'Swivel', 'Teeter', 'Thread', 'Transparency', 'Unfold', 'VerticalGrow', 'Wave', 'Wedge', 'Wheel', 'Whip', 'Wipe', 'Magnify', 'Zoom', 'OLEObjectShow', 'OLEObjectEdit', 'OLEObjectOpen'])
283
283
  unless validator.valid?(type)
284
284
  fail ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
285
285
  end
@@ -289,7 +289,7 @@ module AsposeSlidesCloud
289
289
  # Custom attribute writer method checking allowed values (enum).
290
290
  # @param [Object] subtype Object to be assigned
291
291
  def subtype=(subtype)
292
- validator = EnumAttributeValidator.new('String', ['None', 'Across', 'Bottom', 'BottomLeft', 'BottomRight', 'Center', 'Clockwise', 'CounterClockwise', 'GradualAndCycleClockwise', 'GradualAndCycleCounterClockwise', 'Down', 'DownLeft', 'DownRight', 'FontAllCaps', 'FontBold', 'FontItalic', 'FontShadow', 'FontStrikethrough', 'FontUnderline', 'Gradual', 'Horizontal', 'HorizontalIn', 'HorizontalOut', 'In', 'InBottom', 'InCenter', 'InSlightly', 'Instant', 'Left', 'OrdinalMask', 'Out', 'OutBottom', 'OutCenter', 'OutSlightly', 'Right', 'Slightly', 'Top', 'TopLeft', 'TopRight', 'Up', 'UpLeft', 'UpRight', 'Vertical', 'VerticalIn', 'VerticalOut', 'Wheel1', 'Wheel2', 'Wheel3', 'Wheel4', 'Wheel8'])
292
+ validator = EnumAttributeValidator.new('String', ['None', 'Across', 'Bottom', 'BottomLeft', 'BottomRight', 'Center', 'ObjectCenter', 'SlideCenter', 'Clockwise', 'CounterClockwise', 'GradualAndCycleClockwise', 'GradualAndCycleCounterClockwise', 'Down', 'DownLeft', 'DownRight', 'FontAllCaps', 'FontBold', 'FontItalic', 'FontShadow', 'FontStrikethrough', 'FontUnderline', 'Gradual', 'Horizontal', 'HorizontalIn', 'HorizontalOut', 'In', 'InBottom', 'InCenter', 'InSlightly', 'Instant', 'Left', 'OrdinalMask', 'Out', 'OutBottom', 'OutCenter', 'OutSlightly', 'Right', 'Slightly', 'Top', 'TopLeft', 'TopRight', 'Up', 'UpLeft', 'UpRight', 'Vertical', 'VerticalIn', 'VerticalOut', 'Wheel1', 'Wheel2', 'Wheel3', 'Wheel4', 'Wheel8'])
293
293
  unless validator.valid?(subtype)
294
294
  fail ArgumentError, 'invalid value for "subtype", must be one of #{validator.allowable_values}.'
295
295
  end
@@ -52,6 +52,7 @@ module AsposeSlidesCloud
52
52
  MPEG4 = 'Mpeg4'.freeze
53
53
  MD = 'Md'.freeze
54
54
  XML = 'Xml'.freeze
55
+ EMF = 'Emf'.freeze
55
56
 
56
57
  # Builds the enum from string
57
58
  # @param [String] The enum value in the form of the string