asposeslidescloud 21.6.0 → 22.1.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.
package/README.md CHANGED
@@ -1,24 +1,39 @@
1
- # Aspose.Slides Cloud SDK for NodeJS [![npm](https://badge.fury.io/js/asposeslidescloud.svg)](https://www.npmjs.com/package/asposeslidescloud)
2
- This repository contains Aspose.Slides Cloud SDK for NodeJS source code. This SDK allows you to work with Aspose.Slides Cloud REST APIs in your NodeJS applications.
3
-
4
- ## Key Features
5
- * Conversion between various document-related formats (20+ formats supported), including PDF<->PowerPoint conversion
6
- * Download slides and shapes in various formats, including PDF and SVG
7
- * Merge and split PowerPoint presentations
8
- * Access PowerPoint presentation metadata and statistics
9
- * Find and replace
10
- * Full read & write access to Document Object Model, including slides, shapes, paragraphs, portions and many others
11
- * Support of Aspose.Storage API
12
-
13
- ### New Features & Recent API Changes
14
- #### 20.10
15
- * Removed shapeType property from BaseShape class; replaced geometryShapeType with shapeType property for GeometryShape.
16
- * Removed redundant ResourceUriElement class. All properties of ResourceUriElement type are changed to ResourceUri type.
17
-
18
- #### 20.9
19
- * New getSections, putSections, putSection, postSection, postSectionMove, deleteSection, deleteSections methods to add, update and delete presentation sections.
20
- * New postSlidesHeaderFooter, postSlideHeaderFooter, getSlideHeaderFooter, postNotesSlideHeaderFooter, getNotesSlideHeaderFooter methods to manage header/footer settings for slides.
21
- * Replaces categories for parentCategories & level properties in ChartCategory class to properly support Sunburst & Treeview charts.
1
+ ![](https://img.shields.io/badge/api-v3.0-lightgrey) ![npm](https://img.shields.io/npm/v/asposeslidescloud) ![npm bundle size](https://img.shields.io/bundlephobia/min/asposeslidescloud) ![node-current](https://img.shields.io/node/v/asposeslidescloud) ![npm type definitions](https://img.shields.io/npm/types/asposeslidescloud) [![GitHub license](https://img.shields.io/github/license/aspose-slides-cloud/aspose-slides-cloud-nodejs)](https://github.com/aspose-slides-cloud/aspose-slides-cloud-nodejs/blob/master/LICENSE)
2
+
3
+ # Nodejs REST API to Process Presentation in Cloud
4
+ This repository contains Aspose.Slides Cloud SDK for Nodejs source code. This SDK allows you to [process & manipulate PPT, PPTX, ODP, OTP](https://products.aspose.cloud/slides/nodejs) using Aspose.slides Cloud REST APIs in your Nodejs applications.
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.
7
+
8
+ ## Presentation Processing Features
9
+
10
+ - Fetch presentation images in any of the supported file formats.
11
+ - Copy the layout side or clone the master slide from the source presentation.
12
+ - Process slides shapes, slides notes, placeholders, colors & font theme info.
13
+ - Programmatically create a presentation from HTML & export it to various formats.
14
+ - Merge multiple presentations or split the single presentation into multiple ones.
15
+ - Extract and replace text from a specific slide or an entire presentation.
16
+
17
+ ## Read & Write Presentation Formats
18
+
19
+ **Microsoft PowerPoint:** PPT, PPTX, PPS, PPSX, PPTM, PPSM, POTX, POTM
20
+ **OpenOffice:** ODP, OTP, FODP
21
+
22
+ ## Save Presentation As
23
+
24
+ **Fixed Layout:** PDF, PDF/A, XPS
25
+ **Images:** JPEG, PNG, BMP, TIFF, SVG
26
+ **Web:** HTML/HTML5
27
+ **Other:** SWF (export whole presentations)
28
+
29
+ ## Enhancements in Version 22.1
30
+ * New **MathParagraph** property of **Portion** class allows to get and set math formulas. A set of **MathElement** subclasses allows to specify complex mathematical expressions.
31
+ * New **DownloadPortionAsMathMl** and **SavePortionAsMathMl** methods allow to export math formulas to MathML format.
32
+ * New **HyperlinkClick** and **HyperlinkMouseOver** methods of **ShapeBase** and **Portion** classes enable creation and manipulating hyperlinks for shapes and portions.
33
+ * New methods **GetShapeGeometryPath** and **SetShapeGeometryPath** can be used to get or set geometry paths for shapes. You can use lines, arcs and curves to specify custom shape boundaries.
34
+ * New **AlignSubshapes** method enables aligning shapes within a shape group.
35
+ * New **PlayAcrossSlides** and **RewindAudio** properties are added to **AudioFrame** class.
36
+ * Added **InClickSequence** to the list of allowable values for **AudioPlayModePreset** and **AudioPlayModePreset** enum types.
22
37
 
23
38
  ## Licensing
24
39
  All Aspose.Slides Cloud SDKs are licensed under MIT License.
@@ -43,10 +58,7 @@ const api = require("asposeslidescloud");
43
58
  const fs = require('fs');
44
59
 
45
60
  const slidesApi = new api.SlidesApi("MyClientId", "MyClientSecret");
46
- const postSlidesConvertRequest = new api.GetSlidesApiInfoRequest();
47
- postSlidesConvertRequest.format = 'pdf';
48
- postSlidesConvertRequest.document = fs.createReadStream("MyPresentation.pptx");
49
- slidesApi.postSlidesConvert(postSlidesConvertRequest).then((response) => {
61
+ slidesApi.convert(fs.createReadStream("MyPresentation.pptx"), 'pdf').then((response) => {
50
62
  fs.writeFile("MyPresentation.pdf", response.body, (err) => {
51
63
  if (err) throw err;
52
64
  });
@@ -54,20 +66,11 @@ slidesApi.postSlidesConvert(postSlidesConvertRequest).then((response) => {
54
66
  ```
55
67
  You can check more [Examples](Examples) of using the SDK.
56
68
 
57
- ## Contact Us
58
-
59
- Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.aspose.cloud/c/slides).
69
+ ## Aspose.Slides Cloud SDKs in Popular Languages
60
70
 
61
- ## Resources
62
-
63
- [Website](https://www.aspose.cloud/)
64
- [Product Home](https://products.aspose.cloud/slides/family)
65
- [API Reference](https://apireference.aspose.cloud/slides/)
66
- [Documentation](https://docs.aspose.cloud/slides/)
67
- [Blog](https://blog.aspose.cloud/category/slides/)
68
-
69
- ## Other languages
71
+ | .NET | Java | PHP | Python | Ruby | Node.js | Android | Swift|Perl|Go|
72
+ |---|---|---|---|---|---|---|--|--|--|
73
+ | [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) |
74
+ | [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/) |
70
75
 
71
- We generate our SDKs in different languages so you may check if yours is available in our [list](https://github.com/aspose-slides-cloud).
72
-
73
- 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).
76
+ [Product Page](https://products.aspose.cloud/slides/nodejs) | [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-nodejs) | [Blog](https://blog.aspose.cloud/category/slides/) | [Free Support](https://forum.aspose.cloud/c/slides) | [Free Trial](https://dashboard.aspose.cloud/#/apps)