aspose_slides_cloud 22.2.0 → 22.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +7 -7
  3. data/LICENSE +20 -20
  4. data/README.md +27 -0
  5. data/Rakefile +8 -8
  6. data/TestData/oleObject.xlsx +0 -0
  7. data/TestData/test.pptx +0 -0
  8. data/aspose_slides_cloud.gemspec +56 -56
  9. data/lib/aspose_slides_cloud/api/slides_api.rb +192 -13
  10. data/lib/aspose_slides_cloud/api_error.rb +48 -48
  11. data/lib/aspose_slides_cloud/configuration.rb +188 -188
  12. data/lib/aspose_slides_cloud/models/access_permissions.rb +321 -0
  13. data/lib/aspose_slides_cloud/models/{waterfall_series.rb → alpha_bi_level_effect.rb} +16 -26
  14. data/lib/aspose_slides_cloud/models/alpha_ceiling_effect.rb +223 -0
  15. data/lib/aspose_slides_cloud/models/alpha_floor_effect.rb +223 -0
  16. data/lib/aspose_slides_cloud/models/alpha_inverse_effect.rb +223 -0
  17. data/lib/aspose_slides_cloud/models/alpha_modulate_effect.rb +223 -0
  18. data/lib/aspose_slides_cloud/models/alpha_modulate_fixed_effect.rb +238 -0
  19. data/lib/aspose_slides_cloud/models/alpha_replace_effect.rb +238 -0
  20. data/lib/aspose_slides_cloud/models/audio_frame.rb +12 -3
  21. data/lib/aspose_slides_cloud/models/axis.rb +22 -2
  22. data/lib/aspose_slides_cloud/models/bi_level_effect.rb +238 -0
  23. data/lib/aspose_slides_cloud/models/blur_image_effect.rb +253 -0
  24. data/lib/aspose_slides_cloud/models/chart.rb +1 -2
  25. data/lib/aspose_slides_cloud/models/chart_lines_format.rb +221 -0
  26. data/lib/aspose_slides_cloud/models/color_change_effect.rb +243 -0
  27. data/lib/aspose_slides_cloud/models/color_replace_effect.rb +233 -0
  28. data/lib/aspose_slides_cloud/models/connector.rb +1 -2
  29. data/lib/aspose_slides_cloud/models/duotone_effect.rb +243 -0
  30. data/lib/aspose_slides_cloud/models/export_options.rb +10 -18
  31. data/lib/aspose_slides_cloud/models/fill_overlay_image_effect.rb +260 -0
  32. data/lib/aspose_slides_cloud/models/font_fallback_rule.rb +243 -0
  33. data/lib/aspose_slides_cloud/models/geometry_shape.rb +1 -2
  34. data/lib/aspose_slides_cloud/models/gif_export_options.rb +4 -3
  35. data/lib/aspose_slides_cloud/models/graphical_object.rb +1 -2
  36. data/lib/aspose_slides_cloud/models/{waterfall_chart_data_point.rb → gray_scale_effect.rb} +26 -13
  37. data/lib/aspose_slides_cloud/models/group_shape.rb +12 -3
  38. data/lib/aspose_slides_cloud/models/hsl_effect.rb +268 -0
  39. data/lib/aspose_slides_cloud/models/html5_export_options.rb +2 -3
  40. data/lib/aspose_slides_cloud/models/html_export_options.rb +2 -3
  41. data/lib/aspose_slides_cloud/models/image_export_options.rb +4 -3
  42. data/lib/aspose_slides_cloud/models/image_export_options_base.rb +222 -0
  43. data/lib/aspose_slides_cloud/models/image_transform_effect.rb +244 -0
  44. data/lib/aspose_slides_cloud/models/legend.rb +12 -2
  45. data/lib/aspose_slides_cloud/models/luminance_effect.rb +253 -0
  46. data/lib/aspose_slides_cloud/models/ole_object_frame.rb +72 -3
  47. data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +12 -2
  48. data/lib/aspose_slides_cloud/models/one_value_series.rb +74 -2
  49. data/lib/aspose_slides_cloud/models/paragraph.rb +12 -2
  50. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +3 -16
  51. data/lib/aspose_slides_cloud/models/picture_fill.rb +14 -2
  52. data/lib/aspose_slides_cloud/models/picture_frame.rb +1 -2
  53. data/lib/aspose_slides_cloud/models/portion.rb +32 -2
  54. data/lib/aspose_slides_cloud/models/portion_format.rb +633 -0
  55. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +2 -3
  56. data/lib/aspose_slides_cloud/models/resource_uri.rb +22 -2
  57. data/lib/aspose_slides_cloud/models/section_zoom_frame.rb +1 -2
  58. data/lib/aspose_slides_cloud/models/shape.rb +1 -2
  59. data/lib/aspose_slides_cloud/models/shape_base.rb +1 -11
  60. data/lib/aspose_slides_cloud/models/shape_type.rb +54 -0
  61. data/lib/aspose_slides_cloud/models/slide_comment.rb +32 -48
  62. data/lib/aspose_slides_cloud/models/slide_comment_base.rb +286 -0
  63. data/lib/aspose_slides_cloud/models/slide_comments.rb +1 -1
  64. data/lib/aspose_slides_cloud/models/{box_and_whisker_series.rb → slide_modern_comment.rb} +37 -68
  65. data/lib/aspose_slides_cloud/models/smart_art.rb +1 -2
  66. data/lib/aspose_slides_cloud/models/smart_art_node.rb +12 -2
  67. data/lib/aspose_slides_cloud/models/smart_art_shape.rb +1 -2
  68. data/lib/aspose_slides_cloud/models/summary_zoom_frame.rb +1 -2
  69. data/lib/aspose_slides_cloud/models/summary_zoom_section.rb +1 -2
  70. data/lib/aspose_slides_cloud/models/svg_export_options.rb +2 -3
  71. data/lib/aspose_slides_cloud/models/swf_export_options.rb +2 -3
  72. data/lib/aspose_slides_cloud/models/table.rb +1 -2
  73. data/lib/aspose_slides_cloud/models/table_cell.rb +22 -2
  74. data/lib/aspose_slides_cloud/models/text_bounds.rb +261 -0
  75. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +4 -3
  76. data/lib/aspose_slides_cloud/models/tint_effect.rb +253 -0
  77. data/lib/aspose_slides_cloud/models/video_export_options.rb +35 -4
  78. data/lib/aspose_slides_cloud/models/video_frame.rb +12 -3
  79. data/lib/aspose_slides_cloud/models/xaml_export_options.rb +2 -3
  80. data/lib/aspose_slides_cloud/models/xps_export_options.rb +2 -3
  81. data/lib/aspose_slides_cloud/models/zoom_frame.rb +1 -2
  82. data/lib/aspose_slides_cloud/models/zoom_object.rb +2 -2
  83. data/lib/aspose_slides_cloud/type_registry.rb +54 -13
  84. data/lib/aspose_slides_cloud/version.rb +1 -1
  85. data/lib/aspose_slides_cloud.rb +31 -7
  86. data/spec/api/slides_api_spec.rb +585 -33
  87. data/spec/spec_helper.rb +122 -122
  88. data/spec/use_cases/merge_spec.rb +0 -1
  89. data/spec/use_cases/shape_spec.rb +0 -2
  90. data/testRules.json +6 -4
  91. metadata +30 -7
  92. data/Dockerfile +0 -16
  93. data/docker-entrypoint.sh +0 -7
data/spec/spec_helper.rb CHANGED
@@ -1,122 +1,122 @@
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
- # load the gem
24
- require 'aspose_slides_cloud'
25
- require 'spec_utils'
26
-
27
- # The following was generated by the `rspec --init` command. Conventionally, all
28
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
29
- # The generated `.rspec` file contains `--require spec_helper` which will cause
30
- # this file to always be loaded, without a need to explicitly require it in any
31
- # files.
32
- #
33
- # Given that it is always loaded, you are encouraged to keep this file as
34
- # light-weight as possible. Requiring heavyweight dependencies from this file
35
- # will add to the boot time of your test suite on EVERY test run, even for an
36
- # individual file that may not need all of that loaded. Instead, consider making
37
- # a separate helper file that requires the additional dependencies and performs
38
- # the additional setup, and require it from the spec files that actually need
39
- # it.
40
- #
41
- # The `.rspec` file also contains a few flags that are not defaults but that
42
- # users commonly want.
43
- #
44
- # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
45
- RSpec.configure do |config|
46
- # rspec-expectations config goes here. You can use an alternate
47
- # assertion/expectation library such as wrong or the stdlib/minitest
48
- # assertions if you prefer.
49
- config.expect_with :rspec do |expectations|
50
- # This option will default to `true` in RSpec 4. It makes the `description`
51
- # and `failure_message` of custom matchers include text for helper methods
52
- # defined using `chain`, e.g.:
53
- # be_bigger_than(2).and_smaller_than(4).description
54
- # # => "be bigger than 2 and smaller than 4"
55
- # ...rather than:
56
- # # => "be bigger than 2"
57
- expectations.include_chain_clauses_in_custom_matcher_descriptions = true
58
- end
59
-
60
- # rspec-mocks config goes here. You can use an alternate test double
61
- # library (such as bogus or mocha) by changing the `mock_with` option here.
62
- config.mock_with :rspec do |mocks|
63
- # Prevents you from mocking or stubbing a method that does not exist on
64
- # a real object. This is generally recommended, and will default to
65
- # `true` in RSpec 4.
66
- mocks.verify_partial_doubles = true
67
- end
68
-
69
- # The settings below are suggested to provide a good initial experience
70
- # with RSpec, but feel free to customize to your heart's content.
71
- =begin
72
- # These two settings work together to allow you to limit a spec run
73
- # to individual examples or groups you care about by tagging them with
74
- # `:focus` metadata. When nothing is tagged with `:focus`, all examples
75
- # get run.
76
- config.filter_run :focus
77
- config.run_all_when_everything_filtered = true
78
-
79
- # Allows RSpec to persist some state between runs in order to support
80
- # the `--only-failures` and `--next-failure` CLI options. We recommend
81
- # you configure your source control system to ignore this file.
82
- config.example_status_persistence_file_path = "spec/examples.txt"
83
-
84
- # Limits the available syntax to the non-monkey patched syntax that is
85
- # recommended. For more details, see:
86
- # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
87
- # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
88
- # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
89
- config.disable_monkey_patching!
90
-
91
- # This setting enables warnings. It's recommended, but in some cases may
92
- # be too noisy due to issues in dependencies.
93
- config.warnings = true
94
-
95
- # Many RSpec users commonly either run the entire suite or an individual
96
- # file, and it's useful to allow more verbose output when running an
97
- # individual spec file.
98
- if config.files_to_run.one?
99
- # Use the documentation formatter for detailed output,
100
- # unless a formatter has already been configured
101
- # (e.g. via a command-line flag).
102
- config.default_formatter = 'doc'
103
- end
104
-
105
- # Print the 10 slowest examples and example groups at the
106
- # end of the spec run, to help surface which specs are running
107
- # particularly slow.
108
- config.profile_examples = 10
109
-
110
- # Run specs in random order to surface order dependencies. If you find an
111
- # order dependency and want to debug it, you can fix the order by providing
112
- # the seed, which is printed after each run.
113
- # --seed 1234
114
- config.order = :random
115
-
116
- # Seed global randomization in this process using the `--seed` CLI option.
117
- # Setting this allows you to use `--seed` to deterministically reproduce
118
- # test failures related to randomization by passing the same `--seed` value
119
- # as the one that triggered the failure.
120
- Kernel.srand config.seed
121
- =end
122
- end
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
+ # load the gem
24
+ require 'aspose_slides_cloud'
25
+ require 'spec_utils'
26
+
27
+ # The following was generated by the `rspec --init` command. Conventionally, all
28
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
29
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
30
+ # this file to always be loaded, without a need to explicitly require it in any
31
+ # files.
32
+ #
33
+ # Given that it is always loaded, you are encouraged to keep this file as
34
+ # light-weight as possible. Requiring heavyweight dependencies from this file
35
+ # will add to the boot time of your test suite on EVERY test run, even for an
36
+ # individual file that may not need all of that loaded. Instead, consider making
37
+ # a separate helper file that requires the additional dependencies and performs
38
+ # the additional setup, and require it from the spec files that actually need
39
+ # it.
40
+ #
41
+ # The `.rspec` file also contains a few flags that are not defaults but that
42
+ # users commonly want.
43
+ #
44
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
45
+ RSpec.configure do |config|
46
+ # rspec-expectations config goes here. You can use an alternate
47
+ # assertion/expectation library such as wrong or the stdlib/minitest
48
+ # assertions if you prefer.
49
+ config.expect_with :rspec do |expectations|
50
+ # This option will default to `true` in RSpec 4. It makes the `description`
51
+ # and `failure_message` of custom matchers include text for helper methods
52
+ # defined using `chain`, e.g.:
53
+ # be_bigger_than(2).and_smaller_than(4).description
54
+ # # => "be bigger than 2 and smaller than 4"
55
+ # ...rather than:
56
+ # # => "be bigger than 2"
57
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
58
+ end
59
+
60
+ # rspec-mocks config goes here. You can use an alternate test double
61
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
62
+ config.mock_with :rspec do |mocks|
63
+ # Prevents you from mocking or stubbing a method that does not exist on
64
+ # a real object. This is generally recommended, and will default to
65
+ # `true` in RSpec 4.
66
+ mocks.verify_partial_doubles = true
67
+ end
68
+
69
+ # The settings below are suggested to provide a good initial experience
70
+ # with RSpec, but feel free to customize to your heart's content.
71
+ =begin
72
+ # These two settings work together to allow you to limit a spec run
73
+ # to individual examples or groups you care about by tagging them with
74
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
75
+ # get run.
76
+ config.filter_run :focus
77
+ config.run_all_when_everything_filtered = true
78
+
79
+ # Allows RSpec to persist some state between runs in order to support
80
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
81
+ # you configure your source control system to ignore this file.
82
+ config.example_status_persistence_file_path = "spec/examples.txt"
83
+
84
+ # Limits the available syntax to the non-monkey patched syntax that is
85
+ # recommended. For more details, see:
86
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
87
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
88
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
89
+ config.disable_monkey_patching!
90
+
91
+ # This setting enables warnings. It's recommended, but in some cases may
92
+ # be too noisy due to issues in dependencies.
93
+ config.warnings = true
94
+
95
+ # Many RSpec users commonly either run the entire suite or an individual
96
+ # file, and it's useful to allow more verbose output when running an
97
+ # individual spec file.
98
+ if config.files_to_run.one?
99
+ # Use the documentation formatter for detailed output,
100
+ # unless a formatter has already been configured
101
+ # (e.g. via a command-line flag).
102
+ config.default_formatter = 'doc'
103
+ end
104
+
105
+ # Print the 10 slowest examples and example groups at the
106
+ # end of the spec run, to help surface which specs are running
107
+ # particularly slow.
108
+ config.profile_examples = 10
109
+
110
+ # Run specs in random order to surface order dependencies. If you find an
111
+ # order dependency and want to debug it, you can fix the order by providing
112
+ # the seed, which is printed after each run.
113
+ # --seed 1234
114
+ config.order = :random
115
+
116
+ # Seed global randomization in this process using the `--seed` CLI option.
117
+ # Setting this allows you to use `--seed` to deterministically reproduce
118
+ # test failures related to randomization by passing the same `--seed` value
119
+ # as the one that triggered the failure.
120
+ Kernel.srand config.seed
121
+ =end
122
+ end
@@ -95,7 +95,6 @@ describe 'UseCases' do
95
95
  presentation1.path = "file1"
96
96
  presentation1.password = "password"
97
97
  presentation2 = AsposeSlidesCloud::PresentationToMerge.new
98
- presentation2.path = "test-unprotected.pptx"
99
98
  presentation2.slides = [ 1, 2 ]
100
99
  presentation2.source = 'Storage'
101
100
  presentation2.path = folder_name + "/" + file_name2
@@ -314,7 +314,6 @@ describe 'UseCases' do
314
314
  shape1_index = 1
315
315
  shape2_index = 2
316
316
  AsposeSlidesCloud::SpecUtils.api.copy_file("TempTests/" + file_name, folder_name + "/" + file_name)
317
- dto = AsposeSlidesCloud::Connector.new
318
317
  shape11 = AsposeSlidesCloud::SpecUtils.api.get_shape(file_name, slide_index, shape1_index, password, folder_name)
319
318
  shape12 = AsposeSlidesCloud::SpecUtils.api.get_shape(file_name, slide_index, shape2_index, password, folder_name)
320
319
  expect(shape12.x).not_to be_within(1).of(shape11.x)
@@ -341,7 +340,6 @@ describe 'UseCases' do
341
340
  shape1_index = 1
342
341
  shape2_index = 2
343
342
  AsposeSlidesCloud::SpecUtils.api.copy_file("TempTests/" + file_name, folder_name + "/" + file_name)
344
- dto = AsposeSlidesCloud::Connector.new
345
343
  shape11 = AsposeSlidesCloud::SpecUtils.api.get_subshape(file_name, slide_index, path, shape1_index, password, folder_name)
346
344
  shape12 = AsposeSlidesCloud::SpecUtils.api.get_subshape(file_name, slide_index, path, shape2_index, password, folder_name)
347
345
  expect(shape12.x).not_to be_within(1).of(shape11.x)
data/testRules.json CHANGED
@@ -200,10 +200,10 @@
200
200
  { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "CreatePortion" },
201
201
  { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "CreateSubshapePortion" },
202
202
  { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "CreateNotesSlidePortion" },
203
- { "Value": { "Author": "Caesar", "Text": "Veni vidi vici" }, "InvalidValue": null, "Type": "SlideComment", "Parameter": "DTO", "Method": "CreateComment" },
204
- { "Value": { "Author": "Caesar", "Text": "Veni vidi vici" }, "InvalidValue": null, "Type": "SlideComment", "Parameter": "DTO", "Method": "CreateCommentOnline" },
203
+ { "Value": { "Type": "Regular", "Author": "Caesar", "Text": "Veni vidi vici" }, "InvalidValue": null, "Type": "SlideComment", "Parameter": "DTO", "Method": "CreateComment" },
204
+ { "Value": { "Type": "Regular", "Author": "Caesar", "Text": "Veni vidi vici" }, "InvalidValue": null, "Type": "SlideComment", "Parameter": "DTO", "Method": "CreateCommentOnline" },
205
205
  { "Value": { "MasterSlide": { "Href": "masterSlides/2" } }, "InvalidValue": null, "Type": "LayoutSlide", "Parameter": "SlideDTO" },
206
- { "Value": { "LayoutSlide": { "Uri": { "Href": "TitleOnly" } } }, "InvalidValue": null, "Type": "Slide", "Parameter": "SlideDTO", "Method": "UpdateSlide" },
206
+ { "Value": { "LayoutSlide": { "Href": "TitleOnly" } }, "InvalidValue": null, "Type": "Slide", "Parameter": "SlideDTO", "Method": "UpdateSlide" },
207
207
  { "Value": { "List": [{ "Name": "Prop001", "Value": "Value001" }] }, "InvalidValue": null, "Type": "DocumentProperties", "Parameter": "Properties" },
208
208
  {
209
209
  "Value": { "Name": "testProperty001", "Value": "testValue002" },
@@ -237,6 +237,7 @@
237
237
  { "Value": "png", "Parameter": "Format", "Method": "DownloadImages" },
238
238
  { "Value": "png", "Parameter": "Format", "Method": "DownloadImagesOnline" },
239
239
  { "Value": "AlignTop", "InvalidValue": "AlignBottom", "Parameter": "AlignmentType" },
240
+ { "Value": "Chart", "InvalidValue": "Table", "Parameter": "ShapeType" },
240
241
  { "Value": null, "InvalidValue": "Shape", "Parameter": "Bounds" },
241
242
  { "Value": "OnScreen", "InvalidValue": "Ledger", "Parameter": "SizeType" },
242
243
  { "Value": "DoNotScale", "InvalidValue": "Maximize", "Parameter": "ScaleType" },
@@ -286,6 +287,7 @@
286
287
  { "Parameter": "SlideToCopy" },
287
288
  { "Parameter": "SlideToClone" },
288
289
  { "Parameter": "SlideType" },
290
+ { "Parameter": "ShapeType" },
289
291
  { "Parameter": "Source" },
290
292
  { "Parameter": "LayoutAlias" },
291
293
  { "Parameter": "Background" },
@@ -508,10 +510,10 @@
508
510
  { "Message": " required parameter", "Parameter": "Sections" },
509
511
  { "Message": " required parameter", "Parameter": "Document" },
510
512
  { "Message": " required parameter", "Parameter": "File" },
513
+ { "Message": " required parameter", "Parameter": "Pdf" },
511
514
  { "Message": "Failed to load the presentation", "Parameter": "Request", "Method": "MergeOnline" },
512
515
  { "Message": "Failed to load the presentation", "Parameter": "Request", "Method": "MergeAndSaveOnline" },
513
516
  { "Message": "Image data is not found", "Parameter": "Image" },
514
- { "Message": "Pdf expected", "Parameter": "Pdf" },
515
517
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Sections", "Method": "DeleteSections" },
516
518
  { "Message": "Layout slide DTO must be not null and contain", "Parameter": "SlideDTO", "Language": "Swift" },
517
519
  { "Message": "Object reference not set to an instance of an object.", "Parameter": "Bounds" },
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: 22.2.0
4
+ version: 22.5.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: 2022-03-04 00:00:00.000000000 Z
11
+ date: 2022-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -238,29 +238,36 @@ extensions: []
238
238
  extra_rdoc_files: []
239
239
  files:
240
240
  - ".gitignore"
241
- - Dockerfile
242
241
  - Gemfile
243
242
  - LICENSE
244
243
  - README.md
245
244
  - Rakefile
246
245
  - TestData/TemplateCV.pptx
247
246
  - TestData/TemplatingCVDataWithBase64.xml
247
+ - TestData/oleObject.xlsx
248
248
  - TestData/test-unprotected.pptx
249
249
  - TestData/test.pdf
250
250
  - TestData/test.pptx
251
251
  - TestData/watermark.png
252
252
  - aspose_slides_cloud.gemspec
253
- - docker-entrypoint.sh
254
253
  - lib/aspose_slides_cloud.rb
255
254
  - lib/aspose_slides_cloud/api/slides_api.rb
256
255
  - lib/aspose_slides_cloud/api_client.rb
257
256
  - lib/aspose_slides_cloud/api_error.rb
258
257
  - lib/aspose_slides_cloud/configuration.rb
259
258
  - lib/aspose_slides_cloud/models/accent_element.rb
259
+ - lib/aspose_slides_cloud/models/access_permissions.rb
260
260
  - lib/aspose_slides_cloud/models/add_layout_slide.rb
261
261
  - lib/aspose_slides_cloud/models/add_master_slide.rb
262
262
  - lib/aspose_slides_cloud/models/add_shape.rb
263
263
  - lib/aspose_slides_cloud/models/add_slide.rb
264
+ - lib/aspose_slides_cloud/models/alpha_bi_level_effect.rb
265
+ - lib/aspose_slides_cloud/models/alpha_ceiling_effect.rb
266
+ - lib/aspose_slides_cloud/models/alpha_floor_effect.rb
267
+ - lib/aspose_slides_cloud/models/alpha_inverse_effect.rb
268
+ - lib/aspose_slides_cloud/models/alpha_modulate_effect.rb
269
+ - lib/aspose_slides_cloud/models/alpha_modulate_fixed_effect.rb
270
+ - lib/aspose_slides_cloud/models/alpha_replace_effect.rb
264
271
  - lib/aspose_slides_cloud/models/api_info.rb
265
272
  - lib/aspose_slides_cloud/models/arc_to_path_segment.rb
266
273
  - lib/aspose_slides_cloud/models/array_element.rb
@@ -270,19 +277,23 @@ files:
270
277
  - lib/aspose_slides_cloud/models/axis.rb
271
278
  - lib/aspose_slides_cloud/models/bar_element.rb
272
279
  - lib/aspose_slides_cloud/models/base64_input_file.rb
280
+ - lib/aspose_slides_cloud/models/bi_level_effect.rb
273
281
  - lib/aspose_slides_cloud/models/block_element.rb
274
282
  - lib/aspose_slides_cloud/models/blur_effect.rb
283
+ - lib/aspose_slides_cloud/models/blur_image_effect.rb
275
284
  - lib/aspose_slides_cloud/models/border_box_element.rb
276
- - lib/aspose_slides_cloud/models/box_and_whisker_series.rb
277
285
  - lib/aspose_slides_cloud/models/box_element.rb
278
286
  - lib/aspose_slides_cloud/models/bubble_chart_data_point.rb
279
287
  - lib/aspose_slides_cloud/models/bubble_series.rb
280
288
  - lib/aspose_slides_cloud/models/camera.rb
281
289
  - lib/aspose_slides_cloud/models/chart.rb
282
290
  - lib/aspose_slides_cloud/models/chart_category.rb
291
+ - lib/aspose_slides_cloud/models/chart_lines_format.rb
283
292
  - lib/aspose_slides_cloud/models/chart_title.rb
284
293
  - lib/aspose_slides_cloud/models/chart_wall.rb
285
294
  - lib/aspose_slides_cloud/models/close_path_segment.rb
295
+ - lib/aspose_slides_cloud/models/color_change_effect.rb
296
+ - lib/aspose_slides_cloud/models/color_replace_effect.rb
286
297
  - lib/aspose_slides_cloud/models/color_scheme.rb
287
298
  - lib/aspose_slides_cloud/models/common_slide_view_properties.rb
288
299
  - lib/aspose_slides_cloud/models/connector.rb
@@ -295,6 +306,7 @@ files:
295
306
  - lib/aspose_slides_cloud/models/document_properties.rb
296
307
  - lib/aspose_slides_cloud/models/document_property.rb
297
308
  - lib/aspose_slides_cloud/models/document_replace_result.rb
309
+ - lib/aspose_slides_cloud/models/duotone_effect.rb
298
310
  - lib/aspose_slides_cloud/models/effect.rb
299
311
  - lib/aspose_slides_cloud/models/effect_format.rb
300
312
  - lib/aspose_slides_cloud/models/entity_exists.rb
@@ -308,6 +320,8 @@ files:
308
320
  - lib/aspose_slides_cloud/models/files_upload_result.rb
309
321
  - lib/aspose_slides_cloud/models/fill_format.rb
310
322
  - lib/aspose_slides_cloud/models/fill_overlay_effect.rb
323
+ - lib/aspose_slides_cloud/models/fill_overlay_image_effect.rb
324
+ - lib/aspose_slides_cloud/models/font_fallback_rule.rb
311
325
  - lib/aspose_slides_cloud/models/font_scheme.rb
312
326
  - lib/aspose_slides_cloud/models/font_set.rb
313
327
  - lib/aspose_slides_cloud/models/format_scheme.rb
@@ -321,9 +335,11 @@ files:
321
335
  - lib/aspose_slides_cloud/models/gradient_fill.rb
322
336
  - lib/aspose_slides_cloud/models/gradient_fill_stop.rb
323
337
  - lib/aspose_slides_cloud/models/graphical_object.rb
338
+ - lib/aspose_slides_cloud/models/gray_scale_effect.rb
324
339
  - lib/aspose_slides_cloud/models/group_shape.rb
325
340
  - lib/aspose_slides_cloud/models/grouping_character_element.rb
326
341
  - lib/aspose_slides_cloud/models/header_footer.rb
342
+ - lib/aspose_slides_cloud/models/hsl_effect.rb
327
343
  - lib/aspose_slides_cloud/models/html5_export_options.rb
328
344
  - lib/aspose_slides_cloud/models/html_export_options.rb
329
345
  - lib/aspose_slides_cloud/models/hyperlink.rb
@@ -331,6 +347,8 @@ files:
331
347
  - lib/aspose_slides_cloud/models/image.rb
332
348
  - lib/aspose_slides_cloud/models/image_export_format.rb
333
349
  - lib/aspose_slides_cloud/models/image_export_options.rb
350
+ - lib/aspose_slides_cloud/models/image_export_options_base.rb
351
+ - lib/aspose_slides_cloud/models/image_transform_effect.rb
334
352
  - lib/aspose_slides_cloud/models/images.rb
335
353
  - lib/aspose_slides_cloud/models/inner_shadow_effect.rb
336
354
  - lib/aspose_slides_cloud/models/input.rb
@@ -344,6 +362,7 @@ files:
344
362
  - lib/aspose_slides_cloud/models/limit_element.rb
345
363
  - lib/aspose_slides_cloud/models/line_format.rb
346
364
  - lib/aspose_slides_cloud/models/line_to_path_segment.rb
365
+ - lib/aspose_slides_cloud/models/luminance_effect.rb
347
366
  - lib/aspose_slides_cloud/models/master_slide.rb
348
367
  - lib/aspose_slides_cloud/models/master_slides.rb
349
368
  - lib/aspose_slides_cloud/models/math_element.rb
@@ -379,6 +398,7 @@ files:
379
398
  - lib/aspose_slides_cloud/models/placeholders.rb
380
399
  - lib/aspose_slides_cloud/models/plot_area.rb
381
400
  - lib/aspose_slides_cloud/models/portion.rb
401
+ - lib/aspose_slides_cloud/models/portion_format.rb
382
402
  - lib/aspose_slides_cloud/models/portions.rb
383
403
  - lib/aspose_slides_cloud/models/pptx_export_options.rb
384
404
  - lib/aspose_slides_cloud/models/presentation_to_merge.rb
@@ -414,14 +434,17 @@ files:
414
434
  - lib/aspose_slides_cloud/models/shape_export_format.rb
415
435
  - lib/aspose_slides_cloud/models/shape_image_export_options.rb
416
436
  - lib/aspose_slides_cloud/models/shape_thumbnail_bounds.rb
437
+ - lib/aspose_slides_cloud/models/shape_type.rb
417
438
  - lib/aspose_slides_cloud/models/shapes.rb
418
439
  - lib/aspose_slides_cloud/models/shapes_alignment_type.rb
419
440
  - lib/aspose_slides_cloud/models/slide.rb
420
441
  - lib/aspose_slides_cloud/models/slide_animation.rb
421
442
  - lib/aspose_slides_cloud/models/slide_background.rb
422
443
  - lib/aspose_slides_cloud/models/slide_comment.rb
444
+ - lib/aspose_slides_cloud/models/slide_comment_base.rb
423
445
  - lib/aspose_slides_cloud/models/slide_comments.rb
424
446
  - lib/aspose_slides_cloud/models/slide_export_format.rb
447
+ - lib/aspose_slides_cloud/models/slide_modern_comment.rb
425
448
  - lib/aspose_slides_cloud/models/slide_properties.rb
426
449
  - lib/aspose_slides_cloud/models/slide_replace_result.rb
427
450
  - lib/aspose_slides_cloud/models/slides.rb
@@ -445,6 +468,7 @@ files:
445
468
  - lib/aspose_slides_cloud/models/table_column.rb
446
469
  - lib/aspose_slides_cloud/models/table_row.rb
447
470
  - lib/aspose_slides_cloud/models/task.rb
471
+ - lib/aspose_slides_cloud/models/text_bounds.rb
448
472
  - lib/aspose_slides_cloud/models/text_element.rb
449
473
  - lib/aspose_slides_cloud/models/text_frame_format.rb
450
474
  - lib/aspose_slides_cloud/models/text_item.rb
@@ -452,13 +476,12 @@ files:
452
476
  - lib/aspose_slides_cloud/models/theme.rb
453
477
  - lib/aspose_slides_cloud/models/three_d_format.rb
454
478
  - lib/aspose_slides_cloud/models/tiff_export_options.rb
479
+ - lib/aspose_slides_cloud/models/tint_effect.rb
455
480
  - lib/aspose_slides_cloud/models/update_background.rb
456
481
  - lib/aspose_slides_cloud/models/update_shape.rb
457
482
  - lib/aspose_slides_cloud/models/video_export_options.rb
458
483
  - lib/aspose_slides_cloud/models/video_frame.rb
459
484
  - lib/aspose_slides_cloud/models/view_properties.rb
460
- - lib/aspose_slides_cloud/models/waterfall_chart_data_point.rb
461
- - lib/aspose_slides_cloud/models/waterfall_series.rb
462
485
  - lib/aspose_slides_cloud/models/xaml_export_options.rb
463
486
  - lib/aspose_slides_cloud/models/xps_export_options.rb
464
487
  - lib/aspose_slides_cloud/models/xy_series.rb
data/Dockerfile DELETED
@@ -1,16 +0,0 @@
1
- FROM ruby:3.0
2
-
3
- ARG VERSION
4
-
5
- COPY . sdk
6
-
7
- WORKDIR /sdk
8
-
9
- RUN gem build aspose_slides_cloud.gemspec
10
- RUN cp *.gem build
11
-
12
- RUN bundle install
13
-
14
- RUN ["chmod", "+x", "./docker-entrypoint.sh"]
15
-
16
- ENTRYPOINT ["./docker-entrypoint.sh"]
data/docker-entrypoint.sh DELETED
@@ -1,7 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- sed -i "s/@your_client_id@/${CLIENT_ID}/g" testConfig.json
4
- sed -i "s/@your_client_secret@/${CLIENT_SECRET}/g" testConfig.json
5
- if [ -n "$BASE_URL" ] ; then sed -i "s+https://api-qa.aspose.cloud+${BASE_URL}+g" testConfig.json ; fi
6
-
7
- rspec spec --format RspecJunitFormatter --out testResults/rspec.xml