aspose_slides_cloud 22.8.0 → 22.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +13 -13
  3. data/README.md +17 -1
  4. data/TestData/calibri.ttf +0 -0
  5. data/TestData/test.pptx +0 -0
  6. data/docker-entrypoint.sh +1 -0
  7. data/lib/aspose_slides_cloud/api/slides_api.rb +5413 -8668
  8. data/lib/aspose_slides_cloud/api_client.rb +2 -2
  9. data/lib/aspose_slides_cloud/models/bubble_chart_data_point.rb +5 -1
  10. data/lib/aspose_slides_cloud/models/data_point.rb +42 -2
  11. data/lib/aspose_slides_cloud/models/effect.rb +22 -2
  12. data/lib/aspose_slides_cloud/models/export_options.rb +13 -1
  13. data/lib/aspose_slides_cloud/models/font_subst_rule.rb +231 -0
  14. data/lib/aspose_slides_cloud/models/gif_export_options.rb +2 -1
  15. data/lib/aspose_slides_cloud/models/html5_export_options.rb +2 -1
  16. data/lib/aspose_slides_cloud/models/html_export_options.rb +2 -1
  17. data/lib/aspose_slides_cloud/models/image_export_options.rb +2 -1
  18. data/lib/aspose_slides_cloud/models/image_export_options_base.rb +2 -1
  19. data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +5 -1
  20. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +2 -1
  21. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +2 -1
  22. data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +5 -1
  23. data/lib/aspose_slides_cloud/models/slide_show_properties.rb +325 -0
  24. data/lib/aspose_slides_cloud/models/svg_export_options.rb +2 -1
  25. data/lib/aspose_slides_cloud/models/swf_export_options.rb +2 -1
  26. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +2 -1
  27. data/lib/aspose_slides_cloud/models/video_export_options.rb +2 -1
  28. data/lib/aspose_slides_cloud/models/xaml_export_options.rb +2 -1
  29. data/lib/aspose_slides_cloud/models/xps_export_options.rb +2 -1
  30. data/lib/aspose_slides_cloud/type_registry.rb +3 -0
  31. data/lib/aspose_slides_cloud/version.rb +1 -1
  32. data/lib/aspose_slides_cloud.rb +2 -0
  33. data/spec/api/slides_api_spec.rb +23234 -32650
  34. data/spec/spec_utils.rb +2 -0
  35. data/spec/use_cases/chart_spec.rb +209 -0
  36. data/spec/use_cases/comment_spec.rb +159 -0
  37. data/spec/use_cases/convert_spec.rb +45 -0
  38. data/spec/use_cases/font_spec.rb +143 -0
  39. data/spec/use_cases/layout_slide_spec.rb +18 -0
  40. data/spec/use_cases/master_slide_spec.rb +16 -0
  41. data/spec/use_cases/merge_spec.rb +21 -0
  42. data/spec/use_cases/notes_slide_spec.rb +34 -0
  43. data/spec/use_cases/paragraph_spec.rb +330 -0
  44. data/spec/use_cases/portion_spec.rb +324 -0
  45. data/spec/use_cases/property_spec.rb +59 -0
  46. data/spec/use_cases/shape_spec.rb +214 -11
  47. data/spec/use_cases/slide_spec.rb +197 -0
  48. data/spec/use_cases/text_format_spec.rb +74 -0
  49. data/spec/use_cases/text_spec.rb +39 -0
  50. data/testRules.json +50 -1
  51. metadata +17 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90ef1251d56743c89a33bba00001b0b1ebc7c5a411b38984bd185c610666314e
4
- data.tar.gz: 5549286ec30f2c2507b39319a40ab295cb67ac2d11533875baa1324f246dacd1
3
+ metadata.gz: 6caa872808eb42ba7bfe5c1e58a2a15a8047fa7dae62313e8b50b72035c6a3a5
4
+ data.tar.gz: 7a7375b458842b6ec039f527a2f3466a21c5bc6a5634af94d888ab304af67ed4
5
5
  SHA512:
6
- metadata.gz: bb88b9619058f4463b9fea8528ee44781600f50c618a3d1e3faa079190551714ff9a94b0d43a1dd8f5246b59936db67c547d249df17693c370509ab40312fedf
7
- data.tar.gz: 707baaae1c36b96af1ad153bd3b423746b8b2c69b03ba3b644750180f205486850a9afa5d452d20177cc501a21fb81007c081cc02f38cc5944f9fcc8eb1d9520
6
+ metadata.gz: 52a0b5eb94aa5deee6fe136bce13a3f8750170344d9578d0661080666baf9c7eb1d17e19a832c9020b5ec3cee66dc5bf11b27643897cc7d07ebfb01d887887c8
7
+ data.tar.gz: 9cf428f4cf781036fbed5b71ab5749d8817fd7cb90d6a19a9503df069a7fdc3335837b24567ba776e7d0f407a66e53627e0ff1f7b827453871ba517b3e76990b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aspose_slides_cloud (22.8.0)
4
+ aspose_slides_cloud (22.10.0)
5
5
  faraday (~> 0.17, >= 0.17.3)
6
6
  json (~> 2.1, >= 2.1.0)
7
7
 
@@ -29,20 +29,20 @@ GEM
29
29
  public_suffix (5.0.0)
30
30
  rake (12.3.3)
31
31
  rexml (3.2.5)
32
- rspec (3.11.0)
33
- rspec-core (~> 3.11.0)
34
- rspec-expectations (~> 3.11.0)
35
- rspec-mocks (~> 3.11.0)
36
- rspec-core (3.11.0)
37
- rspec-support (~> 3.11.0)
38
- rspec-expectations (3.11.0)
32
+ rspec (3.12.0)
33
+ rspec-core (~> 3.12.0)
34
+ rspec-expectations (~> 3.12.0)
35
+ rspec-mocks (~> 3.12.0)
36
+ rspec-core (3.12.0)
37
+ rspec-support (~> 3.12.0)
38
+ rspec-expectations (3.12.0)
39
39
  diff-lcs (>= 1.2.0, < 2.0)
40
- rspec-support (~> 3.11.0)
41
- rspec-mocks (3.11.1)
40
+ rspec-support (~> 3.12.0)
41
+ rspec-mocks (3.12.0)
42
42
  diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.11.0)
44
- rspec-support (3.11.0)
45
- rspec_junit_formatter (0.5.1)
43
+ rspec-support (~> 3.12.0)
44
+ rspec-support (3.12.0)
45
+ rspec_junit_formatter (0.6.0)
46
46
  rspec-core (>= 2, < 4, != 2.12.0)
47
47
  rubyzip (2.3.2)
48
48
  sys-uname (1.2.2)
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  # Ruby REST API to Process Presentation in Cloud
4
4
  This repository contains Aspose.Slides Cloud SDK for Ruby source code. This SDK allows you to [process & manipulate PPT, PPTX, ODP, OTP](https://products.aspose.cloud/slides/java) using Aspose.slides Cloud REST APIs in your Ruby applications.
5
5
 
6
- You may want to check out Aspose free [PPT to PDF](https://products.aspose.app/slides/conversion), [PPT to Word](https://products.aspose.app/slides/conversion/ppt-to-word), and [PPT to JPG](https://products.aspose.app/slides/conversion/ppt-to-jpg) converters because they are live implementations of popular conversion processes.
6
+ You may want to check out Aspose free [Powerpoint to PDF](https://products.aspose.app/slides/conversion), [Powerpoint to Word](https://products.aspose.app/slides/conversion/ppt-to-word), [Powerpoint to JPG](https://products.aspose.app/slides/conversion/ppt-to-jpg), [Powerpoint to PNG](https://products.aspose.app/slides/conversion/ppt-to-png), [PDF to Powerpoint](https://products.aspose.app/slides/import/pdf-to-powerpoint), [JPG to Powerpoint](https://products.aspose.app/slides/import/jpg-to-ppt), and [PNG to Powerpoint](https://products.aspose.app/slides/import/png-to-ppt) converters because they are live implementations of popular conversion processes.
7
7
 
8
8
  ## Presentation Processing Features
9
9
 
@@ -27,6 +27,16 @@ 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.9
31
+
32
+ * Added new **ReplaceFont** and **ReplaceFontOnline** methods that allow replacing presentation fonts.
33
+ * Added new **SetEmbeddedFontFromRequest** and **SetEmbeddedFontFromRequestOnline** that allow to embed fonts without uploading them to the storage.
34
+ * Added an optional **fontsFolder** parameter to **SetEmbeddedFont** and **SetEmbeddedFontOnline** methods to enable using custom fonts with those methods.
35
+ * Added **FontSubstRules** property to **ExportOptions** class to allow specifying font substitution rules in conversion methods.
36
+ * Added an optional **group** parameter to **ImportImagesFromSvg** method to allow importing SVG images as a GroupShape.
37
+ * Added new **CreateSmartArtNode** and **DeleteSmartArtNode** methods to manage individual nodes in SmartArt shapes.
38
+ * Added **FillFomat**, **LineFormat**, **EffectFormat** and **ThreeDFormat** properties to **DataPoint** class that allow formatting individual chart data points.
39
+
30
40
  ## Enhancements in Version 22.8
31
41
 
32
42
  * With new **GetFonts** and **GetFontsOnline** methods you can get a list for fonts used in the presentation.
@@ -87,6 +97,12 @@ You may want to check out Aspose free [PPT to PDF](https://products.aspose.app/s
87
97
  * Added **None** to the list of allowed values for **TimeUnitType** enum type.
88
98
  * **Level** property of **Category** class is deprecated and will be removed after v22.4.
89
99
 
100
+ ## Enhancements in Version 22.10
101
+
102
+ * Added new **GetSlideShowProperties** and **SetSlideShowProperties** methods to get & set slideshow properties.
103
+ * Methods that work with shapes, paragraphs and portions now have an optional **subShape** parameter which can be used to access subshapes (SmartArt elements, grouped shapes). Separate methods for subshapes (**GetSubshapeParagraphs**, **CreateSubshape**, **AlignSubshapes** etc.) have been removed.
104
+ * Added boolean **RepeatUntilEndSlide** and **RepeatUntilNextClick** properties to **Effect** class.
105
+
90
106
  ## Enhancements in Version 22.1
91
107
  * New **MathParagraph** property of **Portion** class allows to get and set math formulas. A set of **MathElement** subclasses allows to specify complex mathematical expressions.
92
108
  * New **DownloadPortionAsMathMl** and **SavePortionAsMathMl** methods allow to export math formulas to MathML format.
Binary file
data/TestData/test.pptx CHANGED
Binary file
data/docker-entrypoint.sh CHANGED
@@ -4,4 +4,5 @@ sed -i "s/@your_client_id@/${CLIENT_ID}/g" testConfig.json
4
4
  sed -i "s/@your_client_secret@/${CLIENT_SECRET}/g" testConfig.json
5
5
  if [ -n "$BASE_URL" ] ; then sed -i "s+https://api-qa.aspose.cloud+${BASE_URL}+g" testConfig.json ; fi
6
6
 
7
+ mkdir testResults
7
8
  rspec spec --format RspecJunitFormatter --out testResults/rspec.xml