aspose_slides_cloud 19.12.0 → 20.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/aspose_slides_cloud.rb +8 -0
- data/lib/aspose_slides_cloud/api/slides_api.rb +2156 -525
- data/lib/aspose_slides_cloud/api/slides_api_requests.rb +792 -124
- data/lib/aspose_slides_cloud/api_client.rb +7 -3
- data/lib/aspose_slides_cloud/models/add_layout_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/add_master_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/add_shape.rb +20 -8
- data/lib/aspose_slides_cloud/models/add_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/api_info.rb +20 -8
- data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +20 -23
- data/lib/aspose_slides_cloud/models/audio_frame.rb +20 -8
- data/lib/aspose_slides_cloud/models/axes.rb +20 -8
- data/lib/aspose_slides_cloud/models/axis.rb +20 -168
- data/lib/aspose_slides_cloud/models/base64_input_file.rb +20 -8
- data/lib/aspose_slides_cloud/models/blur_effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +504 -0
- data/lib/aspose_slides_cloud/models/bubble_chart_data_point.rb +20 -8
- data/lib/aspose_slides_cloud/models/bubble_series.rb +24 -45
- data/lib/aspose_slides_cloud/models/chart.rb +23 -11
- data/lib/aspose_slides_cloud/models/chart_category.rb +249 -0
- data/lib/aspose_slides_cloud/models/chart_title.rb +20 -8
- data/lib/aspose_slides_cloud/models/chart_wall.rb +20 -18
- data/lib/aspose_slides_cloud/models/color_scheme.rb +20 -8
- data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +217 -0
- data/lib/aspose_slides_cloud/models/connector.rb +20 -8
- data/lib/aspose_slides_cloud/models/custom_dash_pattern.rb +20 -8
- data/lib/aspose_slides_cloud/models/disc_usage.rb +20 -8
- data/lib/aspose_slides_cloud/models/document.rb +31 -9
- data/lib/aspose_slides_cloud/models/document_properties.rb +20 -8
- data/lib/aspose_slides_cloud/models/document_property.rb +20 -8
- data/lib/aspose_slides_cloud/models/document_replace_result.rb +31 -9
- data/lib/aspose_slides_cloud/models/effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/effect_format.rb +20 -8
- data/lib/aspose_slides_cloud/models/entity_exists.rb +212 -0
- data/lib/aspose_slides_cloud/models/error.rb +20 -8
- data/lib/aspose_slides_cloud/models/error_details.rb +20 -8
- data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
- data/lib/aspose_slides_cloud/models/export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/file_version.rb +20 -8
- data/lib/aspose_slides_cloud/models/file_versions.rb +20 -8
- data/lib/aspose_slides_cloud/models/files_list.rb +20 -8
- data/lib/aspose_slides_cloud/models/files_upload_result.rb +20 -8
- data/lib/aspose_slides_cloud/models/fill_format.rb +20 -8
- data/lib/aspose_slides_cloud/models/fill_overlay_effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/font_scheme.rb +20 -8
- data/lib/aspose_slides_cloud/models/font_set.rb +20 -8
- data/lib/aspose_slides_cloud/models/format_scheme.rb +20 -8
- data/lib/aspose_slides_cloud/models/geometry_shape.rb +20 -8
- data/lib/aspose_slides_cloud/models/glow_effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/gradient_fill.rb +20 -8
- data/lib/aspose_slides_cloud/models/gradient_fill_stop.rb +20 -8
- data/lib/aspose_slides_cloud/models/graphical_object.rb +20 -8
- data/lib/aspose_slides_cloud/models/group_shape.rb +20 -8
- data/lib/aspose_slides_cloud/models/html_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/i_shape_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/image.rb +20 -8
- data/lib/aspose_slides_cloud/models/image_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/images.rb +20 -8
- data/lib/aspose_slides_cloud/models/inner_shadow_effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/input.rb +20 -8
- data/lib/aspose_slides_cloud/models/input_file.rb +20 -8
- data/lib/aspose_slides_cloud/models/interactive_sequence.rb +20 -8
- data/lib/aspose_slides_cloud/models/layout_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/layout_slides.rb +20 -8
- data/lib/aspose_slides_cloud/models/legend.rb +20 -38
- data/lib/aspose_slides_cloud/models/line_format.rb +20 -43
- data/lib/aspose_slides_cloud/models/master_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/master_slides.rb +20 -8
- data/lib/aspose_slides_cloud/models/merge.rb +20 -8
- data/lib/aspose_slides_cloud/models/merging_source.rb +20 -8
- data/lib/aspose_slides_cloud/models/no_fill.rb +20 -8
- data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +217 -0
- data/lib/aspose_slides_cloud/models/notes_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/object_exist.rb +20 -8
- data/lib/aspose_slides_cloud/models/ole_object_frame.rb +20 -8
- data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +20 -8
- data/lib/aspose_slides_cloud/models/one_value_series.rb +24 -45
- data/lib/aspose_slides_cloud/models/ordered_merge_request.rb +20 -8
- data/lib/aspose_slides_cloud/models/outer_shadow_effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/output_file.rb +20 -8
- data/lib/aspose_slides_cloud/models/paragraph.rb +21 -9
- data/lib/aspose_slides_cloud/models/paragraphs.rb +20 -8
- data/lib/aspose_slides_cloud/models/path_input_file.rb +20 -8
- data/lib/aspose_slides_cloud/models/path_output_file.rb +20 -8
- data/lib/aspose_slides_cloud/models/pattern_fill.rb +20 -8
- data/lib/aspose_slides_cloud/models/pdf_export_options.rb +53 -14
- data/lib/aspose_slides_cloud/models/picture_fill.rb +20 -8
- data/lib/aspose_slides_cloud/models/picture_frame.rb +20 -8
- data/lib/aspose_slides_cloud/models/pipeline.rb +20 -8
- data/lib/aspose_slides_cloud/models/placeholder.rb +20 -8
- data/lib/aspose_slides_cloud/models/placeholders.rb +20 -8
- data/lib/aspose_slides_cloud/models/plot_area.rb +20 -33
- data/lib/aspose_slides_cloud/models/portion.rb +20 -8
- data/lib/aspose_slides_cloud/models/portions.rb +28 -16
- data/lib/aspose_slides_cloud/models/pptx_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/presentation_to_merge.rb +20 -8
- data/lib/aspose_slides_cloud/models/presentations_merge_request.rb +20 -8
- data/lib/aspose_slides_cloud/models/preset_shadow_effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/reflection_effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/remove_shape.rb +20 -8
- data/lib/aspose_slides_cloud/models/remove_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/reorder_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/replace_text.rb +20 -8
- data/lib/aspose_slides_cloud/models/request_input_file.rb +20 -8
- data/lib/aspose_slides_cloud/models/reset_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/resource_base.rb +20 -8
- data/lib/aspose_slides_cloud/models/resource_uri.rb +20 -8
- data/lib/aspose_slides_cloud/models/resource_uri_element.rb +20 -8
- data/lib/aspose_slides_cloud/models/response_output_file.rb +20 -8
- data/lib/aspose_slides_cloud/models/save.rb +22 -10
- data/lib/aspose_slides_cloud/models/save_shape.rb +20 -8
- data/lib/aspose_slides_cloud/models/save_slide.rb +22 -10
- data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +20 -8
- data/lib/aspose_slides_cloud/models/scatter_series.rb +24 -45
- data/lib/aspose_slides_cloud/models/series.rb +47 -49
- data/lib/aspose_slides_cloud/models/series_marker.rb +20 -18
- data/lib/aspose_slides_cloud/models/shape.rb +20 -8
- data/lib/aspose_slides_cloud/models/shape_base.rb +20 -8
- data/lib/aspose_slides_cloud/models/shape_image_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/shapes.rb +20 -8
- data/lib/aspose_slides_cloud/models/slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/slide_animation.rb +20 -8
- data/lib/aspose_slides_cloud/models/slide_background.rb +20 -8
- data/lib/aspose_slides_cloud/models/slide_comment.rb +20 -8
- data/lib/aspose_slides_cloud/models/slide_comments.rb +20 -8
- data/lib/aspose_slides_cloud/models/slide_export_format.rb +1 -0
- data/lib/aspose_slides_cloud/models/slide_replace_result.rb +20 -8
- data/lib/aspose_slides_cloud/models/slides.rb +20 -8
- data/lib/aspose_slides_cloud/models/smart_art.rb +20 -8
- data/lib/aspose_slides_cloud/models/smart_art_node.rb +20 -8
- data/lib/aspose_slides_cloud/models/smart_art_shape.rb +20 -8
- data/lib/aspose_slides_cloud/models/soft_edge_effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/solid_fill.rb +20 -8
- data/lib/aspose_slides_cloud/models/split_document_result.rb +20 -8
- data/lib/aspose_slides_cloud/models/storage_exist.rb +20 -8
- data/lib/aspose_slides_cloud/models/storage_file.rb +20 -8
- data/lib/aspose_slides_cloud/models/svg_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/swf_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/table.rb +20 -48
- data/lib/aspose_slides_cloud/models/table_cell.rb +20 -48
- data/lib/aspose_slides_cloud/models/table_column.rb +20 -8
- data/lib/aspose_slides_cloud/models/table_row.rb +20 -8
- data/lib/aspose_slides_cloud/models/task.rb +20 -8
- data/lib/aspose_slides_cloud/models/text_item.rb +20 -8
- data/lib/aspose_slides_cloud/models/text_items.rb +20 -8
- data/lib/aspose_slides_cloud/models/theme.rb +20 -8
- data/lib/aspose_slides_cloud/models/tiff_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/update_background.rb +20 -8
- data/lib/aspose_slides_cloud/models/update_shape.rb +20 -8
- data/lib/aspose_slides_cloud/models/video_frame.rb +20 -8
- data/lib/aspose_slides_cloud/models/view_properties.rb +379 -0
- data/lib/aspose_slides_cloud/models/waterfall_series.rb +452 -0
- data/lib/aspose_slides_cloud/models/xps_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/spec/api/slides_api_spec.rb +17214 -12046
- data/spec/extra/extra_spec.rb +111 -9
- data/spec/spec_utils.rb +8 -1
- data/testRules.json +80 -8
- metadata +9 -2
data/spec/extra/extra_spec.rb
CHANGED
@@ -82,15 +82,15 @@ describe 'SlidesApiExtra' do
|
|
82
82
|
end
|
83
83
|
|
84
84
|
it 'base shape' do
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
85
|
+
AsposeSlidesCloud::SpecUtils.initialize('GetSlideShape', nil, nil)
|
86
|
+
requestParam = AsposeSlidesCloud::GetSlideShapeRequest.new
|
87
|
+
requestParam.name = "test.ppt"
|
88
|
+
requestParam.slide_index = 1
|
89
|
+
requestParam.shape_index = 1
|
90
|
+
requestParam.password = "password"
|
91
|
+
requestParam.folder = "TempSlidesSDK"
|
92
|
+
o = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(requestParam)
|
93
|
+
expect(o.text).to eq("1")
|
94
94
|
end
|
95
95
|
|
96
96
|
it 'chart' do
|
@@ -98,5 +98,107 @@ describe 'SlidesApiExtra' do
|
|
98
98
|
expect(chart.type).to eq("Chart")
|
99
99
|
expect(chart.shape_type).to eq("Chart")
|
100
100
|
end
|
101
|
+
|
102
|
+
it 'timeout' do
|
103
|
+
#unstable test
|
104
|
+
#AsposeSlidesCloud::SpecUtils.initialize('post_slide_save_as', nil, nil)
|
105
|
+
|
106
|
+
#config = JSON.parse(File.read('testConfig.json'))
|
107
|
+
#configuration = AsposeSlidesCloud::Configuration.new
|
108
|
+
#configuration.base_url = config["BaseUrl"]
|
109
|
+
#configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
|
110
|
+
#configuration.app_sid = config["AppSid"]
|
111
|
+
#configuration.app_key = config["AppKey"]
|
112
|
+
#configuration.debugging = config["Debug"]
|
113
|
+
#configuration.timeout = 1
|
114
|
+
#api = AsposeSlidesCloud::SlidesApi.new(configuration)
|
115
|
+
|
116
|
+
#requestParam = AsposeSlidesCloud::PostSlideSaveAsRequest.new
|
117
|
+
#requestParam.name = "test.ppt"
|
118
|
+
#requestParam.slide_index = 1
|
119
|
+
#requestParam.password = "password"
|
120
|
+
#requestParam.folder = "TempSlidesSDK"
|
121
|
+
#requestParam.format = "svg"
|
122
|
+
#api.post_slide_save_as(requestParam)
|
123
|
+
end
|
124
|
+
|
125
|
+
it 'nullable properties' do
|
126
|
+
folderName = "TempSlidesSDK"
|
127
|
+
fileName = "placeholders.pptx"
|
128
|
+
password = "password"
|
129
|
+
min1 = 44.3
|
130
|
+
min2 = 12
|
131
|
+
max1 = 104.3
|
132
|
+
max2 = 87
|
133
|
+
AsposeSlidesCloud::SpecUtils.initialize("no_method", "no_property", nil)
|
134
|
+
requestParam = AsposeSlidesCloud::CopyFileRequest.new
|
135
|
+
requestParam.src_path = "TempTests/" + fileName
|
136
|
+
requestParam.dest_path = folderName + "/" + fileName
|
137
|
+
AsposeSlidesCloud::SpecUtils.api.copy_file(requestParam)
|
138
|
+
|
139
|
+
postRequest = AsposeSlidesCloud::PostAddNewShapeRequest.new
|
140
|
+
postRequest.name = fileName
|
141
|
+
postRequest.folder = folderName
|
142
|
+
postRequest.password = password
|
143
|
+
postRequest.slide_index = 1
|
144
|
+
postRequest.dto = AsposeSlidesCloud::Chart.new
|
145
|
+
postRequest.dto.chart_type = "Line"
|
146
|
+
postRequest.dto.width = 400.0
|
147
|
+
postRequest.dto.height = 300.0
|
148
|
+
postRequest.dto.title = AsposeSlidesCloud::ChartTitle.new
|
149
|
+
postRequest.dto.title.has_title = true
|
150
|
+
postRequest.dto.title.text = "MyTitle"
|
151
|
+
postRequest.dto.series = []
|
152
|
+
postRequest.dto.series.push(AsposeSlidesCloud::OneValueSeries.new)
|
153
|
+
postRequest.dto.series[0].type = "ClusteredColumn"
|
154
|
+
postRequest.dto.series[0].data_point_type = "OneValue"
|
155
|
+
postRequest.dto.series[0].name = "Series1"
|
156
|
+
postRequest.dto.series[0].data_points = []
|
157
|
+
postRequest.dto.series[0].data_points.push(AsposeSlidesCloud::OneValueChartDataPoint.new)
|
158
|
+
postRequest.dto.series[0].data_points[0].value = 40.0
|
159
|
+
postRequest.dto.series[0].data_points.push(AsposeSlidesCloud::OneValueChartDataPoint.new)
|
160
|
+
postRequest.dto.series[0].data_points[1].value = 50.0
|
161
|
+
postRequest.dto.axes = AsposeSlidesCloud::Axes.new
|
162
|
+
postRequest.dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
|
163
|
+
postRequest.dto.axes.horizontal_axis.is_automatic_min_value = false
|
164
|
+
postRequest.dto.axes.horizontal_axis.min_value = min1
|
165
|
+
postRequest.dto.axes.horizontal_axis.is_automatic_max_value = false
|
166
|
+
postRequest.dto.axes.horizontal_axis.max_value = max1
|
167
|
+
AsposeSlidesCloud::SpecUtils.api.post_add_new_shape(postRequest)
|
168
|
+
|
169
|
+
getRequest = AsposeSlidesCloud::GetSlideShapeRequest.new
|
170
|
+
getRequest.name = fileName
|
171
|
+
getRequest.folder = folderName
|
172
|
+
getRequest.password = password
|
173
|
+
getRequest.slide_index = 1
|
174
|
+
getRequest.shape_index = 4
|
175
|
+
result = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(getRequest)
|
176
|
+
expect(result.axes.horizontal_axis.min_value).to eq(min1)
|
177
|
+
expect(result.axes.horizontal_axis.max_value).to eq(max1)
|
178
|
+
|
179
|
+
putRequest = AsposeSlidesCloud::PutSlideShapeInfoRequest.new
|
180
|
+
putRequest.name = fileName
|
181
|
+
putRequest.folder = folderName
|
182
|
+
putRequest.password = password
|
183
|
+
putRequest.slide_index = 1
|
184
|
+
putRequest.shape_index = 4
|
185
|
+
putRequest.dto = AsposeSlidesCloud::Chart.new
|
186
|
+
putRequest.dto.axes = AsposeSlidesCloud::Axes.new
|
187
|
+
putRequest.dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
|
188
|
+
putRequest.dto.axes.horizontal_axis.min_value = min2
|
189
|
+
AsposeSlidesCloud::SpecUtils.api.put_slide_shape_info(putRequest)
|
190
|
+
|
191
|
+
result = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(getRequest)
|
192
|
+
expect(result.axes.horizontal_axis.min_value).to eq(min2)
|
193
|
+
expect(result.axes.horizontal_axis.max_value).to eq(max1)
|
194
|
+
|
195
|
+
putRequest.dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
|
196
|
+
putRequest.dto.axes.horizontal_axis.max_value = max2
|
197
|
+
AsposeSlidesCloud::SpecUtils.api.put_slide_shape_info(putRequest)
|
198
|
+
|
199
|
+
result = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(getRequest)
|
200
|
+
expect(result.axes.horizontal_axis.min_value).to eq(min2)
|
201
|
+
expect(result.axes.horizontal_axis.max_value).to eq(max2)
|
202
|
+
end
|
101
203
|
end
|
102
204
|
end
|
data/spec/spec_utils.rb
CHANGED
@@ -26,7 +26,14 @@ module AsposeSlidesCloud
|
|
26
26
|
if !@@is_initialized
|
27
27
|
download_request = AsposeSlidesCloud::DownloadFileRequest.new
|
28
28
|
download_request.path = "TempTests/version.txt"
|
29
|
-
version =
|
29
|
+
version = ""
|
30
|
+
begin
|
31
|
+
version = SpecUtils.api.download_file(download_request)
|
32
|
+
rescue AsposeSlidesCloud::ApiError => e
|
33
|
+
if e.code != 404
|
34
|
+
fail "Could not read from storage"
|
35
|
+
end
|
36
|
+
end
|
30
37
|
if version != EXPECTED_TEST_DATA_VERSION
|
31
38
|
Dir.entries(TEST_DATA_PATH).each { |f|
|
32
39
|
if !File.directory? File.join(TEST_DATA_PATH, f)
|
data/testRules.json
CHANGED
@@ -4,6 +4,9 @@
|
|
4
4
|
{ "Action": "Delete", "File": "test.ppt", "Method": "PostSlidesDocument" },
|
5
5
|
{ "Action": "Delete", "File": "test.ppt", "Method": "PostSlidesDocumentFromHtml" },
|
6
6
|
{ "Action": "Delete", "File": "test.ppt", "Method": "UploadFile" },
|
7
|
+
{ "Action": "Put", "File": "ChartTest.pptx", "Method": "PostChartSeries" },
|
8
|
+
{ "Action": "Put", "File": "ChartTest.pptx", "Method": "PutChartSeries" },
|
9
|
+
{ "Action": "Put", "File": "ChartTest.pptx", "Method": "DeleteChartSeries" },
|
7
10
|
{ "Action": "Put", "File": "test-unprotected.ppt", "Method": "DeleteSlidesCleanSlidesList" },
|
8
11
|
{ "Action": "Put", "File": "test-unprotected.ppt", "Method": "PutSlidesSlide" },
|
9
12
|
{ "Action": "Put", "File": "TemplateCV.pptx", "Method": "PostSlidesDocument" },
|
@@ -30,6 +33,9 @@
|
|
30
33
|
{ "Value": "test-unprotected.ppt", "Parameter": "Name", "Method": "PutSlidesSlide" },
|
31
34
|
{ "Value": "test-unprotected.ppt", "Parameter": "Name", "Method": "PostSlidesAdd" },
|
32
35
|
{ "Value": "test-unprotected.ppt", "Parameter": "Name", "Method": "DeleteSlidesCleanSlidesList" },
|
36
|
+
{ "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PostChartSeries" },
|
37
|
+
{ "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PutChartSeries" },
|
38
|
+
{ "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "DeleteChartSeries" },
|
33
39
|
{ "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PutNewPresentation" },
|
34
40
|
{ "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PostSlidesDocumentFromSource" },
|
35
41
|
{ "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PostSlidesDocumentFromTemplate" },
|
@@ -63,8 +69,32 @@
|
|
63
69
|
{ "Value": 1, "InvalidValue": 593, "Parameter": "SlideToCopy" },
|
64
70
|
{ "Value": null, "InvalidValue": 593, "Parameter": "SlideToClone" },
|
65
71
|
{ "Value": 3, "InvalidValue": 593, "Parameter": "ShapeIndex" },
|
72
|
+
{ "Value": 2, "Parameter": "ShapeIndex", "Method": "PostChartSeries" },
|
73
|
+
{ "Value": 2, "Parameter": "ShapeIndex", "Method": "PutChartSeries" },
|
74
|
+
{ "Value": 2, "Parameter": "ShapeIndex", "Method": "DeleteChartSeries" },
|
75
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshape" },
|
76
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshapes" },
|
77
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapeParagraph" },
|
78
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapeParagraphs" },
|
79
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapePortion" },
|
80
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapePortions" },
|
81
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshape" },
|
82
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshapes" },
|
83
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshapeParagraph" },
|
84
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshapeParagraphs" },
|
85
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSubshapeParagraphPortion" },
|
86
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSubshapeParagraphPortions" },
|
87
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "PostAddNewSubshape" },
|
88
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "PostAddNewSubshapeParagraph" },
|
89
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "PostAddNewSubshapePortion" },
|
90
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "PostSubshapeSaveAs" },
|
91
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSetSubshapeParagraphPortionProperties" },
|
92
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSetSubshapeParagraphProperties" },
|
93
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSlideSubshapeInfo" },
|
94
|
+
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSubshapeSaveAs" },
|
66
95
|
{ "Value": null, "InvalidValue": [1, 593], "Parameter": "Shapes" },
|
67
96
|
{ "Value": null, "InvalidValue": 593, "Parameter": "ShapeToClone" },
|
97
|
+
{ "Value": 1, "InvalidValue": 593, "Parameter": "SeriesIndex" },
|
68
98
|
{ "Value": 1, "InvalidValue": 593, "Parameter": "ParagraphIndex" },
|
69
99
|
{ "Value": null, "InvalidValue": [1, 593], "Parameter": "Paragraphs" },
|
70
100
|
{ "Value": 1, "InvalidValue": 593, "Parameter": "PortionIndex" },
|
@@ -81,7 +111,7 @@
|
|
81
111
|
{ "Value": 1, "InvalidValue": 593, "Parameter": "CloneFromPosition" },
|
82
112
|
{ "Value": null, "InvalidValue": 593, "Parameter": "From" },
|
83
113
|
{ "Value": null, "InvalidValue": 593, "Parameter": "To" },
|
84
|
-
{ "Value": "", "Parameter": "Path" },
|
114
|
+
{ "Value": "4/shapes", "Parameter": "Path" },
|
85
115
|
{ "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "UploadFile" },
|
86
116
|
{ "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "DownloadFile" },
|
87
117
|
{ "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "GetFileVersions" },
|
@@ -100,20 +130,22 @@
|
|
100
130
|
{ "Value": {}, "InvalidValue": null, "Type": "Pipeline", "Parameter": "Pipeline" },
|
101
131
|
{ "Value": {}, "InvalidValue": null, "Type": "SlideBackground", "Parameter": "Background" },
|
102
132
|
{ "Value": {}, "InvalidValue": null, "Type": "SlideAnimation", "Parameter": "Animation" },
|
133
|
+
{ "Value": { "DataPointType": "OneValue" }, "InvalidValue": null, "Type": "OneValueSeries", "Parameter": "Series" },
|
103
134
|
{ "Value": { "TriggerShapeIndex": 1 }, "InvalidValue": null, "Type": "InteractiveSequence", "Parameter": "Sequence" },
|
104
135
|
{ "Value": { "ShapeIndex": 1, "Type": "Appear" }, "InvalidValue": null, "Type": "Effect", "Parameter": "Effect" },
|
105
136
|
{ "Value": { "Text": "testNote" }, "InvalidValue": null, "Type": "NotesSlide", "Parameter": "DTO" },
|
106
137
|
{ "Value": {}, "InvalidValue": null, "Type": "Paragraph", "Parameter": "DTO" },
|
138
|
+
{ "Value": {}, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO" },
|
107
139
|
{
|
108
140
|
"Value": { "Text": "testShape", "Type": "Shape", "ShapeType": "BentArrow", "GeometryShapeType": "Rectangle" },
|
109
141
|
"InvalidValue": null,
|
110
142
|
"Type": "Shape",
|
111
143
|
"Parameter": "DTO"
|
112
144
|
},
|
145
|
+
{ "Value": {}, "InvalidValue": null, "Type": "ViewProperties", "Parameter": "DTO", "Method": "PutSlidesViewProperties" },
|
113
146
|
{ "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostAddNewPortion" },
|
147
|
+
{ "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostAddNewSubshapePortion" },
|
114
148
|
{ "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostNotesSlideAddNewPortion" },
|
115
|
-
{ "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PutSetParagraphPortionProperties" },
|
116
|
-
{ "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PutUpdateNotesSlideShapePortion" },
|
117
149
|
{ "Value": { "MasterSlide": { "Uri": { "Href": "masterSlides/2" } } }, "InvalidValue": null, "Type": "LayoutSlide", "Parameter": "SlideDTO" },
|
118
150
|
{ "Value": { "LayoutSlide": { "Uri": { "Href": "TitleOnly" } } }, "InvalidValue": null, "Type": "Slide", "Parameter": "SlideDTO", "Method": "PutSlidesSlide" },
|
119
151
|
{ "Value": { "List": [] }, "InvalidValue": null, "Type": "DocumentProperties", "Parameter": "Properties" },
|
@@ -126,11 +158,15 @@
|
|
126
158
|
{ "Value": "pdf", "Parameter": "Format" },
|
127
159
|
{ "InvalidValue": "svg", "Parameter": "Format", "Language": "NET" },
|
128
160
|
{ "InvalidValue": "gif", "Parameter": "Format", "Method": "GetNotesSlideWithFormat", "Language": "NET" },
|
161
|
+
{ "InvalidValue": "gif", "Parameter": "Format", "Method": "PostGetNotesSlideWithFormat", "Language": "NET" },
|
129
162
|
{ "InvalidValue": "gif", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "NET" },
|
130
163
|
{ "Value": "png", "Parameter": "Format", "Method": "GetNotesSlideWithFormat" },
|
164
|
+
{ "Value": "png", "Parameter": "Format", "Method": "PostGetNotesSlideWithFormat" },
|
131
165
|
{ "Value": "png", "Parameter": "Format", "Method": "GetShapeWithFormat" },
|
132
166
|
{ "Value": "png", "Parameter": "Format", "Method": "PostShapeSaveAs" },
|
133
167
|
{ "Value": "png", "Parameter": "Format", "Method": "PutShapeSaveAs" },
|
168
|
+
{ "Value": "png", "Parameter": "Format", "Method": "PostSubshapeSaveAs" },
|
169
|
+
{ "Value": "png", "Parameter": "Format", "Method": "PutSubshapeSaveAs" },
|
134
170
|
{ "Value": "png", "Parameter": "Format", "Method": "GetNotesSlideShapeWithFormat" },
|
135
171
|
{ "Value": "png", "Parameter": "Format", "Method": "PostNotesSlideShapeSaveAs" },
|
136
172
|
{ "Value": "png", "Parameter": "Format", "Method": "PutNotesSlideShapeSaveAs" },
|
@@ -194,6 +230,15 @@
|
|
194
230
|
{ "Parameter": "Format", "Language": "NET" },
|
195
231
|
{ "Parameter": "Format", "Language": "Java", "Method": "PostSlidesSplit" },
|
196
232
|
{ "Parameter": "Dto", "Method": "PostAddNotesSlide" },
|
233
|
+
{ "Parameter": "Dto", "Language": "Swift" },
|
234
|
+
{ "Parameter": "SlideDto", "Language": "Swift" },
|
235
|
+
{ "Parameter": "Request", "Language": "Swift" },
|
236
|
+
{ "Parameter": "Effect", "Language": "Swift" },
|
237
|
+
{ "Parameter": "Sequence", "Language": "Swift" },
|
238
|
+
{ "Parameter": "Pipeline", "Language": "Swift" },
|
239
|
+
{ "Parameter": "Properties", "Language": "Swift" },
|
240
|
+
{ "Parameter": "Property", "Language": "Swift" },
|
241
|
+
{ "Parameter": "Animation", "Language": "Swift" },
|
197
242
|
{ "Parameter": "Position", "Method": "PostSlidesReorderPosition" },
|
198
243
|
{ "Parameter": "Name", "Method": "PostSlidesDocument" },
|
199
244
|
{ "Parameter": "Name", "Method": "PostSlidesDocumentFromHtml" },
|
@@ -244,6 +289,10 @@
|
|
244
289
|
{ "Code": 201, "Method": "PostAddNewParagraph" },
|
245
290
|
{ "Code": 201, "Method": "PostAddNewPortion" },
|
246
291
|
{ "Code": 201, "Method": "PostAddNewShape" },
|
292
|
+
{ "Code": 201, "Method": "PostAddNewSubshapeParagraph" },
|
293
|
+
{ "Code": 201, "Method": "PostAddNewSubshapePortion" },
|
294
|
+
{ "Code": 201, "Method": "PostAddNewSubshape" },
|
295
|
+
{ "Code": 201, "Method": "PostChartSeries" },
|
247
296
|
{ "Code": 201, "Method": "PostNotesSlideAddNewParagraph" },
|
248
297
|
{ "Code": 201, "Method": "PostNotesSlideAddNewPortion" },
|
249
298
|
{ "Code": 201, "Method": "PostNotesSlideAddNewShape" },
|
@@ -281,6 +330,7 @@
|
|
281
330
|
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "Portions" },
|
282
331
|
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "EffectIndex" },
|
283
332
|
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "SequenceIndex" },
|
333
|
+
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "SeriesIndex" },
|
284
334
|
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "Position" },
|
285
335
|
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "CloneFromPosition" },
|
286
336
|
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "OldPosition" },
|
@@ -292,7 +342,9 @@
|
|
292
342
|
{ "Message": "Specified argument was out of the range of valid values.", "Parameter": "Index" },
|
293
343
|
{ "Message": "Invalid index: index should be in the range", "Parameter": "ShapeToClone" },
|
294
344
|
{ "Message": "Index was out of range.", "Parameter": "ShapeToCopy" },
|
295
|
-
{ "Message": "Invalid
|
345
|
+
{ "Message": "Invalid Request", "Parameter": "VersionId" },
|
346
|
+
{ "Message": "Invalid version id specified", "Parameter": "VersionId", "Method": "DeleteFile" },
|
347
|
+
{ "Message": "Invalid version id specified", "Parameter": "VersionId", "Method": "DownloadFile" },
|
296
348
|
{ "Message": "AmazonS3 Storage exception", "Parameter": "VersionId", "Method": "ObjectExists" },
|
297
349
|
{ "Message": "The HTTP resource that matches the request URI", "Parameter": "Path" },
|
298
350
|
{ "Message": "Specified cast is not valid", "Parameter": "Path", "Method": "GetSlideShapes" },
|
@@ -305,19 +357,37 @@
|
|
305
357
|
{ "Code": 404, "Message": "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "TemplatePath" },
|
306
358
|
{ "Message": "Invalid 'to' parameter", "Parameter": "To" },
|
307
359
|
{ "Message": "BadRequest", "Parameter": "Format" },
|
308
|
-
{ "Message": "
|
309
|
-
{ "Message": "
|
310
|
-
{ "Message": "
|
311
|
-
{ "Message": "
|
360
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Python" },
|
361
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Python" },
|
362
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Python" },
|
363
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Python" },
|
364
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Go" },
|
365
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Go" },
|
366
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Go" },
|
367
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Go" },
|
368
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Perl" },
|
369
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Perl" },
|
370
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Perl" },
|
371
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Perl" },
|
372
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Swift" },
|
373
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Swift" },
|
374
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Swift" },
|
375
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Swift" },
|
376
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "CPP" },
|
377
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "CPP" },
|
378
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "CPP" },
|
379
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "CPP" },
|
312
380
|
{ "Message": "Color must be in format #FF000000", "Parameter": "Color" },
|
313
381
|
{ "Code": 404, "Message": "Property %v does not exist.", "Parameter": "PropertyName" },
|
314
382
|
{ "Message": "Data at the root level is invalid.", "Parameter": "Data" },
|
315
383
|
{ "Message": "Can't read MSCDFileSystem.", "Parameter": "Data", "Language": "Python", "Method": "PostSlidesDocument" },
|
316
384
|
{ "Message": "Can't read MSCDFileSystem.", "Parameter": "Document" },
|
317
385
|
{ "Message": "The stream is empty.", "Parameter": "Document", "Language": "NodeJS" },
|
386
|
+
{ "Message": "The stream is empty.", "Parameter": "Document", "Language": "PHP" },
|
318
387
|
{ "Message": "The stream is empty.", "Parameter": "Document", "Language": "Python" },
|
319
388
|
{ "Message": "The stream is empty.", "Parameter": "Document", "Language": "Go" },
|
320
389
|
{ "Message": "The stream is empty.", "Parameter": "Document", "Language": "Ruby" },
|
390
|
+
{ "Message": "The stream is empty.", "Parameter": "Document", "Language": "CPP" },
|
321
391
|
{ "Message": " DTO expected.", "Parameter": "DTO" },
|
322
392
|
{ "Message": " DTO expected.", "Parameter": "SlideDTO" },
|
323
393
|
{ "Message": " DTO expected.", "Parameter": "Background" },
|
@@ -326,8 +396,10 @@
|
|
326
396
|
{ "Message": " DTO expected.", "Parameter": "Property" },
|
327
397
|
{ "Message": " DTO expected.", "Parameter": "Animation" },
|
328
398
|
{ "Message": " DTO expected.", "Parameter": "Sequence" },
|
399
|
+
{ "Message": " DTO expected.", "Parameter": "Series" },
|
329
400
|
{ "Message": " DTO expected.", "Parameter": "Effect" },
|
330
401
|
{ "Message": " DTO expected.", "Parameter": "Request" },
|
402
|
+
{ "Message": "Layout slide DTO must be not null and contain", "Parameter": "SlideDTO", "Language": "Swift" },
|
331
403
|
{ "Message": "Object reference not set to an instance of an object.", "Parameter": "Bounds" },
|
332
404
|
{ "Code": 409, "Message": " is not empty.", "Parameter": "Recursive" },
|
333
405
|
{ "Message": "An error has occurred.", "Code": 500, "Parameter": "Options" },
|
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: 20.7.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: 2020-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -225,12 +225,15 @@ files:
|
|
225
225
|
- lib/aspose_slides_cloud/models/axis.rb
|
226
226
|
- lib/aspose_slides_cloud/models/base64_input_file.rb
|
227
227
|
- lib/aspose_slides_cloud/models/blur_effect.rb
|
228
|
+
- lib/aspose_slides_cloud/models/box_and_whisker_series.rb
|
228
229
|
- lib/aspose_slides_cloud/models/bubble_chart_data_point.rb
|
229
230
|
- lib/aspose_slides_cloud/models/bubble_series.rb
|
230
231
|
- lib/aspose_slides_cloud/models/chart.rb
|
232
|
+
- lib/aspose_slides_cloud/models/chart_category.rb
|
231
233
|
- lib/aspose_slides_cloud/models/chart_title.rb
|
232
234
|
- lib/aspose_slides_cloud/models/chart_wall.rb
|
233
235
|
- lib/aspose_slides_cloud/models/color_scheme.rb
|
236
|
+
- lib/aspose_slides_cloud/models/common_slide_view_properties.rb
|
234
237
|
- lib/aspose_slides_cloud/models/connector.rb
|
235
238
|
- lib/aspose_slides_cloud/models/custom_dash_pattern.rb
|
236
239
|
- lib/aspose_slides_cloud/models/disc_usage.rb
|
@@ -240,6 +243,7 @@ files:
|
|
240
243
|
- lib/aspose_slides_cloud/models/document_replace_result.rb
|
241
244
|
- lib/aspose_slides_cloud/models/effect.rb
|
242
245
|
- lib/aspose_slides_cloud/models/effect_format.rb
|
246
|
+
- lib/aspose_slides_cloud/models/entity_exists.rb
|
243
247
|
- lib/aspose_slides_cloud/models/error.rb
|
244
248
|
- lib/aspose_slides_cloud/models/error_details.rb
|
245
249
|
- lib/aspose_slides_cloud/models/export_format.rb
|
@@ -278,6 +282,7 @@ files:
|
|
278
282
|
- lib/aspose_slides_cloud/models/merge.rb
|
279
283
|
- lib/aspose_slides_cloud/models/merging_source.rb
|
280
284
|
- lib/aspose_slides_cloud/models/no_fill.rb
|
285
|
+
- lib/aspose_slides_cloud/models/normal_view_restored_properties.rb
|
281
286
|
- lib/aspose_slides_cloud/models/notes_slide.rb
|
282
287
|
- lib/aspose_slides_cloud/models/notes_slide_export_format.rb
|
283
288
|
- lib/aspose_slides_cloud/models/object_exist.rb
|
@@ -361,6 +366,8 @@ files:
|
|
361
366
|
- lib/aspose_slides_cloud/models/update_background.rb
|
362
367
|
- lib/aspose_slides_cloud/models/update_shape.rb
|
363
368
|
- lib/aspose_slides_cloud/models/video_frame.rb
|
369
|
+
- lib/aspose_slides_cloud/models/view_properties.rb
|
370
|
+
- lib/aspose_slides_cloud/models/waterfall_series.rb
|
364
371
|
- lib/aspose_slides_cloud/models/xps_export_options.rb
|
365
372
|
- lib/aspose_slides_cloud/version.rb
|
366
373
|
- spec/api/slides_api_spec.rb
|