aspose_slides_cloud 24.2.0 → 24.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +13 -0
- data/lib/aspose_slides_cloud/api/slides_api.rb +100 -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/chart.rb +2 -1
- data/lib/aspose_slides_cloud/models/connector.rb +2 -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/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/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/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 +5 -0
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/lib/aspose_slides_cloud.rb +3 -0
- data/spec/api/slides_api_spec.rb +175 -0
- data/spec/use_cases/image_spec.rb +27 -0
- data/testRules.json +2 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b94e6425ee7b47026a371cf4c4311fd413d8a9fcd0d50ab644bacbbecce5a908
|
4
|
+
data.tar.gz: 4b85491caa7b74545b956d1375e8f9ad61ff35210dec4b7ca8e96986799fbac7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4b7983df49c75fa1f8a06e2c678222a249d224033f1fa4df0c36330d7ef117592fdcbadf30e7994e813effc05571f2ec68cb19ece9055c3880f4e8da0d75f07
|
7
|
+
data.tar.gz: bf948f3a53a7058f19560d9e86be7254bb6c3721b52d4810ae87f316db14b94e77d2276a77dc9449a25d4a25f77b5d4c9ad923b1e2213b738e1994e62f350ab1
|
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.3.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.7)
|
21
21
|
crack (1.0.0)
|
22
22
|
bigdecimal
|
23
23
|
rexml
|
@@ -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,19 @@ 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.3
|
31
|
+
|
32
|
+
* Added Markdown (**Md**) to the list of allowed export formats.
|
33
|
+
* Added **DeletePictureCroppedAreas** method to delete cropped areas of pictures.
|
34
|
+
* Added **SlidesLayoutOptions** property to **PdfExportOptions**, **HtmlExportOptions**, **TiffExportOptions** and **ImageExportOptions** classes. You can use it to specify handout or notes/comments layouting options.
|
35
|
+
* Added **AnimateTextType** enum property to **Effect** class.
|
36
|
+
* Added **NotesCommentsLayouting** property to **Html5ExportOptions** class.
|
37
|
+
* Added **BwConversionMode** property to **TiffExportOptions** class.
|
38
|
+
* Added **EmbedImages** boolean property to **Html5ExportOptions** class.
|
39
|
+
* Added **ShowMediaControls** boolean property to **SlideShowProperties** class.
|
40
|
+
* Added **IsDecorative** boolean property to **ShapeBase** class.
|
41
|
+
|
42
|
+
|
30
43
|
## Enhancements in Version 24.2
|
31
44
|
|
32
45
|
* Added **GetCommentAuthors** method to get list of comment authors.
|
@@ -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,84 @@ 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, folder, 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, folder, 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
|
+
# verify the required parameter 'password' is set
|
4787
|
+
if @api_client.config.client_side_validation && password.nil?
|
4788
|
+
fail ArgumentError, "Missing the required parameter 'password' when calling SlidesApi.delete_picture_cropped_areas"
|
4789
|
+
end
|
4790
|
+
# verify the required parameter 'folder' is set
|
4791
|
+
if @api_client.config.client_side_validation && folder.nil?
|
4792
|
+
fail ArgumentError, "Missing the required parameter 'folder' when calling SlidesApi.delete_picture_cropped_areas"
|
4793
|
+
end
|
4794
|
+
# resource path
|
4795
|
+
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/pictureCroppedAreas'
|
4796
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
|
4797
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
|
4798
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
|
4799
|
+
|
4800
|
+
# query parameters
|
4801
|
+
query_params = {}
|
4802
|
+
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
4803
|
+
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
4804
|
+
|
4805
|
+
# header parameters
|
4806
|
+
header_params = {}
|
4807
|
+
# HTTP header 'Accept' (if needed)
|
4808
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
4809
|
+
# HTTP header 'Content-Type'
|
4810
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
4811
|
+
header_params[:'password'] = password
|
4812
|
+
|
4813
|
+
# http body (model)
|
4814
|
+
post_body = nil
|
4815
|
+
|
4816
|
+
# form parameters
|
4817
|
+
post_files = []
|
4818
|
+
|
4819
|
+
auth_names = ['JWT']
|
4820
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
4821
|
+
:header_params => header_params,
|
4822
|
+
:query_params => query_params,
|
4823
|
+
:body => post_body,
|
4824
|
+
:files => post_files,
|
4825
|
+
:auth_names => auth_names)
|
4826
|
+
return data, status_code, headers
|
4827
|
+
end
|
4750
4828
|
# Remove a portion.
|
4751
4829
|
# @param name Document name.
|
4752
4830
|
# @param slide_index Slide index.
|
@@ -8185,8 +8263,8 @@ module AsposeSlidesCloud
|
|
8185
8263
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_presentation"
|
8186
8264
|
end
|
8187
8265
|
# 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"
|
8266
|
+
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 }
|
8267
|
+
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
8268
|
end
|
8191
8269
|
# resource path
|
8192
8270
|
local_var_path = '/slides/{name}/{format}'
|
@@ -8527,8 +8605,8 @@ module AsposeSlidesCloud
|
|
8527
8605
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_slide"
|
8528
8606
|
end
|
8529
8607
|
# 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"
|
8608
|
+
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 }
|
8609
|
+
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
8610
|
end
|
8533
8611
|
# resource path
|
8534
8612
|
local_var_path = '/slides/{name}/slides/{slideIndex}/{format}'
|
@@ -8611,8 +8689,8 @@ module AsposeSlidesCloud
|
|
8611
8689
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_slide_online"
|
8612
8690
|
end
|
8613
8691
|
# 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"
|
8692
|
+
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 }
|
8693
|
+
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
8694
|
end
|
8617
8695
|
# resource path
|
8618
8696
|
local_var_path = '/slides/slides/{slideIndex}/{format}'
|
@@ -15191,8 +15269,8 @@ module AsposeSlidesCloud
|
|
15191
15269
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_presentation"
|
15192
15270
|
end
|
15193
15271
|
# 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"
|
15272
|
+
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 }
|
15273
|
+
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
15274
|
end
|
15197
15275
|
# verify the required parameter 'out_path' is set
|
15198
15276
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -15493,8 +15571,8 @@ module AsposeSlidesCloud
|
|
15493
15571
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_slide"
|
15494
15572
|
end
|
15495
15573
|
# 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"
|
15574
|
+
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 }
|
15575
|
+
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
15576
|
end
|
15499
15577
|
# verify the required parameter 'out_path' is set
|
15500
15578
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -15583,8 +15661,8 @@ module AsposeSlidesCloud
|
|
15583
15661
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_slide_online"
|
15584
15662
|
end
|
15585
15663
|
# 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"
|
15664
|
+
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 }
|
15665
|
+
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
15666
|
end
|
15589
15667
|
# verify the required parameter 'out_path' is set
|
15590
15668
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -17474,8 +17552,8 @@ module AsposeSlidesCloud
|
|
17474
17552
|
if @api_client.config.client_side_validation && name.nil?
|
17475
17553
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.split"
|
17476
17554
|
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"
|
17555
|
+
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 }
|
17556
|
+
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
17557
|
end
|
17480
17558
|
# resource path
|
17481
17559
|
local_var_path = '/slides/{name}/split'
|
@@ -17560,8 +17638,8 @@ module AsposeSlidesCloud
|
|
17560
17638
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.split_and_save_online"
|
17561
17639
|
end
|
17562
17640
|
# 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"
|
17641
|
+
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 }
|
17642
|
+
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
17643
|
end
|
17566
17644
|
# resource path
|
17567
17645
|
local_var_path = '/slides/split/{format}'
|
@@ -17645,8 +17723,8 @@ module AsposeSlidesCloud
|
|
17645
17723
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.split_online"
|
17646
17724
|
end
|
17647
17725
|
# 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"
|
17726
|
+
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 }
|
17727
|
+
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
17728
|
end
|
17651
17729
|
# resource path
|
17652
17730
|
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
|
@@ -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
|
@@ -34,6 +34,9 @@ module AsposeSlidesCloud
|
|
34
34
|
# Preset class type.
|
35
35
|
attr_accessor :preset_class_type
|
36
36
|
|
37
|
+
# Preset class type.
|
38
|
+
attr_accessor :animate_text_type
|
39
|
+
|
37
40
|
# Shape index.
|
38
41
|
attr_accessor :shape_index
|
39
42
|
|
@@ -94,6 +97,7 @@ module AsposeSlidesCloud
|
|
94
97
|
:'type' => :'Type',
|
95
98
|
:'subtype' => :'Subtype',
|
96
99
|
:'preset_class_type' => :'PresetClassType',
|
100
|
+
:'animate_text_type' => :'AnimateTextType',
|
97
101
|
:'shape_index' => :'ShapeIndex',
|
98
102
|
:'paragraph_index' => :'ParagraphIndex',
|
99
103
|
:'trigger_type' => :'TriggerType',
|
@@ -121,6 +125,7 @@ module AsposeSlidesCloud
|
|
121
125
|
:'type' => :'String',
|
122
126
|
:'subtype' => :'String',
|
123
127
|
:'preset_class_type' => :'String',
|
128
|
+
:'animate_text_type' => :'String',
|
124
129
|
:'shape_index' => :'Integer',
|
125
130
|
:'paragraph_index' => :'Integer',
|
126
131
|
:'trigger_type' => :'String',
|
@@ -162,6 +167,10 @@ module AsposeSlidesCloud
|
|
162
167
|
self.preset_class_type = attributes[:'PresetClassType']
|
163
168
|
end
|
164
169
|
|
170
|
+
if attributes.has_key?(:'AnimateTextType')
|
171
|
+
self.animate_text_type = attributes[:'AnimateTextType']
|
172
|
+
end
|
173
|
+
|
165
174
|
if attributes.has_key?(:'ShapeIndex')
|
166
175
|
self.shape_index = attributes[:'ShapeIndex']
|
167
176
|
end
|
@@ -255,6 +264,8 @@ module AsposeSlidesCloud
|
|
255
264
|
return false unless subtype_validator.valid?(@subtype)
|
256
265
|
preset_class_type_validator = EnumAttributeValidator.new('String', ['Entrance', 'Exit', 'Emphasis', 'Path', 'MediaCall', 'OLEActionVerbs'])
|
257
266
|
return false unless preset_class_type_validator.valid?(@preset_class_type)
|
267
|
+
animate_text_type_validator = EnumAttributeValidator.new('String', ['AllAtOnce', 'ByWord', 'ByLetter'])
|
268
|
+
return false unless animate_text_type_validator.valid?(@animate_text_type)
|
258
269
|
return false if @shape_index.nil?
|
259
270
|
trigger_type_validator = EnumAttributeValidator.new('String', ['AfterPrevious', 'OnClick', 'WithPrevious'])
|
260
271
|
return false unless trigger_type_validator.valid?(@trigger_type)
|
@@ -295,6 +306,16 @@ module AsposeSlidesCloud
|
|
295
306
|
@preset_class_type = preset_class_type
|
296
307
|
end
|
297
308
|
|
309
|
+
# Custom attribute writer method checking allowed values (enum).
|
310
|
+
# @param [Object] animate_text_type Object to be assigned
|
311
|
+
def animate_text_type=(animate_text_type)
|
312
|
+
validator = EnumAttributeValidator.new('String', ['AllAtOnce', 'ByWord', 'ByLetter'])
|
313
|
+
unless validator.valid?(animate_text_type)
|
314
|
+
fail ArgumentError, 'invalid value for "animate_text_type", must be one of #{validator.allowable_values}.'
|
315
|
+
end
|
316
|
+
@animate_text_type = animate_text_type
|
317
|
+
end
|
318
|
+
|
298
319
|
# Custom attribute writer method checking allowed values (enum).
|
299
320
|
# @param [Object] trigger_type Object to be assigned
|
300
321
|
def trigger_type=(trigger_type)
|
@@ -333,6 +354,7 @@ module AsposeSlidesCloud
|
|
333
354
|
type == o.type &&
|
334
355
|
subtype == o.subtype &&
|
335
356
|
preset_class_type == o.preset_class_type &&
|
357
|
+
animate_text_type == o.animate_text_type &&
|
336
358
|
shape_index == o.shape_index &&
|
337
359
|
paragraph_index == o.paragraph_index &&
|
338
360
|
trigger_type == o.trigger_type &&
|
@@ -362,7 +384,7 @@ module AsposeSlidesCloud
|
|
362
384
|
# Calculates hash code according to all attributes.
|
363
385
|
# @return [Fixnum] Hash code
|
364
386
|
def hash
|
365
|
-
[type, subtype, preset_class_type, shape_index, paragraph_index, trigger_type, accelerate, auto_reverse, decelerate, duration, repeat_count, repeat_duration, restart, speed, trigger_delay_time, repeat_until_end_slide, repeat_until_next_click, stop_previous_sound, rewind, after_animation_type, after_animation_color].hash
|
387
|
+
[type, subtype, preset_class_type, animate_text_type, shape_index, paragraph_index, trigger_type, accelerate, auto_reverse, decelerate, duration, repeat_count, repeat_duration, restart, speed, trigger_delay_time, repeat_until_end_slide, repeat_until_next_click, stop_previous_sound, rewind, after_animation_type, after_animation_color].hash
|
366
388
|
end
|
367
389
|
end
|
368
390
|
end
|
@@ -96,6 +96,7 @@ module AsposeSlidesCloud
|
|
96
96
|
alternative_text == o.alternative_text &&
|
97
97
|
alternative_text_title == o.alternative_text_title &&
|
98
98
|
hidden == o.hidden &&
|
99
|
+
is_decorative == o.is_decorative &&
|
99
100
|
x == o.x &&
|
100
101
|
y == o.y &&
|
101
102
|
z_order_position == o.z_order_position &&
|
@@ -118,7 +119,7 @@ module AsposeSlidesCloud
|
|
118
119
|
# Calculates hash code according to all attributes.
|
119
120
|
# @return [Fixnum] Hash code
|
120
121
|
def hash
|
121
|
-
[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].hash
|
122
|
+
[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].hash
|
122
123
|
end
|
123
124
|
end
|
124
125
|
end
|
@@ -71,6 +71,7 @@ module AsposeSlidesCloud
|
|
71
71
|
alternative_text == o.alternative_text &&
|
72
72
|
alternative_text_title == o.alternative_text_title &&
|
73
73
|
hidden == o.hidden &&
|
74
|
+
is_decorative == o.is_decorative &&
|
74
75
|
x == o.x &&
|
75
76
|
y == o.y &&
|
76
77
|
z_order_position == o.z_order_position &&
|
@@ -92,7 +93,7 @@ module AsposeSlidesCloud
|
|
92
93
|
# Calculates hash code according to all attributes.
|
93
94
|
# @return [Fixnum] Hash code
|
94
95
|
def hash
|
95
|
-
[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].hash
|
96
|
+
[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].hash
|
96
97
|
end
|
97
98
|
end
|
98
99
|
end
|
@@ -80,6 +80,7 @@ module AsposeSlidesCloud
|
|
80
80
|
alternative_text == o.alternative_text &&
|
81
81
|
alternative_text_title == o.alternative_text_title &&
|
82
82
|
hidden == o.hidden &&
|
83
|
+
is_decorative == o.is_decorative &&
|
83
84
|
x == o.x &&
|
84
85
|
y == o.y &&
|
85
86
|
z_order_position == o.z_order_position &&
|
@@ -102,7 +103,7 @@ module AsposeSlidesCloud
|
|
102
103
|
# Calculates hash code according to all attributes.
|
103
104
|
# @return [Fixnum] Hash code
|
104
105
|
def hash
|
105
|
-
[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, shapes].hash
|
106
|
+
[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, shapes].hash
|
106
107
|
end
|
107
108
|
end
|
108
109
|
end
|