asposeslidescloud 25.10.0 → 26.6.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 +12 -5
- package/api.d.ts +44 -2
- package/api.js +130 -2
- package/internal/configuration.d.ts +15 -3
- package/internal/configuration.js +19 -6
- package/internal/requestHelper.js +13 -10
- package/model.d.ts +70 -1
- package/model.js +27 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
     [     [](https://github.com/aspose-slides-cloud/Aspose.Slides-Cloud-SDK-for-Node.js/blob/master/LICENSE)
|
|
2
2
|
|
|
3
3
|
# Nodejs REST API to Process Presentation in Cloud
|
|
4
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.
|
|
@@ -23,10 +23,17 @@ You may want to check out Aspose free [Powerpoint to PDF](https://products.aspos
|
|
|
23
23
|
## Save Presentation As
|
|
24
24
|
|
|
25
25
|
**Fixed Layout:** XPS
|
|
26
|
-
**Images:** JPEG, PNG, BMP, TIFF, GIF, SVG
|
|
26
|
+
**Images:** JPEG, PNG, BMP, TIFF, GIF, EMF, SVG
|
|
27
27
|
**Web:** HTML/HTML5
|
|
28
28
|
**Other:** MPEG4, SWF (export whole presentations)
|
|
29
29
|
|
|
30
|
+
## Enhancements in Version 25.10
|
|
31
|
+
|
|
32
|
+
* Added **SetEmbeddedFonts** and **SetEmbeddedFontsOnline** methods to embed many fonts in one call.
|
|
33
|
+
* Removed **SetEmbeddedFontFromRequest** and **SetEmbeddedFontFromRequestOnline** methods. The above methods can be used instead.
|
|
34
|
+
* Added optional **shapeIndex** and **shapeIndex** parameters to **GetSlideImages** method.
|
|
35
|
+
* Renamed **GetVideoCaptionTracks**, **CreateVideoCaptionTrack**, **DeleteVideoCaptionTracks** and **DeleteVideoCaptionTracks** methods into **GetCaptionTracks**, **CreateCaptionTrack**, **DeleteCaptionTracks** and **DeleteCaptionTracks**. The methods now work with video frames and audio frames.
|
|
36
|
+
|
|
30
37
|
## Enhancements in Version 25.6
|
|
31
38
|
|
|
32
39
|
* Added **GetVideoCaptionTracks**, **CreateVideoCaptionTrack**, **DeleteVideoCaptionTracks**, **DeleteVideoCaptionTracks** method.
|
|
@@ -78,7 +85,7 @@ You can check more [Examples](Examples) of using the SDK.
|
|
|
78
85
|
|
|
79
86
|
| .NET | Java | PHP | Python | Ruby | Node.js | Android | Swift|Perl|Go|
|
|
80
87
|
|---|---|---|---|---|---|---|--|--|--|
|
|
81
|
-
| [GitHub](https://github.com/aspose-slides-cloud/
|
|
82
|
-
| [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/
|
|
88
|
+
| [GitHub](https://github.com/aspose-slides-cloud/Aspose.Slides-Cloud-SDK-for-.NET) | [GitHub](https://github.com/aspose-slides-cloud/Aspose.Slides-Cloud-SDK-for-Java) | [GitHub](https://github.com/aspose-slides-cloud/Aspose.Slides-Cloud-SDK-for-PHP) | [GitHub](https://github.com/aspose-slides-cloud/Aspose.Slides-Cloud-SDK-for-Python) | [GitHub](https://github.com/aspose-slides-cloud/Aspose.Slides-Cloud-SDK-for-Ruby) | [GitHub](https://github.com/aspose-slides-cloud/Aspose.Slides-Cloud-SDK-for-Node.js) | [GitHub](https://github.com/aspose-slides-cloud/Aspose.Slides-Cloud-SDK-for-Android) | [GitHub](https://github.com/aspose-slides-cloud/Aspose.Slides-Cloud-SDK-for-Swift)|[GitHub](https://github.com/aspose-slides-cloud/Aspose.Slides-Cloud-SDK-for-Perl) |[GitHub](https://github.com/aspose-slides-cloud/Aspose.Slides-Cloud-SDK-for-Go) |
|
|
89
|
+
| [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-SDK-for-Go/) |
|
|
83
90
|
|
|
84
|
-
[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/
|
|
91
|
+
[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-SDK-for-Node.js) | [Blog](https://blog.aspose.cloud/category/slides/) | [Free Support](https://forum.aspose.cloud/c/slides) | [Free Trial](https://dashboard.aspose.cloud/#/apps)
|
package/api.d.ts
CHANGED
|
@@ -444,13 +444,14 @@ export declare class SlidesApi {
|
|
|
444
444
|
* @param slideIndex Slide index.
|
|
445
445
|
* @param dto Shape DTO.
|
|
446
446
|
* @param shapeToClone Optional index for clone shape instead of adding a new one.
|
|
447
|
+
* @param cloneFromSlide Optional index of the slide to clone the shape from. When set, shapeToClone refers to a shape on that slide.
|
|
447
448
|
* @param position Position of the new shape in the list. Default is at the end of the list.
|
|
448
449
|
* @param password Document password.
|
|
449
450
|
* @param folder Document folder.
|
|
450
451
|
* @param storage Document storage.
|
|
451
452
|
* @param subShape Sub-shape path (e.g. \"3\", \"3/shapes/2).
|
|
452
453
|
*/
|
|
453
|
-
createShape(name: string, slideIndex: number, dto?: model.ShapeBase, shapeToClone?: number, position?: number, password?: string, folder?: string, storage?: string, subShape?: string): Promise<{
|
|
454
|
+
createShape(name: string, slideIndex: number, dto?: model.ShapeBase, shapeToClone?: number, cloneFromSlide?: number, position?: number, password?: string, folder?: string, storage?: string, subShape?: string): Promise<{
|
|
454
455
|
response: http.ServerResponse;
|
|
455
456
|
body: model.ShapeBase;
|
|
456
457
|
}>;
|
|
@@ -568,13 +569,14 @@ export declare class SlidesApi {
|
|
|
568
569
|
* @param slideType Slide type (master, layout or notes).
|
|
569
570
|
* @param dto Shape DTO.
|
|
570
571
|
* @param shapeToClone Optional index for clone shape instead of adding a new one.
|
|
572
|
+
* @param cloneFromSlide Optional index of the slide to clone the shape from. When set, shapeToClone refers to a shape on that slide.
|
|
571
573
|
* @param position Position of the new shape in the list. Default is at the end of the list.
|
|
572
574
|
* @param password Document password.
|
|
573
575
|
* @param folder Document folder.
|
|
574
576
|
* @param storage Document storage.
|
|
575
577
|
* @param subShape Sub-shape path (e.g. \"3\", \"3/shapes/2).
|
|
576
578
|
*/
|
|
577
|
-
createSpecialSlideShape(name: string, slideIndex: number, slideType: model.SpecialSlideType, dto: model.ShapeBase, shapeToClone?: number, position?: number, password?: string, folder?: string, storage?: string, subShape?: string): Promise<{
|
|
579
|
+
createSpecialSlideShape(name: string, slideIndex: number, slideType: model.SpecialSlideType, dto: model.ShapeBase, shapeToClone?: number, cloneFromSlide?: number, position?: number, password?: string, folder?: string, storage?: string, subShape?: string): Promise<{
|
|
578
580
|
response: http.ServerResponse;
|
|
579
581
|
body: model.ShapeBase;
|
|
580
582
|
}>;
|
|
@@ -2560,6 +2562,27 @@ export declare class SlidesApi {
|
|
|
2560
2562
|
response: http.ServerResponse;
|
|
2561
2563
|
body: model.Shape;
|
|
2562
2564
|
}>;
|
|
2565
|
+
/**
|
|
2566
|
+
* Imports a chart from an Excel workbook and adds it to the slide.
|
|
2567
|
+
* @param name Document name.
|
|
2568
|
+
* @param slideIndex Slide index.
|
|
2569
|
+
* @param worksheetName The name of the worksheet that contains the chart.
|
|
2570
|
+
* @param document Excel workbook data.
|
|
2571
|
+
* @param chartName The name of the chart. Required if chartIndex is not specified.
|
|
2572
|
+
* @param chartIndex The zero-based index of the chart in the worksheet. Takes precedence over chartName.
|
|
2573
|
+
* @param x X coordinate of the chart (EMU).
|
|
2574
|
+
* @param y Y coordinate of the chart (EMU).
|
|
2575
|
+
* @param embedAllWorkbook If true, the entire workbook is embedded; if false, only chart data.
|
|
2576
|
+
* @param workbookPath Storage path to the workbook. If omitted, the workbook must be uploaded as multipart form data.
|
|
2577
|
+
* @param workbookStorage Storage name for workbookPath.
|
|
2578
|
+
* @param password Document password.
|
|
2579
|
+
* @param folder Presentation folder.
|
|
2580
|
+
* @param storage Presentation storage.
|
|
2581
|
+
*/
|
|
2582
|
+
importChartFromWorkbook(name: string, slideIndex: number, worksheetName: string, document?: Readable, chartName?: string, chartIndex?: number, x?: number, y?: number, embedAllWorkbook?: boolean, workbookPath?: string, workbookStorage?: string, password?: string, folder?: string, storage?: string): Promise<{
|
|
2583
|
+
response: http.ServerResponse;
|
|
2584
|
+
body: model.ShapeBase;
|
|
2585
|
+
}>;
|
|
2563
2586
|
/**
|
|
2564
2587
|
* Create presentation document from html.
|
|
2565
2588
|
* @param name Document name.
|
|
@@ -2606,6 +2629,25 @@ export declare class SlidesApi {
|
|
|
2606
2629
|
response: http.ServerResponse;
|
|
2607
2630
|
body: model.Shapes;
|
|
2608
2631
|
}>;
|
|
2632
|
+
/**
|
|
2633
|
+
* Imports a table from an Excel workbook and adds it to the slide.
|
|
2634
|
+
* @param name Document name.
|
|
2635
|
+
* @param slideIndex Slide index.
|
|
2636
|
+
* @param worksheetName The name of the worksheet that contains the table.
|
|
2637
|
+
* @param cellRange The cell range that defines the table (e.g. \"A1:D10\").
|
|
2638
|
+
* @param document Excel workbook data.
|
|
2639
|
+
* @param x X coordinate of the table (EMU).
|
|
2640
|
+
* @param y Y coordinate of the table (EMU).
|
|
2641
|
+
* @param workbookPath Storage path to the workbook. If omitted, the workbook must be uploaded as multipart form data.
|
|
2642
|
+
* @param workbookStorage Storage name for workbookPath.
|
|
2643
|
+
* @param password Document password.
|
|
2644
|
+
* @param folder Presentation folder.
|
|
2645
|
+
* @param storage Presentation storage.
|
|
2646
|
+
*/
|
|
2647
|
+
importTableFromWorkbook(name: string, slideIndex: number, worksheetName: string, cellRange: string, document?: Readable, x?: number, y?: number, workbookPath?: string, workbookStorage?: string, password?: string, folder?: string, storage?: string): Promise<{
|
|
2648
|
+
response: http.ServerResponse;
|
|
2649
|
+
body: model.ShapeBase;
|
|
2650
|
+
}>;
|
|
2609
2651
|
/**
|
|
2610
2652
|
* Merge the presentation with other presentations specified in the request parameter.
|
|
2611
2653
|
* @param name Document name.
|
package/api.js
CHANGED
|
@@ -1428,13 +1428,14 @@ class SlidesApi {
|
|
|
1428
1428
|
* @param slideIndex Slide index.
|
|
1429
1429
|
* @param dto Shape DTO.
|
|
1430
1430
|
* @param shapeToClone Optional index for clone shape instead of adding a new one.
|
|
1431
|
+
* @param cloneFromSlide Optional index of the slide to clone the shape from. When set, shapeToClone refers to a shape on that slide.
|
|
1431
1432
|
* @param position Position of the new shape in the list. Default is at the end of the list.
|
|
1432
1433
|
* @param password Document password.
|
|
1433
1434
|
* @param folder Document folder.
|
|
1434
1435
|
* @param storage Document storage.
|
|
1435
1436
|
* @param subShape Sub-shape path (e.g. \"3\", \"3/shapes/2).
|
|
1436
1437
|
*/
|
|
1437
|
-
createShape(name, slideIndex, dto = null, shapeToClone = null, position = null, password = null, folder = null, storage = null, subShape = null) {
|
|
1438
|
+
createShape(name, slideIndex, dto = null, shapeToClone = null, cloneFromSlide = null, position = null, password = null, folder = null, storage = null, subShape = null) {
|
|
1438
1439
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1439
1440
|
// verify required parameter 'name' is not null or undefined
|
|
1440
1441
|
if (name === null || name === undefined) {
|
|
@@ -1449,6 +1450,7 @@ class SlidesApi {
|
|
|
1449
1450
|
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
|
|
1450
1451
|
const queryParameters = {};
|
|
1451
1452
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "shapeToClone", shapeToClone);
|
|
1453
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "cloneFromSlide", cloneFromSlide);
|
|
1452
1454
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "position", position);
|
|
1453
1455
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
1454
1456
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
@@ -1847,13 +1849,14 @@ class SlidesApi {
|
|
|
1847
1849
|
* @param slideType Slide type (master, layout or notes).
|
|
1848
1850
|
* @param dto Shape DTO.
|
|
1849
1851
|
* @param shapeToClone Optional index for clone shape instead of adding a new one.
|
|
1852
|
+
* @param cloneFromSlide Optional index of the slide to clone the shape from. When set, shapeToClone refers to a shape on that slide.
|
|
1850
1853
|
* @param position Position of the new shape in the list. Default is at the end of the list.
|
|
1851
1854
|
* @param password Document password.
|
|
1852
1855
|
* @param folder Document folder.
|
|
1853
1856
|
* @param storage Document storage.
|
|
1854
1857
|
* @param subShape Sub-shape path (e.g. \"3\", \"3/shapes/2).
|
|
1855
1858
|
*/
|
|
1856
|
-
createSpecialSlideShape(name, slideIndex, slideType, dto, shapeToClone = null, position = null, password = null, folder = null, storage = null, subShape = null) {
|
|
1859
|
+
createSpecialSlideShape(name, slideIndex, slideType, dto, shapeToClone = null, cloneFromSlide = null, position = null, password = null, folder = null, storage = null, subShape = null) {
|
|
1857
1860
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1858
1861
|
// verify required parameter 'name' is not null or undefined
|
|
1859
1862
|
if (name === null || name === undefined) {
|
|
@@ -1881,6 +1884,7 @@ class SlidesApi {
|
|
|
1881
1884
|
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideType", objectSerializer_1.ObjectSerializer.toString(slideType));
|
|
1882
1885
|
const queryParameters = {};
|
|
1883
1886
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "shapeToClone", shapeToClone);
|
|
1887
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "cloneFromSlide", cloneFromSlide);
|
|
1884
1888
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "position", position);
|
|
1885
1889
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
1886
1890
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
@@ -8331,6 +8335,68 @@ class SlidesApi {
|
|
|
8331
8335
|
return Promise.resolve({ body: result, response });
|
|
8332
8336
|
});
|
|
8333
8337
|
}
|
|
8338
|
+
/**
|
|
8339
|
+
* Imports a chart from an Excel workbook and adds it to the slide.
|
|
8340
|
+
* @param name Document name.
|
|
8341
|
+
* @param slideIndex Slide index.
|
|
8342
|
+
* @param worksheetName The name of the worksheet that contains the chart.
|
|
8343
|
+
* @param document Excel workbook data.
|
|
8344
|
+
* @param chartName The name of the chart. Required if chartIndex is not specified.
|
|
8345
|
+
* @param chartIndex The zero-based index of the chart in the worksheet. Takes precedence over chartName.
|
|
8346
|
+
* @param x X coordinate of the chart (EMU).
|
|
8347
|
+
* @param y Y coordinate of the chart (EMU).
|
|
8348
|
+
* @param embedAllWorkbook If true, the entire workbook is embedded; if false, only chart data.
|
|
8349
|
+
* @param workbookPath Storage path to the workbook. If omitted, the workbook must be uploaded as multipart form data.
|
|
8350
|
+
* @param workbookStorage Storage name for workbookPath.
|
|
8351
|
+
* @param password Document password.
|
|
8352
|
+
* @param folder Presentation folder.
|
|
8353
|
+
* @param storage Presentation storage.
|
|
8354
|
+
*/
|
|
8355
|
+
importChartFromWorkbook(name, slideIndex, worksheetName, document = null, chartName = null, chartIndex = null, x = null, y = null, embedAllWorkbook = null, workbookPath = null, workbookStorage = null, password = null, folder = null, storage = null) {
|
|
8356
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8357
|
+
// verify required parameter 'name' is not null or undefined
|
|
8358
|
+
if (name === null || name === undefined) {
|
|
8359
|
+
throw new Error('The required parameter "name" was null or undefined when calling importChartFromWorkbook.');
|
|
8360
|
+
}
|
|
8361
|
+
// verify required parameter 'slideIndex' is not null or undefined
|
|
8362
|
+
if (slideIndex === null || slideIndex === undefined) {
|
|
8363
|
+
throw new Error('The required parameter "slideIndex" was null or undefined when calling importChartFromWorkbook.');
|
|
8364
|
+
}
|
|
8365
|
+
// verify required parameter 'worksheetName' is not null or undefined
|
|
8366
|
+
if (worksheetName === null || worksheetName === undefined) {
|
|
8367
|
+
throw new Error('The required parameter "worksheetName" was null or undefined when calling importChartFromWorkbook.');
|
|
8368
|
+
}
|
|
8369
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/fromExcelChart";
|
|
8370
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
8371
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
|
|
8372
|
+
const queryParameters = {};
|
|
8373
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "worksheetName", worksheetName);
|
|
8374
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "chartName", chartName);
|
|
8375
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "chartIndex", chartIndex);
|
|
8376
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "x", x);
|
|
8377
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "y", y);
|
|
8378
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "embedAllWorkbook", embedAllWorkbook);
|
|
8379
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "workbookPath", workbookPath);
|
|
8380
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "workbookStorage", workbookStorage);
|
|
8381
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
8382
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
8383
|
+
const requestOptions = {
|
|
8384
|
+
method: "POST",
|
|
8385
|
+
headers: {},
|
|
8386
|
+
url: localVarPath,
|
|
8387
|
+
params: queryParameters
|
|
8388
|
+
};
|
|
8389
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
8390
|
+
let localVarFiles = [];
|
|
8391
|
+
if (document != null) {
|
|
8392
|
+
localVarFiles.push(document);
|
|
8393
|
+
}
|
|
8394
|
+
(0, requestHelper_1.checkMultipartContent)(requestOptions, localVarFiles);
|
|
8395
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
8396
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "ShapeBase");
|
|
8397
|
+
return Promise.resolve({ body: result, response });
|
|
8398
|
+
});
|
|
8399
|
+
}
|
|
8334
8400
|
/**
|
|
8335
8401
|
* Create presentation document from html.
|
|
8336
8402
|
* @param name Document name.
|
|
@@ -8464,6 +8530,68 @@ class SlidesApi {
|
|
|
8464
8530
|
return Promise.resolve({ body: result, response });
|
|
8465
8531
|
});
|
|
8466
8532
|
}
|
|
8533
|
+
/**
|
|
8534
|
+
* Imports a table from an Excel workbook and adds it to the slide.
|
|
8535
|
+
* @param name Document name.
|
|
8536
|
+
* @param slideIndex Slide index.
|
|
8537
|
+
* @param worksheetName The name of the worksheet that contains the table.
|
|
8538
|
+
* @param cellRange The cell range that defines the table (e.g. \"A1:D10\").
|
|
8539
|
+
* @param document Excel workbook data.
|
|
8540
|
+
* @param x X coordinate of the table (EMU).
|
|
8541
|
+
* @param y Y coordinate of the table (EMU).
|
|
8542
|
+
* @param workbookPath Storage path to the workbook. If omitted, the workbook must be uploaded as multipart form data.
|
|
8543
|
+
* @param workbookStorage Storage name for workbookPath.
|
|
8544
|
+
* @param password Document password.
|
|
8545
|
+
* @param folder Presentation folder.
|
|
8546
|
+
* @param storage Presentation storage.
|
|
8547
|
+
*/
|
|
8548
|
+
importTableFromWorkbook(name, slideIndex, worksheetName, cellRange, document = null, x = null, y = null, workbookPath = null, workbookStorage = null, password = null, folder = null, storage = null) {
|
|
8549
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8550
|
+
// verify required parameter 'name' is not null or undefined
|
|
8551
|
+
if (name === null || name === undefined) {
|
|
8552
|
+
throw new Error('The required parameter "name" was null or undefined when calling importTableFromWorkbook.');
|
|
8553
|
+
}
|
|
8554
|
+
// verify required parameter 'slideIndex' is not null or undefined
|
|
8555
|
+
if (slideIndex === null || slideIndex === undefined) {
|
|
8556
|
+
throw new Error('The required parameter "slideIndex" was null or undefined when calling importTableFromWorkbook.');
|
|
8557
|
+
}
|
|
8558
|
+
// verify required parameter 'worksheetName' is not null or undefined
|
|
8559
|
+
if (worksheetName === null || worksheetName === undefined) {
|
|
8560
|
+
throw new Error('The required parameter "worksheetName" was null or undefined when calling importTableFromWorkbook.');
|
|
8561
|
+
}
|
|
8562
|
+
// verify required parameter 'cellRange' is not null or undefined
|
|
8563
|
+
if (cellRange === null || cellRange === undefined) {
|
|
8564
|
+
throw new Error('The required parameter "cellRange" was null or undefined when calling importTableFromWorkbook.');
|
|
8565
|
+
}
|
|
8566
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/fromExcelTable";
|
|
8567
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
8568
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
|
|
8569
|
+
const queryParameters = {};
|
|
8570
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "worksheetName", worksheetName);
|
|
8571
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "cellRange", cellRange);
|
|
8572
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "x", x);
|
|
8573
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "y", y);
|
|
8574
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "workbookPath", workbookPath);
|
|
8575
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "workbookStorage", workbookStorage);
|
|
8576
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
8577
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
8578
|
+
const requestOptions = {
|
|
8579
|
+
method: "POST",
|
|
8580
|
+
headers: {},
|
|
8581
|
+
url: localVarPath,
|
|
8582
|
+
params: queryParameters
|
|
8583
|
+
};
|
|
8584
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
8585
|
+
let localVarFiles = [];
|
|
8586
|
+
if (document != null) {
|
|
8587
|
+
localVarFiles.push(document);
|
|
8588
|
+
}
|
|
8589
|
+
(0, requestHelper_1.checkMultipartContent)(requestOptions, localVarFiles);
|
|
8590
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
8591
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "ShapeBase");
|
|
8592
|
+
return Promise.resolve({ body: result, response });
|
|
8593
|
+
});
|
|
8594
|
+
}
|
|
8467
8595
|
/**
|
|
8468
8596
|
* Merge the presentation with other presentations specified in the request parameter.
|
|
8469
8597
|
* @param name Document name.
|
|
@@ -18,10 +18,18 @@ export declare class Configuration {
|
|
|
18
18
|
* Base Url.
|
|
19
19
|
*/
|
|
20
20
|
baseUrl: string;
|
|
21
|
+
private _asyncBaseUrl;
|
|
22
|
+
private _authBaseUrl;
|
|
21
23
|
/**
|
|
22
|
-
* Base Url.
|
|
24
|
+
* Async Base Url. Defaults to baseUrl if not explicitly set.
|
|
25
|
+
*/
|
|
26
|
+
get asyncBaseUrl(): string;
|
|
27
|
+
set asyncBaseUrl(value: string);
|
|
28
|
+
/**
|
|
29
|
+
* Auth Base Url. Defaults to baseUrl if not explicitly set.
|
|
23
30
|
*/
|
|
24
|
-
authBaseUrl: string;
|
|
31
|
+
get authBaseUrl(): string;
|
|
32
|
+
set authBaseUrl(value: string);
|
|
25
33
|
/**
|
|
26
34
|
* Gets or sets slides operation timeout in seconds. 0 stands for no timeout. The timeout applies to the Slides operation, not to the HTTP request.
|
|
27
35
|
*/
|
|
@@ -31,9 +39,13 @@ export declare class Configuration {
|
|
|
31
39
|
*/
|
|
32
40
|
httpRequestTimeout: number;
|
|
33
41
|
/**
|
|
34
|
-
* Gets or sets a value indicating whether debug mode is enabled. In debug mode all requests and responses are logged
|
|
42
|
+
* Gets or sets a value indicating whether debug mode is enabled. In debug mode all requests and responses are logged.
|
|
35
43
|
*/
|
|
36
44
|
debugMode: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Gets or sets a custom log function used when debugMode is true. When not set, output goes to console.log.
|
|
47
|
+
*/
|
|
48
|
+
logger: (message: string) => void;
|
|
37
49
|
/**
|
|
38
50
|
* Gets or sets collection of custom headers to be added to HTTP requests.
|
|
39
51
|
*/
|
|
@@ -29,21 +29,34 @@ const defaultBasePath = "https://api.aspose.cloud";
|
|
|
29
29
|
* Slides API configuration
|
|
30
30
|
*/
|
|
31
31
|
class Configuration {
|
|
32
|
+
/**
|
|
33
|
+
* Async Base Url. Defaults to baseUrl if not explicitly set.
|
|
34
|
+
*/
|
|
35
|
+
get asyncBaseUrl() {
|
|
36
|
+
return this._asyncBaseUrl !== undefined ? this._asyncBaseUrl : this.baseUrl;
|
|
37
|
+
}
|
|
38
|
+
set asyncBaseUrl(value) {
|
|
39
|
+
this._asyncBaseUrl = value;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Auth Base Url. Defaults to baseUrl if not explicitly set.
|
|
43
|
+
*/
|
|
44
|
+
get authBaseUrl() {
|
|
45
|
+
return this._authBaseUrl !== undefined ? this._authBaseUrl : this.baseUrl;
|
|
46
|
+
}
|
|
47
|
+
set authBaseUrl(value) {
|
|
48
|
+
this._authBaseUrl = value;
|
|
49
|
+
}
|
|
32
50
|
constructor(appSid, appKey, baseUrl, authBaseUrl, debugMode, timeout, httpRequestTimeout) {
|
|
33
51
|
/**
|
|
34
52
|
* Base Url.
|
|
35
53
|
*/
|
|
36
54
|
this.baseUrl = defaultBasePath;
|
|
37
|
-
/**
|
|
38
|
-
* Base Url.
|
|
39
|
-
*/
|
|
40
|
-
this.authBaseUrl = defaultBasePath;
|
|
41
55
|
if (baseUrl) {
|
|
42
56
|
this.baseUrl = baseUrl;
|
|
43
|
-
this.authBaseUrl = baseUrl;
|
|
44
57
|
}
|
|
45
58
|
if (authBaseUrl) {
|
|
46
|
-
this.
|
|
59
|
+
this._authBaseUrl = authBaseUrl;
|
|
47
60
|
}
|
|
48
61
|
this.appSid = appSid;
|
|
49
62
|
this.appKey = appKey;
|
|
@@ -37,23 +37,25 @@ const axios_1 = require("axios");
|
|
|
37
37
|
const https = require('https');
|
|
38
38
|
axios_1.default.interceptors.request.use(request => {
|
|
39
39
|
if (request.debug) {
|
|
40
|
-
console.log
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
const log = request.logger || console.log;
|
|
41
|
+
log('>> Request');
|
|
42
|
+
log(request.method + ' ' + request.url);
|
|
43
|
+
log('Headers\n' + request.headers);
|
|
44
|
+
log('Data: ' + JSON.stringify(request.data));
|
|
44
45
|
}
|
|
45
46
|
return request;
|
|
46
47
|
});
|
|
47
48
|
axios_1.default.interceptors.response.use(response => {
|
|
48
49
|
if (response.config.debug) {
|
|
49
|
-
console.log
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
const log = response.config.logger || console.log;
|
|
51
|
+
log('<< Response');
|
|
52
|
+
log('Status: ' + response.status);
|
|
53
|
+
log('Headers\n' + response.headers);
|
|
52
54
|
if (Buffer.isBuffer(response.data)) {
|
|
53
|
-
|
|
55
|
+
log('Data: binary (' + Buffer.byteLength((response.data)) + ' bytes)');
|
|
54
56
|
}
|
|
55
57
|
else {
|
|
56
|
-
|
|
58
|
+
log('Data: ' + JSON.stringify(response.data));
|
|
57
59
|
}
|
|
58
60
|
}
|
|
59
61
|
return response;
|
|
@@ -169,7 +171,7 @@ function invokeApiMethodInternal(requestOptions, configuration, notApplyAuthToRe
|
|
|
169
171
|
if (!requestOptions.headers) {
|
|
170
172
|
requestOptions.headers = {};
|
|
171
173
|
}
|
|
172
|
-
requestOptions.headers["x-aspose-client"] = "nodejs sdk
|
|
174
|
+
requestOptions.headers["x-aspose-client"] = "nodejs sdk v26.6.0";
|
|
173
175
|
if (configuration.timeout) {
|
|
174
176
|
requestOptions.headers["x-aspose-timeout"] = configuration.timeout;
|
|
175
177
|
}
|
|
@@ -186,6 +188,7 @@ function invokeApiMethodInternal(requestOptions, configuration, notApplyAuthToRe
|
|
|
186
188
|
requestOptions.headers["Content-type"] = "application/x-www-form-urlencoded";
|
|
187
189
|
}
|
|
188
190
|
requestOptions.debug = configuration.debugMode;
|
|
191
|
+
requestOptions.logger = configuration.logger;
|
|
189
192
|
return new Promise((resolve, reject) => {
|
|
190
193
|
const r = (0, axios_1.default)(requestOptions)
|
|
191
194
|
.then((response) => __awaiter(this, void 0, void 0, function* () {
|
package/model.d.ts
CHANGED
|
@@ -24,7 +24,8 @@ export declare namespace MathElement {
|
|
|
24
24
|
Radical,
|
|
25
25
|
RightSubSuperscriptElement,
|
|
26
26
|
SubscriptElement,
|
|
27
|
-
SuperscriptElement
|
|
27
|
+
SuperscriptElement,
|
|
28
|
+
Phantom
|
|
28
29
|
}
|
|
29
30
|
}
|
|
30
31
|
/**
|
|
@@ -5407,6 +5408,38 @@ export declare class PdfImportOptions {
|
|
|
5407
5408
|
*/
|
|
5408
5409
|
detectTables: boolean;
|
|
5409
5410
|
}
|
|
5411
|
+
/**
|
|
5412
|
+
* Specifies an instance of mathematical text that contained within a MathParagraph and starts on its own line.
|
|
5413
|
+
*/
|
|
5414
|
+
export declare class PhantomElement extends MathElement {
|
|
5415
|
+
constructor();
|
|
5416
|
+
/**
|
|
5417
|
+
* Base element
|
|
5418
|
+
*/
|
|
5419
|
+
base?: MathElement;
|
|
5420
|
+
/**
|
|
5421
|
+
* true if the base element is displayed.
|
|
5422
|
+
*/
|
|
5423
|
+
show?: boolean;
|
|
5424
|
+
/**
|
|
5425
|
+
* true if the the width of the base element should be treated as zero.
|
|
5426
|
+
*/
|
|
5427
|
+
zeroWidth?: boolean;
|
|
5428
|
+
/**
|
|
5429
|
+
* true if the the ascent (height above baseline) of the base element should be treated as zero.
|
|
5430
|
+
*/
|
|
5431
|
+
zeroAsc?: boolean;
|
|
5432
|
+
/**
|
|
5433
|
+
* true if the the descent (depth below baseline) of the base element should be treated as zero.
|
|
5434
|
+
*/
|
|
5435
|
+
zeroDesc?: boolean;
|
|
5436
|
+
/**
|
|
5437
|
+
* true if operators and symbols inside the phantom still affect mathematical spacing around the phantom (as if visible).
|
|
5438
|
+
*/
|
|
5439
|
+
transp?: boolean;
|
|
5440
|
+
}
|
|
5441
|
+
export declare namespace PhantomElement {
|
|
5442
|
+
}
|
|
5410
5443
|
/**
|
|
5411
5444
|
* Picture fill.
|
|
5412
5445
|
*/
|
|
@@ -5716,6 +5749,10 @@ export declare class Portion extends ResourceBase {
|
|
|
5716
5749
|
* True if numbers should ignore East-Asian specific vertical text layout.
|
|
5717
5750
|
*/
|
|
5718
5751
|
kumimoji?: Portion.KumimojiEnum;
|
|
5752
|
+
/**
|
|
5753
|
+
* true to enable spell checking for the portion.
|
|
5754
|
+
*/
|
|
5755
|
+
spellCheck?: boolean;
|
|
5719
5756
|
/**
|
|
5720
5757
|
* Proving language ID.
|
|
5721
5758
|
*/
|
|
@@ -5963,6 +6000,10 @@ export declare class PortionFormat {
|
|
|
5963
6000
|
* Returns or sets the complex script font info.
|
|
5964
6001
|
*/
|
|
5965
6002
|
complexScriptFont?: string;
|
|
6003
|
+
/**
|
|
6004
|
+
* true to enable spell checking for the portion.
|
|
6005
|
+
*/
|
|
6006
|
+
spellCheck?: boolean;
|
|
5966
6007
|
}
|
|
5967
6008
|
export declare namespace PortionFormat {
|
|
5968
6009
|
enum FontBoldEnum {
|
|
@@ -6057,6 +6098,10 @@ export declare class PptxExportOptions extends ExportOptions {
|
|
|
6057
6098
|
* Specifies whether the ZIP64 format is used for the Presentation document. The default value is Zip64Mode.IfNecessary.
|
|
6058
6099
|
*/
|
|
6059
6100
|
zip64Mode?: PptxExportOptions.Zip64ModeEnum;
|
|
6101
|
+
/**
|
|
6102
|
+
* The compression level used when saving the presentation document. Higher compression levels produce smaller files but require more processing time. The actual compression ratio depends on the content of the presentation. The default value is CompressionLevel.Level6.
|
|
6103
|
+
*/
|
|
6104
|
+
compressionLevel?: PptxExportOptions.CompressionLevelEnum;
|
|
6060
6105
|
/**
|
|
6061
6106
|
* True to refresh the presentation thumbnail on save
|
|
6062
6107
|
*/
|
|
@@ -6073,6 +6118,18 @@ export declare namespace PptxExportOptions {
|
|
|
6073
6118
|
IfNecessary,
|
|
6074
6119
|
Always
|
|
6075
6120
|
}
|
|
6121
|
+
enum CompressionLevelEnum {
|
|
6122
|
+
None,
|
|
6123
|
+
Level1,
|
|
6124
|
+
Level2,
|
|
6125
|
+
Level3,
|
|
6126
|
+
Level4,
|
|
6127
|
+
Level5,
|
|
6128
|
+
Level6,
|
|
6129
|
+
Level7,
|
|
6130
|
+
Level8,
|
|
6131
|
+
Level9
|
|
6132
|
+
}
|
|
6076
6133
|
}
|
|
6077
6134
|
/**
|
|
6078
6135
|
* Represents presentation to merge
|
|
@@ -7309,6 +7366,10 @@ export declare class SlideShowTransition {
|
|
|
7309
7366
|
* Spokes.
|
|
7310
7367
|
*/
|
|
7311
7368
|
spokes?: number;
|
|
7369
|
+
/**
|
|
7370
|
+
* The duration of the slide transition effect in milliseconds. If not set, the duration is determined automatically based on Speed and Type values.
|
|
7371
|
+
*/
|
|
7372
|
+
duration?: number;
|
|
7312
7373
|
}
|
|
7313
7374
|
export declare namespace SlideShowTransition {
|
|
7314
7375
|
enum TypeEnum {
|
|
@@ -7474,6 +7535,10 @@ export declare class SmartArt extends ShapeBase {
|
|
|
7474
7535
|
* The state of the SmartArt diagram with regard to (left-to-right) LTR or (right-to-left) RTL, if the diagram supports reversal.
|
|
7475
7536
|
*/
|
|
7476
7537
|
isReversed?: boolean;
|
|
7538
|
+
/**
|
|
7539
|
+
* Default paragraph format applied to all nodes. Write-only: not populated on read since there is no corresponding property at the SmartArt shape level in Aspose.Slides.
|
|
7540
|
+
*/
|
|
7541
|
+
defaultParagraphFormat?: ParagraphFormat;
|
|
7477
7542
|
}
|
|
7478
7543
|
export declare namespace SmartArt {
|
|
7479
7544
|
enum LayoutEnum {
|
|
@@ -7699,6 +7764,10 @@ export declare class SmartArtNode {
|
|
|
7699
7764
|
* Get or sets list to paragraphs list
|
|
7700
7765
|
*/
|
|
7701
7766
|
paragraphs?: ResourceUri;
|
|
7767
|
+
/**
|
|
7768
|
+
* Default paragraph format for the node's text frame.
|
|
7769
|
+
*/
|
|
7770
|
+
defaultParagraphFormat?: ParagraphFormat;
|
|
7702
7771
|
}
|
|
7703
7772
|
export declare namespace SmartArtNode {
|
|
7704
7773
|
enum OrgChartLayoutEnum {
|
package/model.js
CHANGED
|
@@ -26,9 +26,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.ChartSeriesGroup = exports.ChartLinesFormat = exports.ChartCategory = exports.Chart = exports.CaptionTracks = exports.CaptionTrack = exports.Camera = exports.BubbleSeries = exports.XYSeries = exports.Series = exports.BubbleChartDataPoint = exports.ScatterChartDataPoint = exports.DataPoint = exports.BoxElement = exports.BorderBoxElement = exports.BlurImageEffect = exports.BlurEffect = exports.BlockElement = exports.BiLevelEffect = exports.Base64InputFile = exports.InputFile = exports.BarElement = exports.AxisType = exports.Axis = exports.Axes = exports.AudioFrame = exports.GeometryShape = exports.ShapeBase = exports.ResourceBase = exports.ArrowHeadProperties = exports.ArrayElement = exports.ArcToPathSegment = exports.PathSegment = exports.ApiInfo = exports.AlphaReplaceEffect = exports.AlphaModulateFixedEffect = exports.AlphaModulateEffect = exports.AlphaInverseEffect = exports.AlphaFloorEffect = exports.AlphaCeilingEffect = exports.AlphaBiLevelEffect = exports.ImageTransformEffect = exports.AddSlide = exports.AddShape = exports.AddMasterSlide = exports.AddLayoutSlide = exports.Task = exports.AccessPermissions = exports.AccentElement = exports.MathElement = void 0;
|
|
27
27
|
exports.GlowEffect = exports.GifExportOptions = exports.ImageExportOptionsBase = exports.GeometryPaths = exports.GeometryPath = exports.FunctionElement = exports.FractionElement = exports.FormatScheme = exports.FontsData = exports.FontSubstRule = exports.FontSet = exports.FontScheme = exports.FontFallbackRule = exports.FontData = exports.FillOverlayImageEffect = exports.FillOverlayEffect = exports.FillFormat = exports.FilesUploadResult = exports.FilesList = exports.FileVersions = exports.FileVersion = exports.StorageFile = exports.ExportOptions = exports.ExportFormat = exports.ErrorDetails = exports.EntityExists = exports.EffectFormat = exports.Effect = exports.DuotoneEffect = exports.DrawingGuide = exports.DocumentReplaceResult = exports.DocumentProperty = exports.DocumentProperties = exports.Document = exports.DiscUsage = exports.DelimiterElement = exports.DataSource = exports.CustomDashPattern = exports.CubicBezierToPathSegment = exports.Connector = exports.CommonSlideViewProperties = exports.CommentAuthors = exports.CommentAuthor = exports.ColorScheme = exports.ColorReplaceEffect = exports.ColorChangeEffect = exports.ClosePathSegment = exports.ChartWallType = exports.ChartWall = exports.ChartTitle = void 0;
|
|
28
28
|
exports.OleObjectFrame = exports.ObjectExist = exports.NotesSlideHeaderFooter = exports.NotesSlideExportFormat = exports.NotesSlide = exports.NotesCommentsLayoutingOptions = exports.NormalViewRestoredProperties = exports.NoFill = exports.NaryOperatorElement = exports.MoveToPathSegment = exports.ModelError = exports.MergingSource = exports.Merge = exports.MatrixElement = exports.MathParagraph = exports.MathFormat = exports.MasterSlides = exports.MasterSlide = exports.MarkdownExportOptions = exports.LuminanceEffect = exports.Literals = exports.LineToPathSegment = exports.LineFormat = exports.LimitElement = exports.LightRig = exports.Legend = exports.LeftSubSuperscriptElement = exports.LayoutSlides = exports.LayoutSlide = exports.InteractiveSequence = exports.Input = exports.InnerShadowEffect = exports.Images = exports.ImageExportOptions = exports.ImageExportFormat = exports.Image = exports.IShapeExportOptions = exports.Hyperlink = exports.HtmlExportOptions = exports.Html5ExportOptions = exports.HslEffect = exports.HeaderFooter = exports.HandoutLayoutingOptions = exports.SlidesLayoutOptions = exports.GroupingCharacterElement = exports.GroupShape = exports.GrayScaleEffect = exports.GraphicalObject = exports.GradientFillStop = exports.GradientFill = void 0;
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.ZoomFrame = exports.XpsExportOptions = exports.XamlExportOptions = exports.Workbook = exports.ViewProperties = exports.VideoFrame = exports.VideoExportOptions = exports.VbaReference = exports.VbaProject = exports.VbaModule = exports.UpdateShape = exports.UpdateBackground = exports.TintEffect = void 0;
|
|
29
|
+
exports.SectionZoomFrame = exports.ZoomObject = exports.Section = exports.ScatterSeries = exports.SaveSlide = exports.SaveShape = exports.Save = exports.RightSubSuperscriptElement = exports.ResponseOutputFile = exports.ResourceUri = exports.ResetSlide = exports.RequestInputFile = exports.ReplaceText = exports.ReorderSlide = exports.RemoveSlide = exports.RemoveShape = exports.ReflectionEffect = exports.RadicalElement = exports.QuadraticBezierToPathSegment = exports.ProtectionProperties = exports.PresetShadowEffect = exports.PresentationsMergeRequest = exports.PresentationToMerge = exports.PptxExportOptions = exports.Portions = exports.PortionFormat = exports.Portion = exports.PlotArea = exports.Placeholders = exports.Placeholder = exports.Pipeline = exports.PictureFrame = exports.PictureFill = exports.PhantomElement = exports.PdfImportOptions = exports.PdfExportOptions = exports.PatternFill = exports.PathOutputFile = exports.PathInputFile = exports.Paragraphs = exports.ParagraphFormat = exports.Paragraph = exports.OutputFile = exports.OuterShadowEffect = exports.OrderedMergeRequest = exports.OperationProgress = exports.OperationError = exports.Operation = exports.OneValueSeries = exports.OneValueChartDataPoint = void 0;
|
|
30
|
+
exports.ThreeDFormat = exports.Theme = exports.TextItems = exports.TextItem = exports.TextFrameFormat = exports.TextElement = exports.TextBounds = exports.TableRow = exports.TableColumn = exports.TableCellSplitType = exports.TableCellMergeOptions = exports.TableCell = exports.Table = exports.SwfExportOptions = exports.SvgExportOptions = exports.SuperscriptElement = exports.SummaryZoomSection = exports.SummaryZoomFrame = exports.SubscriptElement = exports.StorageExist = exports.SplitDocumentResult = exports.SpecialSlideType = exports.SolidFill = exports.SoftEdgeEffect = exports.SmartArtShape = exports.SmartArtNode = exports.SmartArt = exports.Slides = exports.SlideShowTransition = exports.SlideShowProperties = exports.SlideReplaceResult = exports.SlideProperties = exports.SlideModernComment = exports.SlideExportFormat = exports.SlideComments = exports.SlideComment = exports.SlideCommentBase = exports.SlideBackground = exports.SlideAnimation = exports.Slide = exports.ShapesAlignmentType = exports.Shapes = exports.ShapeType = exports.ShapeThumbnailBounds = exports.ShapeImageExportOptions = exports.ShapeExportFormat = exports.ShapeBevel = exports.Shape = exports.SeriesMarker = exports.Sections = void 0;
|
|
31
|
+
exports.ZoomFrame = exports.XpsExportOptions = exports.XamlExportOptions = exports.Workbook = exports.ViewProperties = exports.VideoFrame = exports.VideoExportOptions = exports.VbaReference = exports.VbaProject = exports.VbaModule = exports.UpdateShape = exports.UpdateBackground = exports.TintEffect = exports.TiffExportOptions = void 0;
|
|
32
32
|
/**
|
|
33
33
|
* Math element.
|
|
34
34
|
*/
|
|
@@ -57,6 +57,7 @@ exports.MathElement = MathElement;
|
|
|
57
57
|
TypeEnum[TypeEnum["RightSubSuperscriptElement"] = 'RightSubSuperscriptElement'] = "RightSubSuperscriptElement";
|
|
58
58
|
TypeEnum[TypeEnum["SubscriptElement"] = 'SubscriptElement'] = "SubscriptElement";
|
|
59
59
|
TypeEnum[TypeEnum["SuperscriptElement"] = 'SuperscriptElement'] = "SuperscriptElement";
|
|
60
|
+
TypeEnum[TypeEnum["Phantom"] = 'Phantom'] = "Phantom";
|
|
60
61
|
})(TypeEnum = MathElement.TypeEnum || (MathElement.TypeEnum = {}));
|
|
61
62
|
})(MathElement = exports.MathElement || (exports.MathElement = {}));
|
|
62
63
|
/**
|
|
@@ -3231,6 +3232,16 @@ exports.PdfExportOptions = PdfExportOptions;
|
|
|
3231
3232
|
class PdfImportOptions {
|
|
3232
3233
|
}
|
|
3233
3234
|
exports.PdfImportOptions = PdfImportOptions;
|
|
3235
|
+
/**
|
|
3236
|
+
* Specifies an instance of mathematical text that contained within a MathParagraph and starts on its own line.
|
|
3237
|
+
*/
|
|
3238
|
+
class PhantomElement extends MathElement {
|
|
3239
|
+
constructor() {
|
|
3240
|
+
super();
|
|
3241
|
+
this.type = PhantomElement.TypeEnum.Phantom;
|
|
3242
|
+
}
|
|
3243
|
+
}
|
|
3244
|
+
exports.PhantomElement = PhantomElement;
|
|
3234
3245
|
/**
|
|
3235
3246
|
* Picture fill.
|
|
3236
3247
|
*/
|
|
@@ -3555,6 +3566,19 @@ exports.PptxExportOptions = PptxExportOptions;
|
|
|
3555
3566
|
Zip64ModeEnum[Zip64ModeEnum["IfNecessary"] = 'IfNecessary'] = "IfNecessary";
|
|
3556
3567
|
Zip64ModeEnum[Zip64ModeEnum["Always"] = 'Always'] = "Always";
|
|
3557
3568
|
})(Zip64ModeEnum = PptxExportOptions.Zip64ModeEnum || (PptxExportOptions.Zip64ModeEnum = {}));
|
|
3569
|
+
let CompressionLevelEnum;
|
|
3570
|
+
(function (CompressionLevelEnum) {
|
|
3571
|
+
CompressionLevelEnum[CompressionLevelEnum["None"] = 'None'] = "None";
|
|
3572
|
+
CompressionLevelEnum[CompressionLevelEnum["Level1"] = 'Level1'] = "Level1";
|
|
3573
|
+
CompressionLevelEnum[CompressionLevelEnum["Level2"] = 'Level2'] = "Level2";
|
|
3574
|
+
CompressionLevelEnum[CompressionLevelEnum["Level3"] = 'Level3'] = "Level3";
|
|
3575
|
+
CompressionLevelEnum[CompressionLevelEnum["Level4"] = 'Level4'] = "Level4";
|
|
3576
|
+
CompressionLevelEnum[CompressionLevelEnum["Level5"] = 'Level5'] = "Level5";
|
|
3577
|
+
CompressionLevelEnum[CompressionLevelEnum["Level6"] = 'Level6'] = "Level6";
|
|
3578
|
+
CompressionLevelEnum[CompressionLevelEnum["Level7"] = 'Level7'] = "Level7";
|
|
3579
|
+
CompressionLevelEnum[CompressionLevelEnum["Level8"] = 'Level8'] = "Level8";
|
|
3580
|
+
CompressionLevelEnum[CompressionLevelEnum["Level9"] = 'Level9'] = "Level9";
|
|
3581
|
+
})(CompressionLevelEnum = PptxExportOptions.CompressionLevelEnum || (PptxExportOptions.CompressionLevelEnum = {}));
|
|
3558
3582
|
})(PptxExportOptions = exports.PptxExportOptions || (exports.PptxExportOptions = {}));
|
|
3559
3583
|
/**
|
|
3560
3584
|
* Represents presentation to merge
|