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.
- checksums.yaml +4 -4
- data/Gemfile.lock +20 -18
- data/README.md +15 -61
- data/TestData/video.pptx +0 -0
- data/lib/aspose_slides_cloud/api/slides_api.rb +448 -123
- data/lib/aspose_slides_cloud/api/slides_async_api.rb +12 -12
- data/lib/aspose_slides_cloud/models/audio_frame.rb +51 -1
- data/lib/aspose_slides_cloud/models/caption_track.rb +116 -0
- data/lib/aspose_slides_cloud/models/caption_tracks.rb +93 -0
- data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +14 -2
- data/lib/aspose_slides_cloud/models/drawing_guide.rb +123 -0
- data/lib/aspose_slides_cloud/models/effect.rb +4 -4
- data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
- data/lib/aspose_slides_cloud/models/export_options.rb +21 -1
- data/lib/aspose_slides_cloud/models/gif_export_options.rb +3 -1
- data/lib/aspose_slides_cloud/models/html5_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/html_export_options.rb +14 -2
- data/lib/aspose_slides_cloud/models/image_export_options.rb +3 -1
- data/lib/aspose_slides_cloud/models/image_export_options_base.rb +3 -1
- data/lib/aspose_slides_cloud/models/markdown_export_options.rb +46 -2
- data/lib/aspose_slides_cloud/models/pdf_export_options.rb +14 -2
- data/lib/aspose_slides_cloud/models/picture_fill.rb +105 -1
- data/lib/aspose_slides_cloud/models/pptx_export_options.rb +14 -2
- data/lib/aspose_slides_cloud/models/save.rb +2 -2
- data/lib/aspose_slides_cloud/models/save_shape.rb +2 -2
- data/lib/aspose_slides_cloud/models/save_slide.rb +2 -2
- data/lib/aspose_slides_cloud/models/shape.rb +4 -2
- data/lib/aspose_slides_cloud/models/shape_export_format.rb +1 -0
- data/lib/aspose_slides_cloud/models/slide_export_format.rb +1 -0
- data/lib/aspose_slides_cloud/models/svg_export_options.rb +14 -2
- data/lib/aspose_slides_cloud/models/swf_export_options.rb +10 -72
- data/lib/aspose_slides_cloud/models/tiff_export_options.rb +3 -1
- data/lib/aspose_slides_cloud/models/video_export_options.rb +3 -1
- data/lib/aspose_slides_cloud/models/view_properties.rb +12 -2
- data/lib/aspose_slides_cloud/models/xaml_export_options.rb +3 -1
- data/lib/aspose_slides_cloud/models/xps_export_options.rb +3 -1
- data/lib/aspose_slides_cloud/type_registry.rb +5 -0
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/lib/aspose_slides_cloud.rb +3 -0
- data/spec/api/slides_api_spec.rb +1304 -204
- data/spec/use_cases/image_spec.rb +15 -4
- data/spec/use_cases/merge_spec.rb +1 -1
- data/testRules.json +10 -1
- metadata +6 -2
@@ -318,6 +318,82 @@ module AsposeSlidesCloud
|
|
318
318
|
:return_type => 'File')
|
319
319
|
return data, status_code, headers
|
320
320
|
end
|
321
|
+
# Deletes cropped areas of a pictire.
|
322
|
+
# @param name Document name.
|
323
|
+
# @param slide_index Slide index.
|
324
|
+
# @param shape_index Shape index (must refer to a picture frame).
|
325
|
+
# @param resolution Target resolution in DPI.
|
326
|
+
# @param delete_picture_cropped_areas true to delete picture cropped areas.
|
327
|
+
# @param password Document password.
|
328
|
+
# @param folder Document folder.
|
329
|
+
# @param storage Presentation storage.
|
330
|
+
def compress_image(name, slide_index, shape_index, resolution = nil, delete_picture_cropped_areas = nil, password = nil, folder = nil, storage = nil)
|
331
|
+
compress_image_with_http_info(name, slide_index, shape_index, resolution, delete_picture_cropped_areas, password, folder, storage)
|
332
|
+
nil
|
333
|
+
end
|
334
|
+
|
335
|
+
# Deletes cropped areas of a pictire.
|
336
|
+
# @param name Document name.
|
337
|
+
# @param slide_index Slide index.
|
338
|
+
# @param shape_index Shape index (must refer to a picture frame).
|
339
|
+
# @param resolution Target resolution in DPI.
|
340
|
+
# @param delete_picture_cropped_areas true to delete picture cropped areas.
|
341
|
+
# @param password Document password.
|
342
|
+
# @param folder Document folder.
|
343
|
+
# @param storage Presentation storage.
|
344
|
+
def compress_image_with_http_info(name, slide_index, shape_index, resolution = nil, delete_picture_cropped_areas = nil, password = nil, folder = nil, storage = nil)
|
345
|
+
if @api_client.config.debugging
|
346
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.compress_image ...'
|
347
|
+
end
|
348
|
+
|
349
|
+
# verify the required parameter 'name' is set
|
350
|
+
if @api_client.config.client_side_validation && name.nil?
|
351
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.compress_image"
|
352
|
+
end
|
353
|
+
# verify the required parameter 'slide_index' is set
|
354
|
+
if @api_client.config.client_side_validation && slide_index.nil?
|
355
|
+
fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.compress_image"
|
356
|
+
end
|
357
|
+
# verify the required parameter 'shape_index' is set
|
358
|
+
if @api_client.config.client_side_validation && shape_index.nil?
|
359
|
+
fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.compress_image"
|
360
|
+
end
|
361
|
+
# resource path
|
362
|
+
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/compressImage'
|
363
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
|
364
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
|
365
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
|
366
|
+
|
367
|
+
# query parameters
|
368
|
+
query_params = {}
|
369
|
+
query_params[:'resolution'] = @api_client.prepare_for_query(resolution) unless resolution.nil?
|
370
|
+
query_params[:'deletePictureCroppedAreas'] = @api_client.prepare_for_query(delete_picture_cropped_areas) unless delete_picture_cropped_areas.nil?
|
371
|
+
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
372
|
+
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
373
|
+
|
374
|
+
# header parameters
|
375
|
+
header_params = {}
|
376
|
+
# HTTP header 'Accept' (if needed)
|
377
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
378
|
+
# HTTP header 'Content-Type'
|
379
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
380
|
+
header_params[:'password'] = password unless password.nil?
|
381
|
+
|
382
|
+
# http body (model)
|
383
|
+
post_body = nil
|
384
|
+
|
385
|
+
# form parameters
|
386
|
+
post_files = []
|
387
|
+
|
388
|
+
auth_names = ['JWT']
|
389
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
390
|
+
:header_params => header_params,
|
391
|
+
:query_params => query_params,
|
392
|
+
:body => post_body,
|
393
|
+
:files => post_files,
|
394
|
+
:auth_names => auth_names)
|
395
|
+
return data, status_code, headers
|
396
|
+
end
|
321
397
|
# Convert presentation from request content to format specified.
|
322
398
|
# @param document Document data.
|
323
399
|
# @param format Export format.
|
@@ -353,8 +429,8 @@ module AsposeSlidesCloud
|
|
353
429
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.convert"
|
354
430
|
end
|
355
431
|
# verify enum value
|
356
|
-
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 }
|
357
|
-
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"
|
432
|
+
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 }
|
433
|
+
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"
|
358
434
|
end
|
359
435
|
# resource path
|
360
436
|
local_var_path = '/slides/convert/{format}'
|
@@ -430,8 +506,8 @@ module AsposeSlidesCloud
|
|
430
506
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.convert_and_save"
|
431
507
|
end
|
432
508
|
# verify enum value
|
433
|
-
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 }
|
434
|
-
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"
|
509
|
+
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 }
|
510
|
+
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"
|
435
511
|
end
|
436
512
|
# verify the required parameter 'out_path' is set
|
437
513
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -3205,6 +3281,86 @@ module AsposeSlidesCloud
|
|
3205
3281
|
:return_type => 'VbaModule')
|
3206
3282
|
return data, status_code, headers
|
3207
3283
|
end
|
3284
|
+
# Create video captions track.
|
3285
|
+
# @param name Document name.
|
3286
|
+
# @param slide_index Slide index.
|
3287
|
+
# @param shape_index Shape index (must refer to a picture frame).
|
3288
|
+
# @param label Caption track label.
|
3289
|
+
# @param data Caption track data.
|
3290
|
+
# @param password Document password.
|
3291
|
+
# @param folder Document folder.
|
3292
|
+
# @param storage Presentation storage.
|
3293
|
+
def create_video_caption_track(name, slide_index, shape_index, label, data = nil, password = nil, folder = nil, storage = nil)
|
3294
|
+
data, _status_code, _headers = create_video_caption_track_with_http_info(name, slide_index, shape_index, label, data, password, folder, storage)
|
3295
|
+
data
|
3296
|
+
end
|
3297
|
+
|
3298
|
+
# Create video captions track.
|
3299
|
+
# @param name Document name.
|
3300
|
+
# @param slide_index Slide index.
|
3301
|
+
# @param shape_index Shape index (must refer to a picture frame).
|
3302
|
+
# @param label Caption track label.
|
3303
|
+
# @param data Caption track data.
|
3304
|
+
# @param password Document password.
|
3305
|
+
# @param folder Document folder.
|
3306
|
+
# @param storage Presentation storage.
|
3307
|
+
def create_video_caption_track_with_http_info(name, slide_index, shape_index, label, data = nil, password = nil, folder = nil, storage = nil)
|
3308
|
+
if @api_client.config.debugging
|
3309
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.create_video_caption_track ...'
|
3310
|
+
end
|
3311
|
+
|
3312
|
+
# verify the required parameter 'name' is set
|
3313
|
+
if @api_client.config.client_side_validation && name.nil?
|
3314
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.create_video_caption_track"
|
3315
|
+
end
|
3316
|
+
# verify the required parameter 'slide_index' is set
|
3317
|
+
if @api_client.config.client_side_validation && slide_index.nil?
|
3318
|
+
fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.create_video_caption_track"
|
3319
|
+
end
|
3320
|
+
# verify the required parameter 'shape_index' is set
|
3321
|
+
if @api_client.config.client_side_validation && shape_index.nil?
|
3322
|
+
fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.create_video_caption_track"
|
3323
|
+
end
|
3324
|
+
# verify the required parameter 'label' is set
|
3325
|
+
if @api_client.config.client_side_validation && label.nil?
|
3326
|
+
fail ArgumentError, "Missing the required parameter 'label' when calling SlidesApi.create_video_caption_track"
|
3327
|
+
end
|
3328
|
+
# resource path
|
3329
|
+
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks'
|
3330
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
|
3331
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
|
3332
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
|
3333
|
+
|
3334
|
+
# query parameters
|
3335
|
+
query_params = {}
|
3336
|
+
query_params[:'label'] = @api_client.prepare_for_query(label) unless label.nil?
|
3337
|
+
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
3338
|
+
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
3339
|
+
|
3340
|
+
# header parameters
|
3341
|
+
header_params = {}
|
3342
|
+
# HTTP header 'Accept' (if needed)
|
3343
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3344
|
+
# HTTP header 'Content-Type'
|
3345
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
3346
|
+
header_params[:'password'] = password unless password.nil?
|
3347
|
+
|
3348
|
+
# http body (model)
|
3349
|
+
post_body = @api_client.object_to_http_body(data)
|
3350
|
+
|
3351
|
+
# form parameters
|
3352
|
+
post_files = []
|
3353
|
+
|
3354
|
+
auth_names = ['JWT']
|
3355
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
3356
|
+
:header_params => header_params,
|
3357
|
+
:query_params => query_params,
|
3358
|
+
:body => post_body,
|
3359
|
+
:files => post_files,
|
3360
|
+
:auth_names => auth_names,
|
3361
|
+
:return_type => 'CaptionTrack')
|
3362
|
+
return data, status_code, headers
|
3363
|
+
end
|
3208
3364
|
# Adds a text watermark to each slide of the presentation. Text watermark can be setup via method arguments or withing Shape DTO for detailed customization. Both options are applicable simultaneously.
|
3209
3365
|
# @param name Document name.
|
3210
3366
|
# @param shape Shape DTO
|
@@ -4747,76 +4903,6 @@ module AsposeSlidesCloud
|
|
4747
4903
|
:return_type => 'Paragraphs')
|
4748
4904
|
return data, status_code, headers
|
4749
4905
|
end
|
4750
|
-
# Deletes cropped areas of a pictire.
|
4751
|
-
# @param name Document name.
|
4752
|
-
# @param slide_index Slide index.
|
4753
|
-
# @param shape_index Shape index (must refer to a picture frame).
|
4754
|
-
# @param password Document password.
|
4755
|
-
# @param folder Document folder.
|
4756
|
-
# @param storage Presentation storage.
|
4757
|
-
def delete_picture_cropped_areas(name, slide_index, shape_index, password = nil, folder = nil, storage = nil)
|
4758
|
-
delete_picture_cropped_areas_with_http_info(name, slide_index, shape_index, password, folder, storage)
|
4759
|
-
nil
|
4760
|
-
end
|
4761
|
-
|
4762
|
-
# Deletes cropped areas of a pictire.
|
4763
|
-
# @param name Document name.
|
4764
|
-
# @param slide_index Slide index.
|
4765
|
-
# @param shape_index Shape index (must refer to a picture frame).
|
4766
|
-
# @param password Document password.
|
4767
|
-
# @param folder Document folder.
|
4768
|
-
# @param storage Presentation storage.
|
4769
|
-
def delete_picture_cropped_areas_with_http_info(name, slide_index, shape_index, password = nil, folder = nil, storage = nil)
|
4770
|
-
if @api_client.config.debugging
|
4771
|
-
@api_client.config.logger.debug 'Calling API: SlidesApi.delete_picture_cropped_areas ...'
|
4772
|
-
end
|
4773
|
-
|
4774
|
-
# verify the required parameter 'name' is set
|
4775
|
-
if @api_client.config.client_side_validation && name.nil?
|
4776
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_picture_cropped_areas"
|
4777
|
-
end
|
4778
|
-
# verify the required parameter 'slide_index' is set
|
4779
|
-
if @api_client.config.client_side_validation && slide_index.nil?
|
4780
|
-
fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_picture_cropped_areas"
|
4781
|
-
end
|
4782
|
-
# verify the required parameter 'shape_index' is set
|
4783
|
-
if @api_client.config.client_side_validation && shape_index.nil?
|
4784
|
-
fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_picture_cropped_areas"
|
4785
|
-
end
|
4786
|
-
# resource path
|
4787
|
-
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/pictureCroppedAreas'
|
4788
|
-
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
|
4789
|
-
local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
|
4790
|
-
local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
|
4791
|
-
|
4792
|
-
# query parameters
|
4793
|
-
query_params = {}
|
4794
|
-
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
4795
|
-
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
4796
|
-
|
4797
|
-
# header parameters
|
4798
|
-
header_params = {}
|
4799
|
-
# HTTP header 'Accept' (if needed)
|
4800
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
4801
|
-
# HTTP header 'Content-Type'
|
4802
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
4803
|
-
header_params[:'password'] = password unless password.nil?
|
4804
|
-
|
4805
|
-
# http body (model)
|
4806
|
-
post_body = nil
|
4807
|
-
|
4808
|
-
# form parameters
|
4809
|
-
post_files = []
|
4810
|
-
|
4811
|
-
auth_names = ['JWT']
|
4812
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
4813
|
-
:header_params => header_params,
|
4814
|
-
:query_params => query_params,
|
4815
|
-
:body => post_body,
|
4816
|
-
:files => post_files,
|
4817
|
-
:auth_names => auth_names)
|
4818
|
-
return data, status_code, headers
|
4819
|
-
end
|
4820
4906
|
# Remove a portion.
|
4821
4907
|
# @param name Document name.
|
4822
4908
|
# @param slide_index Slide index.
|
@@ -7288,6 +7374,153 @@ module AsposeSlidesCloud
|
|
7288
7374
|
:return_type => 'VbaProject')
|
7289
7375
|
return data, status_code, headers
|
7290
7376
|
end
|
7377
|
+
# Delete video captions track.
|
7378
|
+
# @param name Document name.
|
7379
|
+
# @param slide_index Slide index.
|
7380
|
+
# @param shape_index Shape index (must refer to a video frame).
|
7381
|
+
# @param captions_index Captions track index.
|
7382
|
+
# @param password Document password.
|
7383
|
+
# @param folder Document folder.
|
7384
|
+
# @param storage Presentation storage.
|
7385
|
+
def delete_video_caption_track(name, slide_index, shape_index, captions_index, password = nil, folder = nil, storage = nil)
|
7386
|
+
delete_video_caption_track_with_http_info(name, slide_index, shape_index, captions_index, password, folder, storage)
|
7387
|
+
nil
|
7388
|
+
end
|
7389
|
+
|
7390
|
+
# Delete video captions track.
|
7391
|
+
# @param name Document name.
|
7392
|
+
# @param slide_index Slide index.
|
7393
|
+
# @param shape_index Shape index (must refer to a video frame).
|
7394
|
+
# @param captions_index Captions track index.
|
7395
|
+
# @param password Document password.
|
7396
|
+
# @param folder Document folder.
|
7397
|
+
# @param storage Presentation storage.
|
7398
|
+
def delete_video_caption_track_with_http_info(name, slide_index, shape_index, captions_index, password = nil, folder = nil, storage = nil)
|
7399
|
+
if @api_client.config.debugging
|
7400
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.delete_video_caption_track ...'
|
7401
|
+
end
|
7402
|
+
|
7403
|
+
# verify the required parameter 'name' is set
|
7404
|
+
if @api_client.config.client_side_validation && name.nil?
|
7405
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_video_caption_track"
|
7406
|
+
end
|
7407
|
+
# verify the required parameter 'slide_index' is set
|
7408
|
+
if @api_client.config.client_side_validation && slide_index.nil?
|
7409
|
+
fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_video_caption_track"
|
7410
|
+
end
|
7411
|
+
# verify the required parameter 'shape_index' is set
|
7412
|
+
if @api_client.config.client_side_validation && shape_index.nil?
|
7413
|
+
fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_video_caption_track"
|
7414
|
+
end
|
7415
|
+
# verify the required parameter 'captions_index' is set
|
7416
|
+
if @api_client.config.client_side_validation && captions_index.nil?
|
7417
|
+
fail ArgumentError, "Missing the required parameter 'captions_index' when calling SlidesApi.delete_video_caption_track"
|
7418
|
+
end
|
7419
|
+
# resource path
|
7420
|
+
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks/{captionsIndex}'
|
7421
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
|
7422
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
|
7423
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
|
7424
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'captionsIndex', captions_index)
|
7425
|
+
|
7426
|
+
# query parameters
|
7427
|
+
query_params = {}
|
7428
|
+
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
7429
|
+
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
7430
|
+
|
7431
|
+
# header parameters
|
7432
|
+
header_params = {}
|
7433
|
+
# HTTP header 'Accept' (if needed)
|
7434
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
7435
|
+
# HTTP header 'Content-Type'
|
7436
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
7437
|
+
header_params[:'password'] = password unless password.nil?
|
7438
|
+
|
7439
|
+
# http body (model)
|
7440
|
+
post_body = nil
|
7441
|
+
|
7442
|
+
# form parameters
|
7443
|
+
post_files = []
|
7444
|
+
|
7445
|
+
auth_names = ['JWT']
|
7446
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
7447
|
+
:header_params => header_params,
|
7448
|
+
:query_params => query_params,
|
7449
|
+
:body => post_body,
|
7450
|
+
:files => post_files,
|
7451
|
+
:auth_names => auth_names)
|
7452
|
+
return data, status_code, headers
|
7453
|
+
end
|
7454
|
+
# Delete all video captions tracks.
|
7455
|
+
# @param name Document name.
|
7456
|
+
# @param slide_index Slide index.
|
7457
|
+
# @param shape_index Shape index (must refer to a video frame).
|
7458
|
+
# @param password Document password.
|
7459
|
+
# @param folder Document folder.
|
7460
|
+
# @param storage Presentation storage.
|
7461
|
+
def delete_video_caption_tracks(name, slide_index, shape_index, password = nil, folder = nil, storage = nil)
|
7462
|
+
delete_video_caption_tracks_with_http_info(name, slide_index, shape_index, password, folder, storage)
|
7463
|
+
nil
|
7464
|
+
end
|
7465
|
+
|
7466
|
+
# Delete all video captions tracks.
|
7467
|
+
# @param name Document name.
|
7468
|
+
# @param slide_index Slide index.
|
7469
|
+
# @param shape_index Shape index (must refer to a video frame).
|
7470
|
+
# @param password Document password.
|
7471
|
+
# @param folder Document folder.
|
7472
|
+
# @param storage Presentation storage.
|
7473
|
+
def delete_video_caption_tracks_with_http_info(name, slide_index, shape_index, password = nil, folder = nil, storage = nil)
|
7474
|
+
if @api_client.config.debugging
|
7475
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.delete_video_caption_tracks ...'
|
7476
|
+
end
|
7477
|
+
|
7478
|
+
# verify the required parameter 'name' is set
|
7479
|
+
if @api_client.config.client_side_validation && name.nil?
|
7480
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_video_caption_tracks"
|
7481
|
+
end
|
7482
|
+
# verify the required parameter 'slide_index' is set
|
7483
|
+
if @api_client.config.client_side_validation && slide_index.nil?
|
7484
|
+
fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_video_caption_tracks"
|
7485
|
+
end
|
7486
|
+
# verify the required parameter 'shape_index' is set
|
7487
|
+
if @api_client.config.client_side_validation && shape_index.nil?
|
7488
|
+
fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_video_caption_tracks"
|
7489
|
+
end
|
7490
|
+
# resource path
|
7491
|
+
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks'
|
7492
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
|
7493
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
|
7494
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
|
7495
|
+
|
7496
|
+
# query parameters
|
7497
|
+
query_params = {}
|
7498
|
+
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
7499
|
+
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
7500
|
+
|
7501
|
+
# header parameters
|
7502
|
+
header_params = {}
|
7503
|
+
# HTTP header 'Accept' (if needed)
|
7504
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
7505
|
+
# HTTP header 'Content-Type'
|
7506
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
7507
|
+
header_params[:'password'] = password unless password.nil?
|
7508
|
+
|
7509
|
+
# http body (model)
|
7510
|
+
post_body = nil
|
7511
|
+
|
7512
|
+
# form parameters
|
7513
|
+
post_files = []
|
7514
|
+
|
7515
|
+
auth_names = ['JWT']
|
7516
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
7517
|
+
:header_params => header_params,
|
7518
|
+
:query_params => query_params,
|
7519
|
+
:body => post_body,
|
7520
|
+
:files => post_files,
|
7521
|
+
:auth_names => auth_names)
|
7522
|
+
return data, status_code, headers
|
7523
|
+
end
|
7291
7524
|
# Removes shapes with name \"watermark\" from the presentation.
|
7292
7525
|
# @param name Document name.
|
7293
7526
|
# @param shape_name Name of the watermark shape. If null, default value \"watermark\"is used.
|
@@ -7464,8 +7697,9 @@ module AsposeSlidesCloud
|
|
7464
7697
|
# @param password Document password.
|
7465
7698
|
# @param folder Document folder.
|
7466
7699
|
# @param storage Document storage.
|
7467
|
-
|
7468
|
-
|
7700
|
+
# @param quality Image quality (0 to 100; has effect only on Jpeg format).
|
7701
|
+
def download_image(name, index, format, password = nil, folder = nil, storage = nil, quality = nil)
|
7702
|
+
data, _status_code, _headers = download_image_with_http_info(name, index, format, password, folder, storage, quality)
|
7469
7703
|
data
|
7470
7704
|
end
|
7471
7705
|
|
@@ -7476,7 +7710,8 @@ module AsposeSlidesCloud
|
|
7476
7710
|
# @param password Document password.
|
7477
7711
|
# @param folder Document folder.
|
7478
7712
|
# @param storage Document storage.
|
7479
|
-
|
7713
|
+
# @param quality Image quality (0 to 100; has effect only on Jpeg format).
|
7714
|
+
def download_image_with_http_info(name, index, format, password = nil, folder = nil, storage = nil, quality = nil)
|
7480
7715
|
if @api_client.config.debugging
|
7481
7716
|
@api_client.config.logger.debug 'Calling API: SlidesApi.download_image ...'
|
7482
7717
|
end
|
@@ -7507,6 +7742,7 @@ module AsposeSlidesCloud
|
|
7507
7742
|
query_params = {}
|
7508
7743
|
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
7509
7744
|
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
7745
|
+
query_params[:'quality'] = @api_client.prepare_for_query(quality) unless quality.nil?
|
7510
7746
|
|
7511
7747
|
# header parameters
|
7512
7748
|
header_params = {}
|
@@ -7661,8 +7897,9 @@ module AsposeSlidesCloud
|
|
7661
7897
|
# @param index Image index.
|
7662
7898
|
# @param format Export format (png, jpg, gif).
|
7663
7899
|
# @param password Document password.
|
7664
|
-
|
7665
|
-
|
7900
|
+
# @param quality Image quality (0 to 100; has effect only on Jpeg format).
|
7901
|
+
def download_image_online(document, index, format, password = nil, quality = nil)
|
7902
|
+
data, _status_code, _headers = download_image_online_with_http_info(document, index, format, password, quality)
|
7666
7903
|
data
|
7667
7904
|
end
|
7668
7905
|
|
@@ -7671,7 +7908,8 @@ module AsposeSlidesCloud
|
|
7671
7908
|
# @param index Image index.
|
7672
7909
|
# @param format Export format (png, jpg, gif).
|
7673
7910
|
# @param password Document password.
|
7674
|
-
|
7911
|
+
# @param quality Image quality (0 to 100; has effect only on Jpeg format).
|
7912
|
+
def download_image_online_with_http_info(document, index, format, password = nil, quality = nil)
|
7675
7913
|
if @api_client.config.debugging
|
7676
7914
|
@api_client.config.logger.debug 'Calling API: SlidesApi.download_image_online ...'
|
7677
7915
|
end
|
@@ -7699,6 +7937,7 @@ module AsposeSlidesCloud
|
|
7699
7937
|
|
7700
7938
|
# query parameters
|
7701
7939
|
query_params = {}
|
7940
|
+
query_params[:'quality'] = @api_client.prepare_for_query(quality) unless quality.nil?
|
7702
7941
|
|
7703
7942
|
# header parameters
|
7704
7943
|
header_params = {}
|
@@ -7733,8 +7972,9 @@ module AsposeSlidesCloud
|
|
7733
7972
|
# @param password Document password.
|
7734
7973
|
# @param folder Document folder.
|
7735
7974
|
# @param storage Document storage.
|
7736
|
-
|
7737
|
-
|
7975
|
+
# @param quality Image quality (0 to 100; has effect only on Jpeg format).
|
7976
|
+
def download_images(name, format, password = nil, folder = nil, storage = nil, quality = nil)
|
7977
|
+
data, _status_code, _headers = download_images_with_http_info(name, format, password, folder, storage, quality)
|
7738
7978
|
data
|
7739
7979
|
end
|
7740
7980
|
|
@@ -7744,7 +7984,8 @@ module AsposeSlidesCloud
|
|
7744
7984
|
# @param password Document password.
|
7745
7985
|
# @param folder Document folder.
|
7746
7986
|
# @param storage Document storage.
|
7747
|
-
|
7987
|
+
# @param quality Image quality (0 to 100; has effect only on Jpeg format).
|
7988
|
+
def download_images_with_http_info(name, format, password = nil, folder = nil, storage = nil, quality = nil)
|
7748
7989
|
if @api_client.config.debugging
|
7749
7990
|
@api_client.config.logger.debug 'Calling API: SlidesApi.download_images ...'
|
7750
7991
|
end
|
@@ -7770,6 +8011,7 @@ module AsposeSlidesCloud
|
|
7770
8011
|
query_params = {}
|
7771
8012
|
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
7772
8013
|
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
8014
|
+
query_params[:'quality'] = @api_client.prepare_for_query(quality) unless quality.nil?
|
7773
8015
|
|
7774
8016
|
# header parameters
|
7775
8017
|
header_params = {}
|
@@ -7909,8 +8151,9 @@ module AsposeSlidesCloud
|
|
7909
8151
|
# @param document Document data.
|
7910
8152
|
# @param format Export format (png, jpg, gif).
|
7911
8153
|
# @param password Document password.
|
7912
|
-
|
7913
|
-
|
8154
|
+
# @param quality Image quality (0 to 100; has effect only on Jpeg format).
|
8155
|
+
def download_images_online(document, format, password = nil, quality = nil)
|
8156
|
+
data, _status_code, _headers = download_images_online_with_http_info(document, format, password, quality)
|
7914
8157
|
data
|
7915
8158
|
end
|
7916
8159
|
|
@@ -7918,7 +8161,8 @@ module AsposeSlidesCloud
|
|
7918
8161
|
# @param document Document data.
|
7919
8162
|
# @param format Export format (png, jpg, gif).
|
7920
8163
|
# @param password Document password.
|
7921
|
-
|
8164
|
+
# @param quality Image quality (0 to 100; has effect only on Jpeg format).
|
8165
|
+
def download_images_online_with_http_info(document, format, password = nil, quality = nil)
|
7922
8166
|
if @api_client.config.debugging
|
7923
8167
|
@api_client.config.logger.debug 'Calling API: SlidesApi.download_images_online ...'
|
7924
8168
|
end
|
@@ -7941,6 +8185,7 @@ module AsposeSlidesCloud
|
|
7941
8185
|
|
7942
8186
|
# query parameters
|
7943
8187
|
query_params = {}
|
8188
|
+
query_params[:'quality'] = @api_client.prepare_for_query(quality) unless quality.nil?
|
7944
8189
|
|
7945
8190
|
# header parameters
|
7946
8191
|
header_params = {}
|
@@ -8266,8 +8511,8 @@ module AsposeSlidesCloud
|
|
8266
8511
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_presentation"
|
8267
8512
|
end
|
8268
8513
|
# verify enum value
|
8269
|
-
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 }
|
8270
|
-
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"
|
8514
|
+
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 }
|
8515
|
+
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"
|
8271
8516
|
end
|
8272
8517
|
# resource path
|
8273
8518
|
local_var_path = '/slides/{name}/{format}'
|
@@ -8360,8 +8605,8 @@ module AsposeSlidesCloud
|
|
8360
8605
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_shape"
|
8361
8606
|
end
|
8362
8607
|
# verify enum value
|
8363
|
-
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
|
8364
|
-
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
|
8608
|
+
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf'].any?{ |s| s.casecmp(format)==0 }
|
8609
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg, Emf"
|
8365
8610
|
end
|
8366
8611
|
if @api_client.config.client_side_validation && bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(bounds)==0 }
|
8367
8612
|
fail ArgumentError, "Invalid value for parameter bounds: " + bounds + ". Must be one of Slide, Shape, Appearance"
|
@@ -8428,8 +8673,8 @@ module AsposeSlidesCloud
|
|
8428
8673
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_shape_from_dto"
|
8429
8674
|
end
|
8430
8675
|
# verify enum value
|
8431
|
-
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
|
8432
|
-
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
|
8676
|
+
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf'].any?{ |s| s.casecmp(format)==0 }
|
8677
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg, Emf"
|
8433
8678
|
end
|
8434
8679
|
# verify the required parameter 'dto' is set
|
8435
8680
|
if @api_client.config.client_side_validation && dto.nil?
|
@@ -8516,8 +8761,8 @@ module AsposeSlidesCloud
|
|
8516
8761
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_shape_online"
|
8517
8762
|
end
|
8518
8763
|
# verify enum value
|
8519
|
-
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
|
8520
|
-
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
|
8764
|
+
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf'].any?{ |s| s.casecmp(format)==0 }
|
8765
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg, Emf"
|
8521
8766
|
end
|
8522
8767
|
if @api_client.config.client_side_validation && bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(bounds)==0 }
|
8523
8768
|
fail ArgumentError, "Invalid value for parameter bounds: " + bounds + ". Must be one of Slide, Shape, Appearance"
|
@@ -8608,8 +8853,8 @@ module AsposeSlidesCloud
|
|
8608
8853
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_slide"
|
8609
8854
|
end
|
8610
8855
|
# verify enum value
|
8611
|
-
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 }
|
8612
|
-
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"
|
8856
|
+
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 }
|
8857
|
+
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"
|
8613
8858
|
end
|
8614
8859
|
# resource path
|
8615
8860
|
local_var_path = '/slides/{name}/slides/{slideIndex}/{format}'
|
@@ -8692,8 +8937,8 @@ module AsposeSlidesCloud
|
|
8692
8937
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_slide_online"
|
8693
8938
|
end
|
8694
8939
|
# verify enum value
|
8695
|
-
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 }
|
8696
|
-
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"
|
8940
|
+
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 }
|
8941
|
+
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"
|
8697
8942
|
end
|
8698
8943
|
# resource path
|
8699
8944
|
local_var_path = '/slides/slides/{slideIndex}/{format}'
|
@@ -8799,8 +9044,8 @@ module AsposeSlidesCloud
|
|
8799
9044
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_special_slide_shape"
|
8800
9045
|
end
|
8801
9046
|
# verify enum value
|
8802
|
-
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
|
8803
|
-
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
|
9047
|
+
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf'].any?{ |s| s.casecmp(format)==0 }
|
9048
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg, Emf"
|
8804
9049
|
end
|
8805
9050
|
if @api_client.config.client_side_validation && bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(bounds)==0 }
|
8806
9051
|
fail ArgumentError, "Invalid value for parameter bounds: " + bounds + ". Must be one of Slide, Shape, Appearance"
|
@@ -11397,7 +11642,7 @@ module AsposeSlidesCloud
|
|
11397
11642
|
# @param folder Document folder.
|
11398
11643
|
# @param storage Document storage.
|
11399
11644
|
# @param shape_type Shape type.
|
11400
|
-
# @param sub_shape Sub-shape path (e.g. \"3\", \"3/shapes/2).
|
11645
|
+
# @param sub_shape Sub-shape path (e.g. \"3\", \"3/shapes/2\").
|
11401
11646
|
def get_shapes(name, slide_index, password = nil, folder = nil, storage = nil, shape_type = nil, sub_shape = nil)
|
11402
11647
|
data, _status_code, _headers = get_shapes_with_http_info(name, slide_index, password, folder, storage, shape_type, sub_shape)
|
11403
11648
|
data
|
@@ -11410,7 +11655,7 @@ module AsposeSlidesCloud
|
|
11410
11655
|
# @param folder Document folder.
|
11411
11656
|
# @param storage Document storage.
|
11412
11657
|
# @param shape_type Shape type.
|
11413
|
-
# @param sub_shape Sub-shape path (e.g. \"3\", \"3/shapes/2).
|
11658
|
+
# @param sub_shape Sub-shape path (e.g. \"3\", \"3/shapes/2\").
|
11414
11659
|
def get_shapes_with_http_info(name, slide_index, password = nil, folder = nil, storage = nil, shape_type = nil, sub_shape = nil)
|
11415
11660
|
if @api_client.config.debugging
|
11416
11661
|
@api_client.config.logger.debug 'Calling API: SlidesApi.get_shapes ...'
|
@@ -13122,6 +13367,80 @@ module AsposeSlidesCloud
|
|
13122
13367
|
:return_type => 'VbaProject')
|
13123
13368
|
return data, status_code, headers
|
13124
13369
|
end
|
13370
|
+
# Gets video captions tracks.
|
13371
|
+
# @param name Document name.
|
13372
|
+
# @param slide_index Slide index.
|
13373
|
+
# @param shape_index Shape index (must refer to a picture frame).
|
13374
|
+
# @param include_data true to include caption data string values in the response.
|
13375
|
+
# @param password Document password.
|
13376
|
+
# @param folder Document folder.
|
13377
|
+
# @param storage Presentation storage.
|
13378
|
+
def get_video_caption_tracks(name, slide_index, shape_index, include_data = nil, password = nil, folder = nil, storage = nil)
|
13379
|
+
data, _status_code, _headers = get_video_caption_tracks_with_http_info(name, slide_index, shape_index, include_data, password, folder, storage)
|
13380
|
+
data
|
13381
|
+
end
|
13382
|
+
|
13383
|
+
# Gets video captions tracks.
|
13384
|
+
# @param name Document name.
|
13385
|
+
# @param slide_index Slide index.
|
13386
|
+
# @param shape_index Shape index (must refer to a picture frame).
|
13387
|
+
# @param include_data true to include caption data string values in the response.
|
13388
|
+
# @param password Document password.
|
13389
|
+
# @param folder Document folder.
|
13390
|
+
# @param storage Presentation storage.
|
13391
|
+
def get_video_caption_tracks_with_http_info(name, slide_index, shape_index, include_data = nil, password = nil, folder = nil, storage = nil)
|
13392
|
+
if @api_client.config.debugging
|
13393
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.get_video_caption_tracks ...'
|
13394
|
+
end
|
13395
|
+
|
13396
|
+
# verify the required parameter 'name' is set
|
13397
|
+
if @api_client.config.client_side_validation && name.nil?
|
13398
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_video_caption_tracks"
|
13399
|
+
end
|
13400
|
+
# verify the required parameter 'slide_index' is set
|
13401
|
+
if @api_client.config.client_side_validation && slide_index.nil?
|
13402
|
+
fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_video_caption_tracks"
|
13403
|
+
end
|
13404
|
+
# verify the required parameter 'shape_index' is set
|
13405
|
+
if @api_client.config.client_side_validation && shape_index.nil?
|
13406
|
+
fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_video_caption_tracks"
|
13407
|
+
end
|
13408
|
+
# resource path
|
13409
|
+
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks'
|
13410
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
|
13411
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
|
13412
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
|
13413
|
+
|
13414
|
+
# query parameters
|
13415
|
+
query_params = {}
|
13416
|
+
query_params[:'includeData'] = @api_client.prepare_for_query(include_data) unless include_data.nil?
|
13417
|
+
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
13418
|
+
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
13419
|
+
|
13420
|
+
# header parameters
|
13421
|
+
header_params = {}
|
13422
|
+
# HTTP header 'Accept' (if needed)
|
13423
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
13424
|
+
# HTTP header 'Content-Type'
|
13425
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
13426
|
+
header_params[:'password'] = password unless password.nil?
|
13427
|
+
|
13428
|
+
# http body (model)
|
13429
|
+
post_body = nil
|
13430
|
+
|
13431
|
+
# form parameters
|
13432
|
+
post_files = []
|
13433
|
+
|
13434
|
+
auth_names = ['JWT']
|
13435
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
13436
|
+
:header_params => header_params,
|
13437
|
+
:query_params => query_params,
|
13438
|
+
:body => post_body,
|
13439
|
+
:files => post_files,
|
13440
|
+
:auth_names => auth_names,
|
13441
|
+
:return_type => 'CaptionTracks')
|
13442
|
+
return data, status_code, headers
|
13443
|
+
end
|
13125
13444
|
# Read presentation view properties.
|
13126
13445
|
# @param name Document name.
|
13127
13446
|
# @param password Document password.
|
@@ -13515,8 +13834,10 @@ module AsposeSlidesCloud
|
|
13515
13834
|
# @param password Document password.
|
13516
13835
|
# @param folder Document folder.
|
13517
13836
|
# @param storage Document storage.
|
13518
|
-
|
13519
|
-
|
13837
|
+
# @param position Slide index before which the HTML should be added (add to the end by default).
|
13838
|
+
# @param use_slide_with_index_as_start true to insert data starting from an empty space on the slide with the specified index; false to add data to the created slides.
|
13839
|
+
def import_from_html(name, html = nil, password = nil, folder = nil, storage = nil, position = nil, use_slide_with_index_as_start = nil)
|
13840
|
+
data, _status_code, _headers = import_from_html_with_http_info(name, html, password, folder, storage, position, use_slide_with_index_as_start)
|
13520
13841
|
data
|
13521
13842
|
end
|
13522
13843
|
|
@@ -13526,7 +13847,9 @@ module AsposeSlidesCloud
|
|
13526
13847
|
# @param password Document password.
|
13527
13848
|
# @param folder Document folder.
|
13528
13849
|
# @param storage Document storage.
|
13529
|
-
|
13850
|
+
# @param position Slide index before which the HTML should be added (add to the end by default).
|
13851
|
+
# @param use_slide_with_index_as_start true to insert data starting from an empty space on the slide with the specified index; false to add data to the created slides.
|
13852
|
+
def import_from_html_with_http_info(name, html = nil, password = nil, folder = nil, storage = nil, position = nil, use_slide_with_index_as_start = nil)
|
13530
13853
|
if @api_client.config.debugging
|
13531
13854
|
@api_client.config.logger.debug 'Calling API: SlidesApi.import_from_html ...'
|
13532
13855
|
end
|
@@ -13543,6 +13866,8 @@ module AsposeSlidesCloud
|
|
13543
13866
|
query_params = {}
|
13544
13867
|
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
13545
13868
|
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
13869
|
+
query_params[:'position'] = @api_client.prepare_for_query(position) unless position.nil?
|
13870
|
+
query_params[:'useSlideWithIndexAsStart'] = @api_client.prepare_for_query(use_slide_with_index_as_start) unless use_slide_with_index_as_start.nil?
|
13546
13871
|
|
13547
13872
|
# header parameters
|
13548
13873
|
header_params = {}
|
@@ -15624,8 +15949,8 @@ module AsposeSlidesCloud
|
|
15624
15949
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_presentation"
|
15625
15950
|
end
|
15626
15951
|
# verify enum value
|
15627
|
-
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 }
|
15628
|
-
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"
|
15952
|
+
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 }
|
15953
|
+
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"
|
15629
15954
|
end
|
15630
15955
|
# verify the required parameter 'out_path' is set
|
15631
15956
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -15724,8 +16049,8 @@ module AsposeSlidesCloud
|
|
15724
16049
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_shape"
|
15725
16050
|
end
|
15726
16051
|
# verify enum value
|
15727
|
-
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
|
15728
|
-
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
|
16052
|
+
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf'].any?{ |s| s.casecmp(format)==0 }
|
16053
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg, Emf"
|
15729
16054
|
end
|
15730
16055
|
# verify the required parameter 'out_path' is set
|
15731
16056
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -15828,8 +16153,8 @@ module AsposeSlidesCloud
|
|
15828
16153
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_shape_online"
|
15829
16154
|
end
|
15830
16155
|
# verify enum value
|
15831
|
-
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
|
15832
|
-
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
|
16156
|
+
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf'].any?{ |s| s.casecmp(format)==0 }
|
16157
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg, Emf"
|
15833
16158
|
end
|
15834
16159
|
# verify the required parameter 'out_path' is set
|
15835
16160
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -15926,8 +16251,8 @@ module AsposeSlidesCloud
|
|
15926
16251
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_slide"
|
15927
16252
|
end
|
15928
16253
|
# verify enum value
|
15929
|
-
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 }
|
15930
|
-
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"
|
16254
|
+
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 }
|
16255
|
+
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"
|
15931
16256
|
end
|
15932
16257
|
# verify the required parameter 'out_path' is set
|
15933
16258
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -16016,8 +16341,8 @@ module AsposeSlidesCloud
|
|
16016
16341
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_slide_online"
|
16017
16342
|
end
|
16018
16343
|
# verify enum value
|
16019
|
-
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 }
|
16020
|
-
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"
|
16344
|
+
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 }
|
16345
|
+
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"
|
16021
16346
|
end
|
16022
16347
|
# verify the required parameter 'out_path' is set
|
16023
16348
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -16129,8 +16454,8 @@ module AsposeSlidesCloud
|
|
16129
16454
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_special_slide_shape"
|
16130
16455
|
end
|
16131
16456
|
# verify enum value
|
16132
|
-
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
|
16133
|
-
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
|
16457
|
+
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf'].any?{ |s| s.casecmp(format)==0 }
|
16458
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg, Emf"
|
16134
16459
|
end
|
16135
16460
|
# verify the required parameter 'out_path' is set
|
16136
16461
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -17907,8 +18232,8 @@ module AsposeSlidesCloud
|
|
17907
18232
|
if @api_client.config.client_side_validation && name.nil?
|
17908
18233
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.split"
|
17909
18234
|
end
|
17910
|
-
if @api_client.config.client_side_validation && format && !['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 }
|
17911
|
-
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"
|
18235
|
+
if @api_client.config.client_side_validation && format && !['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 }
|
18236
|
+
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"
|
17912
18237
|
end
|
17913
18238
|
# resource path
|
17914
18239
|
local_var_path = '/slides/{name}/split'
|
@@ -17993,8 +18318,8 @@ module AsposeSlidesCloud
|
|
17993
18318
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.split_and_save_online"
|
17994
18319
|
end
|
17995
18320
|
# verify enum value
|
17996
|
-
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 }
|
17997
|
-
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"
|
18321
|
+
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 }
|
18322
|
+
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"
|
17998
18323
|
end
|
17999
18324
|
# resource path
|
18000
18325
|
local_var_path = '/slides/split/{format}'
|
@@ -18078,8 +18403,8 @@ module AsposeSlidesCloud
|
|
18078
18403
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.split_online"
|
18079
18404
|
end
|
18080
18405
|
# verify enum value
|
18081
|
-
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 }
|
18082
|
-
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"
|
18406
|
+
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 }
|
18407
|
+
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"
|
18083
18408
|
end
|
18084
18409
|
# resource path
|
18085
18410
|
local_var_path = '/slides/split/{format}'
|