aspose_slides_cloud 23.11.0 → 24.2.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 +20 -18
- data/README.md +4 -46
- data/lib/aspose_slides_cloud/api/slides_api.rb +104 -0
- data/lib/aspose_slides_cloud/models/comment_author.rb +101 -0
- data/lib/aspose_slides_cloud/models/comment_authors.rb +93 -0
- data/lib/aspose_slides_cloud/models/font_data.rb +12 -2
- data/lib/aspose_slides_cloud/type_registry.rb +3 -0
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/lib/aspose_slides_cloud.rb +2 -0
- data/spec/api/slides_api_spec.rb +174 -0
- data/spec/use_cases/comment_spec.rb +8 -0
- data/spec/use_cases/font_spec.rb +8 -2
- data/spec/use_cases/shape_spec.rb +9 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43dc820762d0ae2925bf3b6f8c72a9a847e1bfa0730937a1378ab47b78b02e56
|
4
|
+
data.tar.gz: fae90830f26f69a0f4b5c941cec9b8b809c8c0bebebf62ba27ea09a6fa904295
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c8100c03463880500d4bf8e0d98c890247722b9c4c217191aade5ffe1c7ea1cd85898b33768e412551637867eff33719e10ed0ab67b02b39d235f437ca0e05d
|
7
|
+
data.tar.gz: 17aa7a9883ad52ea481b156a02fcea1741a8ca82ce59c3ae6a22d1e9d4a9bad1d4186003ebe15b2830ee5a5886b8a7dd5fb6433971352188b4107c692574b229
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
aspose_slides_cloud (
|
4
|
+
aspose_slides_cloud (24.2.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)
|
@@ -11,15 +11,17 @@ GEM
|
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
13
|
ZenTest (4.12.1)
|
14
|
-
addressable (2.8.
|
14
|
+
addressable (2.8.6)
|
15
15
|
public_suffix (>= 2.0.2, < 6.0)
|
16
16
|
autotest (4.4.6)
|
17
17
|
ZenTest (>= 4.4.1)
|
18
18
|
autotest-growl (0.2.16)
|
19
19
|
autotest-rails-pure (4.1.2)
|
20
|
-
|
20
|
+
bigdecimal (3.1.6)
|
21
|
+
crack (1.0.0)
|
22
|
+
bigdecimal
|
21
23
|
rexml
|
22
|
-
diff-lcs (1.5.
|
24
|
+
diff-lcs (1.5.1)
|
23
25
|
faraday (1.10.3)
|
24
26
|
faraday-em_http (~> 1.0)
|
25
27
|
faraday-em_synchrony (~> 1.0)
|
@@ -43,26 +45,26 @@ GEM
|
|
43
45
|
faraday-patron (1.0.0)
|
44
46
|
faraday-rack (1.0.0)
|
45
47
|
faraday-retry (1.0.3)
|
46
|
-
hashdiff (1.0
|
48
|
+
hashdiff (1.1.0)
|
47
49
|
httpclient (2.8.3)
|
48
|
-
json (2.7.
|
49
|
-
multipart-post (2.
|
50
|
+
json (2.7.1)
|
51
|
+
multipart-post (2.4.0)
|
50
52
|
public_suffix (5.0.4)
|
51
53
|
rake (12.3.3)
|
52
54
|
rexml (3.2.6)
|
53
|
-
rspec (3.
|
54
|
-
rspec-core (~> 3.
|
55
|
-
rspec-expectations (~> 3.
|
56
|
-
rspec-mocks (~> 3.
|
57
|
-
rspec-core (3.
|
58
|
-
rspec-support (~> 3.
|
59
|
-
rspec-expectations (3.
|
55
|
+
rspec (3.13.0)
|
56
|
+
rspec-core (~> 3.13.0)
|
57
|
+
rspec-expectations (~> 3.13.0)
|
58
|
+
rspec-mocks (~> 3.13.0)
|
59
|
+
rspec-core (3.13.0)
|
60
|
+
rspec-support (~> 3.13.0)
|
61
|
+
rspec-expectations (3.13.0)
|
60
62
|
diff-lcs (>= 1.2.0, < 2.0)
|
61
|
-
rspec-support (~> 3.
|
62
|
-
rspec-mocks (3.
|
63
|
+
rspec-support (~> 3.13.0)
|
64
|
+
rspec-mocks (3.13.0)
|
63
65
|
diff-lcs (>= 1.2.0, < 2.0)
|
64
|
-
rspec-support (~> 3.
|
65
|
-
rspec-support (3.
|
66
|
+
rspec-support (~> 3.13.0)
|
67
|
+
rspec-support (3.13.0)
|
66
68
|
rspec_junit_formatter (0.6.0)
|
67
69
|
rspec-core (>= 2, < 4, != 2.12.0)
|
68
70
|
ruby2_keywords (0.0.5)
|
data/README.md
CHANGED
@@ -27,55 +27,13 @@ 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
|
30
|
+
## Enhancements in Version 24.2
|
31
31
|
|
32
|
-
* Added **
|
33
|
-
* Added **StartMerge** and **StartMergeAndSave** methods to **SlidesAsyncApi**.
|
34
|
-
* Added **Progress** property to **Operation** class to enable async operation progress tracking.
|
32
|
+
* Added **GetCommentAuthors** method to get list of comment authors.
|
35
33
|
|
36
|
-
## Enhancements in Version
|
34
|
+
## Enhancements in Version 24.1
|
37
35
|
|
38
|
-
* Added
|
39
|
-
|
40
|
-
## Enhancements in Version 23.9
|
41
|
-
|
42
|
-
* Added **ReplaceImage** and **ReplaceImageOnline** methods that enable replacing images in a presentation.
|
43
|
-
|
44
|
-
## Enhancements in Version 23.7
|
45
|
-
|
46
|
-
* New methods **ReplaceTextFormatting** and **ReplaceTextFormatting** allow to replace text with formatting.
|
47
|
-
* Added **AfterAnimationType**, **Rewind** and **AfterAnimationColor** methods to **Effect** class.
|
48
|
-
* Added **TrimFromStart** and **TrimFromEnd** methods to **VideoFrame** class.
|
49
|
-
|
50
|
-
## Enhancements in Version 23.6
|
51
|
-
|
52
|
-
* Added methods ho handle VBA methods: **GetVbaProject**, **GetVbaModule**, **CreateVbaModule**, **UpdateVbaModule** and **DeleteVbaModule**. Added model classes related to VBA: **VbaProject**, **VbaModule** and **VbaReference**.
|
53
|
-
|
54
|
-
## Enhancements in Version 23.4
|
55
|
-
|
56
|
-
* Added **CreateTableRow**, **UpdateTableRow** and **DeleteTableRow** methods to add, update and delete table rows.
|
57
|
-
* Added **UpdateTableCell** method to update table cells.
|
58
|
-
* Added **MergeTableCells** and **SplitTableCell** methods to merge & split table cells.
|
59
|
-
* Added methods to get, add, modify and delete paragraphs & portions within table cells: **GetTableCellParagraph**, **GetTableCellParagraphs**, **GetTableCellPortion**, **GetTableCellPortions**, **CreateTableCellParagraph**, **CreateTableCellPortion**, **UpdateTableCellPortion**, **UpdateTableCellParagraph**, **DeleteTableCellParagraph**, **DeleteTableCellPortion**.
|
60
|
-
* New **TextFrameFormat** property in **TableCell** class allows to specify text format for table cells.
|
61
|
-
|
62
|
-
## Enhancements in Version 23.3
|
63
|
-
|
64
|
-
* Added **options** parameter to **SplitOnline** and **SplitAndSaveOnline** methods. Those options are the same as for other split & convert methods.
|
65
|
-
* Added **ShowHiddenSlides** boolean property to **ImageExportOptions** class.
|
66
|
-
|
67
|
-
## Enhancements in Version 23.2
|
68
|
-
|
69
|
-
* New **DownloadShapeFromDto** method allows to convert charts and other shapes from DTO to SVG and other formats without creating and storing presentation files.
|
70
|
-
* Added **SoundBase64** property to **Hyperlink** class to support getting and setting hyperlink sounds.
|
71
|
-
* Added **BulletFillFormat** property to **Paragraph** class.
|
72
|
-
* Added **StopPreviousSound** property to animation **Effect** class.
|
73
|
-
* Added a number of properties to **TextFrameFormat** that enable formatting shape text: **MarginLeft**, **MarginRight**, **MarginTop**, **MarginBottom**, **WrapText**, **AnchoringType**, **CenterText**, **TextVerticalType**, **AutofitType**, **ColumnCount**, **ColumnSpacing**, **KeepTextFlat**, **RotationAngle**, **DefaultParagraphFormat**.
|
74
|
-
* Added **Pdf16**, **Pdf17**, **PdfA2b**, **PdfA2a**, **PdfA2u**, **PdfA3a**, **PdfA3b** to the list of allowed values for **PdfExportOptions.Compliance** property.
|
75
|
-
|
76
|
-
## Enhancements in Version 23.1
|
77
|
-
|
78
|
-
* New **CompressEmbeddedFonts** and **CompressEmbeddedFontsOnline** methods allow to reduce the size taken by embedded fonts by excluding unused characters.
|
36
|
+
* Added **GetAvailableFonts** method to get list of installed system & custom fonts.
|
79
37
|
|
80
38
|
## Licensing
|
81
39
|
All Aspose.Slides Cloud SDKs are licensed under MIT License.
|
@@ -8877,6 +8877,53 @@ module AsposeSlidesCloud
|
|
8877
8877
|
:return_type => 'ApiInfo')
|
8878
8878
|
return data, status_code, headers
|
8879
8879
|
end
|
8880
|
+
# Returns presentation fonts info.
|
8881
|
+
# @param fonts_folder Storage folder for custom fonts.
|
8882
|
+
# @param storage Storage for custom fonts.
|
8883
|
+
def get_available_fonts(fonts_folder = nil, storage = nil)
|
8884
|
+
data, _status_code, _headers = get_available_fonts_with_http_info(fonts_folder, storage)
|
8885
|
+
data
|
8886
|
+
end
|
8887
|
+
|
8888
|
+
# Returns presentation fonts info.
|
8889
|
+
# @param fonts_folder Storage folder for custom fonts.
|
8890
|
+
# @param storage Storage for custom fonts.
|
8891
|
+
def get_available_fonts_with_http_info(fonts_folder = nil, storage = nil)
|
8892
|
+
if @api_client.config.debugging
|
8893
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.get_available_fonts ...'
|
8894
|
+
end
|
8895
|
+
|
8896
|
+
# resource path
|
8897
|
+
local_var_path = '/slides/fonts/available'
|
8898
|
+
|
8899
|
+
# query parameters
|
8900
|
+
query_params = {}
|
8901
|
+
query_params[:'fontsFolder'] = @api_client.prepare_for_query(fonts_folder) unless fonts_folder.nil?
|
8902
|
+
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
8903
|
+
|
8904
|
+
# header parameters
|
8905
|
+
header_params = {}
|
8906
|
+
# HTTP header 'Accept' (if needed)
|
8907
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
8908
|
+
# HTTP header 'Content-Type'
|
8909
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
8910
|
+
|
8911
|
+
# http body (model)
|
8912
|
+
post_body = nil
|
8913
|
+
|
8914
|
+
# form parameters
|
8915
|
+
post_files = []
|
8916
|
+
|
8917
|
+
auth_names = ['JWT']
|
8918
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
8919
|
+
:header_params => header_params,
|
8920
|
+
:query_params => query_params,
|
8921
|
+
:body => post_body,
|
8922
|
+
:files => post_files,
|
8923
|
+
:auth_names => auth_names,
|
8924
|
+
:return_type => 'FontsData')
|
8925
|
+
return data, status_code, headers
|
8926
|
+
end
|
8880
8927
|
# Read slide background info.
|
8881
8928
|
# @param name Document name.
|
8882
8929
|
# @param slide_index Slide index.
|
@@ -9005,6 +9052,63 @@ module AsposeSlidesCloud
|
|
9005
9052
|
:return_type => 'ColorScheme')
|
9006
9053
|
return data, status_code, headers
|
9007
9054
|
end
|
9055
|
+
# Lists comment authors.
|
9056
|
+
# @param name Document name.
|
9057
|
+
# @param password Document password.
|
9058
|
+
# @param folder Document folder.
|
9059
|
+
# @param storage Document storage.
|
9060
|
+
def get_comment_authors(name, password = nil, folder = nil, storage = nil)
|
9061
|
+
data, _status_code, _headers = get_comment_authors_with_http_info(name, password, folder, storage)
|
9062
|
+
data
|
9063
|
+
end
|
9064
|
+
|
9065
|
+
# Lists comment authors.
|
9066
|
+
# @param name Document name.
|
9067
|
+
# @param password Document password.
|
9068
|
+
# @param folder Document folder.
|
9069
|
+
# @param storage Document storage.
|
9070
|
+
def get_comment_authors_with_http_info(name, password = nil, folder = nil, storage = nil)
|
9071
|
+
if @api_client.config.debugging
|
9072
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.get_comment_authors ...'
|
9073
|
+
end
|
9074
|
+
|
9075
|
+
# verify the required parameter 'name' is set
|
9076
|
+
if @api_client.config.client_side_validation && name.nil?
|
9077
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_comment_authors"
|
9078
|
+
end
|
9079
|
+
# resource path
|
9080
|
+
local_var_path = '/slides/{name}/comments/authors'
|
9081
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
|
9082
|
+
|
9083
|
+
# query parameters
|
9084
|
+
query_params = {}
|
9085
|
+
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
9086
|
+
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
9087
|
+
|
9088
|
+
# header parameters
|
9089
|
+
header_params = {}
|
9090
|
+
# HTTP header 'Accept' (if needed)
|
9091
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
9092
|
+
# HTTP header 'Content-Type'
|
9093
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
9094
|
+
header_params[:'password'] = password unless password.nil?
|
9095
|
+
|
9096
|
+
# http body (model)
|
9097
|
+
post_body = nil
|
9098
|
+
|
9099
|
+
# form parameters
|
9100
|
+
post_files = []
|
9101
|
+
|
9102
|
+
auth_names = ['JWT']
|
9103
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
9104
|
+
:header_params => header_params,
|
9105
|
+
:query_params => query_params,
|
9106
|
+
:body => post_body,
|
9107
|
+
:files => post_files,
|
9108
|
+
:auth_names => auth_names,
|
9109
|
+
:return_type => 'CommentAuthors')
|
9110
|
+
return data, status_code, headers
|
9111
|
+
end
|
9008
9112
|
# Get disc usage
|
9009
9113
|
# @param storage_name Storage name
|
9010
9114
|
def get_disc_usage(storage_name = nil)
|
@@ -0,0 +1,101 @@
|
|
1
|
+
=begin
|
2
|
+
Copyright (c) 2019 Aspose Pty Ltd
|
3
|
+
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
+
of this software and associated documentation files (the "Software"), to deal
|
6
|
+
in the Software without restriction, including without limitation the rights
|
7
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
+
copies of the Software, and to permit persons to whom the Software is
|
9
|
+
furnished to do so, subject to the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be included in all
|
12
|
+
copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
16
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
17
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
18
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
20
|
+
SOFTWARE.
|
21
|
+
=end
|
22
|
+
|
23
|
+
require 'date'
|
24
|
+
|
25
|
+
module AsposeSlidesCloud
|
26
|
+
# Represents a comment author
|
27
|
+
class CommentAuthor < BaseObject
|
28
|
+
# Name
|
29
|
+
attr_accessor :name
|
30
|
+
|
31
|
+
# Initials
|
32
|
+
attr_accessor :initials
|
33
|
+
|
34
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
35
|
+
def self.attribute_map
|
36
|
+
{
|
37
|
+
:'name' => :'Name',
|
38
|
+
:'initials' => :'Initials',
|
39
|
+
}
|
40
|
+
end
|
41
|
+
|
42
|
+
# Attribute type mapping.
|
43
|
+
def self.swagger_types
|
44
|
+
{
|
45
|
+
:'name' => :'String',
|
46
|
+
:'initials' => :'String',
|
47
|
+
}
|
48
|
+
end
|
49
|
+
|
50
|
+
# Initializes the object
|
51
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
52
|
+
def initialize(attributes = {})
|
53
|
+
return unless attributes.is_a?(Hash)
|
54
|
+
|
55
|
+
# convert string to symbol for hash key
|
56
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
57
|
+
|
58
|
+
if attributes.has_key?(:'Name')
|
59
|
+
self.name = attributes[:'Name']
|
60
|
+
end
|
61
|
+
|
62
|
+
if attributes.has_key?(:'Initials')
|
63
|
+
self.initials = attributes[:'Initials']
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
68
|
+
# @return Array for valid properties with the reasons
|
69
|
+
def list_invalid_properties
|
70
|
+
invalid_properties = Array.new
|
71
|
+
invalid_properties
|
72
|
+
end
|
73
|
+
|
74
|
+
# Check to see if the all the properties in the model are valid
|
75
|
+
# @return true if the model is valid
|
76
|
+
def valid?
|
77
|
+
true
|
78
|
+
end
|
79
|
+
|
80
|
+
# Checks equality by comparing each attribute.
|
81
|
+
# @param [Object] Object to be compared
|
82
|
+
def ==(o)
|
83
|
+
return true if self.equal?(o)
|
84
|
+
self.class == o.class &&
|
85
|
+
name == o.name &&
|
86
|
+
initials == o.initials
|
87
|
+
end
|
88
|
+
|
89
|
+
# @see the `==` method
|
90
|
+
# @param [Object] Object to be compared
|
91
|
+
def eql?(o)
|
92
|
+
self == o
|
93
|
+
end
|
94
|
+
|
95
|
+
# Calculates hash code according to all attributes.
|
96
|
+
# @return [Fixnum] Hash code
|
97
|
+
def hash
|
98
|
+
[name, initials].hash
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
@@ -0,0 +1,93 @@
|
|
1
|
+
=begin
|
2
|
+
Copyright (c) 2019 Aspose Pty Ltd
|
3
|
+
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
+
of this software and associated documentation files (the "Software"), to deal
|
6
|
+
in the Software without restriction, including without limitation the rights
|
7
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
+
copies of the Software, and to permit persons to whom the Software is
|
9
|
+
furnished to do so, subject to the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be included in all
|
12
|
+
copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
16
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
17
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
18
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
20
|
+
SOFTWARE.
|
21
|
+
=end
|
22
|
+
|
23
|
+
require 'date'
|
24
|
+
|
25
|
+
module AsposeSlidesCloud
|
26
|
+
# Represents comments collection of slide
|
27
|
+
class CommentAuthors < ResourceBase
|
28
|
+
# Slide comment list.
|
29
|
+
attr_accessor :list
|
30
|
+
|
31
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
32
|
+
def self.attribute_map
|
33
|
+
super.merge({
|
34
|
+
:'list' => :'List',
|
35
|
+
})
|
36
|
+
end
|
37
|
+
|
38
|
+
# Attribute type mapping.
|
39
|
+
def self.swagger_types
|
40
|
+
super.merge({
|
41
|
+
:'list' => :'Array<CommentAuthor>',
|
42
|
+
})
|
43
|
+
end
|
44
|
+
|
45
|
+
# Initializes the object
|
46
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
47
|
+
def initialize(attributes = {})
|
48
|
+
super
|
49
|
+
|
50
|
+
if attributes.has_key?(:'List')
|
51
|
+
if (value = attributes[:'List']).is_a?(Array)
|
52
|
+
self.list = value
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
58
|
+
# @return Array for valid properties with the reasons
|
59
|
+
def list_invalid_properties
|
60
|
+
invalid_properties = super
|
61
|
+
invalid_properties
|
62
|
+
end
|
63
|
+
|
64
|
+
# Check to see if the all the properties in the model are valid
|
65
|
+
# @return true if the model is valid
|
66
|
+
def valid?
|
67
|
+
return false if !super
|
68
|
+
true
|
69
|
+
end
|
70
|
+
|
71
|
+
# Checks equality by comparing each attribute.
|
72
|
+
# @param [Object] Object to be compared
|
73
|
+
def ==(o)
|
74
|
+
return true if self.equal?(o)
|
75
|
+
self.class == o.class &&
|
76
|
+
self_uri == o.self_uri &&
|
77
|
+
alternate_links == o.alternate_links &&
|
78
|
+
list == o.list
|
79
|
+
end
|
80
|
+
|
81
|
+
# @see the `==` method
|
82
|
+
# @param [Object] Object to be compared
|
83
|
+
def eql?(o)
|
84
|
+
self == o
|
85
|
+
end
|
86
|
+
|
87
|
+
# Calculates hash code according to all attributes.
|
88
|
+
# @return [Fixnum] Hash code
|
89
|
+
def hash
|
90
|
+
[self_uri, alternate_links, list].hash
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
@@ -31,11 +31,15 @@ module AsposeSlidesCloud
|
|
31
31
|
# Returns true if font is embedded.
|
32
32
|
attr_accessor :is_embedded
|
33
33
|
|
34
|
+
# Returns true for a custom font (contained in fontsFolder directory).
|
35
|
+
attr_accessor :is_custom
|
36
|
+
|
34
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
38
|
def self.attribute_map
|
36
39
|
{
|
37
40
|
:'font_name' => :'FontName',
|
38
41
|
:'is_embedded' => :'IsEmbedded',
|
42
|
+
:'is_custom' => :'IsCustom',
|
39
43
|
}
|
40
44
|
end
|
41
45
|
|
@@ -44,6 +48,7 @@ module AsposeSlidesCloud
|
|
44
48
|
{
|
45
49
|
:'font_name' => :'String',
|
46
50
|
:'is_embedded' => :'BOOLEAN',
|
51
|
+
:'is_custom' => :'BOOLEAN',
|
47
52
|
}
|
48
53
|
end
|
49
54
|
|
@@ -62,6 +67,10 @@ module AsposeSlidesCloud
|
|
62
67
|
if attributes.has_key?(:'IsEmbedded')
|
63
68
|
self.is_embedded = attributes[:'IsEmbedded']
|
64
69
|
end
|
70
|
+
|
71
|
+
if attributes.has_key?(:'IsCustom')
|
72
|
+
self.is_custom = attributes[:'IsCustom']
|
73
|
+
end
|
65
74
|
end
|
66
75
|
|
67
76
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -83,7 +92,8 @@ module AsposeSlidesCloud
|
|
83
92
|
return true if self.equal?(o)
|
84
93
|
self.class == o.class &&
|
85
94
|
font_name == o.font_name &&
|
86
|
-
is_embedded == o.is_embedded
|
95
|
+
is_embedded == o.is_embedded &&
|
96
|
+
is_custom == o.is_custom
|
87
97
|
end
|
88
98
|
|
89
99
|
# @see the `==` method
|
@@ -95,7 +105,7 @@ module AsposeSlidesCloud
|
|
95
105
|
# Calculates hash code according to all attributes.
|
96
106
|
# @return [Fixnum] Hash code
|
97
107
|
def hash
|
98
|
-
[font_name, is_embedded].hash
|
108
|
+
[font_name, is_embedded, is_custom].hash
|
99
109
|
end
|
100
110
|
end
|
101
111
|
end
|
@@ -106,6 +106,7 @@ module AsposeSlidesCloud
|
|
106
106
|
:'ColorChangeEffect' => :'ImageTransformEffect',
|
107
107
|
:'ColorReplaceEffect' => :'ImageTransformEffect',
|
108
108
|
:'ColorScheme' => :'ResourceBase',
|
109
|
+
:'CommentAuthors' => :'ResourceBase',
|
109
110
|
:'Connector' => :'GeometryShape',
|
110
111
|
:'CubicBezierToPathSegment' => :'PathSegment',
|
111
112
|
:'DelimiterElement' => :'MathElement',
|
@@ -285,6 +286,8 @@ module AsposeSlidesCloud
|
|
285
286
|
:'ColorChangeEffect' => { :'Type' => 'ColorChange', },
|
286
287
|
:'ColorReplaceEffect' => { :'Type' => 'ColorReplace', },
|
287
288
|
:'ColorScheme' => { },
|
289
|
+
:'CommentAuthor' => { },
|
290
|
+
:'CommentAuthors' => { },
|
288
291
|
:'CommonSlideViewProperties' => { },
|
289
292
|
:'Connector' => { :'Type' => 'Connector', },
|
290
293
|
:'CubicBezierToPathSegment' => { :'Type' => 'CubicBezierTo', },
|
data/lib/aspose_slides_cloud.rb
CHANGED
@@ -84,6 +84,8 @@ require 'aspose_slides_cloud/models/close_path_segment'
|
|
84
84
|
require 'aspose_slides_cloud/models/color_change_effect'
|
85
85
|
require 'aspose_slides_cloud/models/color_replace_effect'
|
86
86
|
require 'aspose_slides_cloud/models/color_scheme'
|
87
|
+
require 'aspose_slides_cloud/models/comment_author'
|
88
|
+
require 'aspose_slides_cloud/models/comment_authors'
|
87
89
|
require 'aspose_slides_cloud/models/common_slide_view_properties'
|
88
90
|
require 'aspose_slides_cloud/models/connector'
|
89
91
|
require 'aspose_slides_cloud/models/cubic_bezier_to_path_segment'
|
data/spec/api/slides_api_spec.rb
CHANGED
@@ -24215,6 +24215,66 @@ describe 'SlidesApi' do
|
|
24215
24215
|
end
|
24216
24216
|
end
|
24217
24217
|
|
24218
|
+
# unit tests for get_available_fonts
|
24219
|
+
# Returns presentation fonts info.
|
24220
|
+
# @param [Hash] opts the optional parameters
|
24221
|
+
# @option opts [String] :fonts_folder Storage folder for custom fonts.
|
24222
|
+
# @option opts [String] :storage Storage for custom fonts.
|
24223
|
+
# @return [FontsData]
|
24224
|
+
describe 'get_available_fonts test' do
|
24225
|
+
it 'should work' do
|
24226
|
+
paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'GetAvailableFonts', 'String')
|
24227
|
+
paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'GetAvailableFonts', 'String')
|
24228
|
+
AsposeSlidesCloud::SpecUtils.initialize('GetAvailableFonts', nil, nil)
|
24229
|
+
o, c, _h = AsposeSlidesCloud::SpecUtils.testSlidesApi.get_available_fonts_with_http_info(paramfonts_folder, paramstorage)
|
24230
|
+
code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('GetAvailableFonts', nil, nil, nil)
|
24231
|
+
expect(c).to eq(code)
|
24232
|
+
expect(o).not_to be_nil
|
24233
|
+
end
|
24234
|
+
|
24235
|
+
it 'invalid fonts_folder' do
|
24236
|
+
paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'GetAvailableFonts', 'String')
|
24237
|
+
paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'GetAvailableFonts', 'String')
|
24238
|
+
paramfonts_folder = AsposeSlidesCloud::SpecUtils.invalidize_param_value('fontsFolder', 'GetAvailableFonts', paramfonts_folder, 'String')
|
24239
|
+
AsposeSlidesCloud::SpecUtils.initialize('GetAvailableFonts', 'fontsFolder', paramfonts_folder)
|
24240
|
+
begin
|
24241
|
+
AsposeSlidesCloud::SpecUtils.testSlidesApi.get_available_fonts_with_http_info(paramfonts_folder, paramstorage)
|
24242
|
+
unless AsposeSlidesCloud::SpecUtils.no_exception?('GetAvailableFonts', 'fontsFolder')
|
24243
|
+
fail "An exception expected"
|
24244
|
+
end
|
24245
|
+
rescue AsposeSlidesCloud::ApiError => e
|
24246
|
+
code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('GetAvailableFonts', 'fontsFolder', paramfonts_folder, 'String')
|
24247
|
+
expect(e.code).to eq(code)
|
24248
|
+
expect(e.response_body).to include(message)
|
24249
|
+
rescue ArgumentError => e
|
24250
|
+
code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('GetAvailableFonts', 'fontsFolder', paramfonts_folder, 'String')
|
24251
|
+
expect(400).to eq(code)
|
24252
|
+
expect(e.message).to include(message)
|
24253
|
+
end
|
24254
|
+
end
|
24255
|
+
|
24256
|
+
it 'invalid storage' do
|
24257
|
+
paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'GetAvailableFonts', 'String')
|
24258
|
+
paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'GetAvailableFonts', 'String')
|
24259
|
+
paramstorage = AsposeSlidesCloud::SpecUtils.invalidize_param_value('storage', 'GetAvailableFonts', paramstorage, 'String')
|
24260
|
+
AsposeSlidesCloud::SpecUtils.initialize('GetAvailableFonts', 'storage', paramstorage)
|
24261
|
+
begin
|
24262
|
+
AsposeSlidesCloud::SpecUtils.testSlidesApi.get_available_fonts_with_http_info(paramfonts_folder, paramstorage)
|
24263
|
+
unless AsposeSlidesCloud::SpecUtils.no_exception?('GetAvailableFonts', 'storage')
|
24264
|
+
fail "An exception expected"
|
24265
|
+
end
|
24266
|
+
rescue AsposeSlidesCloud::ApiError => e
|
24267
|
+
code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('GetAvailableFonts', 'storage', paramstorage, 'String')
|
24268
|
+
expect(e.code).to eq(code)
|
24269
|
+
expect(e.response_body).to include(message)
|
24270
|
+
rescue ArgumentError => e
|
24271
|
+
code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('GetAvailableFonts', 'storage', paramstorage, 'String')
|
24272
|
+
expect(400).to eq(code)
|
24273
|
+
expect(e.message).to include(message)
|
24274
|
+
end
|
24275
|
+
end
|
24276
|
+
end
|
24277
|
+
|
24218
24278
|
# unit tests for get_background
|
24219
24279
|
# Read slide background info.
|
24220
24280
|
# @param name Document name.
|
@@ -24503,6 +24563,120 @@ describe 'SlidesApi' do
|
|
24503
24563
|
end
|
24504
24564
|
end
|
24505
24565
|
|
24566
|
+
# unit tests for get_comment_authors
|
24567
|
+
# Lists comment authors.
|
24568
|
+
# @param name Document name.
|
24569
|
+
# @param [Hash] opts the optional parameters
|
24570
|
+
# @option opts [String] :password Document password.
|
24571
|
+
# @option opts [String] :folder Document folder.
|
24572
|
+
# @option opts [String] :storage Document storage.
|
24573
|
+
# @return [CommentAuthors]
|
24574
|
+
describe 'get_comment_authors test' do
|
24575
|
+
it 'should work' do
|
24576
|
+
paramname = AsposeSlidesCloud::SpecUtils.get_param_value('name', 'GetCommentAuthors', 'String')
|
24577
|
+
parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'GetCommentAuthors', 'String')
|
24578
|
+
paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'GetCommentAuthors', 'String')
|
24579
|
+
paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'GetCommentAuthors', 'String')
|
24580
|
+
AsposeSlidesCloud::SpecUtils.initialize('GetCommentAuthors', nil, nil)
|
24581
|
+
o, c, _h = AsposeSlidesCloud::SpecUtils.testSlidesApi.get_comment_authors_with_http_info(paramname, parampassword, paramfolder, paramstorage)
|
24582
|
+
code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('GetCommentAuthors', nil, nil, nil)
|
24583
|
+
expect(c).to eq(code)
|
24584
|
+
expect(o).not_to be_nil
|
24585
|
+
end
|
24586
|
+
|
24587
|
+
it 'invalid name' do
|
24588
|
+
paramname = AsposeSlidesCloud::SpecUtils.get_param_value('name', 'GetCommentAuthors', 'String')
|
24589
|
+
parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'GetCommentAuthors', 'String')
|
24590
|
+
paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'GetCommentAuthors', 'String')
|
24591
|
+
paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'GetCommentAuthors', 'String')
|
24592
|
+
paramname = AsposeSlidesCloud::SpecUtils.invalidize_param_value('name', 'GetCommentAuthors', paramname, 'String')
|
24593
|
+
AsposeSlidesCloud::SpecUtils.initialize('GetCommentAuthors', 'name', paramname)
|
24594
|
+
begin
|
24595
|
+
AsposeSlidesCloud::SpecUtils.testSlidesApi.get_comment_authors_with_http_info(paramname, parampassword, paramfolder, paramstorage)
|
24596
|
+
unless AsposeSlidesCloud::SpecUtils.no_exception?('GetCommentAuthors', 'name')
|
24597
|
+
fail "An exception expected"
|
24598
|
+
end
|
24599
|
+
rescue AsposeSlidesCloud::ApiError => e
|
24600
|
+
code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('GetCommentAuthors', 'name', paramname, 'String')
|
24601
|
+
expect(e.code).to eq(code)
|
24602
|
+
expect(e.response_body).to include(message)
|
24603
|
+
rescue ArgumentError => e
|
24604
|
+
code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('GetCommentAuthors', 'name', paramname, 'String')
|
24605
|
+
expect(400).to eq(code)
|
24606
|
+
expect(e.message).to include(message)
|
24607
|
+
end
|
24608
|
+
end
|
24609
|
+
|
24610
|
+
it 'invalid password' do
|
24611
|
+
paramname = AsposeSlidesCloud::SpecUtils.get_param_value('name', 'GetCommentAuthors', 'String')
|
24612
|
+
parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'GetCommentAuthors', 'String')
|
24613
|
+
paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'GetCommentAuthors', 'String')
|
24614
|
+
paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'GetCommentAuthors', 'String')
|
24615
|
+
parampassword = AsposeSlidesCloud::SpecUtils.invalidize_param_value('password', 'GetCommentAuthors', parampassword, 'String')
|
24616
|
+
AsposeSlidesCloud::SpecUtils.initialize('GetCommentAuthors', 'password', parampassword)
|
24617
|
+
begin
|
24618
|
+
AsposeSlidesCloud::SpecUtils.testSlidesApi.get_comment_authors_with_http_info(paramname, parampassword, paramfolder, paramstorage)
|
24619
|
+
unless AsposeSlidesCloud::SpecUtils.no_exception?('GetCommentAuthors', 'password')
|
24620
|
+
fail "An exception expected"
|
24621
|
+
end
|
24622
|
+
rescue AsposeSlidesCloud::ApiError => e
|
24623
|
+
code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('GetCommentAuthors', 'password', parampassword, 'String')
|
24624
|
+
expect(e.code).to eq(code)
|
24625
|
+
expect(e.response_body).to include(message)
|
24626
|
+
rescue ArgumentError => e
|
24627
|
+
code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('GetCommentAuthors', 'password', parampassword, 'String')
|
24628
|
+
expect(400).to eq(code)
|
24629
|
+
expect(e.message).to include(message)
|
24630
|
+
end
|
24631
|
+
end
|
24632
|
+
|
24633
|
+
it 'invalid folder' do
|
24634
|
+
paramname = AsposeSlidesCloud::SpecUtils.get_param_value('name', 'GetCommentAuthors', 'String')
|
24635
|
+
parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'GetCommentAuthors', 'String')
|
24636
|
+
paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'GetCommentAuthors', 'String')
|
24637
|
+
paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'GetCommentAuthors', 'String')
|
24638
|
+
paramfolder = AsposeSlidesCloud::SpecUtils.invalidize_param_value('folder', 'GetCommentAuthors', paramfolder, 'String')
|
24639
|
+
AsposeSlidesCloud::SpecUtils.initialize('GetCommentAuthors', 'folder', paramfolder)
|
24640
|
+
begin
|
24641
|
+
AsposeSlidesCloud::SpecUtils.testSlidesApi.get_comment_authors_with_http_info(paramname, parampassword, paramfolder, paramstorage)
|
24642
|
+
unless AsposeSlidesCloud::SpecUtils.no_exception?('GetCommentAuthors', 'folder')
|
24643
|
+
fail "An exception expected"
|
24644
|
+
end
|
24645
|
+
rescue AsposeSlidesCloud::ApiError => e
|
24646
|
+
code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('GetCommentAuthors', 'folder', paramfolder, 'String')
|
24647
|
+
expect(e.code).to eq(code)
|
24648
|
+
expect(e.response_body).to include(message)
|
24649
|
+
rescue ArgumentError => e
|
24650
|
+
code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('GetCommentAuthors', 'folder', paramfolder, 'String')
|
24651
|
+
expect(400).to eq(code)
|
24652
|
+
expect(e.message).to include(message)
|
24653
|
+
end
|
24654
|
+
end
|
24655
|
+
|
24656
|
+
it 'invalid storage' do
|
24657
|
+
paramname = AsposeSlidesCloud::SpecUtils.get_param_value('name', 'GetCommentAuthors', 'String')
|
24658
|
+
parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'GetCommentAuthors', 'String')
|
24659
|
+
paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'GetCommentAuthors', 'String')
|
24660
|
+
paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'GetCommentAuthors', 'String')
|
24661
|
+
paramstorage = AsposeSlidesCloud::SpecUtils.invalidize_param_value('storage', 'GetCommentAuthors', paramstorage, 'String')
|
24662
|
+
AsposeSlidesCloud::SpecUtils.initialize('GetCommentAuthors', 'storage', paramstorage)
|
24663
|
+
begin
|
24664
|
+
AsposeSlidesCloud::SpecUtils.testSlidesApi.get_comment_authors_with_http_info(paramname, parampassword, paramfolder, paramstorage)
|
24665
|
+
unless AsposeSlidesCloud::SpecUtils.no_exception?('GetCommentAuthors', 'storage')
|
24666
|
+
fail "An exception expected"
|
24667
|
+
end
|
24668
|
+
rescue AsposeSlidesCloud::ApiError => e
|
24669
|
+
code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('GetCommentAuthors', 'storage', paramstorage, 'String')
|
24670
|
+
expect(e.code).to eq(code)
|
24671
|
+
expect(e.response_body).to include(message)
|
24672
|
+
rescue ArgumentError => e
|
24673
|
+
code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('GetCommentAuthors', 'storage', paramstorage, 'String')
|
24674
|
+
expect(400).to eq(code)
|
24675
|
+
expect(e.message).to include(message)
|
24676
|
+
end
|
24677
|
+
end
|
24678
|
+
end
|
24679
|
+
|
24506
24680
|
# unit tests for get_disc_usage
|
24507
24681
|
# Get disc usage
|
24508
24682
|
# @param [Hash] opts the optional parameters
|
@@ -155,5 +155,13 @@ describe 'UseCases' do
|
|
155
155
|
expect(response.list.length).to eq(1)
|
156
156
|
expect(response.list[0].type).to eq("Modern")
|
157
157
|
end
|
158
|
+
|
159
|
+
it "get comment authors" do
|
160
|
+
folder_name = "TempSlidesSDK"
|
161
|
+
file_name = "test.pptx"
|
162
|
+
AsposeSlidesCloud::SpecUtils.testSlidesApi.copy_file("TempTests/" + file_name, folder_name + "/" + file_name)
|
163
|
+
response = AsposeSlidesCloud::SpecUtils.testSlidesApi.get_comment_authors(file_name, "password", folder_name)
|
164
|
+
expect(response.list.length).to eq(1)
|
165
|
+
end
|
158
166
|
end
|
159
167
|
end
|
data/spec/use_cases/font_spec.rb
CHANGED
@@ -24,6 +24,12 @@ require 'spec_helper'
|
|
24
24
|
|
25
25
|
describe 'UseCases' do
|
26
26
|
describe 'Fonts' do
|
27
|
+
it "get available fonts" do
|
28
|
+
response = AsposeSlidesCloud::SpecUtils.testSlidesApi.get_available_fonts()
|
29
|
+
expect(response.list.length).to be > 1
|
30
|
+
expect(response.list[0].is_custom).not_to be_truthy
|
31
|
+
end
|
32
|
+
|
27
33
|
it "get fonts" do
|
28
34
|
folder_name = "TempSlidesSDK"
|
29
35
|
file_name = "test.pptx"
|
@@ -114,9 +120,9 @@ describe 'UseCases' do
|
|
114
120
|
source = File.binread("TestData/test.pptx")
|
115
121
|
font_name = "Calibri"
|
116
122
|
response_embedded = AsposeSlidesCloud::SpecUtils.testSlidesApi.set_embedded_font_online(source, font_name, false, "password")
|
117
|
-
expect(response_embedded.size).
|
123
|
+
expect(response_embedded.size).to be > source.size
|
118
124
|
response_deleted = AsposeSlidesCloud::SpecUtils.testSlidesApi.delete_embedded_font_online(response_embedded, font_name, "password")
|
119
|
-
expect(response_deleted.size).to
|
125
|
+
expect(response_deleted.size).to be < response_embedded.size
|
120
126
|
end
|
121
127
|
|
122
128
|
it "replace font" do
|
@@ -24,6 +24,15 @@ require 'spec_helper'
|
|
24
24
|
|
25
25
|
describe 'UseCases' do
|
26
26
|
describe 'Shapes' do
|
27
|
+
it 'shape load save' do
|
28
|
+
folder_name = "TempSlidesSDK"
|
29
|
+
file_name = "test.pptx"
|
30
|
+
AsposeSlidesCloud::SpecUtils.testSlidesApi.copy_file("TempTests/" + file_name, folder_name + "/" + file_name)
|
31
|
+
dto = AsposeSlidesCloud::SpecUtils.testSlidesApi.get_shape(file_name, 3, 1, "password", folder_name)
|
32
|
+
shape = AsposeSlidesCloud::SpecUtils.testSlidesApi.update_shape(file_name, 3, 1, dto, "password", folder_name)
|
33
|
+
expect(shape).to be_kind_of(AsposeSlidesCloud::Chart)
|
34
|
+
end
|
35
|
+
|
27
36
|
it 'shape add' do
|
28
37
|
folder_name = "TempSlidesSDK"
|
29
38
|
file_name = "test.pptx"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aspose_slides_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 24.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Putrov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -325,6 +325,8 @@ files:
|
|
325
325
|
- lib/aspose_slides_cloud/models/color_change_effect.rb
|
326
326
|
- lib/aspose_slides_cloud/models/color_replace_effect.rb
|
327
327
|
- lib/aspose_slides_cloud/models/color_scheme.rb
|
328
|
+
- lib/aspose_slides_cloud/models/comment_author.rb
|
329
|
+
- lib/aspose_slides_cloud/models/comment_authors.rb
|
328
330
|
- lib/aspose_slides_cloud/models/common_slide_view_properties.rb
|
329
331
|
- lib/aspose_slides_cloud/models/connector.rb
|
330
332
|
- lib/aspose_slides_cloud/models/cubic_bezier_to_path_segment.rb
|