aspose_slides_cloud 24.5.0 → 24.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +11 -9
  3. data/README.md +17 -0
  4. data/TestData/pictureFrame.html +39 -0
  5. data/TestData/test.pptx +0 -0
  6. data/aspose_slides_cloud.gemspec +1 -0
  7. data/lib/aspose_slides_cloud/api/slides_api.rb +75 -204
  8. data/lib/aspose_slides_cloud/api/slides_async_api.rb +8 -8
  9. data/lib/aspose_slides_cloud/api_client.rb +15 -3
  10. data/lib/aspose_slides_cloud/models/document_property.rb +0 -5
  11. data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
  12. data/lib/aspose_slides_cloud/models/export_options.rb +23 -1
  13. data/lib/aspose_slides_cloud/models/gif_export_options.rb +2 -1
  14. data/lib/aspose_slides_cloud/models/gradient_fill.rb +0 -25
  15. data/lib/aspose_slides_cloud/models/html5_export_options.rb +13 -2
  16. data/lib/aspose_slides_cloud/models/html_export_options.rb +2 -1
  17. data/lib/aspose_slides_cloud/models/image_export_options.rb +2 -1
  18. data/lib/aspose_slides_cloud/models/image_export_options_base.rb +2 -1
  19. data/lib/aspose_slides_cloud/models/markdown_export_options.rb +2 -1
  20. data/lib/aspose_slides_cloud/models/operation.rb +1 -10
  21. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +33 -2
  22. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +26 -3
  23. data/lib/aspose_slides_cloud/models/protection_properties.rb +0 -10
  24. data/lib/aspose_slides_cloud/models/save.rb +2 -2
  25. data/lib/aspose_slides_cloud/models/save_slide.rb +2 -2
  26. data/lib/aspose_slides_cloud/models/slide.rb +0 -5
  27. data/lib/aspose_slides_cloud/models/slide_export_format.rb +1 -0
  28. data/lib/aspose_slides_cloud/models/svg_export_options.rb +2 -1
  29. data/lib/aspose_slides_cloud/models/swf_export_options.rb +2 -1
  30. data/lib/aspose_slides_cloud/models/table.rb +12 -2
  31. data/lib/aspose_slides_cloud/models/table_cell.rb +11 -1
  32. data/lib/aspose_slides_cloud/models/table_cell_merge_options.rb +0 -5
  33. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +2 -1
  34. data/lib/aspose_slides_cloud/models/video_export_options.rb +2 -1
  35. data/lib/aspose_slides_cloud/models/xaml_export_options.rb +2 -1
  36. data/lib/aspose_slides_cloud/models/xps_export_options.rb +2 -1
  37. data/lib/aspose_slides_cloud/version.rb +1 -1
  38. data/spec/api/slides_api_spec.rb +96 -543
  39. data/spec/use_cases/text_spec.rb +7 -4
  40. metadata +23 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f2c3c4dc7ba7d83b153193a2445085d789bd89f26c3cbf377d72ca6e8b641a6
4
- data.tar.gz: '029477b0ffe6a5fc1803bfdddb4b4e6db5ffb4ad417670d0faabc272dfce3110'
3
+ metadata.gz: ce659cc0b1475546e94a6160a3246bf1310ecc9d8fc588a7adefd5ed5cd88f9c
4
+ data.tar.gz: 5fa4e6a2473247c30b55b4e3213f49cb521f11ee9df201edca096d2dda39eb45
5
5
  SHA512:
6
- metadata.gz: 589efeebfabe07b770aa6c8f48e48f87dfc77d6a32ebaccb0cd42665b82d82897a090b299dde3c145041aaf2a847cd08aa56549f687b375c08b25bb487b5e55a
7
- data.tar.gz: a9fae3df76ac231de2b219f12b660bb5f4575d5f0fa227dc395a9afd0465d7ece84effcd09d22c552db14237af009eeadeb77bbafcced521feba53b1fd90ca91
6
+ metadata.gz: a6aa62d2962496d8cee91ccfe67bf5ca6b87a0ab3d4de859331cff2745dbccc419c3a51ebcd449fe2277369f728aa3a149472e3cbd819077174ccd80d076ac4a
7
+ data.tar.gz: 4f005cd9625f57c27edda039a795265ec85c7791cad3f9c0b24f4da03e41285a732def7c34c3075fba39a3141fc3920d9dd27e6198f73f75328c7fe5ad720824
data/Gemfile.lock CHANGED
@@ -1,18 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aspose_slides_cloud (24.5.0)
4
+ aspose_slides_cloud (24.7.0)
5
5
  faraday (~> 1.0, >= 1.0.0)
6
6
  faraday-httpclient (~> 1.0, >= 1.0.0)
7
7
  httpclient (~> 2.2, >= 2.2.0)
8
8
  json (~> 2.1, >= 2.1.0)
9
+ warning (~> 1.4, >= 1.4.0)
9
10
 
10
11
  GEM
11
12
  remote: https://rubygems.org/
12
13
  specs:
13
- ZenTest (4.12.1)
14
- addressable (2.8.6)
15
- public_suffix (>= 2.0.2, < 6.0)
14
+ ZenTest (4.12.2)
15
+ addressable (2.8.7)
16
+ public_suffix (>= 2.0.2, < 7.0)
16
17
  autotest (4.4.6)
17
18
  ZenTest (>= 4.4.1)
18
19
  autotest-growl (0.2.16)
@@ -40,7 +41,7 @@ GEM
40
41
  faraday-httpclient (1.0.1)
41
42
  faraday-multipart (1.0.4)
42
43
  multipart-post (~> 2)
43
- faraday-net_http (1.0.1)
44
+ faraday-net_http (1.0.2)
44
45
  faraday-net_http_persistent (1.2.0)
45
46
  faraday-patron (1.0.0)
46
47
  faraday-rack (1.0.0)
@@ -49,17 +50,17 @@ GEM
49
50
  httpclient (2.8.3)
50
51
  json (2.7.2)
51
52
  multipart-post (2.4.1)
52
- public_suffix (5.0.5)
53
+ public_suffix (6.0.1)
53
54
  rake (12.3.3)
54
- rexml (3.2.8)
55
- strscan (>= 3.0.9)
55
+ rexml (3.3.2)
56
+ strscan
56
57
  rspec (3.13.0)
57
58
  rspec-core (~> 3.13.0)
58
59
  rspec-expectations (~> 3.13.0)
59
60
  rspec-mocks (~> 3.13.0)
60
61
  rspec-core (3.13.0)
61
62
  rspec-support (~> 3.13.0)
62
- rspec-expectations (3.13.0)
63
+ rspec-expectations (3.13.1)
63
64
  diff-lcs (>= 1.2.0, < 2.0)
64
65
  rspec-support (~> 3.13.0)
65
66
  rspec-mocks (3.13.1)
@@ -72,6 +73,7 @@ GEM
72
73
  rubyzip (2.3.2)
73
74
  strscan (3.1.0)
74
75
  vcr (3.0.3)
76
+ warning (1.4.0)
75
77
  webmock (1.24.6)
76
78
  addressable (>= 2.3.6)
77
79
  crack (>= 0.3.2)
data/README.md CHANGED
@@ -27,6 +27,23 @@ You may want to check out Aspose free [Powerpoint to PDF](https://products.aspos
27
27
  **Web:** HTML/HTML5
28
28
  **Other:** MPEG4, SWF (export whole presentations)
29
29
 
30
+ ## Enhancements in Version 24.7
31
+
32
+ * Added **TemplatesPath** property to **Html5ExportOptions** class. It enables using custom templates in conversion to Html5 format.
33
+ * Added **GetHtml5Templates** method to retrieve the list of default Html5 templates.
34
+ * Added **Xml** to the list of available export formats.
35
+ * Added **wholeWordsOnly** parameter to **ReplacePresentationText** and **ReplacePresentationTextOnline** methods.
36
+ * Added **GradientStyle** property to **ExportOptions** class.
37
+ * Added **ResterizeUnsupportedFontStyles** property to **PdfExportOptions** class.
38
+ * Added **Zip64Mode** property to **PptxExportOptions** class.
39
+ * Added **Transparency** property to **Table** and **TableCell** class.
40
+ * Removed obsolete **DownloadPortionsAsMathML**, **SavePortionsAsMathML** methods. Use **DownloadMathPortion** and **SaveMathPortion** methods to convert portions to math formats.
41
+
42
+ ## Enhancements in Version 24.6
43
+
44
+ * Added **HideInk** and **InterpretMaskOpAsOpacity** properties to **PdfExportOptions** class.
45
+ * Removed **Enqueued** from the list of allowed values for **Operation.Status** property.
46
+
30
47
  ## Enhancements in Version 24.5
31
48
 
32
49
  * Added **options** parameter to **ImportFromPdf** method. You can specify **options.DetectTables** property to control import behavior.
@@ -0,0 +1,39 @@
1
+ @inherits RazorEngineCore.RazorEngineTemplateBase<TemplateContext<PictureFrame>>
2
+
3
+ @{
4
+ PictureFrame contextObject = Model.Object;
5
+
6
+ var origin = Model.Local.Get<Point>("origin");
7
+
8
+ string imgSrc = ImageHelper.GetImageURL(contextObject.PictureFormat.Picture.Image, Model);
9
+ imgSrc = ImageHelper.Crop(
10
+ imgSrc,
11
+ contextObject.PictureFormat.CropLeft,
12
+ contextObject.PictureFormat.CropTop,
13
+ contextObject.PictureFormat.CropRight,
14
+ contextObject.PictureFormat.CropBottom);
15
+ if (contextObject.PictureFormat.Picture.Image.ContentType == "image/tiff" && !Model.Global.Get<bool>("embedImages"))
16
+ {
17
+ ImageHelper.ConvertTiffToPng(contextObject.PictureFormat.Picture.Image, Model);
18
+ imgSrc += ".png";
19
+ }
20
+
21
+ string id = "slide-" + contextObject.Slide.SlideId + "-shape-" + contextObject.UniqueId;
22
+ string animationAttributes = "";
23
+
24
+ if (Model.Local.ContainsKey("animationAttributes"))
25
+ {
26
+ animationAttributes = Model.Local.Get<string>("animationAttributes");
27
+ }
28
+ string svgFilter = ImageHelper.CreateSvgFilter(contextObject, id + "-effect");
29
+ string filterStyle = string.IsNullOrEmpty(svgFilter) ? "" : "filter: url(#" + id + "-effect)";
30
+ }
31
+ @functions
32
+ {
33
+ string GetImagePositioningStyle(PictureFrame pictureFrame, Point origin)
34
+ {
35
+ return ImageHelper.GetImagePositioningStyle(pictureFrame, origin);
36
+ }
37
+ }
38
+ @Raw(svgFilter)
39
+ <img src="@imgSrc" id="@id" class="pictureframe" alt="@contextObject.AlternativeText" style="@GetImagePositioningStyle(contextObject, origin) @Raw(filterStyle)" @Raw(animationAttributes) />
data/TestData/test.pptx CHANGED
Binary file
@@ -41,6 +41,7 @@ Gem::Specification.new do |s|
41
41
  s.add_dependency 'faraday-httpclient', '~> 1.0', '>= 1.0.0'
42
42
  s.add_dependency 'httpclient', '~> 2.2', '>= 2.2.0'
43
43
  s.add_dependency 'json', '~> 2.1', '>= 2.1.0'
44
+ s.add_dependency 'warning', '~> 1.4', '>= 1.4.0'
44
45
 
45
46
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
46
47
  s.add_development_dependency 'rspec_junit_formatter', '~> 0.5', '>= 0.5.1'
@@ -353,8 +353,8 @@ module AsposeSlidesCloud
353
353
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.convert"
354
354
  end
355
355
  # 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'].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"
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"
358
358
  end
359
359
  # resource path
360
360
  local_var_path = '/slides/convert/{format}'
@@ -430,8 +430,8 @@ module AsposeSlidesCloud
430
430
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.convert_and_save"
431
431
  end
432
432
  # 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'].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"
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"
435
435
  end
436
436
  # verify the required parameter 'out_path' is set
437
437
  if @api_client.config.client_side_validation && out_path.nil?
@@ -8229,91 +8229,6 @@ module AsposeSlidesCloud
8229
8229
  :return_type => 'File')
8230
8230
  return data, status_code, headers
8231
8231
  end
8232
- # Convert Mathematical Text to MathML Format
8233
- # @param name Document name.
8234
- # @param slide_index Slide index.
8235
- # @param shape_index Shape index.
8236
- # @param paragraph_index Paragraph index.
8237
- # @param portion_index Portion index.
8238
- # @param password Document password.
8239
- # @param folder Document folder.
8240
- # @param storage Document storage.
8241
- def download_portion_as_math_ml(name, slide_index, shape_index, paragraph_index, portion_index, password = nil, folder = nil, storage = nil)
8242
- data, _status_code, _headers = download_portion_as_math_ml_with_http_info(name, slide_index, shape_index, paragraph_index, portion_index, password, folder, storage)
8243
- data
8244
- end
8245
-
8246
- # Convert Mathematical Text to MathML Format
8247
- # @param name Document name.
8248
- # @param slide_index Slide index.
8249
- # @param shape_index Shape index.
8250
- # @param paragraph_index Paragraph index.
8251
- # @param portion_index Portion index.
8252
- # @param password Document password.
8253
- # @param folder Document folder.
8254
- # @param storage Document storage.
8255
- def download_portion_as_math_ml_with_http_info(name, slide_index, shape_index, paragraph_index, portion_index, password = nil, folder = nil, storage = nil)
8256
- if @api_client.config.debugging
8257
- @api_client.config.logger.debug 'Calling API: SlidesApi.download_portion_as_math_ml ...'
8258
- end
8259
-
8260
- # verify the required parameter 'name' is set
8261
- if @api_client.config.client_side_validation && name.nil?
8262
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.download_portion_as_math_ml"
8263
- end
8264
- # verify the required parameter 'slide_index' is set
8265
- if @api_client.config.client_side_validation && slide_index.nil?
8266
- fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.download_portion_as_math_ml"
8267
- end
8268
- # verify the required parameter 'shape_index' is set
8269
- if @api_client.config.client_side_validation && shape_index.nil?
8270
- fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.download_portion_as_math_ml"
8271
- end
8272
- # verify the required parameter 'paragraph_index' is set
8273
- if @api_client.config.client_side_validation && paragraph_index.nil?
8274
- fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.download_portion_as_math_ml"
8275
- end
8276
- # verify the required parameter 'portion_index' is set
8277
- if @api_client.config.client_side_validation && portion_index.nil?
8278
- fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.download_portion_as_math_ml"
8279
- end
8280
- # resource path
8281
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/mathml'
8282
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
8283
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
8284
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
8285
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', paragraph_index)
8286
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', portion_index)
8287
-
8288
- # query parameters
8289
- query_params = {}
8290
- query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
8291
- query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
8292
-
8293
- # header parameters
8294
- header_params = {}
8295
- # HTTP header 'Accept' (if needed)
8296
- header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
8297
- # HTTP header 'Content-Type'
8298
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
8299
- header_params[:'password'] = password unless password.nil?
8300
-
8301
- # http body (model)
8302
- post_body = nil
8303
-
8304
- # form parameters
8305
- post_files = []
8306
-
8307
- auth_names = ['JWT']
8308
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
8309
- :header_params => header_params,
8310
- :query_params => query_params,
8311
- :body => post_body,
8312
- :files => post_files,
8313
- :auth_names => auth_names,
8314
- :return_type => 'File')
8315
- return data, status_code, headers
8316
- end
8317
8232
  # Save a presentation to a specified format.
8318
8233
  # @param name Document name.
8319
8234
  # @param format Export format.
@@ -8351,8 +8266,8 @@ module AsposeSlidesCloud
8351
8266
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_presentation"
8352
8267
  end
8353
8268
  # verify enum value
8354
- 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'].any?{ |s| s.casecmp(format)==0 }
8355
- 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"
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"
8356
8271
  end
8357
8272
  # resource path
8358
8273
  local_var_path = '/slides/{name}/{format}'
@@ -8693,8 +8608,8 @@ module AsposeSlidesCloud
8693
8608
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_slide"
8694
8609
  end
8695
8610
  # verify enum value
8696
- 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'].any?{ |s| s.casecmp(format)==0 }
8697
- 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"
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"
8698
8613
  end
8699
8614
  # resource path
8700
8615
  local_var_path = '/slides/{name}/slides/{slideIndex}/{format}'
@@ -8777,8 +8692,8 @@ module AsposeSlidesCloud
8777
8692
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_slide_online"
8778
8693
  end
8779
8694
  # verify enum value
8780
- 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'].any?{ |s| s.casecmp(format)==0 }
8781
- 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"
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"
8782
8697
  end
8783
8698
  # resource path
8784
8699
  local_var_path = '/slides/slides/{slideIndex}/{format}'
@@ -9780,6 +9695,47 @@ module AsposeSlidesCloud
9780
9695
  :return_type => 'FormatScheme')
9781
9696
  return data, status_code, headers
9782
9697
  end
9698
+ # Get default templates for HTML5 export.
9699
+ def get_html5_templates()
9700
+ data, _status_code, _headers = get_html5_templates_with_http_info
9701
+ data
9702
+ end
9703
+
9704
+ # Get default templates for HTML5 export.
9705
+ def get_html5_templates_with_http_info()
9706
+ if @api_client.config.debugging
9707
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_html5_templates ...'
9708
+ end
9709
+
9710
+ # resource path
9711
+ local_var_path = '/slides/html5Templates'
9712
+
9713
+ # query parameters
9714
+ query_params = {}
9715
+
9716
+ # header parameters
9717
+ header_params = {}
9718
+ # HTTP header 'Accept' (if needed)
9719
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
9720
+ # HTTP header 'Content-Type'
9721
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
9722
+
9723
+ # http body (model)
9724
+ post_body = nil
9725
+
9726
+ # form parameters
9727
+ post_files = []
9728
+
9729
+ auth_names = ['JWT']
9730
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
9731
+ :header_params => header_params,
9732
+ :query_params => query_params,
9733
+ :body => post_body,
9734
+ :files => post_files,
9735
+ :auth_names => auth_names,
9736
+ :return_type => 'File')
9737
+ return data, status_code, headers
9738
+ end
9783
9739
  # Read presentation layoutSlide info.
9784
9740
  # @param name Document name.
9785
9741
  # @param slide_index Slide index.
@@ -14784,11 +14740,12 @@ module AsposeSlidesCloud
14784
14740
  # @param old_value Text value to be replaced.
14785
14741
  # @param new_value Text value to replace with.
14786
14742
  # @param ignore_case True if character case must be ignored.
14743
+ # @param whole_words_only True to replace whole words only.
14787
14744
  # @param password Document password.
14788
14745
  # @param folder Document folder.
14789
14746
  # @param storage Document storage.
14790
- def replace_presentation_text(name, old_value, new_value, ignore_case = nil, password = nil, folder = nil, storage = nil)
14791
- data, _status_code, _headers = replace_presentation_text_with_http_info(name, old_value, new_value, ignore_case, password, folder, storage)
14747
+ def replace_presentation_text(name, old_value, new_value, ignore_case = nil, whole_words_only = nil, password = nil, folder = nil, storage = nil)
14748
+ data, _status_code, _headers = replace_presentation_text_with_http_info(name, old_value, new_value, ignore_case, whole_words_only, password, folder, storage)
14792
14749
  data
14793
14750
  end
14794
14751
 
@@ -14797,10 +14754,11 @@ module AsposeSlidesCloud
14797
14754
  # @param old_value Text value to be replaced.
14798
14755
  # @param new_value Text value to replace with.
14799
14756
  # @param ignore_case True if character case must be ignored.
14757
+ # @param whole_words_only True to replace whole words only.
14800
14758
  # @param password Document password.
14801
14759
  # @param folder Document folder.
14802
14760
  # @param storage Document storage.
14803
- def replace_presentation_text_with_http_info(name, old_value, new_value, ignore_case = nil, password = nil, folder = nil, storage = nil)
14761
+ def replace_presentation_text_with_http_info(name, old_value, new_value, ignore_case = nil, whole_words_only = nil, password = nil, folder = nil, storage = nil)
14804
14762
  if @api_client.config.debugging
14805
14763
  @api_client.config.logger.debug 'Calling API: SlidesApi.replace_presentation_text ...'
14806
14764
  end
@@ -14826,6 +14784,7 @@ module AsposeSlidesCloud
14826
14784
  query_params[:'oldValue'] = @api_client.prepare_for_query(old_value) unless old_value.nil?
14827
14785
  query_params[:'newValue'] = @api_client.prepare_for_query(new_value) unless new_value.nil?
14828
14786
  query_params[:'ignoreCase'] = @api_client.prepare_for_query(ignore_case) unless ignore_case.nil?
14787
+ query_params[:'wholeWordsOnly'] = @api_client.prepare_for_query(whole_words_only) unless whole_words_only.nil?
14829
14788
  query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
14830
14789
  query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
14831
14790
 
@@ -14858,9 +14817,10 @@ module AsposeSlidesCloud
14858
14817
  # @param old_value Text value to be replaced.
14859
14818
  # @param new_value Text value to replace with.
14860
14819
  # @param ignore_case True if character case must be ignored.
14820
+ # @param whole_words_only True to replace whole words only.
14861
14821
  # @param password Document password.
14862
- def replace_presentation_text_online(document, old_value, new_value, ignore_case = nil, password = nil)
14863
- data, _status_code, _headers = replace_presentation_text_online_with_http_info(document, old_value, new_value, ignore_case, password)
14822
+ def replace_presentation_text_online(document, old_value, new_value, ignore_case = nil, whole_words_only = nil, password = nil)
14823
+ data, _status_code, _headers = replace_presentation_text_online_with_http_info(document, old_value, new_value, ignore_case, whole_words_only, password)
14864
14824
  data
14865
14825
  end
14866
14826
 
@@ -14869,8 +14829,9 @@ module AsposeSlidesCloud
14869
14829
  # @param old_value Text value to be replaced.
14870
14830
  # @param new_value Text value to replace with.
14871
14831
  # @param ignore_case True if character case must be ignored.
14832
+ # @param whole_words_only True to replace whole words only.
14872
14833
  # @param password Document password.
14873
- def replace_presentation_text_online_with_http_info(document, old_value, new_value, ignore_case = nil, password = nil)
14834
+ def replace_presentation_text_online_with_http_info(document, old_value, new_value, ignore_case = nil, whole_words_only = nil, password = nil)
14874
14835
  if @api_client.config.debugging
14875
14836
  @api_client.config.logger.debug 'Calling API: SlidesApi.replace_presentation_text_online ...'
14876
14837
  end
@@ -14895,6 +14856,7 @@ module AsposeSlidesCloud
14895
14856
  query_params[:'oldValue'] = @api_client.prepare_for_query(old_value) unless old_value.nil?
14896
14857
  query_params[:'newValue'] = @api_client.prepare_for_query(new_value) unless new_value.nil?
14897
14858
  query_params[:'ignoreCase'] = @api_client.prepare_for_query(ignore_case) unless ignore_case.nil?
14859
+ query_params[:'wholeWordsOnly'] = @api_client.prepare_for_query(whole_words_only) unless whole_words_only.nil?
14898
14860
 
14899
14861
  # header parameters
14900
14862
  header_params = {}
@@ -15331,97 +15293,6 @@ module AsposeSlidesCloud
15331
15293
  :auth_names => auth_names)
15332
15294
  return data, status_code, headers
15333
15295
  end
15334
- # Convert Mathematical Text to MathML Format and saves result to the storage
15335
- # @param name Document name.
15336
- # @param slide_index Slide index.
15337
- # @param shape_index Shape index.
15338
- # @param paragraph_index Paragraph index.
15339
- # @param portion_index Portion index.
15340
- # @param out_path Path to save result.
15341
- # @param password Document password.
15342
- # @param folder Presentation folder.
15343
- # @param storage Presentation storage.
15344
- def save_portion_as_math_ml(name, slide_index, shape_index, paragraph_index, portion_index, out_path, password = nil, folder = nil, storage = nil)
15345
- save_portion_as_math_ml_with_http_info(name, slide_index, shape_index, paragraph_index, portion_index, out_path, password, folder, storage)
15346
- nil
15347
- end
15348
-
15349
- # Convert Mathematical Text to MathML Format and saves result to the storage
15350
- # @param name Document name.
15351
- # @param slide_index Slide index.
15352
- # @param shape_index Shape index.
15353
- # @param paragraph_index Paragraph index.
15354
- # @param portion_index Portion index.
15355
- # @param out_path Path to save result.
15356
- # @param password Document password.
15357
- # @param folder Presentation folder.
15358
- # @param storage Presentation storage.
15359
- def save_portion_as_math_ml_with_http_info(name, slide_index, shape_index, paragraph_index, portion_index, out_path, password = nil, folder = nil, storage = nil)
15360
- if @api_client.config.debugging
15361
- @api_client.config.logger.debug 'Calling API: SlidesApi.save_portion_as_math_ml ...'
15362
- end
15363
-
15364
- # verify the required parameter 'name' is set
15365
- if @api_client.config.client_side_validation && name.nil?
15366
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.save_portion_as_math_ml"
15367
- end
15368
- # verify the required parameter 'slide_index' is set
15369
- if @api_client.config.client_side_validation && slide_index.nil?
15370
- fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.save_portion_as_math_ml"
15371
- end
15372
- # verify the required parameter 'shape_index' is set
15373
- if @api_client.config.client_side_validation && shape_index.nil?
15374
- fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.save_portion_as_math_ml"
15375
- end
15376
- # verify the required parameter 'paragraph_index' is set
15377
- if @api_client.config.client_side_validation && paragraph_index.nil?
15378
- fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.save_portion_as_math_ml"
15379
- end
15380
- # verify the required parameter 'portion_index' is set
15381
- if @api_client.config.client_side_validation && portion_index.nil?
15382
- fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.save_portion_as_math_ml"
15383
- end
15384
- # verify the required parameter 'out_path' is set
15385
- if @api_client.config.client_side_validation && out_path.nil?
15386
- fail ArgumentError, "Missing the required parameter 'out_path' when calling SlidesApi.save_portion_as_math_ml"
15387
- end
15388
- # resource path
15389
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/mathml'
15390
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
15391
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
15392
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
15393
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', paragraph_index)
15394
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', portion_index)
15395
-
15396
- # query parameters
15397
- query_params = {}
15398
- query_params[:'outPath'] = @api_client.prepare_for_query(out_path) unless out_path.nil?
15399
- query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
15400
- query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
15401
-
15402
- # header parameters
15403
- header_params = {}
15404
- # HTTP header 'Accept' (if needed)
15405
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
15406
- # HTTP header 'Content-Type'
15407
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
15408
- header_params[:'password'] = password unless password.nil?
15409
-
15410
- # http body (model)
15411
- post_body = nil
15412
-
15413
- # form parameters
15414
- post_files = []
15415
-
15416
- auth_names = ['JWT']
15417
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
15418
- :header_params => header_params,
15419
- :query_params => query_params,
15420
- :body => post_body,
15421
- :files => post_files,
15422
- :auth_names => auth_names)
15423
- return data, status_code, headers
15424
- end
15425
15296
  # Save a presentation to a specified format.
15426
15297
  # @param name Document name.
15427
15298
  # @param format Export format.
@@ -15461,8 +15332,8 @@ module AsposeSlidesCloud
15461
15332
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_presentation"
15462
15333
  end
15463
15334
  # verify enum value
15464
- 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'].any?{ |s| s.casecmp(format)==0 }
15465
- 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"
15335
+ 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 }
15336
+ 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"
15466
15337
  end
15467
15338
  # verify the required parameter 'out_path' is set
15468
15339
  if @api_client.config.client_side_validation && out_path.nil?
@@ -15763,8 +15634,8 @@ module AsposeSlidesCloud
15763
15634
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_slide"
15764
15635
  end
15765
15636
  # verify enum value
15766
- 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'].any?{ |s| s.casecmp(format)==0 }
15767
- 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"
15637
+ 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 }
15638
+ 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"
15768
15639
  end
15769
15640
  # verify the required parameter 'out_path' is set
15770
15641
  if @api_client.config.client_side_validation && out_path.nil?
@@ -15853,8 +15724,8 @@ module AsposeSlidesCloud
15853
15724
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_slide_online"
15854
15725
  end
15855
15726
  # verify enum value
15856
- 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'].any?{ |s| s.casecmp(format)==0 }
15857
- 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"
15727
+ 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 }
15728
+ 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"
15858
15729
  end
15859
15730
  # verify the required parameter 'out_path' is set
15860
15731
  if @api_client.config.client_side_validation && out_path.nil?
@@ -17744,8 +17615,8 @@ module AsposeSlidesCloud
17744
17615
  if @api_client.config.client_side_validation && name.nil?
17745
17616
  fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.split"
17746
17617
  end
17747
- 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'].any?{ |s| s.casecmp(format)==0 }
17748
- 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"
17618
+ 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 }
17619
+ 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"
17749
17620
  end
17750
17621
  # resource path
17751
17622
  local_var_path = '/slides/{name}/split'
@@ -17830,8 +17701,8 @@ module AsposeSlidesCloud
17830
17701
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.split_and_save_online"
17831
17702
  end
17832
17703
  # verify enum value
17833
- 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'].any?{ |s| s.casecmp(format)==0 }
17834
- 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"
17704
+ 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 }
17705
+ 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"
17835
17706
  end
17836
17707
  # resource path
17837
17708
  local_var_path = '/slides/split/{format}'
@@ -17915,8 +17786,8 @@ module AsposeSlidesCloud
17915
17786
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.split_online"
17916
17787
  end
17917
17788
  # verify enum value
17918
- 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'].any?{ |s| s.casecmp(format)==0 }
17919
- 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"
17789
+ 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 }
17790
+ 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"
17920
17791
  end
17921
17792
  # resource path
17922
17793
  local_var_path = '/slides/split/{format}'