aspose_slides_cloud 22.3.0 → 22.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +7 -7
  3. data/LICENSE +20 -20
  4. data/README.md +20 -0
  5. data/Rakefile +8 -8
  6. data/aspose_slides_cloud.gemspec +56 -56
  7. data/lib/aspose_slides_cloud/api_error.rb +48 -48
  8. data/lib/aspose_slides_cloud/configuration.rb +188 -188
  9. data/lib/aspose_slides_cloud/models/access_permissions.rb +321 -0
  10. data/lib/aspose_slides_cloud/models/audio_frame.rb +12 -3
  11. data/lib/aspose_slides_cloud/models/chart.rb +1 -2
  12. data/lib/aspose_slides_cloud/models/connector.rb +1 -2
  13. data/lib/aspose_slides_cloud/models/export_options.rb +1 -21
  14. data/lib/aspose_slides_cloud/models/geometry_shape.rb +1 -2
  15. data/lib/aspose_slides_cloud/models/gif_export_options.rb +4 -4
  16. data/lib/aspose_slides_cloud/models/graphical_object.rb +1 -2
  17. data/lib/aspose_slides_cloud/models/group_shape.rb +12 -3
  18. data/lib/aspose_slides_cloud/models/html5_export_options.rb +1 -3
  19. data/lib/aspose_slides_cloud/models/html_export_options.rb +1 -3
  20. data/lib/aspose_slides_cloud/models/image_export_options.rb +4 -4
  21. data/lib/aspose_slides_cloud/models/image_export_options_base.rb +222 -0
  22. data/lib/aspose_slides_cloud/models/ole_object_frame.rb +72 -3
  23. data/lib/aspose_slides_cloud/models/paragraph.rb +12 -2
  24. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +2 -16
  25. data/lib/aspose_slides_cloud/models/picture_frame.rb +1 -2
  26. data/lib/aspose_slides_cloud/models/portion_format.rb +633 -0
  27. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +1 -3
  28. data/lib/aspose_slides_cloud/models/section_zoom_frame.rb +1 -2
  29. data/lib/aspose_slides_cloud/models/shape.rb +1 -2
  30. data/lib/aspose_slides_cloud/models/shape_base.rb +1 -11
  31. data/lib/aspose_slides_cloud/models/smart_art.rb +1 -2
  32. data/lib/aspose_slides_cloud/models/smart_art_shape.rb +1 -2
  33. data/lib/aspose_slides_cloud/models/summary_zoom_frame.rb +1 -2
  34. data/lib/aspose_slides_cloud/models/summary_zoom_section.rb +1 -2
  35. data/lib/aspose_slides_cloud/models/svg_export_options.rb +1 -3
  36. data/lib/aspose_slides_cloud/models/swf_export_options.rb +1 -3
  37. data/lib/aspose_slides_cloud/models/table.rb +1 -2
  38. data/lib/aspose_slides_cloud/models/table_cell.rb +22 -2
  39. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +4 -4
  40. data/lib/aspose_slides_cloud/models/video_export_options.rb +34 -4
  41. data/lib/aspose_slides_cloud/models/video_frame.rb +1 -2
  42. data/lib/aspose_slides_cloud/models/xaml_export_options.rb +1 -3
  43. data/lib/aspose_slides_cloud/models/xps_export_options.rb +1 -3
  44. data/lib/aspose_slides_cloud/models/zoom_frame.rb +1 -2
  45. data/lib/aspose_slides_cloud/models/zoom_object.rb +1 -2
  46. data/lib/aspose_slides_cloud/type_registry.rb +10 -6
  47. data/lib/aspose_slides_cloud/version.rb +1 -1
  48. data/lib/aspose_slides_cloud.rb +6 -3
  49. data/spec/spec_helper.rb +122 -122
  50. metadata +5 -4
  51. data/Dockerfile +0 -16
  52. data/docker-entrypoint.sh +0 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0877560eb2b5c0500fee0fe223010547ddb3f3afb4a683494fa43d9304143d3d'
4
- data.tar.gz: a494ef9c95232e630e515a44569fc5b08a49182aad96bb105e1c018ecb010f39
3
+ metadata.gz: 11b506f12bdd5105cb63305b97abc144cdf102ae0d2a9c8345629bb3fbd2f8d6
4
+ data.tar.gz: 1c71dfb4811db6a5815bd23cbec0ee7a59f6d375c78b792dcfac1fd83add9795
5
5
  SHA512:
6
- metadata.gz: 2fc5522fb31920322d15733fbd08e9ad314c339d45645dd1a4536c7b5fffe2834a449d74ee3c827414c8d4d8a9cdcdc4e38f9780209f143939428f0f7817f1d1
7
- data.tar.gz: f0476d4d25e10278dc2944d89a375d0d2a1b4fd1a9b39a5436a132bb9616ec3cb01f8e74e0261a17aa5df089ae358b89c36042022099769fa4436575b37e4e57
6
+ metadata.gz: 5eddf5b9c0e23bb11fcc3b2af53bddf7917aa837fb4752b41dea2d814147179299f54fd3b659ad06e663b8be2b42f6aa4f9a0dfa566bd40b342a5b38255476ae
7
+ data.tar.gz: 543bae25035d340a1faa9bc6aba685236d2127ca3b67afb5582ad71080b799e7406d534d3d7d34b83eafb4a2f97d2fd755bc6e86cc1540323eba3fb24b2e1027
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- group :development, :test do
6
- gem 'rake', '~> 12.3.3'
7
- end
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development, :test do
6
+ gem 'rake', '~> 12.3.3'
7
+ end
data/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2018 Aspose Pty Ltd
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Aspose Pty Ltd
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
data/README.md CHANGED
@@ -27,6 +27,26 @@ You may want to check out Aspose free [PPT to PDF](https://products.aspose.app/s
27
27
  **Web:** HTML/HTML5
28
28
  **Other:** MPEG4, SWF (export whole presentations)
29
29
 
30
+ ## Enhancements in Version 22.4
31
+ * Added **TransitionType** and **SlidesTransitionDuration** properties to **VideoExportOptions** class to enable creation videos with transitions.
32
+ * Added **DefaultPortionFormat** property to **Paragraph** class. Added new **PortionFormat** class.
33
+ * Added **EmbeddedFileBase64Data** and a number of other properties to **OleObjectFrame** class to enable creation of OLE Object frames.
34
+ * Added **AccessPermissions** class to support access permissions for PDF export.
35
+ * Added **PictureFillformat** property to **AudioFrame** class.
36
+ * Added **RowIndex** and **ColumnIndex** properties to **TableCell** class.
37
+ * Moved **Width** and **Height** properties from **ExportOptions** base class to the new **ImageExportOptionsBase class**. This is a superclass for **ImageExportOptions**, **GifExportOptions** and **TiffExportOptions** classes.
38
+ * Removed redundant **Shapes** property from **ShapeBase** class. It is only left for **GroupShape** class.
39
+
40
+ ## Enhancements in Version 22.3
41
+ * Added **ModernSlideComment** class to support modern comments. Also added **SlideCommentBase** as base class for comments.
42
+ * Added optional **shapeIndex** parameter to **CreateComment** and **CreateCommentOnline** methods.
43
+ * Added **GetParagraphRectangle**, **GetPortionRectangle** method and new **TextBounds** class to get paragraph or portion bounds.
44
+ * Added optional **shapeType** parameter for **GetShapes** method. You can now get list of shapes of a particular type (e.g. charts or tables).
45
+ * Added **FontFallbackRules** class and **FontFallbackRules** property to **ExportOptions** class.
46
+ * Added **LatinFont**, **EastAsianFont** and **ComplexScriptFont** properties to **Portion** class to enable getting and seting portion font name.
47
+ * Added **ChartLinesFormat** class; added **MajorGridLinesFormat** and **MinorGridLinesFormat** properties to Axis class.
48
+ * Added **HideLegend** boolean property to **Legend** class.
49
+
30
50
  ## Enhancements in Version 22.2
31
51
  * Added **Mpeg4** to the list of allowed values for **ExportFormat** type. You can now convert presentations to video.
32
52
  * New **HighlightShapeText** and **HighlightShapeRegex** methods.
data/Rakefile CHANGED
@@ -1,8 +1,8 @@
1
- begin
2
- require 'rspec/core/rake_task'
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
- task default: :spec
6
- rescue LoadError
7
- # no rspec available
8
- end
1
+ begin
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+ task default: :spec
6
+ rescue LoadError
7
+ # no rspec available
8
+ end
@@ -1,56 +1,56 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- =begin
4
- Copyright (c) 2019 Aspose Pty Ltd
5
-
6
- Permission is hereby granted, free of charge, to any person obtaining a copy
7
- of this software and associated documentation files (the "Software"), to deal
8
- in the Software without restriction, including without limitation the rights
9
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- copies of the Software, and to permit persons to whom the Software is
11
- furnished to do so, subject to the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be included in all
14
- copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- SOFTWARE.
23
- =end
24
-
25
- $:.push File.expand_path("../lib", __FILE__)
26
- require "aspose_slides_cloud/version"
27
-
28
- Gem::Specification.new do |s|
29
- s.name = "aspose_slides_cloud"
30
- s.version = AsposeSlidesCloud::VERSION
31
- s.platform = Gem::Platform::RUBY
32
- s.authors = ["Victor Putrov"]
33
- s.email = ["victor.putrov@aspose.com"]
34
- s.homepage = "https://github.com/aspose-slides-cloud/aspose-slides-cloud-ruby"
35
- s.summary = "Aspose.Slides Cloud SDK"
36
- s.description = "SDK for Aspose.Slides Cloud"
37
- s.license = "MIT"
38
- s.required_ruby_version = ">= 1.9"
39
-
40
- s.add_dependency 'faraday', '~> 0.17', '>= 0.17.3'
41
- s.add_dependency 'json', '~> 2.1', '>= 2.1.0'
42
-
43
- s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
44
- s.add_development_dependency 'rspec_junit_formatter', '~> 0.5', '>= 0.5.1'
45
- s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
46
- s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
47
- s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
48
- s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
49
- s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
50
- s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
51
- s.add_development_dependency 'rubyzip', '~> 2.3', '>= 2.3.0'
52
- s.files = `git ls-files -z`.split("\x0").uniq.sort.select { |f| !f.empty? }
53
- s.test_files = `git ls-files -z`.split("\x0").uniq.sort.select { |f| !f.empty? && f.start_with?("spec") }
54
- s.executables = []
55
- s.require_paths = ["lib"]
56
- end
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ =begin
4
+ Copyright (c) 2019 Aspose Pty Ltd
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
23
+ =end
24
+
25
+ $:.push File.expand_path("../lib", __FILE__)
26
+ require "aspose_slides_cloud/version"
27
+
28
+ Gem::Specification.new do |s|
29
+ s.name = "aspose_slides_cloud"
30
+ s.version = AsposeSlidesCloud::VERSION
31
+ s.platform = Gem::Platform::RUBY
32
+ s.authors = ["Victor Putrov"]
33
+ s.email = ["victor.putrov@aspose.com"]
34
+ s.homepage = "https://github.com/aspose-slides-cloud/aspose-slides-cloud-ruby"
35
+ s.summary = "Aspose.Slides Cloud SDK"
36
+ s.description = "SDK for Aspose.Slides Cloud"
37
+ s.license = "MIT"
38
+ s.required_ruby_version = ">= 1.9"
39
+
40
+ s.add_dependency 'faraday', '~> 0.17', '>= 0.17.3'
41
+ s.add_dependency 'json', '~> 2.1', '>= 2.1.0'
42
+
43
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
44
+ s.add_development_dependency 'rspec_junit_formatter', '~> 0.5', '>= 0.5.1'
45
+ s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
46
+ s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
47
+ s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
48
+ s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
49
+ s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
50
+ s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
51
+ s.add_development_dependency 'rubyzip', '~> 2.3', '>= 2.3.0'
52
+ s.files = `git ls-files -z`.split("\x0").uniq.sort.select { |f| !f.empty? }
53
+ s.test_files = `git ls-files -z`.split("\x0").uniq.sort.select { |f| !f.empty? && f.start_with?("spec") }
54
+ s.executables = []
55
+ s.require_paths = ["lib"]
56
+ end
@@ -1,48 +1,48 @@
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
- module AsposeSlidesCloud
24
- class ApiError < StandardError
25
- attr_reader :code, :response_headers, :response_body
26
-
27
- # Usage examples:
28
- # ApiError.new
29
- # ApiError.new("message")
30
- # ApiError.new(:code => 500, :response_headers => {}, :response_body => "")
31
- # ApiError.new(:code => 404, :message => "Not Found")
32
- def initialize(arg = nil)
33
- if arg.is_a? Hash
34
- if arg.key?(:message) || arg.key?('message')
35
- super(arg[:message] || arg['message'])
36
- else
37
- super arg
38
- end
39
-
40
- arg.each do |k, v|
41
- instance_variable_set "@#{k}", v
42
- end
43
- else
44
- super arg
45
- end
46
- end
47
- end
48
- 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
+ module AsposeSlidesCloud
24
+ class ApiError < StandardError
25
+ attr_reader :code, :response_headers, :response_body
26
+
27
+ # Usage examples:
28
+ # ApiError.new
29
+ # ApiError.new("message")
30
+ # ApiError.new(:code => 500, :response_headers => {}, :response_body => "")
31
+ # ApiError.new(:code => 404, :message => "Not Found")
32
+ def initialize(arg = nil)
33
+ if arg.is_a? Hash
34
+ if arg.key?(:message) || arg.key?('message')
35
+ super(arg[:message] || arg['message'])
36
+ else
37
+ super arg
38
+ end
39
+
40
+ arg.each do |k, v|
41
+ instance_variable_set "@#{k}", v
42
+ end
43
+ else
44
+ super arg
45
+ end
46
+ end
47
+ end
48
+ end