aspose_slides_cloud 21.3.0 → 21.9.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.
- checksums.yaml +4 -4
- data/README.md +58 -30
- data/TestData/test-unprotected.pptx +0 -0
- data/TestData/test.pptx +0 -0
- data/TestData/watermark.png +0 -0
- data/lib/aspose_slides_cloud/api/slides_api.rb +9416 -7859
- data/lib/aspose_slides_cloud/api_client.rb +17 -12
- data/lib/aspose_slides_cloud/models/export_options.rb +1 -1
- data/lib/aspose_slides_cloud/models/protection_properties.rb +52 -2
- data/lib/aspose_slides_cloud/models/{scale_type.rb → shapes_alignment_type.rb} +11 -6
- data/lib/aspose_slides_cloud/type_registry.rb +1 -2
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/lib/aspose_slides_cloud.rb +1 -3
- data/spec/api/slides_api_spec.rb +34314 -22096
- data/spec/extra/extra_spec.rb +6 -6
- data/spec/spec_utils.rb +3 -1
- data/testRules.json +265 -202
- metadata +4 -5
- data/lib/aspose_slides_cloud/api/slides_api_requests.rb +0 -4624
- data/lib/aspose_slides_cloud/models/size_type.rb +0 -55
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aeae63c780fac13340956604e0bd5ae92b120259601dc01dd0c87a2113b8dba1
|
4
|
+
data.tar.gz: 3cd2e65a745799c41e95cbc549d5860d9feb70a810ef06ac25dcbe6abe2b8d15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77928aa9c8999715f0b9522726db4c879383302b31c0fd76741b16f9b64a4d0ca53d8d34b56170eb64196d921225206e24971e6a99a37b88a29552fec0bc1ba4
|
7
|
+
data.tar.gz: 806b3bb9fc4031bf0b65e34d19b4f581b6908567ff6f74ad8bd15328c2c3676ec9e71ecd00b973df930c7ea08bb7b4c583e63dcba63d9732a068e50375e62179
|
data/README.md
CHANGED
@@ -1,14 +1,54 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
1
|
+
   [](https://github.com/aspose-slides-cloud/aspose-slides-cloud-ruby/blob/master/LICENSE)
|
2
|
+
|
3
|
+
# Ruby REST API to Process Presentation in Cloud
|
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
|
+
|
6
|
+
## Presentation Processing Features
|
7
|
+
|
8
|
+
- Fetch presentation images in any of the supported file formats.
|
9
|
+
- Copy the layout side or clone the master slide from the source presentation.
|
10
|
+
- Process slides shapes, slides notes, placeholders, colors & font theme info.
|
11
|
+
- Programmatically create a presentation from HTML & export it to various formats.
|
12
|
+
- Merge multiple presentations or split the single presentation into multiple ones.
|
13
|
+
- Extract and replace text from a specific slide or an entire presentation.
|
14
|
+
|
15
|
+
## Read & Write Presentation Formats
|
16
|
+
|
17
|
+
**Microsoft PowerPoint:** PPT, PPTX, PPS, PPSX, PPTM, PPSM, POTX, POTM
|
18
|
+
**OpenOffice:** ODP, OTP, FODP
|
19
|
+
|
20
|
+
## Save Presentation As
|
21
|
+
|
22
|
+
**Fixed Layout:** PDF, PDF/A, XPS
|
23
|
+
**Images:** JPEG, PNG, BMP, TIFF, SVG
|
24
|
+
**Web:** HTML
|
25
|
+
**Other:** SWF (export whole presentations)
|
26
|
+
|
27
|
+
## Enhancements in Version 21.6
|
28
|
+
* New **CreateComment**, **CreateCommentOnline**, **DeleteComments**, **DeleteCommentsOnline**, **DeleteSlideComments** and **DeleteSlideCommentsOnline** methods to add or delete comments in presentations.
|
29
|
+
|
30
|
+
## Enhancements in Version 21.4
|
31
|
+
* New **CreateWatermark**, **CreateWatermarkOnline**, **CreateImageWatermark**, **CreateImageWatermarkOnline**, **DeleteWatermark** and **DeleteWatermarkOnline** methods to add or delete and remove watermark in presentations.
|
32
|
+
* New **SetProtection**, **DeleteProtection**, **SetProtectionOnline** and **DeleteProtectionOnline** methods to set or clear presentation protection properties like read/write password, readonly flag.
|
33
|
+
|
34
|
+
## Enhancements in Version 21.3
|
35
|
+
* New **MergeOnline** and **MergeAndSaveOnline** methods to merge presentations from multipart request body.
|
36
|
+
* New **SplitOnline** and **SplitAndSaveOnline** methods to split presentation from request body.
|
37
|
+
* New **DownloadSlideOnline**, **DownloadShapeOnline**, **DownloadImageDefaultFormatOnline**, **DownloadImageOnline**, **SaveSlideOnline** and **SaveShapeOnline** methods to convert slides, shapes and images to spefified format using presentation from request body.
|
38
|
+
* New **DownloadImagesDefaultFormat**, **DownloadImages**, **DownloadImagesDefaultFormatOnline** and **DownloadImagesDefaultFormatOnline** methods to download all images from presentation as a ZIP archive.
|
39
|
+
* New **ReplacePresentationTextOnline** and **ReplaceSlideTextOnline** methods to replace text in presentation from request body.
|
40
|
+
* New **AlignShapes** method to align shapes in a slide.
|
41
|
+
* Simplified method declarations. See the [Release notes](https://docs.aspose.cloud/slides/aspose-slides-cloud-21-3-release-notes/) for details. Old method declarations are deprecated and will be deleted in 21.6 release.
|
42
|
+
|
43
|
+
## Enhancements in Version 21.2
|
44
|
+
* New **Map** value of **ChartTypeEnum** type to manage map charts.
|
45
|
+
* New **SketchFromat** property of **LineFormat** class.
|
46
|
+
|
47
|
+
## Enhancements in Version 21.1
|
48
|
+
* New **PostSlidesDocumentFromPdf** method allows creating presentations or adding slides to it using a PDF file as a source.
|
49
|
+
* New **GetSlidesSlideProperties**, **GetSlidesProtectionProperties**, **PutSlidesSlideProperties**, **PutSlidesProtectionProperties** allow to get/set presentaion properties like slide size, orientaion, read-only etc.
|
50
|
+
* **PutSlidesDocumentFromHtml** method is deprecated and will be deleted in 21.4 release. Use **PostSlidesDocumentFromHtml** method instead.
|
51
|
+
* **PutSlidesSlideSize** method is deprecated and will be deleted in 21.4 release. Use **PutSlidesProtectionProperties** method instead.
|
12
52
|
|
13
53
|
## Licensing
|
14
54
|
All Aspose.Slides Cloud SDKs are licensed under MIT License.
|
@@ -35,27 +75,15 @@ The example code below converts a PowerPoint document to PDF format using aspose
|
|
35
75
|
configuration.app_sid = "MyClientId"
|
36
76
|
configuration.app_key = "MyClientSecret"
|
37
77
|
api = AsposeSlidesCloud::SlidesApi.new(configuration)
|
38
|
-
|
39
|
-
requestParam.format = "pdf"
|
40
|
-
requestParam.document = File.binread("MyPresentation.pptx")
|
41
|
-
result = api.post_slides_convert(requestParam)
|
78
|
+
result = api.convert(File.binread("MyPresentation.pptx"), "pdf")
|
42
79
|
File.binwrite("MyPresentation.pdf", result)
|
43
80
|
```
|
44
81
|
|
45
|
-
##
|
46
|
-
|
47
|
-
Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.aspose.cloud/c/slides).
|
82
|
+
## Aspose.Slides Cloud SDKs in Popular Languages
|
48
83
|
|
49
|
-
|
50
|
-
|
51
|
-
[
|
52
|
-
[
|
53
|
-
[API Reference](https://apireference.aspose.cloud/slides/)
|
54
|
-
[Documentation](https://docs.aspose.cloud/slides/)
|
55
|
-
[Blog](https://blog.aspose.cloud/category/slides/)
|
56
|
-
|
57
|
-
## Other languages
|
84
|
+
| .NET | Java | PHP | Python | Ruby | Node.js | Android | Swift|Perl|Go|
|
85
|
+
|---|---|---|---|---|---|---|--|--|--|
|
86
|
+
| [GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-dotnet) | [GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-java) | [GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-php) | [GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-python) | [GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-ruby) | [GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-nodejs) | [GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-android) | [GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-swift)|[GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-perl) |[GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-go) |
|
87
|
+
| [NuGet](https://www.nuget.org/packages/Aspose.slides-Cloud/) | [Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-slides-cloud) | [Composer](https://packagist.org/packages/aspose/slides-sdk-php) | [PIP](https://pypi.org/project/asposeslidescloud/) | [GEM](https://rubygems.org/gems/aspose_slides_cloud) | [NPM](https://www.npmjs.com/package/asposeslidescloud) | [Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-slides-cloud) | [Cocoapods](https://cocoapods.org/pods/AsposeslidesCloud)|[Meta Cpan](https://metacpan.org/release/AsposeSlidesCloud-SlidesApi) | [Go.Dev](https://pkg.go.dev/github.com/aspose-slides-cloud/aspose-slides-cloud-go/) |
|
58
88
|
|
59
|
-
|
60
|
-
|
61
|
-
If you don't find your language in the list, feel free to request it from us, or use raw REST API requests as you can find it [here](https://products.aspose.cloud/slides/curl).
|
89
|
+
[Product Page](https://products.aspose.cloud/slides/ruby) | [Documentation](https://docs.aspose.cloud/display/slidescloud/Home) | [API Reference](https://apireference.aspose.cloud/slides/) | [Code Samples](https://github.com/aspose-slides-cloud/aspose-slides-cloud-ruby) | [Blog](https://blog.aspose.cloud/category/slides/) | [Free Support](https://forum.aspose.cloud/c/slides) | [Free Trial](https://dashboard.aspose.cloud/#/apps)
|
Binary file
|
data/TestData/test.pptx
CHANGED
Binary file
|
Binary file
|