aspose_slides_cloud 24.2.0 → 24.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/README.md +18 -0
- data/docker-entrypoint.sh +5 -1
- data/lib/aspose_slides_cloud/api/slides_api.rb +290 -22
- data/lib/aspose_slides_cloud/api/slides_async_api.rb +8 -8
- data/lib/aspose_slides_cloud/models/audio_frame.rb +2 -1
- data/lib/aspose_slides_cloud/models/bubble_chart_data_point.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/data_point.rb +11 -1
- data/lib/aspose_slides_cloud/models/effect.rb +23 -1
- data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
- 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/handout_layouting_options.rb +133 -0
- data/lib/aspose_slides_cloud/models/html5_export_options.rb +22 -2
- data/lib/aspose_slides_cloud/models/html_export_options.rb +8 -72
- data/lib/aspose_slides_cloud/models/image_export_options.rb +12 -66
- data/lib/aspose_slides_cloud/models/markdown_export_options.rb +190 -0
- data/lib/aspose_slides_cloud/models/math_format.rb +40 -0
- data/lib/aspose_slides_cloud/models/notes_comments_layouting_options.rb +155 -0
- data/lib/aspose_slides_cloud/models/ole_object_frame.rb +2 -1
- data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +2 -1
- data/lib/aspose_slides_cloud/models/pdf_export_options.rb +8 -72
- data/lib/aspose_slides_cloud/models/picture_frame.rb +2 -1
- data/lib/aspose_slides_cloud/models/save.rb +2 -2
- data/lib/aspose_slides_cloud/models/save_slide.rb +2 -2
- data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +2 -1
- data/lib/aspose_slides_cloud/models/section_zoom_frame.rb +2 -1
- 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/slide_export_format.rb +1 -0
- data/lib/aspose_slides_cloud/models/slide_show_properties.rb +11 -1
- data/lib/aspose_slides_cloud/models/slides_layout_options.rb +102 -0
- 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/summary_zoom_frame.rb +2 -1
- data/lib/aspose_slides_cloud/models/summary_zoom_section.rb +2 -1
- data/lib/aspose_slides_cloud/models/table.rb +2 -1
- data/lib/aspose_slides_cloud/models/tiff_export_options.rb +23 -65
- data/lib/aspose_slides_cloud/models/video_frame.rb +2 -1
- data/lib/aspose_slides_cloud/models/zoom_frame.rb +2 -1
- data/lib/aspose_slides_cloud/models/zoom_object.rb +2 -1
- data/lib/aspose_slides_cloud/type_registry.rb +8 -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 +782 -0
- data/spec/use_cases/image_spec.rb +27 -0
- data/spec/use_cases/math_spec.rb +3 -3
- data/testRules.json +6 -2
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e61ff5f495cbe4c321307a13c5c809dcdfb96c8eda780b87a3776a971360e23d
|
4
|
+
data.tar.gz: 1044e26b099bf029fa81156fbbe1800768c14be8db6fec2e847c425746abc73b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2aff2c067a72c77db7f8265ad0d1ab92658e3723873bfe9736d11c6ba03de8fdf40bd335fd56ebc1fe886987f928b8147c0669c220e9014c6bcf4f2f16031831
|
7
|
+
data.tar.gz: ce6ddfc3d81ceb952f95f933a7cd179bf099bf7ca5c20e1906f5bf1e9ab5b4e362b2db1cfd1e101fda63ec98ff02ba4ccc2018d32eb071c50e0d7acbe7dfdcd9
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
aspose_slides_cloud (24.
|
4
|
+
aspose_slides_cloud (24.4.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)
|
@@ -17,7 +17,7 @@ GEM
|
|
17
17
|
ZenTest (>= 4.4.1)
|
18
18
|
autotest-growl (0.2.16)
|
19
19
|
autotest-rails-pure (4.1.2)
|
20
|
-
bigdecimal (3.1.
|
20
|
+
bigdecimal (3.1.8)
|
21
21
|
crack (1.0.0)
|
22
22
|
bigdecimal
|
23
23
|
rexml
|
@@ -47,9 +47,9 @@ GEM
|
|
47
47
|
faraday-retry (1.0.3)
|
48
48
|
hashdiff (1.1.0)
|
49
49
|
httpclient (2.8.3)
|
50
|
-
json (2.7.
|
51
|
-
multipart-post (2.4.
|
52
|
-
public_suffix (5.0.
|
50
|
+
json (2.7.2)
|
51
|
+
multipart-post (2.4.1)
|
52
|
+
public_suffix (5.0.5)
|
53
53
|
rake (12.3.3)
|
54
54
|
rexml (3.2.6)
|
55
55
|
rspec (3.13.0)
|
@@ -64,7 +64,7 @@ GEM
|
|
64
64
|
rspec-mocks (3.13.0)
|
65
65
|
diff-lcs (>= 1.2.0, < 2.0)
|
66
66
|
rspec-support (~> 3.13.0)
|
67
|
-
rspec-support (3.13.
|
67
|
+
rspec-support (3.13.1)
|
68
68
|
rspec_junit_formatter (0.6.0)
|
69
69
|
rspec-core (>= 2, < 4, != 2.12.0)
|
70
70
|
ruby2_keywords (0.0.5)
|
data/README.md
CHANGED
@@ -27,6 +27,24 @@ 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.4
|
31
|
+
|
32
|
+
* Added **DownloadMathPortion** and **SaveMathPortion** methods to convert math portions to math markup formats (MathML or LaTeX). See [documentation](https://docs.aspose.cloud/slides/export-a-math-formula/) for more info. **DownloadPortionAsMathML** and **SavePortionAsMathML** methods are deprecated and will be removed after 24.6.
|
33
|
+
* Added **Marker** property to **DataPoint** class.
|
34
|
+
|
35
|
+
## Enhancements in Version 24.3
|
36
|
+
|
37
|
+
* Added Markdown (**Md**) to the list of allowed export formats.
|
38
|
+
* Added **DeletePictureCroppedAreas** method to delete cropped areas of pictures.
|
39
|
+
* Added **SlidesLayoutOptions** property to **PdfExportOptions**, **HtmlExportOptions**, **TiffExportOptions** and **ImageExportOptions** classes. You can use it to specify handout or notes/comments layouting options.
|
40
|
+
* Added **AnimateTextType** enum property to **Effect** class.
|
41
|
+
* Added **NotesCommentsLayouting** property to **Html5ExportOptions** class.
|
42
|
+
* Added **BwConversionMode** property to **TiffExportOptions** class.
|
43
|
+
* Added **EmbedImages** boolean property to **Html5ExportOptions** class.
|
44
|
+
* Added **ShowMediaControls** boolean property to **SlideShowProperties** class.
|
45
|
+
* Added **IsDecorative** boolean property to **ShapeBase** class.
|
46
|
+
|
47
|
+
|
30
48
|
## Enhancements in Version 24.2
|
31
49
|
|
32
50
|
* Added **GetCommentAuthors** method to get list of comment authors.
|
data/docker-entrypoint.sh
CHANGED
@@ -7,4 +7,8 @@ sed -i 's~@async_base_url@~'"${BASE_ASYNC_URL}"'~g' testConfig.json
|
|
7
7
|
sed -i 's~@base_auth_url@~'"${BASE_AUTH_URL}"'~g' testConfig.json
|
8
8
|
|
9
9
|
mkdir testResults
|
10
|
-
|
10
|
+
|
11
|
+
if [ "${ENABLE_TESTS}" = true ]
|
12
|
+
then
|
13
|
+
rspec spec --format RspecJunitFormatter --out testResults/rspec.xml
|
14
|
+
fi
|
@@ -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'].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"
|
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"
|
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'].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"
|
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"
|
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?
|
@@ -4747,6 +4747,76 @@ module AsposeSlidesCloud
|
|
4747
4747
|
:return_type => 'Paragraphs')
|
4748
4748
|
return data, status_code, headers
|
4749
4749
|
end
|
4750
|
+
# Deletes cropped areas of a pictire.
|
4751
|
+
# @param name Document name.
|
4752
|
+
# @param slide_index Slide index.
|
4753
|
+
# @param shape_index Shape index (must refer to a picture frame).
|
4754
|
+
# @param password Document password.
|
4755
|
+
# @param folder Document folder.
|
4756
|
+
# @param storage Presentation storage.
|
4757
|
+
def delete_picture_cropped_areas(name, slide_index, shape_index, password = nil, folder = nil, storage = nil)
|
4758
|
+
delete_picture_cropped_areas_with_http_info(name, slide_index, shape_index, password, folder, storage)
|
4759
|
+
nil
|
4760
|
+
end
|
4761
|
+
|
4762
|
+
# Deletes cropped areas of a pictire.
|
4763
|
+
# @param name Document name.
|
4764
|
+
# @param slide_index Slide index.
|
4765
|
+
# @param shape_index Shape index (must refer to a picture frame).
|
4766
|
+
# @param password Document password.
|
4767
|
+
# @param folder Document folder.
|
4768
|
+
# @param storage Presentation storage.
|
4769
|
+
def delete_picture_cropped_areas_with_http_info(name, slide_index, shape_index, password = nil, folder = nil, storage = nil)
|
4770
|
+
if @api_client.config.debugging
|
4771
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.delete_picture_cropped_areas ...'
|
4772
|
+
end
|
4773
|
+
|
4774
|
+
# verify the required parameter 'name' is set
|
4775
|
+
if @api_client.config.client_side_validation && name.nil?
|
4776
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_picture_cropped_areas"
|
4777
|
+
end
|
4778
|
+
# verify the required parameter 'slide_index' is set
|
4779
|
+
if @api_client.config.client_side_validation && slide_index.nil?
|
4780
|
+
fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_picture_cropped_areas"
|
4781
|
+
end
|
4782
|
+
# verify the required parameter 'shape_index' is set
|
4783
|
+
if @api_client.config.client_side_validation && shape_index.nil?
|
4784
|
+
fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_picture_cropped_areas"
|
4785
|
+
end
|
4786
|
+
# resource path
|
4787
|
+
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/pictureCroppedAreas'
|
4788
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
|
4789
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
|
4790
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
|
4791
|
+
|
4792
|
+
# query parameters
|
4793
|
+
query_params = {}
|
4794
|
+
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
4795
|
+
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
4796
|
+
|
4797
|
+
# header parameters
|
4798
|
+
header_params = {}
|
4799
|
+
# HTTP header 'Accept' (if needed)
|
4800
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
4801
|
+
# HTTP header 'Content-Type'
|
4802
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
4803
|
+
header_params[:'password'] = password unless password.nil?
|
4804
|
+
|
4805
|
+
# http body (model)
|
4806
|
+
post_body = nil
|
4807
|
+
|
4808
|
+
# form parameters
|
4809
|
+
post_files = []
|
4810
|
+
|
4811
|
+
auth_names = ['JWT']
|
4812
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
4813
|
+
:header_params => header_params,
|
4814
|
+
:query_params => query_params,
|
4815
|
+
:body => post_body,
|
4816
|
+
:files => post_files,
|
4817
|
+
:auth_names => auth_names)
|
4818
|
+
return data, status_code, headers
|
4819
|
+
end
|
4750
4820
|
# Remove a portion.
|
4751
4821
|
# @param name Document name.
|
4752
4822
|
# @param slide_index Slide index.
|
@@ -7899,6 +7969,102 @@ module AsposeSlidesCloud
|
|
7899
7969
|
:return_type => 'File')
|
7900
7970
|
return data, status_code, headers
|
7901
7971
|
end
|
7972
|
+
# Convert Mathematical Text to MathML Format
|
7973
|
+
# @param name Document name.
|
7974
|
+
# @param slide_index Slide index.
|
7975
|
+
# @param shape_index Shape index.
|
7976
|
+
# @param paragraph_index Paragraph index.
|
7977
|
+
# @param portion_index Portion index.
|
7978
|
+
# @param format Format.
|
7979
|
+
# @param password Document password.
|
7980
|
+
# @param folder Document folder.
|
7981
|
+
# @param storage Document storage.
|
7982
|
+
def download_math_portion(name, slide_index, shape_index, paragraph_index, portion_index, format, password = nil, folder = nil, storage = nil)
|
7983
|
+
data, _status_code, _headers = download_math_portion_with_http_info(name, slide_index, shape_index, paragraph_index, portion_index, format, password, folder, storage)
|
7984
|
+
data
|
7985
|
+
end
|
7986
|
+
|
7987
|
+
# Convert Mathematical Text to MathML Format
|
7988
|
+
# @param name Document name.
|
7989
|
+
# @param slide_index Slide index.
|
7990
|
+
# @param shape_index Shape index.
|
7991
|
+
# @param paragraph_index Paragraph index.
|
7992
|
+
# @param portion_index Portion index.
|
7993
|
+
# @param format Format.
|
7994
|
+
# @param password Document password.
|
7995
|
+
# @param folder Document folder.
|
7996
|
+
# @param storage Document storage.
|
7997
|
+
def download_math_portion_with_http_info(name, slide_index, shape_index, paragraph_index, portion_index, format, password = nil, folder = nil, storage = nil)
|
7998
|
+
if @api_client.config.debugging
|
7999
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.download_math_portion ...'
|
8000
|
+
end
|
8001
|
+
|
8002
|
+
# verify the required parameter 'name' is set
|
8003
|
+
if @api_client.config.client_side_validation && name.nil?
|
8004
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.download_math_portion"
|
8005
|
+
end
|
8006
|
+
# verify the required parameter 'slide_index' is set
|
8007
|
+
if @api_client.config.client_side_validation && slide_index.nil?
|
8008
|
+
fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.download_math_portion"
|
8009
|
+
end
|
8010
|
+
# verify the required parameter 'shape_index' is set
|
8011
|
+
if @api_client.config.client_side_validation && shape_index.nil?
|
8012
|
+
fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.download_math_portion"
|
8013
|
+
end
|
8014
|
+
# verify the required parameter 'paragraph_index' is set
|
8015
|
+
if @api_client.config.client_side_validation && paragraph_index.nil?
|
8016
|
+
fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.download_math_portion"
|
8017
|
+
end
|
8018
|
+
# verify the required parameter 'portion_index' is set
|
8019
|
+
if @api_client.config.client_side_validation && portion_index.nil?
|
8020
|
+
fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.download_math_portion"
|
8021
|
+
end
|
8022
|
+
# verify the required parameter 'format' is set
|
8023
|
+
if @api_client.config.client_side_validation && format.nil?
|
8024
|
+
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_math_portion"
|
8025
|
+
end
|
8026
|
+
# verify enum value
|
8027
|
+
if @api_client.config.client_side_validation && !['MathML', 'LaTeX'].any?{ |s| s.casecmp(format)==0 }
|
8028
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of MathML, LaTeX"
|
8029
|
+
end
|
8030
|
+
# resource path
|
8031
|
+
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/{format}'
|
8032
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
|
8033
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
|
8034
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
|
8035
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', paragraph_index)
|
8036
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', portion_index)
|
8037
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', format)
|
8038
|
+
|
8039
|
+
# query parameters
|
8040
|
+
query_params = {}
|
8041
|
+
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
8042
|
+
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
8043
|
+
|
8044
|
+
# header parameters
|
8045
|
+
header_params = {}
|
8046
|
+
# HTTP header 'Accept' (if needed)
|
8047
|
+
header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
|
8048
|
+
# HTTP header 'Content-Type'
|
8049
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
8050
|
+
header_params[:'password'] = password unless password.nil?
|
8051
|
+
|
8052
|
+
# http body (model)
|
8053
|
+
post_body = nil
|
8054
|
+
|
8055
|
+
# form parameters
|
8056
|
+
post_files = []
|
8057
|
+
|
8058
|
+
auth_names = ['JWT']
|
8059
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
8060
|
+
:header_params => header_params,
|
8061
|
+
:query_params => query_params,
|
8062
|
+
:body => post_body,
|
8063
|
+
:files => post_files,
|
8064
|
+
:auth_names => auth_names,
|
8065
|
+
:return_type => 'File')
|
8066
|
+
return data, status_code, headers
|
8067
|
+
end
|
7902
8068
|
# Convert notes slide to the specified image format.
|
7903
8069
|
# @param name Document name.
|
7904
8070
|
# @param slide_index Slide index.
|
@@ -8185,8 +8351,8 @@ module AsposeSlidesCloud
|
|
8185
8351
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_presentation"
|
8186
8352
|
end
|
8187
8353
|
# verify enum value
|
8188
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
8189
|
-
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"
|
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"
|
8190
8356
|
end
|
8191
8357
|
# resource path
|
8192
8358
|
local_var_path = '/slides/{name}/{format}'
|
@@ -8527,8 +8693,8 @@ module AsposeSlidesCloud
|
|
8527
8693
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_slide"
|
8528
8694
|
end
|
8529
8695
|
# verify enum value
|
8530
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
8531
|
-
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"
|
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"
|
8532
8698
|
end
|
8533
8699
|
# resource path
|
8534
8700
|
local_var_path = '/slides/{name}/slides/{slideIndex}/{format}'
|
@@ -8611,8 +8777,8 @@ module AsposeSlidesCloud
|
|
8611
8777
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_slide_online"
|
8612
8778
|
end
|
8613
8779
|
# verify enum value
|
8614
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
8615
|
-
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"
|
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"
|
8616
8782
|
end
|
8617
8783
|
# resource path
|
8618
8784
|
local_var_path = '/slides/slides/{slideIndex}/{format}'
|
@@ -15067,6 +15233,108 @@ module AsposeSlidesCloud
|
|
15067
15233
|
# @param shape_index Shape index.
|
15068
15234
|
# @param paragraph_index Paragraph index.
|
15069
15235
|
# @param portion_index Portion index.
|
15236
|
+
# @param format Format.
|
15237
|
+
# @param out_path Path to save result.
|
15238
|
+
# @param password Document password.
|
15239
|
+
# @param folder Presentation folder.
|
15240
|
+
# @param storage Presentation storage.
|
15241
|
+
def save_math_portion(name, slide_index, shape_index, paragraph_index, portion_index, format, out_path, password = nil, folder = nil, storage = nil)
|
15242
|
+
save_math_portion_with_http_info(name, slide_index, shape_index, paragraph_index, portion_index, format, out_path, password, folder, storage)
|
15243
|
+
nil
|
15244
|
+
end
|
15245
|
+
|
15246
|
+
# Convert Mathematical Text to MathML Format and saves result to the storage
|
15247
|
+
# @param name Document name.
|
15248
|
+
# @param slide_index Slide index.
|
15249
|
+
# @param shape_index Shape index.
|
15250
|
+
# @param paragraph_index Paragraph index.
|
15251
|
+
# @param portion_index Portion index.
|
15252
|
+
# @param format Format.
|
15253
|
+
# @param out_path Path to save result.
|
15254
|
+
# @param password Document password.
|
15255
|
+
# @param folder Presentation folder.
|
15256
|
+
# @param storage Presentation storage.
|
15257
|
+
def save_math_portion_with_http_info(name, slide_index, shape_index, paragraph_index, portion_index, format, out_path, password = nil, folder = nil, storage = nil)
|
15258
|
+
if @api_client.config.debugging
|
15259
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.save_math_portion ...'
|
15260
|
+
end
|
15261
|
+
|
15262
|
+
# verify the required parameter 'name' is set
|
15263
|
+
if @api_client.config.client_side_validation && name.nil?
|
15264
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.save_math_portion"
|
15265
|
+
end
|
15266
|
+
# verify the required parameter 'slide_index' is set
|
15267
|
+
if @api_client.config.client_side_validation && slide_index.nil?
|
15268
|
+
fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.save_math_portion"
|
15269
|
+
end
|
15270
|
+
# verify the required parameter 'shape_index' is set
|
15271
|
+
if @api_client.config.client_side_validation && shape_index.nil?
|
15272
|
+
fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.save_math_portion"
|
15273
|
+
end
|
15274
|
+
# verify the required parameter 'paragraph_index' is set
|
15275
|
+
if @api_client.config.client_side_validation && paragraph_index.nil?
|
15276
|
+
fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.save_math_portion"
|
15277
|
+
end
|
15278
|
+
# verify the required parameter 'portion_index' is set
|
15279
|
+
if @api_client.config.client_side_validation && portion_index.nil?
|
15280
|
+
fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.save_math_portion"
|
15281
|
+
end
|
15282
|
+
# verify the required parameter 'format' is set
|
15283
|
+
if @api_client.config.client_side_validation && format.nil?
|
15284
|
+
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_math_portion"
|
15285
|
+
end
|
15286
|
+
# verify enum value
|
15287
|
+
if @api_client.config.client_side_validation && !['MathML', 'LaTeX'].any?{ |s| s.casecmp(format)==0 }
|
15288
|
+
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of MathML, LaTeX"
|
15289
|
+
end
|
15290
|
+
# verify the required parameter 'out_path' is set
|
15291
|
+
if @api_client.config.client_side_validation && out_path.nil?
|
15292
|
+
fail ArgumentError, "Missing the required parameter 'out_path' when calling SlidesApi.save_math_portion"
|
15293
|
+
end
|
15294
|
+
# resource path
|
15295
|
+
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/{format}'
|
15296
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
|
15297
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
|
15298
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
|
15299
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', paragraph_index)
|
15300
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', portion_index)
|
15301
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', format)
|
15302
|
+
|
15303
|
+
# query parameters
|
15304
|
+
query_params = {}
|
15305
|
+
query_params[:'outPath'] = @api_client.prepare_for_query(out_path) unless out_path.nil?
|
15306
|
+
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
15307
|
+
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
15308
|
+
|
15309
|
+
# header parameters
|
15310
|
+
header_params = {}
|
15311
|
+
# HTTP header 'Accept' (if needed)
|
15312
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
15313
|
+
# HTTP header 'Content-Type'
|
15314
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
15315
|
+
header_params[:'password'] = password unless password.nil?
|
15316
|
+
|
15317
|
+
# http body (model)
|
15318
|
+
post_body = nil
|
15319
|
+
|
15320
|
+
# form parameters
|
15321
|
+
post_files = []
|
15322
|
+
|
15323
|
+
auth_names = ['JWT']
|
15324
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
15325
|
+
:header_params => header_params,
|
15326
|
+
:query_params => query_params,
|
15327
|
+
:body => post_body,
|
15328
|
+
:files => post_files,
|
15329
|
+
:auth_names => auth_names)
|
15330
|
+
return data, status_code, headers
|
15331
|
+
end
|
15332
|
+
# Convert Mathematical Text to MathML Format and saves result to the storage
|
15333
|
+
# @param name Document name.
|
15334
|
+
# @param slide_index Slide index.
|
15335
|
+
# @param shape_index Shape index.
|
15336
|
+
# @param paragraph_index Paragraph index.
|
15337
|
+
# @param portion_index Portion index.
|
15070
15338
|
# @param out_path Path to save result.
|
15071
15339
|
# @param password Document password.
|
15072
15340
|
# @param folder Presentation folder.
|
@@ -15191,8 +15459,8 @@ module AsposeSlidesCloud
|
|
15191
15459
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_presentation"
|
15192
15460
|
end
|
15193
15461
|
# verify enum value
|
15194
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
15195
|
-
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"
|
15462
|
+
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 }
|
15463
|
+
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"
|
15196
15464
|
end
|
15197
15465
|
# verify the required parameter 'out_path' is set
|
15198
15466
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -15493,8 +15761,8 @@ module AsposeSlidesCloud
|
|
15493
15761
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_slide"
|
15494
15762
|
end
|
15495
15763
|
# verify enum value
|
15496
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
15497
|
-
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"
|
15764
|
+
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 }
|
15765
|
+
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"
|
15498
15766
|
end
|
15499
15767
|
# verify the required parameter 'out_path' is set
|
15500
15768
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -15583,8 +15851,8 @@ module AsposeSlidesCloud
|
|
15583
15851
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_slide_online"
|
15584
15852
|
end
|
15585
15853
|
# verify enum value
|
15586
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
15587
|
-
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"
|
15854
|
+
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 }
|
15855
|
+
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"
|
15588
15856
|
end
|
15589
15857
|
# verify the required parameter 'out_path' is set
|
15590
15858
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -17474,8 +17742,8 @@ module AsposeSlidesCloud
|
|
17474
17742
|
if @api_client.config.client_side_validation && name.nil?
|
17475
17743
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.split"
|
17476
17744
|
end
|
17477
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
17478
|
-
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"
|
17745
|
+
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 }
|
17746
|
+
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"
|
17479
17747
|
end
|
17480
17748
|
# resource path
|
17481
17749
|
local_var_path = '/slides/{name}/split'
|
@@ -17560,8 +17828,8 @@ module AsposeSlidesCloud
|
|
17560
17828
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.split_and_save_online"
|
17561
17829
|
end
|
17562
17830
|
# verify enum value
|
17563
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
17564
|
-
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"
|
17831
|
+
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 }
|
17832
|
+
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"
|
17565
17833
|
end
|
17566
17834
|
# resource path
|
17567
17835
|
local_var_path = '/slides/split/{format}'
|
@@ -17645,8 +17913,8 @@ module AsposeSlidesCloud
|
|
17645
17913
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.split_online"
|
17646
17914
|
end
|
17647
17915
|
# verify enum value
|
17648
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
17649
|
-
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"
|
17916
|
+
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 }
|
17917
|
+
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"
|
17650
17918
|
end
|
17651
17919
|
# resource path
|
17652
17920
|
local_var_path = '/slides/split/{format}'
|
@@ -155,8 +155,8 @@ module AsposeSlidesCloud
|
|
155
155
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_convert"
|
156
156
|
end
|
157
157
|
# verify enum value
|
158
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
159
|
-
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"
|
158
|
+
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 }
|
159
|
+
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"
|
160
160
|
end
|
161
161
|
# resource path
|
162
162
|
local_var_path = '/slides/async/convert/{format}'
|
@@ -230,8 +230,8 @@ module AsposeSlidesCloud
|
|
230
230
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_convert_and_save"
|
231
231
|
end
|
232
232
|
# verify enum value
|
233
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
234
|
-
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"
|
233
|
+
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 }
|
234
|
+
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"
|
235
235
|
end
|
236
236
|
# verify the required parameter 'out_path' is set
|
237
237
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -310,8 +310,8 @@ module AsposeSlidesCloud
|
|
310
310
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_download_presentation"
|
311
311
|
end
|
312
312
|
# verify enum value
|
313
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
314
|
-
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"
|
313
|
+
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 }
|
314
|
+
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"
|
315
315
|
end
|
316
316
|
# resource path
|
317
317
|
local_var_path = '/slides/async/{name}/{format}'
|
@@ -491,8 +491,8 @@ module AsposeSlidesCloud
|
|
491
491
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_save_presentation"
|
492
492
|
end
|
493
493
|
# verify enum value
|
494
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
495
|
-
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"
|
494
|
+
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 }
|
495
|
+
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"
|
496
496
|
end
|
497
497
|
# verify the required parameter 'out_path' is set
|
498
498
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -212,6 +212,7 @@ module AsposeSlidesCloud
|
|
212
212
|
alternative_text == o.alternative_text &&
|
213
213
|
alternative_text_title == o.alternative_text_title &&
|
214
214
|
hidden == o.hidden &&
|
215
|
+
is_decorative == o.is_decorative &&
|
215
216
|
x == o.x &&
|
216
217
|
y == o.y &&
|
217
218
|
z_order_position == o.z_order_position &&
|
@@ -247,7 +248,7 @@ module AsposeSlidesCloud
|
|
247
248
|
# Calculates hash code according to all attributes.
|
248
249
|
# @return [Fixnum] Hash code
|
249
250
|
def hash
|
250
|
-
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, shape_type, audio_cd_end_track, audio_cd_end_track_time, audio_cd_start_track, audio_cd_start_track_time, embedded, hide_at_showing, play_loop_mode, play_mode, volume, base64_data, play_across_slides, rewind_audio, picture_fill_format].hash
|
251
|
+
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, is_decorative, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, shape_type, audio_cd_end_track, audio_cd_end_track_time, audio_cd_start_track, audio_cd_start_track_time, embedded, hide_at_showing, play_loop_mode, play_mode, volume, base64_data, play_across_slides, rewind_audio, picture_fill_format].hash
|
251
252
|
end
|
252
253
|
end
|
253
254
|
end
|
@@ -85,6 +85,7 @@ module AsposeSlidesCloud
|
|
85
85
|
effect_format == o.effect_format &&
|
86
86
|
three_d_format == o.three_d_format &&
|
87
87
|
line_format == o.line_format &&
|
88
|
+
marker == o.marker &&
|
88
89
|
type == o.type &&
|
89
90
|
x_value == o.x_value &&
|
90
91
|
y_value == o.y_value &&
|
@@ -103,7 +104,7 @@ module AsposeSlidesCloud
|
|
103
104
|
# Calculates hash code according to all attributes.
|
104
105
|
# @return [Fixnum] Hash code
|
105
106
|
def hash
|
106
|
-
[fill_format, effect_format, three_d_format, line_format, type, x_value, y_value, x_value_formula, y_value_formula, bubble_size, bubble_size_formula].hash
|
107
|
+
[fill_format, effect_format, three_d_format, line_format, marker, type, x_value, y_value, x_value_formula, y_value_formula, bubble_size, bubble_size_formula].hash
|
107
108
|
end
|
108
109
|
end
|
109
110
|
end
|
@@ -220,6 +220,7 @@ module AsposeSlidesCloud
|
|
220
220
|
alternative_text == o.alternative_text &&
|
221
221
|
alternative_text_title == o.alternative_text_title &&
|
222
222
|
hidden == o.hidden &&
|
223
|
+
is_decorative == o.is_decorative &&
|
223
224
|
x == o.x &&
|
224
225
|
y == o.y &&
|
225
226
|
z_order_position == o.z_order_position &&
|
@@ -255,7 +256,7 @@ module AsposeSlidesCloud
|
|
255
256
|
# Calculates hash code according to all attributes.
|
256
257
|
# @return [Fixnum] Hash code
|
257
258
|
def hash
|
258
|
-
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, chart_type, show_data_labels_over_maximum, series, categories, data_source_for_categories, title, back_wall, side_wall, floor, legend, axes, plot_area, has_rounded_corners, series_groups].hash
|
259
|
+
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, is_decorative, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, chart_type, show_data_labels_over_maximum, series, categories, data_source_for_categories, title, back_wall, side_wall, floor, legend, axes, plot_area, has_rounded_corners, series_groups].hash
|
259
260
|
end
|
260
261
|
end
|
261
262
|
end
|
@@ -107,6 +107,7 @@ module AsposeSlidesCloud
|
|
107
107
|
alternative_text == o.alternative_text &&
|
108
108
|
alternative_text_title == o.alternative_text_title &&
|
109
109
|
hidden == o.hidden &&
|
110
|
+
is_decorative == o.is_decorative &&
|
110
111
|
x == o.x &&
|
111
112
|
y == o.y &&
|
112
113
|
z_order_position == o.z_order_position &&
|
@@ -133,7 +134,7 @@ module AsposeSlidesCloud
|
|
133
134
|
# Calculates hash code according to all attributes.
|
134
135
|
# @return [Fixnum] Hash code
|
135
136
|
def hash
|
136
|
-
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, shape_type, start_shape_connected_to, start_shape_connected_to_index, end_shape_connected_to, end_shape_connected_to_index].hash
|
137
|
+
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, is_decorative, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, shape_type, start_shape_connected_to, start_shape_connected_to_index, end_shape_connected_to, end_shape_connected_to_index].hash
|
137
138
|
end
|
138
139
|
end
|
139
140
|
end
|