asposeslidescloud 22.1.0 → 22.3.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 +97 -76
- package/api.d.ts +3540 -0
- package/api.js +2186 -1875
- package/internal/configuration.d.ts +44 -0
- package/internal/configuration.js +1 -0
- package/internal/objectSerializer.d.ts +18 -0
- package/internal/objectSerializer.js +1 -0
- package/internal/requestHelper.d.ts +33 -0
- package/internal/requestHelper.js +4 -2
- package/model.d.ts +6929 -0
- package/model.js +261 -23
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,76 +1,97 @@
|
|
|
1
|
-
     [](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
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
**
|
|
26
|
-
**
|
|
27
|
-
**
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* Added **
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
1
|
+
     [](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
|
+
**Other**: PDF, PDF/A
|
|
22
|
+
|
|
23
|
+
## Save Presentation As
|
|
24
|
+
|
|
25
|
+
**Fixed Layout:** XPS
|
|
26
|
+
**Images:** JPEG, PNG, BMP, TIFF, GIF, SVG
|
|
27
|
+
**Web:** HTML/HTML5
|
|
28
|
+
**Other:** MPEG4, SWF (export whole presentations)
|
|
29
|
+
|
|
30
|
+
## Enhancements in Version 22.3
|
|
31
|
+
* Added **ModernSlideComment** class to support modern comments. Also added **SlideCommentBase** as base class for comments.
|
|
32
|
+
* Added optional **shapeIndex** parameter to **CreateComment** and **CreateCommentOnline** methods.
|
|
33
|
+
* Added **GetParagraphRectangle**, **GetPortionRectangle** method and new **TextBounds** class to get paragraph or portion bounds.
|
|
34
|
+
* Added optional **shapeType** parameter for **GetShapes** method. You can now get list of shapes of a particular type (e.g. charts or tables).
|
|
35
|
+
* Added **FontFallbackRules** class and **FontFallbackRules** property to **ExportOptions** class.
|
|
36
|
+
* Added **LatinFont**, **EastAsianFont** and **ComplexScriptFont** properties to **Portion** class to enable getting and seting portion font name.
|
|
37
|
+
* Added **ChartLinesFormat** class; added **MajorGridLinesFormat** and **MinorGridLinesFormat** properties to Axis class.
|
|
38
|
+
* Added **HideLegend** boolean property to **Legend** class.
|
|
39
|
+
|
|
40
|
+
## Enhancements in Version 22.2
|
|
41
|
+
* Added **Mpeg4** to the list of allowed values for **ExportFormat** type. You can now convert presentations to video.
|
|
42
|
+
* New **HighlightShapeText** and **HighlightShapeRegex** methods.
|
|
43
|
+
* New **DeleteUnusedLayoutSlides** and **DeleteUnusedLayoutSlides** methods.
|
|
44
|
+
* New **ZoomFrame** and **ZoomObject** classes with a number of subclasses.
|
|
45
|
+
* Added **TextFrameFormat** property to **Shape** class to support WordArt.
|
|
46
|
+
* Added **XYSeries** class as a supercalss for **ScatterSeries** and **BubbleSeries** methods.
|
|
47
|
+
* Added **None** to the list of allowed values for **TimeUnitType** enum type.
|
|
48
|
+
* **Level** property of **Category** class is deprecated and will be removed after v22.4.
|
|
49
|
+
|
|
50
|
+
## Enhancements in Version 22.1
|
|
51
|
+
* New **MathParagraph** property of **Portion** class allows to get and set math formulas. A set of **MathElement** subclasses allows to specify complex mathematical expressions.
|
|
52
|
+
* New **DownloadPortionAsMathMl** and **SavePortionAsMathMl** methods allow to export math formulas to MathML format.
|
|
53
|
+
* New **HyperlinkClick** and **HyperlinkMouseOver** methods of **ShapeBase** and **Portion** classes enable creation and manipulating hyperlinks for shapes and portions.
|
|
54
|
+
* 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.
|
|
55
|
+
* New **AlignSubshapes** method enables aligning shapes within a shape group.
|
|
56
|
+
* New **PlayAcrossSlides** and **RewindAudio** properties are added to **AudioFrame** class.
|
|
57
|
+
* Added **InClickSequence** to the list of allowable values for **AudioPlayModePreset** and **AudioPlayModePreset** enum types.
|
|
58
|
+
|
|
59
|
+
## Licensing
|
|
60
|
+
All Aspose.Slides Cloud SDKs are licensed under MIT License.
|
|
61
|
+
|
|
62
|
+
## How to use the SDK?
|
|
63
|
+
The complete source code is available in this repository folder. You can either directly use it in your project via source code or get [NPM package](https://www.npmjs.com/package/asposeslidescloud) (recommended).
|
|
64
|
+
|
|
65
|
+
## Prerequisites
|
|
66
|
+
To use Aspose Slides Cloud NodeJS SDK you need to register an account with [Aspose Cloud](https://www.aspose.cloud/) and lookup/create App Key and SID at [Cloud Dashboard](https://dashboard.aspose.cloud/#/apps). There is free quota available. For more details, see [Aspose Cloud Pricing](https://purchase.aspose.cloud/pricing).
|
|
67
|
+
|
|
68
|
+
### Installation
|
|
69
|
+
|
|
70
|
+
From the command line:
|
|
71
|
+
|
|
72
|
+
npm install asposeslidescloud --save
|
|
73
|
+
|
|
74
|
+
### Sample usage
|
|
75
|
+
|
|
76
|
+
The example code below converts a PowerPoint document to PDF format using asposeslidescloud library:
|
|
77
|
+
```js
|
|
78
|
+
const api = require("asposeslidescloud");
|
|
79
|
+
const fs = require('fs');
|
|
80
|
+
|
|
81
|
+
const slidesApi = new api.SlidesApi("MyClientId", "MyClientSecret");
|
|
82
|
+
slidesApi.convert(fs.createReadStream("MyPresentation.pptx"), 'pdf').then((response) => {
|
|
83
|
+
fs.writeFile("MyPresentation.pdf", response.body, (err) => {
|
|
84
|
+
if (err) throw err;
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
```
|
|
88
|
+
You can check more [Examples](Examples) of using the SDK.
|
|
89
|
+
|
|
90
|
+
## Aspose.Slides Cloud SDKs in Popular Languages
|
|
91
|
+
|
|
92
|
+
| .NET | Java | PHP | Python | Ruby | Node.js | Android | Swift|Perl|Go|
|
|
93
|
+
|---|---|---|---|---|---|---|--|--|--|
|
|
94
|
+
| [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) |
|
|
95
|
+
| [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/) |
|
|
96
|
+
|
|
97
|
+
[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)
|