aspose_slides_cloud 20.7.0 → 21.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/TestData/ChartTest.pptx +0 -0
- data/TestData/Sections.pptx +0 -0
- data/TestData/test-unprotected.pptx +0 -0
- data/TestData/test.pdf +0 -0
- data/TestData/test.pptx +0 -0
- data/lib/aspose_slides_cloud.rb +12 -5
- data/lib/aspose_slides_cloud/api/slides_api.rb +2130 -940
- data/lib/aspose_slides_cloud/api/slides_api_requests.rb +531 -31
- data/lib/aspose_slides_cloud/api_client.rb +25 -23
- data/lib/aspose_slides_cloud/configuration.rb +7 -2
- data/lib/aspose_slides_cloud/models/add_layout_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/add_master_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/add_shape.rb +11 -40
- data/lib/aspose_slides_cloud/models/add_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/api_info.rb +2 -2
- data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +2 -2
- data/lib/aspose_slides_cloud/models/audio_frame.rb +12 -238
- data/lib/aspose_slides_cloud/models/axes.rb +2 -2
- data/lib/aspose_slides_cloud/models/axis.rb +2 -2
- data/lib/aspose_slides_cloud/models/base64_input_file.rb +11 -49
- data/lib/aspose_slides_cloud/models/blur_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +11 -216
- data/lib/aspose_slides_cloud/models/bubble_chart_data_point.rb +10 -40
- data/lib/aspose_slides_cloud/models/bubble_series.rb +11 -205
- data/lib/aspose_slides_cloud/models/chart.rb +14 -214
- data/lib/aspose_slides_cloud/models/chart_category.rb +34 -12
- data/lib/aspose_slides_cloud/models/chart_title.rb +2 -2
- data/lib/aspose_slides_cloud/models/chart_wall.rb +2 -2
- data/lib/aspose_slides_cloud/models/color_scheme.rb +10 -32
- data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +2 -2
- data/lib/aspose_slides_cloud/models/connector.rb +12 -236
- data/lib/aspose_slides_cloud/models/custom_dash_pattern.rb +2 -2
- data/lib/aspose_slides_cloud/models/{resource_uri_element.rb → data_point.rb} +4 -14
- data/lib/aspose_slides_cloud/models/disc_usage.rb +2 -2
- data/lib/aspose_slides_cloud/models/document.rb +15 -37
- data/lib/aspose_slides_cloud/models/document_properties.rb +10 -32
- data/lib/aspose_slides_cloud/models/document_property.rb +10 -32
- data/lib/aspose_slides_cloud/models/document_replace_result.rb +10 -86
- data/lib/aspose_slides_cloud/models/effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/effect_format.rb +2 -2
- data/lib/aspose_slides_cloud/models/entity_exists.rb +2 -2
- data/lib/aspose_slides_cloud/models/error.rb +2 -2
- data/lib/aspose_slides_cloud/models/error_details.rb +2 -2
- data/lib/aspose_slides_cloud/models/export_options.rb +13 -3
- data/lib/aspose_slides_cloud/models/file_version.rb +10 -67
- data/lib/aspose_slides_cloud/models/file_versions.rb +2 -2
- data/lib/aspose_slides_cloud/models/files_list.rb +2 -2
- data/lib/aspose_slides_cloud/models/files_upload_result.rb +2 -2
- data/lib/aspose_slides_cloud/models/fill_format.rb +2 -2
- data/lib/aspose_slides_cloud/models/fill_overlay_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/font_scheme.rb +10 -32
- data/lib/aspose_slides_cloud/models/font_set.rb +2 -2
- data/lib/aspose_slides_cloud/models/format_scheme.rb +10 -32
- data/lib/aspose_slides_cloud/models/geometry_shape.rb +13 -204
- data/lib/aspose_slides_cloud/models/glow_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/gradient_fill.rb +11 -40
- data/lib/aspose_slides_cloud/models/gradient_fill_stop.rb +2 -2
- data/lib/aspose_slides_cloud/models/graphical_object.rb +11 -211
- data/lib/aspose_slides_cloud/models/group_shape.rb +11 -211
- data/lib/aspose_slides_cloud/models/header_footer.rb +247 -0
- data/lib/aspose_slides_cloud/models/html_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/i_shape_export_options.rb +2 -12
- data/lib/aspose_slides_cloud/models/image.rb +10 -32
- data/lib/aspose_slides_cloud/models/image_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/images.rb +10 -32
- data/lib/aspose_slides_cloud/models/inner_shadow_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/input.rb +2 -2
- data/lib/aspose_slides_cloud/models/input_file.rb +2 -2
- data/lib/aspose_slides_cloud/models/interactive_sequence.rb +2 -2
- data/lib/aspose_slides_cloud/models/layout_slide.rb +11 -33
- data/lib/aspose_slides_cloud/models/layout_slides.rb +10 -32
- data/lib/aspose_slides_cloud/models/legend.rb +2 -2
- data/lib/aspose_slides_cloud/models/line_format.rb +25 -3
- data/lib/aspose_slides_cloud/models/master_slide.rb +11 -33
- data/lib/aspose_slides_cloud/models/master_slides.rb +10 -32
- data/lib/aspose_slides_cloud/models/merge.rb +11 -40
- data/lib/aspose_slides_cloud/models/merging_source.rb +2 -2
- data/lib/aspose_slides_cloud/models/no_fill.rb +9 -38
- data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +2 -2
- data/lib/aspose_slides_cloud/models/notes_slide.rb +10 -32
- data/lib/aspose_slides_cloud/models/notes_slide_header_footer.rb +267 -0
- data/lib/aspose_slides_cloud/models/object_exist.rb +2 -2
- data/lib/aspose_slides_cloud/models/ole_object_frame.rb +12 -212
- data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +10 -12
- data/lib/aspose_slides_cloud/models/one_value_series.rb +11 -205
- data/lib/aspose_slides_cloud/models/ordered_merge_request.rb +2 -2
- data/lib/aspose_slides_cloud/models/outer_shadow_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/output_file.rb +2 -2
- data/lib/aspose_slides_cloud/models/paragraph.rb +10 -32
- data/lib/aspose_slides_cloud/models/paragraphs.rb +10 -32
- data/lib/aspose_slides_cloud/models/path_input_file.rb +11 -49
- data/lib/aspose_slides_cloud/models/path_output_file.rb +11 -40
- data/lib/aspose_slides_cloud/models/pattern_fill.rb +11 -40
- data/lib/aspose_slides_cloud/models/pdf_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/picture_fill.rb +12 -41
- data/lib/aspose_slides_cloud/models/picture_frame.rb +12 -238
- data/lib/aspose_slides_cloud/models/pipeline.rb +2 -2
- data/lib/aspose_slides_cloud/models/placeholder.rb +10 -32
- data/lib/aspose_slides_cloud/models/placeholders.rb +10 -32
- data/lib/aspose_slides_cloud/models/plot_area.rb +2 -2
- data/lib/aspose_slides_cloud/models/portion.rb +10 -32
- data/lib/aspose_slides_cloud/models/portions.rb +10 -32
- data/lib/aspose_slides_cloud/models/pptx_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/presentation_to_merge.rb +2 -2
- data/lib/aspose_slides_cloud/models/presentations_merge_request.rb +2 -2
- data/lib/aspose_slides_cloud/models/preset_shadow_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/protection_properties.rb +217 -0
- data/lib/aspose_slides_cloud/models/reflection_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/remove_shape.rb +11 -40
- data/lib/aspose_slides_cloud/models/remove_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/reorder_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/replace_text.rb +11 -40
- data/lib/aspose_slides_cloud/models/request_input_file.rb +11 -49
- data/lib/aspose_slides_cloud/models/reset_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/resource_base.rb +2 -2
- data/lib/aspose_slides_cloud/models/resource_uri.rb +2 -2
- data/lib/aspose_slides_cloud/models/response_output_file.rb +9 -38
- data/lib/aspose_slides_cloud/models/save.rb +11 -40
- data/lib/aspose_slides_cloud/models/save_shape.rb +11 -40
- data/lib/aspose_slides_cloud/models/save_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +10 -12
- data/lib/aspose_slides_cloud/models/scatter_series.rb +11 -205
- data/lib/aspose_slides_cloud/models/section.rb +234 -0
- data/lib/aspose_slides_cloud/models/sections.rb +209 -0
- data/lib/aspose_slides_cloud/models/series.rb +4 -4
- data/lib/aspose_slides_cloud/models/series_marker.rb +2 -2
- data/lib/aspose_slides_cloud/models/shape.rb +12 -236
- data/lib/aspose_slides_cloud/models/shape_base.rb +11 -54
- data/lib/aspose_slides_cloud/models/shape_image_export_options.rb +2 -2
- data/lib/aspose_slides_cloud/models/shapes.rb +10 -32
- data/lib/aspose_slides_cloud/models/slide.rb +17 -39
- data/lib/aspose_slides_cloud/models/slide_animation.rb +10 -32
- data/lib/aspose_slides_cloud/models/slide_background.rb +10 -32
- data/lib/aspose_slides_cloud/models/slide_comment.rb +2 -2
- data/lib/aspose_slides_cloud/models/slide_comments.rb +10 -32
- data/lib/aspose_slides_cloud/models/slide_properties.rb +315 -0
- data/lib/aspose_slides_cloud/models/slide_replace_result.rb +10 -146
- data/lib/aspose_slides_cloud/models/slides.rb +10 -32
- data/lib/aspose_slides_cloud/models/smart_art.rb +12 -212
- data/lib/aspose_slides_cloud/models/smart_art_node.rb +3 -3
- data/lib/aspose_slides_cloud/models/smart_art_shape.rb +10 -209
- data/lib/aspose_slides_cloud/models/soft_edge_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/solid_fill.rb +11 -40
- data/lib/aspose_slides_cloud/models/split_document_result.rb +10 -32
- data/lib/aspose_slides_cloud/models/storage_exist.rb +2 -2
- data/lib/aspose_slides_cloud/models/storage_file.rb +2 -2
- data/lib/aspose_slides_cloud/models/svg_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/swf_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/table.rb +12 -212
- data/lib/aspose_slides_cloud/models/table_cell.rb +2 -2
- data/lib/aspose_slides_cloud/models/table_column.rb +2 -2
- data/lib/aspose_slides_cloud/models/table_row.rb +2 -2
- data/lib/aspose_slides_cloud/models/task.rb +2 -2
- data/lib/aspose_slides_cloud/models/text_item.rb +2 -2
- data/lib/aspose_slides_cloud/models/text_items.rb +10 -32
- data/lib/aspose_slides_cloud/models/theme.rb +12 -34
- data/lib/aspose_slides_cloud/models/tiff_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/update_background.rb +11 -40
- data/lib/aspose_slides_cloud/models/update_shape.rb +11 -40
- data/lib/aspose_slides_cloud/models/video_frame.rb +12 -238
- data/lib/aspose_slides_cloud/models/view_properties.rb +10 -32
- data/lib/aspose_slides_cloud/models/waterfall_chart_data_point.rb +206 -0
- data/lib/aspose_slides_cloud/models/waterfall_series.rb +11 -216
- data/lib/aspose_slides_cloud/models/xps_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/type_registry.rb +324 -0
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/spec/api/slides_api_spec.rb +8664 -1406
- data/spec/extra/extra_spec.rb +70 -38
- data/spec/spec_utils.rb +10 -6
- data/testConfig.json +2 -2
- data/testRules.json +121 -80
- metadata +16 -3
data/spec/extra/extra_spec.rb
CHANGED
@@ -48,43 +48,10 @@ describe 'SlidesApiExtra' do
|
|
48
48
|
expect(o).not_to be(nil)
|
49
49
|
end
|
50
50
|
|
51
|
-
it 'unauthorized' do
|
52
|
-
config = JSON.parse(File.read('testConfig.json'))
|
53
|
-
configuration = AsposeSlidesCloud::Configuration.new
|
54
|
-
configuration.base_url = config["BaseUrl"]
|
55
|
-
configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
|
56
|
-
configuration.app_sid = "invalid"
|
57
|
-
configuration.app_key = "invalid"
|
58
|
-
configuration.debugging = config["Debug"]
|
59
|
-
api = AsposeSlidesCloud::SlidesApi.new(configuration)
|
60
|
-
begin
|
61
|
-
o, c, _h = api.get_slides_api_info_with_http_info
|
62
|
-
fail "An exception expected"
|
63
|
-
rescue AsposeSlidesCloud::ApiError => e
|
64
|
-
expect(e.code).to eq(401)
|
65
|
-
expect(e.response_body).to include("invalid_client")
|
66
|
-
end
|
67
|
-
end
|
68
|
-
|
69
|
-
it 'expired token' do
|
70
|
-
config = JSON.parse(File.read('testConfig.json'))
|
71
|
-
configuration = AsposeSlidesCloud::Configuration.new
|
72
|
-
configuration.base_url = config["BaseUrl"]
|
73
|
-
configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
|
74
|
-
configuration.app_sid = config["AppSid"]
|
75
|
-
configuration.app_key = config["AppKey"]
|
76
|
-
configuration.access_token = "expired.token"
|
77
|
-
configuration.debugging = config["Debug"]
|
78
|
-
api = AsposeSlidesCloud::SlidesApi.new(configuration)
|
79
|
-
o, c, _h = api.get_slides_api_info_with_http_info
|
80
|
-
expect(c).to eq(200)
|
81
|
-
expect(o).not_to be(nil)
|
82
|
-
end
|
83
|
-
|
84
51
|
it 'base shape' do
|
85
52
|
AsposeSlidesCloud::SpecUtils.initialize('GetSlideShape', nil, nil)
|
86
53
|
requestParam = AsposeSlidesCloud::GetSlideShapeRequest.new
|
87
|
-
requestParam.name = "test.
|
54
|
+
requestParam.name = "test.pptx"
|
88
55
|
requestParam.slide_index = 1
|
89
56
|
requestParam.shape_index = 1
|
90
57
|
requestParam.password = "password"
|
@@ -96,7 +63,6 @@ describe 'SlidesApiExtra' do
|
|
96
63
|
it 'chart' do
|
97
64
|
chart = AsposeSlidesCloud::Chart.new
|
98
65
|
expect(chart.type).to eq("Chart")
|
99
|
-
expect(chart.shape_type).to eq("Chart")
|
100
66
|
end
|
101
67
|
|
102
68
|
it 'timeout' do
|
@@ -107,14 +73,14 @@ describe 'SlidesApiExtra' do
|
|
107
73
|
#configuration = AsposeSlidesCloud::Configuration.new
|
108
74
|
#configuration.base_url = config["BaseUrl"]
|
109
75
|
#configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
|
110
|
-
#configuration.app_sid = config["
|
111
|
-
#configuration.app_key = config["
|
76
|
+
#configuration.app_sid = config["ClientId"]
|
77
|
+
#configuration.app_key = config["ClientSecret"]
|
112
78
|
#configuration.debugging = config["Debug"]
|
113
79
|
#configuration.timeout = 1
|
114
80
|
#api = AsposeSlidesCloud::SlidesApi.new(configuration)
|
115
81
|
|
116
82
|
#requestParam = AsposeSlidesCloud::PostSlideSaveAsRequest.new
|
117
|
-
#requestParam.name = "test.
|
83
|
+
#requestParam.name = "test.pptx"
|
118
84
|
#requestParam.slide_index = 1
|
119
85
|
#requestParam.password = "password"
|
120
86
|
#requestParam.folder = "TempSlidesSDK"
|
@@ -201,4 +167,70 @@ describe 'SlidesApiExtra' do
|
|
201
167
|
expect(result.axes.horizontal_axis.max_value).to eq(max2)
|
202
168
|
end
|
203
169
|
end
|
170
|
+
|
171
|
+
describe 'authentication' do
|
172
|
+
it 'good auth' do
|
173
|
+
config = JSON.parse(File.read('testConfig.json'))
|
174
|
+
configuration = AsposeSlidesCloud::Configuration.new
|
175
|
+
configuration.base_url = config["BaseUrl"]
|
176
|
+
configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
|
177
|
+
configuration.app_sid = config["ClientId"]
|
178
|
+
configuration.app_key = config["ClientSecret"]
|
179
|
+
configuration.debugging = config["Debug"]
|
180
|
+
api = AsposeSlidesCloud::SlidesApi.new(configuration)
|
181
|
+
o, c, _h = api.get_slides_api_info_with_http_info
|
182
|
+
expect(c).to eq(200)
|
183
|
+
expect(o).not_to be(nil)
|
184
|
+
end
|
185
|
+
|
186
|
+
it 'bad auth' do
|
187
|
+
config = JSON.parse(File.read('testConfig.json'))
|
188
|
+
configuration = AsposeSlidesCloud::Configuration.new
|
189
|
+
configuration.base_url = config["BaseUrl"]
|
190
|
+
configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
|
191
|
+
configuration.app_sid = "invalid"
|
192
|
+
configuration.app_key = config["ClientSecret"]
|
193
|
+
configuration.debugging = config["Debug"]
|
194
|
+
api = AsposeSlidesCloud::SlidesApi.new(configuration)
|
195
|
+
begin
|
196
|
+
o, c, _h = api.get_slides_api_info_with_http_info
|
197
|
+
fail "An exception expected"
|
198
|
+
rescue AsposeSlidesCloud::ApiError => e
|
199
|
+
expect(e.code).to eq(401)
|
200
|
+
expect(e.response_body).to include("invalid_client")
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
it 'good token' do
|
205
|
+
config = JSON.parse(File.read('testConfig.json'))
|
206
|
+
configuration = AsposeSlidesCloud::Configuration.new
|
207
|
+
configuration.base_url = config["BaseUrl"]
|
208
|
+
configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
|
209
|
+
configuration.app_sid = config["ClientId"]
|
210
|
+
configuration.app_key = config["ClientSecret"]
|
211
|
+
configuration.debugging = config["Debug"]
|
212
|
+
api = AsposeSlidesCloud::SlidesApi.new(configuration)
|
213
|
+
api.get_slides_api_info_with_http_info
|
214
|
+
configuration.app_sid = "invalid"
|
215
|
+
api = AsposeSlidesCloud::SlidesApi.new(configuration)
|
216
|
+
o, c, _h = api.get_slides_api_info_with_http_info
|
217
|
+
expect(c).to eq(200)
|
218
|
+
expect(o).not_to be(nil)
|
219
|
+
end
|
220
|
+
|
221
|
+
it 'bad token' do
|
222
|
+
config = JSON.parse(File.read('testConfig.json'))
|
223
|
+
configuration = AsposeSlidesCloud::Configuration.new
|
224
|
+
configuration.base_url = config["BaseUrl"]
|
225
|
+
configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
|
226
|
+
configuration.app_sid = config["ClientId"]
|
227
|
+
configuration.app_key = config["ClientSecret"]
|
228
|
+
configuration.access_token = "expired.token"
|
229
|
+
configuration.debugging = config["Debug"]
|
230
|
+
api = AsposeSlidesCloud::SlidesApi.new(configuration)
|
231
|
+
o, c, _h = api.get_slides_api_info_with_http_info
|
232
|
+
expect(c).to eq(200)
|
233
|
+
expect(o).not_to be(nil)
|
234
|
+
end
|
235
|
+
end
|
204
236
|
end
|
data/spec/spec_utils.rb
CHANGED
@@ -80,7 +80,11 @@ module AsposeSlidesCloud
|
|
80
80
|
|
81
81
|
def self.get_param_value(name, method, type)
|
82
82
|
if type == 'File'
|
83
|
-
|
83
|
+
fileName = "test.pptx"
|
84
|
+
if method.casecmp("PostSlidesDocumentFromPdf") == 0
|
85
|
+
fileName = "test.pdf"
|
86
|
+
end
|
87
|
+
return File.binread(File.join(TEST_DATA_PATH, fileName))
|
84
88
|
end
|
85
89
|
value = "test" + name
|
86
90
|
SpecUtils.test_rules["Values"].each do |rule|
|
@@ -130,8 +134,8 @@ module AsposeSlidesCloud
|
|
130
134
|
def self.good_rule?(rule, name, method)
|
131
135
|
(not rule.key?("Language") or rule["Language"].casecmp("Ruby") == 0) \
|
132
136
|
and (not rule.key?("Invalid") or ((name != nil) == rule["Invalid"])) \
|
133
|
-
and (not rule.key?("Parameter") or rule["Parameter"].casecmp(name) == 0) \
|
134
|
-
and (not rule.key?("Method") or rule["Method"].casecmp(method) == 0)
|
137
|
+
and (not rule.key?("Parameter") or (name != nil and rule["Parameter"].casecmp(name) == 0)) \
|
138
|
+
and (not rule.key?("Method") or (method != nil and rule["Method"].casecmp(method) == 0))
|
135
139
|
end
|
136
140
|
|
137
141
|
def self.untemplatize(template, value)
|
@@ -139,7 +143,7 @@ module AsposeSlidesCloud
|
|
139
143
|
value
|
140
144
|
else
|
141
145
|
result = template
|
142
|
-
if template.is_a? String and template.match
|
146
|
+
if template.is_a? String and template.match("%v")
|
143
147
|
result = "" + template
|
144
148
|
if value != nil
|
145
149
|
result["%v"] = value.to_s
|
@@ -166,8 +170,8 @@ module AsposeSlidesCloud
|
|
166
170
|
configuration = AsposeSlidesCloud::Configuration.new
|
167
171
|
configuration.base_url = config["BaseUrl"]
|
168
172
|
configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
|
169
|
-
configuration.app_sid = config["
|
170
|
-
configuration.app_key = config["
|
173
|
+
configuration.app_sid = config["ClientId"]
|
174
|
+
configuration.app_key = config["ClientSecret"]
|
171
175
|
configuration.debugging = config["Debug"]
|
172
176
|
@@api = AsposeSlidesCloud::SlidesApi.new(configuration)
|
173
177
|
end
|
data/testConfig.json
CHANGED
data/testRules.json
CHANGED
@@ -1,52 +1,45 @@
|
|
1
1
|
{
|
2
2
|
"Files": [
|
3
|
-
{ "Action": "Put", "File": "test.
|
4
|
-
{ "Action": "
|
5
|
-
{ "Action": "
|
6
|
-
{ "Action": "Delete", "File": "test.
|
7
|
-
{ "Action": "
|
8
|
-
{ "Action": "
|
9
|
-
{ "Action": "
|
10
|
-
{ "Action": "Put", "File": "test-unprotected.ppt", "Method": "DeleteSlidesCleanSlidesList" },
|
11
|
-
{ "Action": "Put", "File": "test-unprotected.ppt", "Method": "PutSlidesSlide" },
|
12
|
-
{ "Action": "Put", "File": "TemplateCV.pptx", "Method": "PostSlidesDocument" },
|
13
|
-
{ "Action": "Delete", "Folder": "%v", "File": "test.ppt", "Parameter": "Folder" },
|
3
|
+
{ "Action": "Put", "File": "test.pptx" },
|
4
|
+
{ "Action": "Put", "File": "test-unprotected.pptx", "Method": "DeleteSlidesCleanSlidesList" },
|
5
|
+
{ "Action": "Put", "File": "test-unprotected.pptx", "Method": "PutSlidesSlide" },
|
6
|
+
{ "Action": "Delete", "File": "test.pptx", "Method": "PostSlidesDocument" },
|
7
|
+
{ "Action": "Delete", "File": "test.pptx", "Method": "PostSlidesDocumentFromHtml" },
|
8
|
+
{ "Action": "Delete", "File": "test.pptx", "Method": "UploadFile" },
|
9
|
+
{ "Action": "Delete", "Folder": "%v", "File": "test.pptx", "Parameter": "Folder" },
|
14
10
|
{ "Action": "Delete", "File": "%v", "Parameter": "Name" },
|
15
|
-
{ "Action": "Delete", "File": "changedtest.
|
16
|
-
{ "Action": "Delete", "File": "invalidchangedtest.
|
17
|
-
{ "Action": "Delete", "Folder": "TempSlidesSDKinvalid", "File": "changedtest.
|
18
|
-
{ "Action": "Delete", "File": "changedtest.
|
19
|
-
{ "Action": "Delete", "File": "invalidchangedtest.
|
20
|
-
{ "Action": "Delete", "Folder": "TempSlidesSDKinvalid", "File": "changedtest.
|
21
|
-
{ "Action": "Delete", "File": "changedtest.
|
22
|
-
{ "Action": "Delete", "File": "invalidchangedtest.
|
23
|
-
{ "Action": "Delete", "Folder": "TempSlidesSDKinvalid", "File": "changedtest.
|
24
|
-
{ "Action": "Delete", "File": "changedtest.
|
25
|
-
{ "Action": "Delete", "File": "invalidchangedtest.
|
26
|
-
{ "Action": "Delete", "Folder": "TempSlidesSDKinvalid", "File": "changedtest.
|
27
|
-
{ "Action": "Delete", "Folder": "invalidTempSlidesSDK", "File": "test.
|
28
|
-
{ "Action": "Delete", "Folder": "invalidTempSlidesSDK", "File": "test.
|
11
|
+
{ "Action": "Delete", "File": "changedtest.pptx", "Method": "PostSlidesDocument" },
|
12
|
+
{ "Action": "Delete", "File": "invalidchangedtest.pptx", "Method": "PostSlidesDocument" },
|
13
|
+
{ "Action": "Delete", "Folder": "TempSlidesSDKinvalid", "File": "changedtest.pptx", "Method": "PostSlidesDocument" },
|
14
|
+
{ "Action": "Delete", "File": "changedtest.pptx", "Method": "PostSlidesDocumentFromSource" },
|
15
|
+
{ "Action": "Delete", "File": "invalidchangedtest.pptx", "Method": "PostSlidesDocumentFromSource" },
|
16
|
+
{ "Action": "Delete", "Folder": "TempSlidesSDKinvalid", "File": "changedtest.pptx", "Method": "PostSlidesDocumentFromSource" },
|
17
|
+
{ "Action": "Delete", "File": "changedtest.pptx", "Method": "PostSlidesDocumentFromTemplate" },
|
18
|
+
{ "Action": "Delete", "File": "invalidchangedtest.pptx", "Method": "PostSlidesDocumentFromTemplate" },
|
19
|
+
{ "Action": "Delete", "Folder": "TempSlidesSDKinvalid", "File": "changedtest.pptx", "Method": "PostSlidesDocumentFromTemplate" },
|
20
|
+
{ "Action": "Delete", "File": "changedtest.pptx", "Method": "PutNewPresentation" },
|
21
|
+
{ "Action": "Delete", "File": "invalidchangedtest.pptx", "Method": "PutNewPresentation" },
|
22
|
+
{ "Action": "Delete", "Folder": "TempSlidesSDKinvalid", "File": "changedtest.pptx", "Method": "PutNewPresentation" },
|
23
|
+
{ "Action": "Delete", "Folder": "invalidTempSlidesSDK", "File": "test.pptx", "Parameter": "CloneFrom" },
|
24
|
+
{ "Action": "Delete", "Folder": "invalidTempSlidesSDK", "File": "test.pptx", "Parameter": "SourcePath" }
|
29
25
|
],
|
30
26
|
"Values": [
|
31
27
|
{ "InvalidValue": "%vinvalid" },
|
32
|
-
{ "Value": "test.
|
33
|
-
{ "Value": "test-unprotected.
|
34
|
-
{ "Value": "test-unprotected.
|
35
|
-
{ "Value": "test-unprotected.
|
36
|
-
{ "Value": "
|
37
|
-
{ "Value": "
|
38
|
-
{ "Value": "
|
39
|
-
{ "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PutNewPresentation" },
|
40
|
-
{ "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PostSlidesDocumentFromSource" },
|
41
|
-
{ "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PostSlidesDocumentFromTemplate" },
|
28
|
+
{ "Value": "test.pptx", "InvalidValue": "invalid%v", "Parameter": "Name" },
|
29
|
+
{ "Value": "test-unprotected.pptx", "Parameter": "Name", "Method": "PutSlidesSlide" },
|
30
|
+
{ "Value": "test-unprotected.pptx", "Parameter": "Name", "Method": "PostSlidesAdd" },
|
31
|
+
{ "Value": "test-unprotected.pptx", "Parameter": "Name", "Method": "DeleteSlidesCleanSlidesList" },
|
32
|
+
{ "Value": "changedtest.pptx", "Parameter": "Name", "Method": "PutNewPresentation" },
|
33
|
+
{ "Value": "changedtest.pptx", "Parameter": "Name", "Method": "PostSlidesDocumentFromSource" },
|
34
|
+
{ "Value": "changedtest.pptx", "Parameter": "Name", "Method": "PostSlidesDocumentFromTemplate" },
|
42
35
|
{ "Value": "TempSlidesSDK", "Parameter": "Folder" },
|
43
|
-
{ "Value": "TempSlidesSDK/test.
|
44
|
-
{ "Value": "TempSlidesSDK/test.
|
45
|
-
{ "Value": "TempSlidesSDK/changedtest.
|
46
|
-
{ "Value": "TempSlidesSDK/test.
|
36
|
+
{ "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "SourcePath" },
|
37
|
+
{ "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "SrcPath" },
|
38
|
+
{ "Value": "TempSlidesSDK/changedtest.pptx", "InvalidValue": "invalid%v", "Parameter": "DestPath" },
|
39
|
+
{ "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "TemplatePath" },
|
47
40
|
{ "Value": "TempSlidesSDK/TemplateCV.pptx", "InvalidValue": "invalid%v", "Parameter": "TemplatePath", "Method": "PostSlidesDocument" },
|
48
|
-
{ "Value": "TempSlidesSDK/test.
|
49
|
-
{ "Value": "TempSlidesSDK/test.
|
41
|
+
{ "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "CloneFrom" },
|
42
|
+
{ "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Source" },
|
50
43
|
{ "Value": "TempSlidesSDK/out.pdf", "Parameter": "OutPath" },
|
51
44
|
{ "Value": "password", "Parameter": "Password" },
|
52
45
|
{ "Value": "password", "Parameter": "InputPassword" },
|
@@ -65,13 +58,22 @@
|
|
65
58
|
{ "Value": null, "Parameter": "CloneFromStorage" },
|
66
59
|
{ "Value": null, "Parameter": "SourceStorage" },
|
67
60
|
{ "Value": 1, "InvalidValue": 593, "Parameter": "SlideIndex" },
|
61
|
+
{ "Value": 5, "Parameter": "SlideIndex", "Method": "PostSection" },
|
68
62
|
{ "Value": null, "InvalidValue": [1, 593], "Parameter": "Slides" },
|
69
63
|
{ "Value": 1, "InvalidValue": 593, "Parameter": "SlideToCopy" },
|
70
64
|
{ "Value": null, "InvalidValue": 593, "Parameter": "SlideToClone" },
|
71
|
-
{ "Value":
|
72
|
-
{ "Value":
|
73
|
-
{ "Value":
|
74
|
-
{ "Value":
|
65
|
+
{ "Value": 1, "InvalidValue": 593, "Parameter": "ShapeIndex" },
|
66
|
+
{ "Value": 3, "Parameter": "SlideIndex", "Method": "PostChartSeries" },
|
67
|
+
{ "Value": 3, "Parameter": "SlideIndex", "Method": "PutChartSeries" },
|
68
|
+
{ "Value": 3, "Parameter": "SlideIndex", "Method": "DeleteChartSeries" },
|
69
|
+
{ "Value": 3, "Parameter": "SlideIndex", "Method": "PostChartCategory" },
|
70
|
+
{ "Value": 3, "Parameter": "SlideIndex", "Method": "PutChartCategory" },
|
71
|
+
{ "Value": 3, "Parameter": "SlideIndex", "Method": "DeleteChartCategory" },
|
72
|
+
{ "Value": 3, "Parameter": "SlideIndex", "Method": "PostChartDataPoint" },
|
73
|
+
{ "Value": 3, "Parameter": "SlideIndex", "Method": "PutChartDataPoint" },
|
74
|
+
{ "Value": 3, "Parameter": "SlideIndex", "Method": "DeleteChartDataPoint" },
|
75
|
+
{ "Value": 2, "Parameter": "ShapeIndex", "Method": "PostChartDataPoint" },
|
76
|
+
{ "Value": 2, "Parameter": "ShapeIndex", "Method": "PutChartDataPoint" },
|
75
77
|
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshape" },
|
76
78
|
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshapes" },
|
77
79
|
{ "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapeParagraph" },
|
@@ -95,6 +97,8 @@
|
|
95
97
|
{ "Value": null, "InvalidValue": [1, 593], "Parameter": "Shapes" },
|
96
98
|
{ "Value": null, "InvalidValue": 593, "Parameter": "ShapeToClone" },
|
97
99
|
{ "Value": 1, "InvalidValue": 593, "Parameter": "SeriesIndex" },
|
100
|
+
{ "Value": 1, "InvalidValue": 593, "Parameter": "CategoryIndex" },
|
101
|
+
{ "Value": 1, "InvalidValue": 593, "Parameter": "PointIndex" },
|
98
102
|
{ "Value": 1, "InvalidValue": 593, "Parameter": "ParagraphIndex" },
|
99
103
|
{ "Value": null, "InvalidValue": [1, 593], "Parameter": "Paragraphs" },
|
100
104
|
{ "Value": 1, "InvalidValue": 593, "Parameter": "PortionIndex" },
|
@@ -102,21 +106,23 @@
|
|
102
106
|
{ "Value": 1, "InvalidValue": 593, "Parameter": "PlaceholderIndex" },
|
103
107
|
{ "Value": 1, "InvalidValue": 593, "Parameter": "SequenceIndex" },
|
104
108
|
{ "Value": 1, "InvalidValue": 593, "Parameter": "EffectIndex" },
|
109
|
+
{ "Value": 2, "InvalidValue": 593, "Parameter": "SectionIndex" },
|
105
110
|
{ "Value": 1, "InvalidValue": 593, "Parameter": "Index" },
|
106
111
|
{ "Value": 2, "InvalidValue": 593, "Parameter": "NewPosition" },
|
107
112
|
{ "Value": null, "InvalidValue": 593, "Parameter": "OldPosition" },
|
108
113
|
{ "Value": 1, "InvalidValue": 593, "Parameter": "Position" },
|
109
114
|
{ "Value": [2, 1], "InvalidValue": [1, 593], "Parameter": "OldPositions" },
|
110
115
|
{ "Value": [1, 2], "InvalidValue": [1, 593], "Parameter": "NewPositions" },
|
116
|
+
{ "Value": [3, 2], "InvalidValue": [1, 593], "Parameter": "Sections" },
|
111
117
|
{ "Value": 1, "InvalidValue": 593, "Parameter": "CloneFromPosition" },
|
112
118
|
{ "Value": null, "InvalidValue": 593, "Parameter": "From" },
|
113
119
|
{ "Value": null, "InvalidValue": 593, "Parameter": "To" },
|
114
120
|
{ "Value": "4/shapes", "Parameter": "Path" },
|
115
|
-
{ "Value": "TempSlidesSDK/test.
|
116
|
-
{ "Value": "TempSlidesSDK/test.
|
117
|
-
{ "Value": "TempSlidesSDK/test.
|
118
|
-
{ "Value": "TempSlidesSDK/test.
|
119
|
-
{ "Value": "TempSlidesSDK/test.
|
121
|
+
{ "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "UploadFile" },
|
122
|
+
{ "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "DownloadFile" },
|
123
|
+
{ "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "GetFileVersions" },
|
124
|
+
{ "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "DeleteFile" },
|
125
|
+
{ "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "ObjectExists" },
|
120
126
|
{ "Value": "TempSlidesSDK", "Parameter": "Path", "Method": "DeleteFolder" },
|
121
127
|
{ "Value": "testProperty", "Parameter": "PropertyName" },
|
122
128
|
{ "InvalidValue": null, "Parameter": "Stream" },
|
@@ -130,23 +136,30 @@
|
|
130
136
|
{ "Value": {}, "InvalidValue": null, "Type": "Pipeline", "Parameter": "Pipeline" },
|
131
137
|
{ "Value": {}, "InvalidValue": null, "Type": "SlideBackground", "Parameter": "Background" },
|
132
138
|
{ "Value": {}, "InvalidValue": null, "Type": "SlideAnimation", "Parameter": "Animation" },
|
139
|
+
{ "Value": {}, "InvalidValue": null, "Type": "ChartCategory", "Parameter": "Category" },
|
140
|
+
{ "Value": { "XValue": 32.5, "YValue": 42.9 }, "InvalidValue": null, "Type": "ScatterChartDataPoint", "Parameter": "DataPoint" },
|
133
141
|
{ "Value": { "DataPointType": "OneValue" }, "InvalidValue": null, "Type": "OneValueSeries", "Parameter": "Series" },
|
134
142
|
{ "Value": { "TriggerShapeIndex": 1 }, "InvalidValue": null, "Type": "InteractiveSequence", "Parameter": "Sequence" },
|
135
143
|
{ "Value": { "ShapeIndex": 1, "Type": "Appear" }, "InvalidValue": null, "Type": "Effect", "Parameter": "Effect" },
|
136
144
|
{ "Value": { "Text": "testNote" }, "InvalidValue": null, "Type": "NotesSlide", "Parameter": "DTO" },
|
137
145
|
{ "Value": {}, "InvalidValue": null, "Type": "Paragraph", "Parameter": "DTO" },
|
138
146
|
{ "Value": {}, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO" },
|
147
|
+
{ "Value": {}, "InvalidValue": null, "Type": "HeaderFooter", "Parameter": "DTO" },
|
148
|
+
{ "Value": {}, "InvalidValue": null, "Type": "NotesSlideHeaderFooter", "Parameter": "DTO" },
|
139
149
|
{
|
140
150
|
"Value": { "Text": "testShape", "Type": "Shape", "ShapeType": "BentArrow", "GeometryShapeType": "Rectangle" },
|
141
151
|
"InvalidValue": null,
|
142
152
|
"Type": "Shape",
|
143
153
|
"Parameter": "DTO"
|
144
154
|
},
|
155
|
+
{ "Value": { "Type": "Connector" }, "InvalidValue": null, "Type": "Shape", "Parameter": "DTO", "Language": "CPP" },
|
156
|
+
{ "Value": {}, "InvalidValue": null, "Type": "SlideProperties", "Parameter": "DTO", "Method": "PutSlidesSlideProperties" },
|
157
|
+
{ "Value": {}, "InvalidValue": null, "Type": "ProtectionProperties", "Parameter": "DTO", "Method": "PutSlidesProtectionProperties" },
|
145
158
|
{ "Value": {}, "InvalidValue": null, "Type": "ViewProperties", "Parameter": "DTO", "Method": "PutSlidesViewProperties" },
|
146
159
|
{ "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostAddNewPortion" },
|
147
160
|
{ "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostAddNewSubshapePortion" },
|
148
161
|
{ "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostNotesSlideAddNewPortion" },
|
149
|
-
{ "Value": { "MasterSlide": { "
|
162
|
+
{ "Value": { "MasterSlide": { "Href": "masterSlides/2" } }, "InvalidValue": null, "Type": "LayoutSlide", "Parameter": "SlideDTO" },
|
150
163
|
{ "Value": { "LayoutSlide": { "Uri": { "Href": "TitleOnly" } } }, "InvalidValue": null, "Type": "Slide", "Parameter": "SlideDTO", "Method": "PutSlidesSlide" },
|
151
164
|
{ "Value": { "List": [] }, "InvalidValue": null, "Type": "DocumentProperties", "Parameter": "Properties" },
|
152
165
|
{
|
@@ -155,6 +168,7 @@
|
|
155
168
|
"Type": "DocumentProperty",
|
156
169
|
"Parameter": "Property"
|
157
170
|
},
|
171
|
+
{ "Value": {}, "InvalidValue": null, "Type": "Sections", "Parameter": "Sections", "Method": "PutSections" },
|
158
172
|
{ "Value": "pdf", "Parameter": "Format" },
|
159
173
|
{ "InvalidValue": "svg", "Parameter": "Format", "Language": "NET" },
|
160
174
|
{ "InvalidValue": "gif", "Parameter": "Format", "Method": "GetNotesSlideWithFormat", "Language": "NET" },
|
@@ -171,7 +185,7 @@
|
|
171
185
|
{ "Value": "png", "Parameter": "Format", "Method": "PostNotesSlideShapeSaveAs" },
|
172
186
|
{ "Value": "png", "Parameter": "Format", "Method": "PutNotesSlideShapeSaveAs" },
|
173
187
|
{ "Value": "png", "Parameter": "Format", "Method": "GetSlidesImageWithFormat" },
|
174
|
-
{ "Value": null, "InvalidValue": "
|
188
|
+
{ "Value": null, "InvalidValue": "Shape", "Parameter": "Bounds" },
|
175
189
|
{ "Value": "OnScreen", "InvalidValue": "Ledger", "Parameter": "SizeType" },
|
176
190
|
{ "Value": "DoNotScale", "InvalidValue": "Maximize", "Parameter": "ScaleType" },
|
177
191
|
{ "Value": null, "InvalidValue": null, "Parameter": "Options" },
|
@@ -184,6 +198,7 @@
|
|
184
198
|
{ "Value": null, "InvalidValue": false, "Parameter": "WithEmpty" },
|
185
199
|
{ "Value": null, "InvalidValue": false, "Parameter": "ApplyToAll" },
|
186
200
|
{ "Value": null, "InvalidValue": false, "Parameter": "IsImageDataEmbedded" },
|
201
|
+
{ "Value": null, "InvalidValue": false, "Parameter": "WithSlides" },
|
187
202
|
{ "Value": null, "InvalidValue": 593, "Parameter": "JpegQuality" },
|
188
203
|
{ "Value": null, "InvalidValue": 593.5, "Parameter": "ScaleX" },
|
189
204
|
{ "Value": null, "InvalidValue": 593.5, "Parameter": "ScaleY" },
|
@@ -211,6 +226,7 @@
|
|
211
226
|
{ "Parameter": "IsImageDataEmbedded" },
|
212
227
|
{ "Parameter": "Stream" },
|
213
228
|
{ "Parameter": "Html" },
|
229
|
+
{ "Parameter": "Pdf" },
|
214
230
|
{ "Parameter": "Options" },
|
215
231
|
{ "Parameter": "ApplyToAll" },
|
216
232
|
{ "Parameter": "SlideToCopy" },
|
@@ -239,15 +255,20 @@
|
|
239
255
|
{ "Parameter": "Properties", "Language": "Swift" },
|
240
256
|
{ "Parameter": "Property", "Language": "Swift" },
|
241
257
|
{ "Parameter": "Animation", "Language": "Swift" },
|
258
|
+
{ "Parameter": "Category", "Language": "Swift" },
|
259
|
+
{ "Parameter": "Series", "Language": "Swift" },
|
260
|
+
{ "Parameter": "Sections", "Language": "Swift" },
|
242
261
|
{ "Parameter": "Position", "Method": "PostSlidesReorderPosition" },
|
243
262
|
{ "Parameter": "Name", "Method": "PostSlidesDocument" },
|
244
263
|
{ "Parameter": "Name", "Method": "PostSlidesDocumentFromHtml" },
|
264
|
+
{ "Parameter": "Name", "Method": "PostSlidesDocumentFromPdf" },
|
245
265
|
{ "Parameter": "Name", "Method": "PostSlidesDocumentFromSource" },
|
246
266
|
{ "Parameter": "Name", "Method": "PostSlidesDocumentFromTemplate" },
|
247
267
|
{ "Parameter": "Name", "Method": "PutNewPresentation" },
|
248
268
|
{ "Parameter": "Name", "Method": "PutSlidesDocumentFromHtml" },
|
249
269
|
{ "Parameter": "Folder", "Method": "PostSlidesDocument" },
|
250
270
|
{ "Parameter": "Folder", "Method": "PostSlidesDocumentFromHtml" },
|
271
|
+
{ "Parameter": "Folder", "Method": "PostSlidesDocumentFromPdf" },
|
251
272
|
{ "Parameter": "Folder", "Method": "PostSlidesDocumentFromSource" },
|
252
273
|
{ "Parameter": "Folder", "Method": "PostSlidesDocumentFromTemplate" },
|
253
274
|
{ "Parameter": "Folder", "Method": "PutNewPresentation" },
|
@@ -259,6 +280,8 @@
|
|
259
280
|
{ "Parameter": "Password", "Method": "PutNewPresentation" },
|
260
281
|
{ "Parameter": "Data", "Method": "PostSlidesDocument" },
|
261
282
|
{ "Parameter": "Files" },
|
283
|
+
{ "Parameter": "WithSlides" },
|
284
|
+
{ "Parameter": "SectionName" },
|
262
285
|
{ "Method": "GetDiscUsage" },
|
263
286
|
{ "Method": "GetFilesList" },
|
264
287
|
{ "Method": "GetFileVersions" },
|
@@ -293,12 +316,15 @@
|
|
293
316
|
{ "Code": 201, "Method": "PostAddNewSubshapePortion" },
|
294
317
|
{ "Code": 201, "Method": "PostAddNewSubshape" },
|
295
318
|
{ "Code": 201, "Method": "PostChartSeries" },
|
319
|
+
{ "Code": 201, "Method": "PostChartCategory" },
|
320
|
+
{ "Code": 201, "Method": "PostChartDataPoint" },
|
296
321
|
{ "Code": 201, "Method": "PostNotesSlideAddNewParagraph" },
|
297
322
|
{ "Code": 201, "Method": "PostNotesSlideAddNewPortion" },
|
298
323
|
{ "Code": 201, "Method": "PostNotesSlideAddNewShape" },
|
299
324
|
{ "Code": 201, "Method": "PostSlideAnimationEffect" },
|
300
325
|
{ "Code": 201, "Method": "PostSlideAnimationInteractiveSequence" },
|
301
326
|
{ "Code": 201, "Method": "PostSlideAnimationInteractiveSequenceEffect" },
|
327
|
+
{ "Code": 201, "Method": "PostSection" },
|
302
328
|
{ "Code": 400, "Invalid": true },
|
303
329
|
{ "Code": 404, "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "Name" },
|
304
330
|
{ "Code": 404, "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "Folder" },
|
@@ -317,9 +343,9 @@
|
|
317
343
|
{ "Message": "Invalid password.", "Parameter": "SourcePassword" },
|
318
344
|
{ "Message": "Invalid password.", "Parameter": "TemplatePassword" },
|
319
345
|
{ "Message": "Invalid password.", "Parameter": "InputPassword" },
|
320
|
-
{ "Message": "
|
321
|
-
{ "Message": "
|
322
|
-
{ "Message": "
|
346
|
+
{ "Message": "Failed to load the presentation", "Parameter": "Password", "Method": "DeleteSlidesCleanSlidesList" },
|
347
|
+
{ "Message": "Failed to load the presentation", "Parameter": "Password", "Method": "PostSlidesAdd" },
|
348
|
+
{ "Message": "Failed to load the presentation", "Parameter": "Password", "Method": "PutSlidesSlide" },
|
323
349
|
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "SlideIndex" },
|
324
350
|
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "Slides" },
|
325
351
|
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "ShapeIndex" },
|
@@ -331,6 +357,9 @@
|
|
331
357
|
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "EffectIndex" },
|
332
358
|
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "SequenceIndex" },
|
333
359
|
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "SeriesIndex" },
|
360
|
+
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "CategoryIndex" },
|
361
|
+
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "PointIndex" },
|
362
|
+
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "SectionIndex" },
|
334
363
|
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "Position" },
|
335
364
|
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "CloneFromPosition" },
|
336
365
|
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "OldPosition" },
|
@@ -339,8 +368,8 @@
|
|
339
368
|
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "NewPositions" },
|
340
369
|
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "SlideToCopy" },
|
341
370
|
{ "Message": "Placeholder with index %v doesn't exist.", "Parameter": "PlaceholderIndex" },
|
342
|
-
{ "Message": "
|
343
|
-
{ "Message": "
|
371
|
+
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "Index" },
|
372
|
+
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "ShapeToClone" },
|
344
373
|
{ "Message": "Index was out of range.", "Parameter": "ShapeToCopy" },
|
345
374
|
{ "Message": "Invalid Request", "Parameter": "VersionId" },
|
346
375
|
{ "Message": "Invalid version id specified", "Parameter": "VersionId", "Method": "DeleteFile" },
|
@@ -355,8 +384,19 @@
|
|
355
384
|
{ "Code": 404, "Message": "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "SrcPath" },
|
356
385
|
{ "Code": 404, "Message": "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "SourcePath" },
|
357
386
|
{ "Code": 404, "Message": "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "TemplatePath" },
|
358
|
-
{ "Message": "
|
359
|
-
{ "Message": "
|
387
|
+
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "From" },
|
388
|
+
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "To" },
|
389
|
+
{ "Message": " is not supported", "Parameter": "Format" },
|
390
|
+
{ "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "NodeJS" },
|
391
|
+
{ "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Go" },
|
392
|
+
{ "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Python" },
|
393
|
+
{ "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Perl" },
|
394
|
+
{ "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Swift" },
|
395
|
+
{ "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "CPP" },
|
396
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "NodeJS" },
|
397
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "NodeJS" },
|
398
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "NodeJS" },
|
399
|
+
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "NodeJS" },
|
360
400
|
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Python" },
|
361
401
|
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Python" },
|
362
402
|
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Python" },
|
@@ -379,30 +419,31 @@
|
|
379
419
|
{ "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "CPP" },
|
380
420
|
{ "Message": "Color must be in format #FF000000", "Parameter": "Color" },
|
381
421
|
{ "Code": 404, "Message": "Property %v does not exist.", "Parameter": "PropertyName" },
|
382
|
-
{ "Message": "
|
422
|
+
{ "Message": "Error parsing XML template data", "Parameter": "Data" },
|
383
423
|
{ "Message": "Can't read MSCDFileSystem.", "Parameter": "Data", "Language": "Python", "Method": "PostSlidesDocument" },
|
384
|
-
{ "Message": "
|
385
|
-
{ "Message": "
|
386
|
-
{ "Message": "
|
387
|
-
{ "Message": "
|
388
|
-
{ "Message": "
|
389
|
-
{ "Message": "
|
390
|
-
{ "Message": "
|
391
|
-
{ "Message": "
|
392
|
-
{ "Message": "
|
393
|
-
{ "Message": "
|
394
|
-
{ "Message": "
|
395
|
-
{ "Message": "
|
396
|
-
{ "Message": "
|
397
|
-
{ "Message": "
|
398
|
-
{ "Message": "
|
399
|
-
{ "Message": "
|
400
|
-
{ "Message": "
|
401
|
-
{ "Message": "
|
424
|
+
{ "Message": " required parameter", "Parameter": "DTO" },
|
425
|
+
{ "Message": "DTO expected", "Parameter": "DTO", "Method": "PostAddNewShape" },
|
426
|
+
{ "Message": "DTO expected", "Parameter": "DTO", "Method": "PostAddNewSubshape" },
|
427
|
+
{ "Message": " required parameter", "Parameter": "SlideDTO" },
|
428
|
+
{ "Message": " required parameter", "Parameter": "Background" },
|
429
|
+
{ "Message": " required parameter", "Parameter": "Pipeline" },
|
430
|
+
{ "Message": " required parameter", "Parameter": "Properties" },
|
431
|
+
{ "Message": " required parameter", "Parameter": "Property" },
|
432
|
+
{ "Message": " required parameter", "Parameter": "Animation" },
|
433
|
+
{ "Message": " required parameter", "Parameter": "Sequence" },
|
434
|
+
{ "Message": " required parameter", "Parameter": "Series" },
|
435
|
+
{ "Message": " required parameter", "Parameter": "DataPoint" },
|
436
|
+
{ "Message": " required parameter", "Parameter": "Category" },
|
437
|
+
{ "Message": " required parameter", "Parameter": "Effect" },
|
438
|
+
{ "Message": " required parameter", "Parameter": "Request" },
|
439
|
+
{ "Message": " required parameter", "Parameter": "Sections" },
|
440
|
+
{ "Message": " required parameter", "Parameter": "Document" },
|
441
|
+
{ "Message": " required parameter", "Parameter": "File" },
|
442
|
+
{ "Message": "Pdf expected", "Parameter": "Pdf" },
|
443
|
+
{ "Message": " is out of bounds. Valid index range is between ", "Parameter": "Sections", "Method": "DeleteSections" },
|
402
444
|
{ "Message": "Layout slide DTO must be not null and contain", "Parameter": "SlideDTO", "Language": "Swift" },
|
403
445
|
{ "Message": "Object reference not set to an instance of an object.", "Parameter": "Bounds" },
|
404
446
|
{ "Code": 409, "Message": " is not empty.", "Parameter": "Recursive" },
|
405
|
-
{ "Message": "An error has occurred.", "Code": 500, "Parameter": "Options" }
|
406
|
-
{ "Message": "Required parameter", "Parameter": "File" }
|
447
|
+
{ "Message": "An error has occurred.", "Code": 500, "Parameter": "Options" }
|
407
448
|
]
|
408
449
|
}
|