aspose_slides_cloud 21.9.0 → 21.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -1
- data/TestData/test-unprotected.pptx +0 -0
- data/TestData/test.pptx +0 -0
- data/lib/aspose_slides_cloud/api/slides_api.rb +119 -113
- data/lib/aspose_slides_cloud/models/audio_frame.rb +2 -1
- data/lib/aspose_slides_cloud/models/chart.rb +2 -1
- data/lib/aspose_slides_cloud/models/connector.rb +2 -1
- data/lib/aspose_slides_cloud/models/effect.rb +11 -1
- 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/geometry_shape.rb +2 -1
- data/lib/aspose_slides_cloud/models/graphical_object.rb +2 -1
- data/lib/aspose_slides_cloud/models/group_shape.rb +2 -1
- data/lib/aspose_slides_cloud/models/html_export_options.rb +3 -46
- data/lib/aspose_slides_cloud/models/image_export_options.rb +3 -16
- data/lib/aspose_slides_cloud/models/ole_object_frame.rb +2 -1
- data/lib/aspose_slides_cloud/models/pdf_export_options.rb +3 -76
- data/lib/aspose_slides_cloud/models/picture_frame.rb +2 -1
- data/lib/aspose_slides_cloud/models/pptx_export_options.rb +3 -6
- data/lib/aspose_slides_cloud/models/save.rb +2 -2
- data/lib/aspose_slides_cloud/models/shape.rb +2 -1
- data/lib/aspose_slides_cloud/models/shape_base.rb +11 -1
- data/lib/aspose_slides_cloud/models/shape_image_export_options.rb +0 -15
- data/lib/aspose_slides_cloud/models/smart_art.rb +2 -1
- data/lib/aspose_slides_cloud/models/smart_art_shape.rb +2 -1
- data/lib/aspose_slides_cloud/models/special_slide_type.rb +41 -0
- data/lib/aspose_slides_cloud/models/svg_export_options.rb +3 -46
- data/lib/aspose_slides_cloud/models/swf_export_options.rb +3 -86
- data/lib/aspose_slides_cloud/models/table.rb +2 -1
- data/lib/aspose_slides_cloud/models/tiff_export_options.rb +3 -56
- data/lib/aspose_slides_cloud/models/video_frame.rb +2 -1
- data/lib/aspose_slides_cloud/models/xps_export_options.rb +3 -16
- data/lib/aspose_slides_cloud/type_registry.rb +6 -0
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/lib/aspose_slides_cloud.rb +5 -0
- data/spec/api/slides_api_spec.rb +90 -20
- data/testRules.json +30 -75
- metadata +3 -2
@@ -72,7 +72,7 @@ module AsposeSlidesCloud
|
|
72
72
|
end
|
73
73
|
# verify enum value
|
74
74
|
if @api_client.config.client_side_validation && !['AlignLeft', 'AlignRight', 'AlignCenter', 'AlignTop', 'AlignMiddle', 'AlignBottom', 'DistributeHorizontally', 'DistributeVertically'].any?{ |s| s.casecmp(alignment_type)==0 }
|
75
|
-
fail ArgumentError, "
|
75
|
+
fail ArgumentError, "Invalid value for parameter alignment_type: " + alignment_type + ". Must be one of AlignLeft, AlignRight, AlignCenter, AlignTop, AlignMiddle, AlignBottom, DistributeHorizontally, DistributeVertically"
|
76
76
|
end
|
77
77
|
# resource path
|
78
78
|
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/align/{alignmentType}'
|
@@ -155,7 +155,7 @@ module AsposeSlidesCloud
|
|
155
155
|
end
|
156
156
|
# verify enum value
|
157
157
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
158
|
-
fail ArgumentError, "
|
158
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
159
159
|
end
|
160
160
|
# verify the required parameter 'alignment_type' is set
|
161
161
|
if @api_client.config.client_side_validation && alignment_type.nil?
|
@@ -163,7 +163,7 @@ module AsposeSlidesCloud
|
|
163
163
|
end
|
164
164
|
# verify enum value
|
165
165
|
if @api_client.config.client_side_validation && !['AlignLeft', 'AlignRight', 'AlignCenter', 'AlignTop', 'AlignMiddle', 'AlignBottom', 'DistributeHorizontally', 'DistributeVertically'].any?{ |s| s.casecmp(alignment_type)==0 }
|
166
|
-
fail ArgumentError, "
|
166
|
+
fail ArgumentError, "Invalid value for parameter alignment_type: " + alignment_type + ". Must be one of AlignLeft, AlignRight, AlignCenter, AlignTop, AlignMiddle, AlignBottom, DistributeHorizontally, DistributeVertically"
|
167
167
|
end
|
168
168
|
# resource path
|
169
169
|
local_var_path = '/slides/{name}/slides/{slideIndex}/{slideType}/shapes/align/{alignmentType}'
|
@@ -238,8 +238,8 @@ module AsposeSlidesCloud
|
|
238
238
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.convert"
|
239
239
|
end
|
240
240
|
# verify enum value
|
241
|
-
if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp'].any?{ |s| s.casecmp(format)==0 }
|
242
|
-
fail ArgumentError, "
|
241
|
+
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'].any?{ |s| s.casecmp(format)==0 }
|
242
|
+
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"
|
243
243
|
end
|
244
244
|
# resource path
|
245
245
|
local_var_path = '/slides/convert/{format}'
|
@@ -315,8 +315,8 @@ module AsposeSlidesCloud
|
|
315
315
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.convert_and_save"
|
316
316
|
end
|
317
317
|
# verify enum value
|
318
|
-
if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp'].any?{ |s| s.casecmp(format)==0 }
|
319
|
-
fail ArgumentError, "
|
318
|
+
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'].any?{ |s| s.casecmp(format)==0 }
|
319
|
+
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"
|
320
320
|
end
|
321
321
|
# verify the required parameter 'out_path' is set
|
322
322
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -1718,8 +1718,8 @@ module AsposeSlidesCloud
|
|
1718
1718
|
end
|
1719
1719
|
# Create a presentation.
|
1720
1720
|
# @param name Document name.
|
1721
|
-
# @param data
|
1722
|
-
# @param input_password The password for
|
1721
|
+
# @param data Source presentation binary data.
|
1722
|
+
# @param input_password The password for source presentation.
|
1723
1723
|
# @param password The document password.
|
1724
1724
|
# @param folder Document folder.
|
1725
1725
|
# @param storage Document storage.
|
@@ -1730,8 +1730,8 @@ module AsposeSlidesCloud
|
|
1730
1730
|
|
1731
1731
|
# Create a presentation.
|
1732
1732
|
# @param name Document name.
|
1733
|
-
# @param data
|
1734
|
-
# @param input_password The password for
|
1733
|
+
# @param data Source presentation binary data.
|
1734
|
+
# @param input_password The password for source presentation.
|
1735
1735
|
# @param password The document password.
|
1736
1736
|
# @param folder Document folder.
|
1737
1737
|
# @param storage Document storage.
|
@@ -1783,9 +1783,9 @@ module AsposeSlidesCloud
|
|
1783
1783
|
end
|
1784
1784
|
# Create a presentation from an existing source.
|
1785
1785
|
# @param name Document name.
|
1786
|
-
# @param source_path
|
1787
|
-
# @param source_password
|
1788
|
-
# @param source_storage
|
1786
|
+
# @param source_path Source file path.
|
1787
|
+
# @param source_password Source file password.
|
1788
|
+
# @param source_storage Source storage name.
|
1789
1789
|
# @param password The document password.
|
1790
1790
|
# @param folder Document folder.
|
1791
1791
|
# @param storage Document storage.
|
@@ -1796,9 +1796,9 @@ module AsposeSlidesCloud
|
|
1796
1796
|
|
1797
1797
|
# Create a presentation from an existing source.
|
1798
1798
|
# @param name Document name.
|
1799
|
-
# @param source_path
|
1800
|
-
# @param source_password
|
1801
|
-
# @param source_storage
|
1799
|
+
# @param source_path Source file path.
|
1800
|
+
# @param source_password Source file password.
|
1801
|
+
# @param source_storage Source storage name.
|
1802
1802
|
# @param password The document password.
|
1803
1803
|
# @param folder Document folder.
|
1804
1804
|
# @param storage Document storage.
|
@@ -2168,7 +2168,7 @@ module AsposeSlidesCloud
|
|
2168
2168
|
end
|
2169
2169
|
# verify enum value
|
2170
2170
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
2171
|
-
fail ArgumentError, "
|
2171
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
2172
2172
|
end
|
2173
2173
|
# verify the required parameter 'effect' is set
|
2174
2174
|
if @api_client.config.client_side_validation && effect.nil?
|
@@ -2249,7 +2249,7 @@ module AsposeSlidesCloud
|
|
2249
2249
|
end
|
2250
2250
|
# verify enum value
|
2251
2251
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
2252
|
-
fail ArgumentError, "
|
2252
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
2253
2253
|
end
|
2254
2254
|
# verify the required parameter 'sequence' is set
|
2255
2255
|
if @api_client.config.client_side_validation && sequence.nil?
|
@@ -2332,7 +2332,7 @@ module AsposeSlidesCloud
|
|
2332
2332
|
end
|
2333
2333
|
# verify enum value
|
2334
2334
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
2335
|
-
fail ArgumentError, "
|
2335
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
2336
2336
|
end
|
2337
2337
|
# verify the required parameter 'sequence_index' is set
|
2338
2338
|
if @api_client.config.client_side_validation && sequence_index.nil?
|
@@ -2422,7 +2422,7 @@ module AsposeSlidesCloud
|
|
2422
2422
|
end
|
2423
2423
|
# verify enum value
|
2424
2424
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
2425
|
-
fail ArgumentError, "
|
2425
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
2426
2426
|
end
|
2427
2427
|
# verify the required parameter 'shape_index' is set
|
2428
2428
|
if @api_client.config.client_side_validation && shape_index.nil?
|
@@ -2515,7 +2515,7 @@ module AsposeSlidesCloud
|
|
2515
2515
|
end
|
2516
2516
|
# verify enum value
|
2517
2517
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
2518
|
-
fail ArgumentError, "
|
2518
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
2519
2519
|
end
|
2520
2520
|
# verify the required parameter 'shape_index' is set
|
2521
2521
|
if @api_client.config.client_side_validation && shape_index.nil?
|
@@ -2611,7 +2611,7 @@ module AsposeSlidesCloud
|
|
2611
2611
|
end
|
2612
2612
|
# verify enum value
|
2613
2613
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
2614
|
-
fail ArgumentError, "
|
2614
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
2615
2615
|
end
|
2616
2616
|
# resource path
|
2617
2617
|
local_var_path = '/slides/{name}/slides/{slideIndex}/{slideType}/shapes'
|
@@ -2696,7 +2696,7 @@ module AsposeSlidesCloud
|
|
2696
2696
|
end
|
2697
2697
|
# verify enum value
|
2698
2698
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
2699
|
-
fail ArgumentError, "
|
2699
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
2700
2700
|
end
|
2701
2701
|
# verify the required parameter 'path' is set
|
2702
2702
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -2786,7 +2786,7 @@ module AsposeSlidesCloud
|
|
2786
2786
|
end
|
2787
2787
|
# verify enum value
|
2788
2788
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
2789
|
-
fail ArgumentError, "
|
2789
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
2790
2790
|
end
|
2791
2791
|
# verify the required parameter 'path' is set
|
2792
2792
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -2886,7 +2886,7 @@ module AsposeSlidesCloud
|
|
2886
2886
|
end
|
2887
2887
|
# verify enum value
|
2888
2888
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
2889
|
-
fail ArgumentError, "
|
2889
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
2890
2890
|
end
|
2891
2891
|
# verify the required parameter 'path' is set
|
2892
2892
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -5455,7 +5455,7 @@ module AsposeSlidesCloud
|
|
5455
5455
|
end
|
5456
5456
|
# verify enum value
|
5457
5457
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
5458
|
-
fail ArgumentError, "
|
5458
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
5459
5459
|
end
|
5460
5460
|
# resource path
|
5461
5461
|
local_var_path = '/slides/{name}/slides/{slideIndex}/{slideType}/animation'
|
@@ -5532,7 +5532,7 @@ module AsposeSlidesCloud
|
|
5532
5532
|
end
|
5533
5533
|
# verify enum value
|
5534
5534
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
5535
|
-
fail ArgumentError, "
|
5535
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
5536
5536
|
end
|
5537
5537
|
# verify the required parameter 'effect_index' is set
|
5538
5538
|
if @api_client.config.client_side_validation && effect_index.nil?
|
@@ -5614,7 +5614,7 @@ module AsposeSlidesCloud
|
|
5614
5614
|
end
|
5615
5615
|
# verify enum value
|
5616
5616
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
5617
|
-
fail ArgumentError, "
|
5617
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
5618
5618
|
end
|
5619
5619
|
# verify the required parameter 'sequence_index' is set
|
5620
5620
|
if @api_client.config.client_side_validation && sequence_index.nil?
|
@@ -5698,7 +5698,7 @@ module AsposeSlidesCloud
|
|
5698
5698
|
end
|
5699
5699
|
# verify enum value
|
5700
5700
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
5701
|
-
fail ArgumentError, "
|
5701
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
5702
5702
|
end
|
5703
5703
|
# verify the required parameter 'sequence_index' is set
|
5704
5704
|
if @api_client.config.client_side_validation && sequence_index.nil?
|
@@ -5783,7 +5783,7 @@ module AsposeSlidesCloud
|
|
5783
5783
|
end
|
5784
5784
|
# verify enum value
|
5785
5785
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
5786
|
-
fail ArgumentError, "
|
5786
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
5787
5787
|
end
|
5788
5788
|
# resource path
|
5789
5789
|
local_var_path = '/slides/{name}/slides/{slideIndex}/{slideType}/animation/interactiveSequences'
|
@@ -5858,7 +5858,7 @@ module AsposeSlidesCloud
|
|
5858
5858
|
end
|
5859
5859
|
# verify enum value
|
5860
5860
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
5861
|
-
fail ArgumentError, "
|
5861
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
5862
5862
|
end
|
5863
5863
|
# resource path
|
5864
5864
|
local_var_path = '/slides/{name}/slides/{slideIndex}/{slideType}/animation/mainSequence'
|
@@ -5937,7 +5937,7 @@ module AsposeSlidesCloud
|
|
5937
5937
|
end
|
5938
5938
|
# verify enum value
|
5939
5939
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
5940
|
-
fail ArgumentError, "
|
5940
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
5941
5941
|
end
|
5942
5942
|
# verify the required parameter 'shape_index' is set
|
5943
5943
|
if @api_client.config.client_side_validation && shape_index.nil?
|
@@ -6026,7 +6026,7 @@ module AsposeSlidesCloud
|
|
6026
6026
|
end
|
6027
6027
|
# verify enum value
|
6028
6028
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
6029
|
-
fail ArgumentError, "
|
6029
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
6030
6030
|
end
|
6031
6031
|
# verify the required parameter 'shape_index' is set
|
6032
6032
|
if @api_client.config.client_side_validation && shape_index.nil?
|
@@ -6113,7 +6113,7 @@ module AsposeSlidesCloud
|
|
6113
6113
|
end
|
6114
6114
|
# verify enum value
|
6115
6115
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
6116
|
-
fail ArgumentError, "
|
6116
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
6117
6117
|
end
|
6118
6118
|
# verify the required parameter 'shape_index' is set
|
6119
6119
|
if @api_client.config.client_side_validation && shape_index.nil?
|
@@ -6209,7 +6209,7 @@ module AsposeSlidesCloud
|
|
6209
6209
|
end
|
6210
6210
|
# verify enum value
|
6211
6211
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
6212
|
-
fail ArgumentError, "
|
6212
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
6213
6213
|
end
|
6214
6214
|
# verify the required parameter 'shape_index' is set
|
6215
6215
|
if @api_client.config.client_side_validation && shape_index.nil?
|
@@ -6297,7 +6297,7 @@ module AsposeSlidesCloud
|
|
6297
6297
|
end
|
6298
6298
|
# verify enum value
|
6299
6299
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
6300
|
-
fail ArgumentError, "
|
6300
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
6301
6301
|
end
|
6302
6302
|
# verify the required parameter 'shape_index' is set
|
6303
6303
|
if @api_client.config.client_side_validation && shape_index.nil?
|
@@ -6379,7 +6379,7 @@ module AsposeSlidesCloud
|
|
6379
6379
|
end
|
6380
6380
|
# verify enum value
|
6381
6381
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
6382
|
-
fail ArgumentError, "
|
6382
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
6383
6383
|
end
|
6384
6384
|
# resource path
|
6385
6385
|
local_var_path = '/slides/{name}/slides/{slideIndex}/{slideType}/shapes'
|
@@ -6459,7 +6459,7 @@ module AsposeSlidesCloud
|
|
6459
6459
|
end
|
6460
6460
|
# verify enum value
|
6461
6461
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
6462
|
-
fail ArgumentError, "
|
6462
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
6463
6463
|
end
|
6464
6464
|
# verify the required parameter 'path' is set
|
6465
6465
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -6550,7 +6550,7 @@ module AsposeSlidesCloud
|
|
6550
6550
|
end
|
6551
6551
|
# verify enum value
|
6552
6552
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
6553
|
-
fail ArgumentError, "
|
6553
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
6554
6554
|
end
|
6555
6555
|
# verify the required parameter 'path' is set
|
6556
6556
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -6646,7 +6646,7 @@ module AsposeSlidesCloud
|
|
6646
6646
|
end
|
6647
6647
|
# verify enum value
|
6648
6648
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
6649
|
-
fail ArgumentError, "
|
6649
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
6650
6650
|
end
|
6651
6651
|
# verify the required parameter 'path' is set
|
6652
6652
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -6740,7 +6740,7 @@ module AsposeSlidesCloud
|
|
6740
6740
|
end
|
6741
6741
|
# verify enum value
|
6742
6742
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
6743
|
-
fail ArgumentError, "
|
6743
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
6744
6744
|
end
|
6745
6745
|
# verify the required parameter 'path' is set
|
6746
6746
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -6843,7 +6843,7 @@ module AsposeSlidesCloud
|
|
6843
6843
|
end
|
6844
6844
|
# verify enum value
|
6845
6845
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
6846
|
-
fail ArgumentError, "
|
6846
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
6847
6847
|
end
|
6848
6848
|
# verify the required parameter 'path' is set
|
6849
6849
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -6938,7 +6938,7 @@ module AsposeSlidesCloud
|
|
6938
6938
|
end
|
6939
6939
|
# verify enum value
|
6940
6940
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
6941
|
-
fail ArgumentError, "
|
6941
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
6942
6942
|
end
|
6943
6943
|
# verify the required parameter 'path' is set
|
6944
6944
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -7686,7 +7686,7 @@ module AsposeSlidesCloud
|
|
7686
7686
|
end
|
7687
7687
|
# verify enum value
|
7688
7688
|
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff'].any?{ |s| s.casecmp(format)==0 }
|
7689
|
-
fail ArgumentError, "
|
7689
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff"
|
7690
7690
|
end
|
7691
7691
|
# resource path
|
7692
7692
|
local_var_path = '/slides/{name}/images/{index}/{format}'
|
@@ -7881,7 +7881,7 @@ module AsposeSlidesCloud
|
|
7881
7881
|
end
|
7882
7882
|
# verify enum value
|
7883
7883
|
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff'].any?{ |s| s.casecmp(format)==0 }
|
7884
|
-
fail ArgumentError, "
|
7884
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff"
|
7885
7885
|
end
|
7886
7886
|
# resource path
|
7887
7887
|
local_var_path = '/slides/images/{index}/{format}'
|
@@ -7950,7 +7950,7 @@ module AsposeSlidesCloud
|
|
7950
7950
|
end
|
7951
7951
|
# verify enum value
|
7952
7952
|
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff'].any?{ |s| s.casecmp(format)==0 }
|
7953
|
-
fail ArgumentError, "
|
7953
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff"
|
7954
7954
|
end
|
7955
7955
|
# resource path
|
7956
7956
|
local_var_path = '/slides/{name}/images/download/{format}'
|
@@ -8124,7 +8124,7 @@ module AsposeSlidesCloud
|
|
8124
8124
|
end
|
8125
8125
|
# verify enum value
|
8126
8126
|
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff'].any?{ |s| s.casecmp(format)==0 }
|
8127
|
-
fail ArgumentError, "
|
8127
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff"
|
8128
8128
|
end
|
8129
8129
|
# resource path
|
8130
8130
|
local_var_path = '/slides/images/download/{format}'
|
@@ -8204,7 +8204,7 @@ module AsposeSlidesCloud
|
|
8204
8204
|
end
|
8205
8205
|
# verify enum value
|
8206
8206
|
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff'].any?{ |s| s.casecmp(format)==0 }
|
8207
|
-
fail ArgumentError, "
|
8207
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff"
|
8208
8208
|
end
|
8209
8209
|
# resource path
|
8210
8210
|
local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/{format}'
|
@@ -8284,7 +8284,7 @@ module AsposeSlidesCloud
|
|
8284
8284
|
end
|
8285
8285
|
# verify enum value
|
8286
8286
|
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff'].any?{ |s| s.casecmp(format)==0 }
|
8287
|
-
fail ArgumentError, "
|
8287
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff"
|
8288
8288
|
end
|
8289
8289
|
# resource path
|
8290
8290
|
local_var_path = '/slides/slides/{slideIndex}/notesSlide/{format}'
|
@@ -8361,8 +8361,8 @@ module AsposeSlidesCloud
|
|
8361
8361
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_presentation"
|
8362
8362
|
end
|
8363
8363
|
# verify enum value
|
8364
|
-
if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp'].any?{ |s| s.casecmp(format)==0 }
|
8365
|
-
fail ArgumentError, "
|
8364
|
+
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'].any?{ |s| s.casecmp(format)==0 }
|
8365
|
+
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"
|
8366
8366
|
end
|
8367
8367
|
# resource path
|
8368
8368
|
local_var_path = '/slides/{name}/{format}'
|
@@ -8454,10 +8454,10 @@ module AsposeSlidesCloud
|
|
8454
8454
|
end
|
8455
8455
|
# verify enum value
|
8456
8456
|
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
|
8457
|
-
fail ArgumentError, "
|
8457
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
|
8458
8458
|
end
|
8459
8459
|
if @api_client.config.client_side_validation && bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(bounds)==0 }
|
8460
|
-
fail ArgumentError, "
|
8460
|
+
fail ArgumentError, "Invalid value for parameter bounds: " + bounds + ". Must be one of Slide, Shape, Appearance"
|
8461
8461
|
end
|
8462
8462
|
# resource path
|
8463
8463
|
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/{format}'
|
@@ -8551,10 +8551,10 @@ module AsposeSlidesCloud
|
|
8551
8551
|
end
|
8552
8552
|
# verify enum value
|
8553
8553
|
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
|
8554
|
-
fail ArgumentError, "
|
8554
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
|
8555
8555
|
end
|
8556
8556
|
if @api_client.config.client_side_validation && bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(bounds)==0 }
|
8557
|
-
fail ArgumentError, "
|
8557
|
+
fail ArgumentError, "Invalid value for parameter bounds: " + bounds + ". Must be one of Slide, Shape, Appearance"
|
8558
8558
|
end
|
8559
8559
|
# resource path
|
8560
8560
|
local_var_path = '/slides/slides/{slideIndex}/shapes/{shapeIndex}/{format}'
|
@@ -8643,7 +8643,7 @@ module AsposeSlidesCloud
|
|
8643
8643
|
end
|
8644
8644
|
# verify enum value
|
8645
8645
|
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'].any?{ |s| s.casecmp(format)==0 }
|
8646
|
-
fail ArgumentError, "
|
8646
|
+
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"
|
8647
8647
|
end
|
8648
8648
|
# resource path
|
8649
8649
|
local_var_path = '/slides/{name}/slides/{slideIndex}/{format}'
|
@@ -8727,7 +8727,7 @@ module AsposeSlidesCloud
|
|
8727
8727
|
end
|
8728
8728
|
# verify enum value
|
8729
8729
|
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'].any?{ |s| s.casecmp(format)==0 }
|
8730
|
-
fail ArgumentError, "
|
8730
|
+
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"
|
8731
8731
|
end
|
8732
8732
|
# resource path
|
8733
8733
|
local_var_path = '/slides/slides/{slideIndex}/{format}'
|
@@ -8820,7 +8820,7 @@ module AsposeSlidesCloud
|
|
8820
8820
|
end
|
8821
8821
|
# verify enum value
|
8822
8822
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
8823
|
-
fail ArgumentError, "
|
8823
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
8824
8824
|
end
|
8825
8825
|
# verify the required parameter 'shape_index' is set
|
8826
8826
|
if @api_client.config.client_side_validation && shape_index.nil?
|
@@ -8832,10 +8832,10 @@ module AsposeSlidesCloud
|
|
8832
8832
|
end
|
8833
8833
|
# verify enum value
|
8834
8834
|
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
|
8835
|
-
fail ArgumentError, "
|
8835
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
|
8836
8836
|
end
|
8837
8837
|
if @api_client.config.client_side_validation && bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(bounds)==0 }
|
8838
|
-
fail ArgumentError, "
|
8838
|
+
fail ArgumentError, "Invalid value for parameter bounds: " + bounds + ". Must be one of Slide, Shape, Appearance"
|
8839
8839
|
end
|
8840
8840
|
# resource path
|
8841
8841
|
local_var_path = '/slides/{name}/slides/{slideIndex}/{slideType}/shapes/{shapeIndex}/{format}'
|
@@ -8932,7 +8932,7 @@ module AsposeSlidesCloud
|
|
8932
8932
|
end
|
8933
8933
|
# verify enum value
|
8934
8934
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
8935
|
-
fail ArgumentError, "
|
8935
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
8936
8936
|
end
|
8937
8937
|
# verify the required parameter 'path' is set
|
8938
8938
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -8948,10 +8948,10 @@ module AsposeSlidesCloud
|
|
8948
8948
|
end
|
8949
8949
|
# verify enum value
|
8950
8950
|
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
|
8951
|
-
fail ArgumentError, "
|
8951
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
|
8952
8952
|
end
|
8953
8953
|
if @api_client.config.client_side_validation && bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(bounds)==0 }
|
8954
|
-
fail ArgumentError, "
|
8954
|
+
fail ArgumentError, "Invalid value for parameter bounds: " + bounds + ". Must be one of Slide, Shape, Appearance"
|
8955
8955
|
end
|
8956
8956
|
# resource path
|
8957
8957
|
local_var_path = '/slides/{name}/slides/{slideIndex}/{slideType}/shapes/{path}/{shapeIndex}/{format}'
|
@@ -9055,10 +9055,10 @@ module AsposeSlidesCloud
|
|
9055
9055
|
end
|
9056
9056
|
# verify enum value
|
9057
9057
|
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
|
9058
|
-
fail ArgumentError, "
|
9058
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
|
9059
9059
|
end
|
9060
9060
|
if @api_client.config.client_side_validation && bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(bounds)==0 }
|
9061
|
-
fail ArgumentError, "
|
9061
|
+
fail ArgumentError, "Invalid value for parameter bounds: " + bounds + ". Must be one of Slide, Shape, Appearance"
|
9062
9062
|
end
|
9063
9063
|
# resource path
|
9064
9064
|
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/{format}'
|
@@ -9105,11 +9105,12 @@ module AsposeSlidesCloud
|
|
9105
9105
|
# @param name Document name.
|
9106
9106
|
# @param slide_index Slide index.
|
9107
9107
|
# @param shape_index Shape index. If specified, only effects related to that shape are returned.
|
9108
|
+
# @param paragraph_index Paragraph index.
|
9108
9109
|
# @param password Document password.
|
9109
9110
|
# @param folder Document folder.
|
9110
9111
|
# @param storage Document storage.
|
9111
|
-
def get_animation(name, slide_index, shape_index = nil, password = nil, folder = nil, storage = nil)
|
9112
|
-
data, _status_code, _headers = get_animation_with_http_info(name, slide_index, shape_index, password, folder, storage)
|
9112
|
+
def get_animation(name, slide_index, shape_index = nil, paragraph_index = nil, password = nil, folder = nil, storage = nil)
|
9113
|
+
data, _status_code, _headers = get_animation_with_http_info(name, slide_index, shape_index, paragraph_index, password, folder, storage)
|
9113
9114
|
data
|
9114
9115
|
end
|
9115
9116
|
|
@@ -9117,10 +9118,11 @@ module AsposeSlidesCloud
|
|
9117
9118
|
# @param name Document name.
|
9118
9119
|
# @param slide_index Slide index.
|
9119
9120
|
# @param shape_index Shape index. If specified, only effects related to that shape are returned.
|
9121
|
+
# @param paragraph_index Paragraph index.
|
9120
9122
|
# @param password Document password.
|
9121
9123
|
# @param folder Document folder.
|
9122
9124
|
# @param storage Document storage.
|
9123
|
-
def get_animation_with_http_info(name, slide_index, shape_index = nil, password = nil, folder = nil, storage = nil)
|
9125
|
+
def get_animation_with_http_info(name, slide_index, shape_index = nil, paragraph_index = nil, password = nil, folder = nil, storage = nil)
|
9124
9126
|
if @api_client.config.debugging
|
9125
9127
|
@api_client.config.logger.debug 'Calling API: SlidesApi.get_animation ...'
|
9126
9128
|
end
|
@@ -9141,6 +9143,7 @@ module AsposeSlidesCloud
|
|
9141
9143
|
# query parameters
|
9142
9144
|
query_params = {}
|
9143
9145
|
query_params[:'shapeIndex'] = shape_index unless shape_index.nil?
|
9146
|
+
query_params[:'paragraphIndex'] = paragraph_index unless paragraph_index.nil?
|
9144
9147
|
query_params[:'folder'] = folder unless folder.nil?
|
9145
9148
|
query_params[:'storage'] = storage unless storage.nil?
|
9146
9149
|
|
@@ -11474,11 +11477,12 @@ module AsposeSlidesCloud
|
|
11474
11477
|
# @param slide_index Parent slide index.
|
11475
11478
|
# @param slide_type Slide type (master, layout or notes).
|
11476
11479
|
# @param shape_index Shape index. If specified, only effects related to that shape are returned.
|
11480
|
+
# @param paragraph_index Paragraph index. If specified, only effects related to that paragraph are returned.
|
11477
11481
|
# @param password Document password.
|
11478
11482
|
# @param folder Document folder.
|
11479
11483
|
# @param storage Document storage.
|
11480
|
-
def get_special_slide_animation(name, slide_index, slide_type, shape_index = nil, password = nil, folder = nil, storage = nil)
|
11481
|
-
data, _status_code, _headers = get_special_slide_animation_with_http_info(name, slide_index, slide_type, shape_index, password, folder, storage)
|
11484
|
+
def get_special_slide_animation(name, slide_index, slide_type, shape_index = nil, paragraph_index = nil, password = nil, folder = nil, storage = nil)
|
11485
|
+
data, _status_code, _headers = get_special_slide_animation_with_http_info(name, slide_index, slide_type, shape_index, paragraph_index, password, folder, storage)
|
11482
11486
|
data
|
11483
11487
|
end
|
11484
11488
|
|
@@ -11487,10 +11491,11 @@ module AsposeSlidesCloud
|
|
11487
11491
|
# @param slide_index Parent slide index.
|
11488
11492
|
# @param slide_type Slide type (master, layout or notes).
|
11489
11493
|
# @param shape_index Shape index. If specified, only effects related to that shape are returned.
|
11494
|
+
# @param paragraph_index Paragraph index. If specified, only effects related to that paragraph are returned.
|
11490
11495
|
# @param password Document password.
|
11491
11496
|
# @param folder Document folder.
|
11492
11497
|
# @param storage Document storage.
|
11493
|
-
def get_special_slide_animation_with_http_info(name, slide_index, slide_type, shape_index = nil, password = nil, folder = nil, storage = nil)
|
11498
|
+
def get_special_slide_animation_with_http_info(name, slide_index, slide_type, shape_index = nil, paragraph_index = nil, password = nil, folder = nil, storage = nil)
|
11494
11499
|
if @api_client.config.debugging
|
11495
11500
|
@api_client.config.logger.debug 'Calling API: SlidesApi.get_special_slide_animation ...'
|
11496
11501
|
end
|
@@ -11509,7 +11514,7 @@ module AsposeSlidesCloud
|
|
11509
11514
|
end
|
11510
11515
|
# verify enum value
|
11511
11516
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
11512
|
-
fail ArgumentError, "
|
11517
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
11513
11518
|
end
|
11514
11519
|
# resource path
|
11515
11520
|
local_var_path = '/slides/{name}/slides/{slideIndex}/{slideType}/animation'
|
@@ -11520,6 +11525,7 @@ module AsposeSlidesCloud
|
|
11520
11525
|
# query parameters
|
11521
11526
|
query_params = {}
|
11522
11527
|
query_params[:'shapeIndex'] = shape_index unless shape_index.nil?
|
11528
|
+
query_params[:'paragraphIndex'] = paragraph_index unless paragraph_index.nil?
|
11523
11529
|
query_params[:'folder'] = folder unless folder.nil?
|
11524
11530
|
query_params[:'storage'] = storage unless storage.nil?
|
11525
11531
|
|
@@ -11589,7 +11595,7 @@ module AsposeSlidesCloud
|
|
11589
11595
|
end
|
11590
11596
|
# verify enum value
|
11591
11597
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
11592
|
-
fail ArgumentError, "
|
11598
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
11593
11599
|
end
|
11594
11600
|
# verify the required parameter 'shape_index' is set
|
11595
11601
|
if @api_client.config.client_side_validation && shape_index.nil?
|
@@ -11676,7 +11682,7 @@ module AsposeSlidesCloud
|
|
11676
11682
|
end
|
11677
11683
|
# verify enum value
|
11678
11684
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
11679
|
-
fail ArgumentError, "
|
11685
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
11680
11686
|
end
|
11681
11687
|
# verify the required parameter 'shape_index' is set
|
11682
11688
|
if @api_client.config.client_side_validation && shape_index.nil?
|
@@ -11762,7 +11768,7 @@ module AsposeSlidesCloud
|
|
11762
11768
|
end
|
11763
11769
|
# verify enum value
|
11764
11770
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
11765
|
-
fail ArgumentError, "
|
11771
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
11766
11772
|
end
|
11767
11773
|
# verify the required parameter 'shape_index' is set
|
11768
11774
|
if @api_client.config.client_side_validation && shape_index.nil?
|
@@ -11856,7 +11862,7 @@ module AsposeSlidesCloud
|
|
11856
11862
|
end
|
11857
11863
|
# verify enum value
|
11858
11864
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
11859
|
-
fail ArgumentError, "
|
11865
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
11860
11866
|
end
|
11861
11867
|
# verify the required parameter 'shape_index' is set
|
11862
11868
|
if @api_client.config.client_side_validation && shape_index.nil?
|
@@ -11943,7 +11949,7 @@ module AsposeSlidesCloud
|
|
11943
11949
|
end
|
11944
11950
|
# verify enum value
|
11945
11951
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
11946
|
-
fail ArgumentError, "
|
11952
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
11947
11953
|
end
|
11948
11954
|
# verify the required parameter 'shape_index' is set
|
11949
11955
|
if @api_client.config.client_side_validation && shape_index.nil?
|
@@ -12023,7 +12029,7 @@ module AsposeSlidesCloud
|
|
12023
12029
|
end
|
12024
12030
|
# verify enum value
|
12025
12031
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
12026
|
-
fail ArgumentError, "
|
12032
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
12027
12033
|
end
|
12028
12034
|
# resource path
|
12029
12035
|
local_var_path = '/slides/{name}/slides/{slideIndex}/{slideType}/shapes'
|
@@ -12102,7 +12108,7 @@ module AsposeSlidesCloud
|
|
12102
12108
|
end
|
12103
12109
|
# verify enum value
|
12104
12110
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
12105
|
-
fail ArgumentError, "
|
12111
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
12106
12112
|
end
|
12107
12113
|
# verify the required parameter 'path' is set
|
12108
12114
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -12193,7 +12199,7 @@ module AsposeSlidesCloud
|
|
12193
12199
|
end
|
12194
12200
|
# verify enum value
|
12195
12201
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
12196
|
-
fail ArgumentError, "
|
12202
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
12197
12203
|
end
|
12198
12204
|
# verify the required parameter 'path' is set
|
12199
12205
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -12287,7 +12293,7 @@ module AsposeSlidesCloud
|
|
12287
12293
|
end
|
12288
12294
|
# verify enum value
|
12289
12295
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
12290
|
-
fail ArgumentError, "
|
12296
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
12291
12297
|
end
|
12292
12298
|
# verify the required parameter 'path' is set
|
12293
12299
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -12380,7 +12386,7 @@ module AsposeSlidesCloud
|
|
12380
12386
|
end
|
12381
12387
|
# verify enum value
|
12382
12388
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
12383
|
-
fail ArgumentError, "
|
12389
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
12384
12390
|
end
|
12385
12391
|
# verify the required parameter 'path' is set
|
12386
12392
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -12481,7 +12487,7 @@ module AsposeSlidesCloud
|
|
12481
12487
|
end
|
12482
12488
|
# verify enum value
|
12483
12489
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
12484
|
-
fail ArgumentError, "
|
12490
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
12485
12491
|
end
|
12486
12492
|
# verify the required parameter 'path' is set
|
12487
12493
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -12573,7 +12579,7 @@ module AsposeSlidesCloud
|
|
12573
12579
|
end
|
12574
12580
|
# verify enum value
|
12575
12581
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
12576
|
-
fail ArgumentError, "
|
12582
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
12577
12583
|
end
|
12578
12584
|
# verify the required parameter 'path' is set
|
12579
12585
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -14479,8 +14485,8 @@ module AsposeSlidesCloud
|
|
14479
14485
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_presentation"
|
14480
14486
|
end
|
14481
14487
|
# verify enum value
|
14482
|
-
if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp'].any?{ |s| s.casecmp(format)==0 }
|
14483
|
-
fail ArgumentError, "
|
14488
|
+
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'].any?{ |s| s.casecmp(format)==0 }
|
14489
|
+
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"
|
14484
14490
|
end
|
14485
14491
|
# verify the required parameter 'out_path' is set
|
14486
14492
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -14578,14 +14584,14 @@ module AsposeSlidesCloud
|
|
14578
14584
|
end
|
14579
14585
|
# verify enum value
|
14580
14586
|
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
|
14581
|
-
fail ArgumentError, "
|
14587
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
|
14582
14588
|
end
|
14583
14589
|
# verify the required parameter 'out_path' is set
|
14584
14590
|
if @api_client.config.client_side_validation && out_path.nil?
|
14585
14591
|
fail ArgumentError, "Missing the required parameter 'out_path' when calling SlidesApi.save_shape"
|
14586
14592
|
end
|
14587
14593
|
if @api_client.config.client_side_validation && bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(bounds)==0 }
|
14588
|
-
fail ArgumentError, "
|
14594
|
+
fail ArgumentError, "Invalid value for parameter bounds: " + bounds + ". Must be one of Slide, Shape, Appearance"
|
14589
14595
|
end
|
14590
14596
|
# resource path
|
14591
14597
|
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/{format}'
|
@@ -14681,14 +14687,14 @@ module AsposeSlidesCloud
|
|
14681
14687
|
end
|
14682
14688
|
# verify enum value
|
14683
14689
|
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
|
14684
|
-
fail ArgumentError, "
|
14690
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
|
14685
14691
|
end
|
14686
14692
|
# verify the required parameter 'out_path' is set
|
14687
14693
|
if @api_client.config.client_side_validation && out_path.nil?
|
14688
14694
|
fail ArgumentError, "Missing the required parameter 'out_path' when calling SlidesApi.save_shape_online"
|
14689
14695
|
end
|
14690
14696
|
if @api_client.config.client_side_validation && bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(bounds)==0 }
|
14691
|
-
fail ArgumentError, "
|
14697
|
+
fail ArgumentError, "Invalid value for parameter bounds: " + bounds + ". Must be one of Slide, Shape, Appearance"
|
14692
14698
|
end
|
14693
14699
|
# resource path
|
14694
14700
|
local_var_path = '/slides/slides/{slideIndex}/shapes/{shapeIndex}/{format}'
|
@@ -14779,7 +14785,7 @@ module AsposeSlidesCloud
|
|
14779
14785
|
end
|
14780
14786
|
# verify enum value
|
14781
14787
|
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'].any?{ |s| s.casecmp(format)==0 }
|
14782
|
-
fail ArgumentError, "
|
14788
|
+
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"
|
14783
14789
|
end
|
14784
14790
|
# verify the required parameter 'out_path' is set
|
14785
14791
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -14869,7 +14875,7 @@ module AsposeSlidesCloud
|
|
14869
14875
|
end
|
14870
14876
|
# verify enum value
|
14871
14877
|
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'].any?{ |s| s.casecmp(format)==0 }
|
14872
|
-
fail ArgumentError, "
|
14878
|
+
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"
|
14873
14879
|
end
|
14874
14880
|
# verify the required parameter 'out_path' is set
|
14875
14881
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -14968,7 +14974,7 @@ module AsposeSlidesCloud
|
|
14968
14974
|
end
|
14969
14975
|
# verify enum value
|
14970
14976
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
14971
|
-
fail ArgumentError, "
|
14977
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
14972
14978
|
end
|
14973
14979
|
# verify the required parameter 'shape_index' is set
|
14974
14980
|
if @api_client.config.client_side_validation && shape_index.nil?
|
@@ -14980,14 +14986,14 @@ module AsposeSlidesCloud
|
|
14980
14986
|
end
|
14981
14987
|
# verify enum value
|
14982
14988
|
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
|
14983
|
-
fail ArgumentError, "
|
14989
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
|
14984
14990
|
end
|
14985
14991
|
# verify the required parameter 'out_path' is set
|
14986
14992
|
if @api_client.config.client_side_validation && out_path.nil?
|
14987
14993
|
fail ArgumentError, "Missing the required parameter 'out_path' when calling SlidesApi.save_special_slide_shape"
|
14988
14994
|
end
|
14989
14995
|
if @api_client.config.client_side_validation && bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(bounds)==0 }
|
14990
|
-
fail ArgumentError, "
|
14996
|
+
fail ArgumentError, "Invalid value for parameter bounds: " + bounds + ". Must be one of Slide, Shape, Appearance"
|
14991
14997
|
end
|
14992
14998
|
# resource path
|
14993
14999
|
local_var_path = '/slides/{name}/slides/{slideIndex}/{slideType}/shapes/{shapeIndex}/{format}'
|
@@ -15086,7 +15092,7 @@ module AsposeSlidesCloud
|
|
15086
15092
|
end
|
15087
15093
|
# verify enum value
|
15088
15094
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
15089
|
-
fail ArgumentError, "
|
15095
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
15090
15096
|
end
|
15091
15097
|
# verify the required parameter 'path' is set
|
15092
15098
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -15102,14 +15108,14 @@ module AsposeSlidesCloud
|
|
15102
15108
|
end
|
15103
15109
|
# verify enum value
|
15104
15110
|
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
|
15105
|
-
fail ArgumentError, "
|
15111
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
|
15106
15112
|
end
|
15107
15113
|
# verify the required parameter 'out_path' is set
|
15108
15114
|
if @api_client.config.client_side_validation && out_path.nil?
|
15109
15115
|
fail ArgumentError, "Missing the required parameter 'out_path' when calling SlidesApi.save_special_slide_subshape"
|
15110
15116
|
end
|
15111
15117
|
if @api_client.config.client_side_validation && bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(bounds)==0 }
|
15112
|
-
fail ArgumentError, "
|
15118
|
+
fail ArgumentError, "Invalid value for parameter bounds: " + bounds + ". Must be one of Slide, Shape, Appearance"
|
15113
15119
|
end
|
15114
15120
|
# resource path
|
15115
15121
|
local_var_path = '/slides/{name}/slides/{slideIndex}/{slideType}/shapes/{path}/{shapeIndex}/{format}'
|
@@ -15215,14 +15221,14 @@ module AsposeSlidesCloud
|
|
15215
15221
|
end
|
15216
15222
|
# verify enum value
|
15217
15223
|
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
|
15218
|
-
fail ArgumentError, "
|
15224
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
|
15219
15225
|
end
|
15220
15226
|
# verify the required parameter 'out_path' is set
|
15221
15227
|
if @api_client.config.client_side_validation && out_path.nil?
|
15222
15228
|
fail ArgumentError, "Missing the required parameter 'out_path' when calling SlidesApi.save_subshape"
|
15223
15229
|
end
|
15224
15230
|
if @api_client.config.client_side_validation && bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(bounds)==0 }
|
15225
|
-
fail ArgumentError, "
|
15231
|
+
fail ArgumentError, "Invalid value for parameter bounds: " + bounds + ". Must be one of Slide, Shape, Appearance"
|
15226
15232
|
end
|
15227
15233
|
# resource path
|
15228
15234
|
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/{format}'
|
@@ -16100,7 +16106,7 @@ module AsposeSlidesCloud
|
|
16100
16106
|
end
|
16101
16107
|
# verify enum value
|
16102
16108
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
16103
|
-
fail ArgumentError, "
|
16109
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
16104
16110
|
end
|
16105
16111
|
# verify the required parameter 'animation' is set
|
16106
16112
|
if @api_client.config.client_side_validation && animation.nil?
|
@@ -16245,7 +16251,7 @@ module AsposeSlidesCloud
|
|
16245
16251
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.split"
|
16246
16252
|
end
|
16247
16253
|
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'].any?{ |s| s.casecmp(format)==0 }
|
16248
|
-
fail ArgumentError, "
|
16254
|
+
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"
|
16249
16255
|
end
|
16250
16256
|
# resource path
|
16251
16257
|
local_var_path = '/slides/{name}/split'
|
@@ -16329,7 +16335,7 @@ module AsposeSlidesCloud
|
|
16329
16335
|
end
|
16330
16336
|
# verify enum value
|
16331
16337
|
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'].any?{ |s| s.casecmp(format)==0 }
|
16332
|
-
fail ArgumentError, "
|
16338
|
+
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"
|
16333
16339
|
end
|
16334
16340
|
# resource path
|
16335
16341
|
local_var_path = '/slides/split/{format}'
|
@@ -16412,7 +16418,7 @@ module AsposeSlidesCloud
|
|
16412
16418
|
end
|
16413
16419
|
# verify enum value
|
16414
16420
|
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'].any?{ |s| s.casecmp(format)==0 }
|
16415
|
-
fail ArgumentError, "
|
16421
|
+
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"
|
16416
16422
|
end
|
16417
16423
|
# resource path
|
16418
16424
|
local_var_path = '/slides/split/{format}'
|
@@ -17497,7 +17503,7 @@ module AsposeSlidesCloud
|
|
17497
17503
|
end
|
17498
17504
|
# verify enum value
|
17499
17505
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
17500
|
-
fail ArgumentError, "
|
17506
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
17501
17507
|
end
|
17502
17508
|
# verify the required parameter 'effect_index' is set
|
17503
17509
|
if @api_client.config.client_side_validation && effect_index.nil?
|
@@ -17587,7 +17593,7 @@ module AsposeSlidesCloud
|
|
17587
17593
|
end
|
17588
17594
|
# verify enum value
|
17589
17595
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
17590
|
-
fail ArgumentError, "
|
17596
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
17591
17597
|
end
|
17592
17598
|
# verify the required parameter 'sequence_index' is set
|
17593
17599
|
if @api_client.config.client_side_validation && sequence_index.nil?
|
@@ -17682,7 +17688,7 @@ module AsposeSlidesCloud
|
|
17682
17688
|
end
|
17683
17689
|
# verify enum value
|
17684
17690
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
17685
|
-
fail ArgumentError, "
|
17691
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
17686
17692
|
end
|
17687
17693
|
# verify the required parameter 'shape_index' is set
|
17688
17694
|
if @api_client.config.client_side_validation && shape_index.nil?
|
@@ -17779,7 +17785,7 @@ module AsposeSlidesCloud
|
|
17779
17785
|
end
|
17780
17786
|
# verify enum value
|
17781
17787
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
17782
|
-
fail ArgumentError, "
|
17788
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
17783
17789
|
end
|
17784
17790
|
# verify the required parameter 'shape_index' is set
|
17785
17791
|
if @api_client.config.client_side_validation && shape_index.nil?
|
@@ -17877,7 +17883,7 @@ module AsposeSlidesCloud
|
|
17877
17883
|
end
|
17878
17884
|
# verify enum value
|
17879
17885
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
17880
|
-
fail ArgumentError, "
|
17886
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
17881
17887
|
end
|
17882
17888
|
# verify the required parameter 'shape_index' is set
|
17883
17889
|
if @api_client.config.client_side_validation && shape_index.nil?
|
@@ -17967,7 +17973,7 @@ module AsposeSlidesCloud
|
|
17967
17973
|
end
|
17968
17974
|
# verify enum value
|
17969
17975
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
17970
|
-
fail ArgumentError, "
|
17976
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
17971
17977
|
end
|
17972
17978
|
# verify the required parameter 'path' is set
|
17973
17979
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -18064,7 +18070,7 @@ module AsposeSlidesCloud
|
|
18064
18070
|
end
|
18065
18071
|
# verify enum value
|
18066
18072
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
18067
|
-
fail ArgumentError, "
|
18073
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
18068
18074
|
end
|
18069
18075
|
# verify the required parameter 'path' is set
|
18070
18076
|
if @api_client.config.client_side_validation && path.nil?
|
@@ -18168,7 +18174,7 @@ module AsposeSlidesCloud
|
|
18168
18174
|
end
|
18169
18175
|
# verify enum value
|
18170
18176
|
if @api_client.config.client_side_validation && !['MasterSlide', 'LayoutSlide', 'NotesSlide'].any?{ |s| s.casecmp(slide_type)==0 }
|
18171
|
-
fail ArgumentError, "
|
18177
|
+
fail ArgumentError, "Invalid value for parameter slide_type: " + slide_type + ". Must be one of MasterSlide, LayoutSlide, NotesSlide"
|
18172
18178
|
end
|
18173
18179
|
# verify the required parameter 'path' is set
|
18174
18180
|
if @api_client.config.client_side_validation && path.nil?
|