asposeslidescloud 22.8.0 → 22.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.
- package/README.md +11 -1
- package/api.d.ts +95 -9
- package/api.js +293 -9
- package/internal/requestHelper.js +1 -1
- package/model.d.ts +37 -0
- package/model.js +11 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.
|
|
5
5
|
|
|
6
|
-
You may want to check out Aspose free [
|
|
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.
|
package/api.d.ts
CHANGED
|
@@ -429,6 +429,22 @@ export declare class SlidesApi {
|
|
|
429
429
|
response: http.ServerResponse;
|
|
430
430
|
body: model.Slides;
|
|
431
431
|
}>;
|
|
432
|
+
/**
|
|
433
|
+
* Add SmartArt node
|
|
434
|
+
* @param name Document name.
|
|
435
|
+
* @param slideIndex Slide index.
|
|
436
|
+
* @param smartArtIndex Index of the object on the slide among the same type of objects.
|
|
437
|
+
* @param subNode Sub-node path (e.g. \"3\", \"3/nodes/2).
|
|
438
|
+
* @param text Node text.
|
|
439
|
+
* @param position Position to insert a new node.
|
|
440
|
+
* @param password Document password.
|
|
441
|
+
* @param folder Document folder.
|
|
442
|
+
* @param storage Document storage.
|
|
443
|
+
*/
|
|
444
|
+
createSmartArtNode(name: string, slideIndex: number, smartArtIndex: number, subNode?: string, text?: string, position?: number, password?: string, folder?: string, storage?: string): Promise<{
|
|
445
|
+
response: http.ServerResponse;
|
|
446
|
+
body: model.SmartArt;
|
|
447
|
+
}>;
|
|
432
448
|
/**
|
|
433
449
|
* Add an effect to special slide (master, layout, notes) animation.
|
|
434
450
|
* @param name Document name.
|
|
@@ -841,7 +857,7 @@ export declare class SlidesApi {
|
|
|
841
857
|
/**
|
|
842
858
|
* Removes specified embedded font and returns presentation.
|
|
843
859
|
* @param document Document data.
|
|
844
|
-
* @param fontName
|
|
860
|
+
* @param fontName Font name.
|
|
845
861
|
* @param password Document password.
|
|
846
862
|
*/
|
|
847
863
|
deleteEmbeddedFontOnline(document: Readable, fontName: string, password?: string): Promise<{
|
|
@@ -1056,6 +1072,21 @@ export declare class SlidesApi {
|
|
|
1056
1072
|
response: http.ServerResponse;
|
|
1057
1073
|
body: model.Slides;
|
|
1058
1074
|
}>;
|
|
1075
|
+
/**
|
|
1076
|
+
* Delete SmartArt node
|
|
1077
|
+
* @param name Document name.
|
|
1078
|
+
* @param slideIndex Slide index.
|
|
1079
|
+
* @param smartArtIndex Index of the object on the slide among the same type of objects.
|
|
1080
|
+
* @param nodeIndex Root level node index.
|
|
1081
|
+
* @param subNode Sub-node path (e.g. \"3\", \"3/nodes/2).
|
|
1082
|
+
* @param password Document password.
|
|
1083
|
+
* @param folder Document folder.
|
|
1084
|
+
* @param storage Document storage.
|
|
1085
|
+
*/
|
|
1086
|
+
deleteSmartArtNode(name: string, slideIndex: number, smartArtIndex: number, nodeIndex: number, subNode?: string, password?: string, folder?: string, storage?: string): Promise<{
|
|
1087
|
+
response: http.ServerResponse;
|
|
1088
|
+
body: model.SmartArt;
|
|
1089
|
+
}>;
|
|
1059
1090
|
/**
|
|
1060
1091
|
* Remove animation from a special slide (master, layout, notes).
|
|
1061
1092
|
* @param name Document name.
|
|
@@ -1580,8 +1611,8 @@ export declare class SlidesApi {
|
|
|
1580
1611
|
* @param name Document name.
|
|
1581
1612
|
* @param slideIndex Slide index.
|
|
1582
1613
|
* @param format Output file format.
|
|
1583
|
-
* @param width
|
|
1584
|
-
* @param height
|
|
1614
|
+
* @param width The width of the slide representation in the output format.
|
|
1615
|
+
* @param height The height of the slide representation in the output format
|
|
1585
1616
|
* @param password Document password.
|
|
1586
1617
|
* @param folder Document folder.
|
|
1587
1618
|
* @param storage Document storage.
|
|
@@ -1596,8 +1627,8 @@ export declare class SlidesApi {
|
|
|
1596
1627
|
* @param document Document data.
|
|
1597
1628
|
* @param slideIndex Slide index.
|
|
1598
1629
|
* @param format Output file format.
|
|
1599
|
-
* @param width
|
|
1600
|
-
* @param height
|
|
1630
|
+
* @param width The width of the slide representation in the output format.
|
|
1631
|
+
* @param height The height of the slide representation in the output format.
|
|
1601
1632
|
* @param password Document password.
|
|
1602
1633
|
* @param fontsFolder Storage folder containing custom fonts to be used with the document.
|
|
1603
1634
|
*/
|
|
@@ -2705,11 +2736,12 @@ export declare class SlidesApi {
|
|
|
2705
2736
|
* @param width The width of the imported group of shapes (default is SVG image width).
|
|
2706
2737
|
* @param height The height of the imported group of shapes (default is SVG image width).
|
|
2707
2738
|
* @param shapes Indexes of shapes to import. All shapes are imported if not specified.
|
|
2739
|
+
* @param group If true, the set of shapes will be imported as a one group shape.
|
|
2708
2740
|
* @param password Document password.
|
|
2709
2741
|
* @param folder Presentation folder.
|
|
2710
2742
|
* @param storage Presentation storage.
|
|
2711
2743
|
*/
|
|
2712
|
-
importShapesFromSvg(name: string, slideIndex: number, image?: Readable, x?: number, y?: number, width?: number, height?: number, shapes?: Array<number>, password?: string, folder?: string, storage?: string): Promise<{
|
|
2744
|
+
importShapesFromSvg(name: string, slideIndex: number, image?: Readable, x?: number, y?: number, width?: number, height?: number, shapes?: Array<number>, group?: boolean, password?: string, folder?: string, storage?: string): Promise<{
|
|
2713
2745
|
response: http.ServerResponse;
|
|
2714
2746
|
body: model.Shapes;
|
|
2715
2747
|
}>;
|
|
@@ -2858,6 +2890,34 @@ export declare class SlidesApi {
|
|
|
2858
2890
|
response: http.ServerResponse;
|
|
2859
2891
|
body: model.Slides;
|
|
2860
2892
|
}>;
|
|
2893
|
+
/**
|
|
2894
|
+
* Replaces specified font and returns presentation fonts info.
|
|
2895
|
+
* @param name Document name.
|
|
2896
|
+
* @param sourceFont Source font name.
|
|
2897
|
+
* @param targetFont Target font name.
|
|
2898
|
+
* @param embed Embed target font.
|
|
2899
|
+
* @param password Document password.
|
|
2900
|
+
* @param folder Document folder.
|
|
2901
|
+
* @param storage Document storage.
|
|
2902
|
+
* @param fontsFolder Custom fonts folder.
|
|
2903
|
+
*/
|
|
2904
|
+
replaceFont(name: string, sourceFont: string, targetFont: string, embed?: boolean, password?: string, folder?: string, storage?: string, fontsFolder?: string): Promise<{
|
|
2905
|
+
response: http.ServerResponse;
|
|
2906
|
+
body: model.FontsData;
|
|
2907
|
+
}>;
|
|
2908
|
+
/**
|
|
2909
|
+
* Replaces specified font and returns presentation.
|
|
2910
|
+
* @param document Document data.
|
|
2911
|
+
* @param sourceFont Source font name.
|
|
2912
|
+
* @param targetFont Target font name.
|
|
2913
|
+
* @param embed Embed target font.
|
|
2914
|
+
* @param password Document password.
|
|
2915
|
+
* @param fontsFolder Custom fonts folder.
|
|
2916
|
+
*/
|
|
2917
|
+
replaceFontOnline(document: Readable, sourceFont: string, targetFont: string, embed?: boolean, password?: string, fontsFolder?: string): Promise<{
|
|
2918
|
+
response: http.ServerResponse;
|
|
2919
|
+
body: Buffer;
|
|
2920
|
+
}>;
|
|
2861
2921
|
/**
|
|
2862
2922
|
* Replace text with a new value.
|
|
2863
2923
|
* @param name Document name.
|
|
@@ -3199,24 +3259,50 @@ export declare class SlidesApi {
|
|
|
3199
3259
|
/**
|
|
3200
3260
|
* Embeds specified font and returns presentation fonts info.
|
|
3201
3261
|
* @param name Document name.
|
|
3202
|
-
* @param fontName
|
|
3262
|
+
* @param fontName Font name.
|
|
3203
3263
|
* @param onlyUsed Only used characters will be embedded.
|
|
3204
3264
|
* @param password Document password.
|
|
3205
3265
|
* @param folder Document folder.
|
|
3206
3266
|
* @param storage Document storage.
|
|
3267
|
+
* @param fontsFolder Custom fonts folder.
|
|
3207
3268
|
*/
|
|
3208
|
-
setEmbeddedFont(name: string, fontName: string, onlyUsed?: boolean, password?: string, folder?: string, storage?: string): Promise<{
|
|
3269
|
+
setEmbeddedFont(name: string, fontName: string, onlyUsed?: boolean, password?: string, folder?: string, storage?: string, fontsFolder?: string): Promise<{
|
|
3209
3270
|
response: http.ServerResponse;
|
|
3210
3271
|
body: model.FontsData;
|
|
3211
3272
|
}>;
|
|
3273
|
+
/**
|
|
3274
|
+
* Embeds font from request and returns presentation fonts info.
|
|
3275
|
+
* @param font Font data.
|
|
3276
|
+
* @param name Document name.
|
|
3277
|
+
* @param onlyUsed Only used characters will be embedded.
|
|
3278
|
+
* @param password Document password.
|
|
3279
|
+
* @param folder Document folder.
|
|
3280
|
+
* @param storage Document storage.
|
|
3281
|
+
*/
|
|
3282
|
+
setEmbeddedFontFromRequest(font: Readable, name: string, onlyUsed?: boolean, password?: string, folder?: string, storage?: string): Promise<{
|
|
3283
|
+
response: http.ServerResponse;
|
|
3284
|
+
body: model.FontsData;
|
|
3285
|
+
}>;
|
|
3286
|
+
/**
|
|
3287
|
+
* Embeds font from request and returns presentation.
|
|
3288
|
+
* @param document Document data.
|
|
3289
|
+
* @param font Font data.
|
|
3290
|
+
* @param onlyUsed Only used characters will be embedded.
|
|
3291
|
+
* @param password Document password.
|
|
3292
|
+
*/
|
|
3293
|
+
setEmbeddedFontFromRequestOnline(document: Readable, font: Readable, onlyUsed?: boolean, password?: string): Promise<{
|
|
3294
|
+
response: http.ServerResponse;
|
|
3295
|
+
body: Buffer;
|
|
3296
|
+
}>;
|
|
3212
3297
|
/**
|
|
3213
3298
|
* Embeds specified font and returns presentation.
|
|
3214
3299
|
* @param document Document data.
|
|
3215
3300
|
* @param fontName Font name.
|
|
3216
3301
|
* @param onlyUsed Only used characters will be embedded.
|
|
3217
3302
|
* @param password Document password.
|
|
3303
|
+
* @param fontsFolder Custom fonts folder.
|
|
3218
3304
|
*/
|
|
3219
|
-
setEmbeddedFontOnline(document: Readable, fontName: string, onlyUsed?: boolean, password?: string): Promise<{
|
|
3305
|
+
setEmbeddedFontOnline(document: Readable, fontName: string, onlyUsed?: boolean, password?: string, fontsFolder?: string): Promise<{
|
|
3220
3306
|
response: http.ServerResponse;
|
|
3221
3307
|
body: Buffer;
|
|
3222
3308
|
}>;
|
package/api.js
CHANGED
|
@@ -1398,6 +1398,55 @@ class SlidesApi {
|
|
|
1398
1398
|
return Promise.resolve({ body: result, response });
|
|
1399
1399
|
});
|
|
1400
1400
|
}
|
|
1401
|
+
/**
|
|
1402
|
+
* Add SmartArt node
|
|
1403
|
+
* @param name Document name.
|
|
1404
|
+
* @param slideIndex Slide index.
|
|
1405
|
+
* @param smartArtIndex Index of the object on the slide among the same type of objects.
|
|
1406
|
+
* @param subNode Sub-node path (e.g. \"3\", \"3/nodes/2).
|
|
1407
|
+
* @param text Node text.
|
|
1408
|
+
* @param position Position to insert a new node.
|
|
1409
|
+
* @param password Document password.
|
|
1410
|
+
* @param folder Document folder.
|
|
1411
|
+
* @param storage Document storage.
|
|
1412
|
+
*/
|
|
1413
|
+
createSmartArtNode(name, slideIndex, smartArtIndex, subNode = null, text = null, position = null, password = null, folder = null, storage = null) {
|
|
1414
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1415
|
+
// verify required parameter 'name' is not null or undefined
|
|
1416
|
+
if (name === null || name === undefined) {
|
|
1417
|
+
throw new Error('The required parameter "name" was null or undefined when calling createSmartArtNode.');
|
|
1418
|
+
}
|
|
1419
|
+
// verify required parameter 'slideIndex' is not null or undefined
|
|
1420
|
+
if (slideIndex === null || slideIndex === undefined) {
|
|
1421
|
+
throw new Error('The required parameter "slideIndex" was null or undefined when calling createSmartArtNode.');
|
|
1422
|
+
}
|
|
1423
|
+
// verify required parameter 'smartArtIndex' is not null or undefined
|
|
1424
|
+
if (smartArtIndex === null || smartArtIndex === undefined) {
|
|
1425
|
+
throw new Error('The required parameter "smartArtIndex" was null or undefined when calling createSmartArtNode.');
|
|
1426
|
+
}
|
|
1427
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/SmartArts/{smartArtIndex}/nodes";
|
|
1428
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
1429
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
|
|
1430
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "smartArtIndex", objectSerializer_1.ObjectSerializer.toString(smartArtIndex));
|
|
1431
|
+
const queryParameters = {};
|
|
1432
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "subNode", subNode);
|
|
1433
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "text", text);
|
|
1434
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "position", position);
|
|
1435
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
1436
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
1437
|
+
const requestOptions = {
|
|
1438
|
+
method: "POST",
|
|
1439
|
+
qs: queryParameters,
|
|
1440
|
+
headers: {},
|
|
1441
|
+
uri: localVarPath,
|
|
1442
|
+
json: true
|
|
1443
|
+
};
|
|
1444
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
1445
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
1446
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "SmartArt");
|
|
1447
|
+
return Promise.resolve({ body: result, response });
|
|
1448
|
+
});
|
|
1449
|
+
}
|
|
1401
1450
|
/**
|
|
1402
1451
|
* Add an effect to special slide (master, layout, notes) animation.
|
|
1403
1452
|
* @param name Document name.
|
|
@@ -2765,7 +2814,7 @@ class SlidesApi {
|
|
|
2765
2814
|
/**
|
|
2766
2815
|
* Removes specified embedded font and returns presentation.
|
|
2767
2816
|
* @param document Document data.
|
|
2768
|
-
* @param fontName
|
|
2817
|
+
* @param fontName Font name.
|
|
2769
2818
|
* @param password Document password.
|
|
2770
2819
|
*/
|
|
2771
2820
|
deleteEmbeddedFontOnline(document, fontName, password = null) {
|
|
@@ -3452,6 +3501,57 @@ class SlidesApi {
|
|
|
3452
3501
|
return Promise.resolve({ body: result, response });
|
|
3453
3502
|
});
|
|
3454
3503
|
}
|
|
3504
|
+
/**
|
|
3505
|
+
* Delete SmartArt node
|
|
3506
|
+
* @param name Document name.
|
|
3507
|
+
* @param slideIndex Slide index.
|
|
3508
|
+
* @param smartArtIndex Index of the object on the slide among the same type of objects.
|
|
3509
|
+
* @param nodeIndex Root level node index.
|
|
3510
|
+
* @param subNode Sub-node path (e.g. \"3\", \"3/nodes/2).
|
|
3511
|
+
* @param password Document password.
|
|
3512
|
+
* @param folder Document folder.
|
|
3513
|
+
* @param storage Document storage.
|
|
3514
|
+
*/
|
|
3515
|
+
deleteSmartArtNode(name, slideIndex, smartArtIndex, nodeIndex, subNode = null, password = null, folder = null, storage = null) {
|
|
3516
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3517
|
+
// verify required parameter 'name' is not null or undefined
|
|
3518
|
+
if (name === null || name === undefined) {
|
|
3519
|
+
throw new Error('The required parameter "name" was null or undefined when calling deleteSmartArtNode.');
|
|
3520
|
+
}
|
|
3521
|
+
// verify required parameter 'slideIndex' is not null or undefined
|
|
3522
|
+
if (slideIndex === null || slideIndex === undefined) {
|
|
3523
|
+
throw new Error('The required parameter "slideIndex" was null or undefined when calling deleteSmartArtNode.');
|
|
3524
|
+
}
|
|
3525
|
+
// verify required parameter 'smartArtIndex' is not null or undefined
|
|
3526
|
+
if (smartArtIndex === null || smartArtIndex === undefined) {
|
|
3527
|
+
throw new Error('The required parameter "smartArtIndex" was null or undefined when calling deleteSmartArtNode.');
|
|
3528
|
+
}
|
|
3529
|
+
// verify required parameter 'nodeIndex' is not null or undefined
|
|
3530
|
+
if (nodeIndex === null || nodeIndex === undefined) {
|
|
3531
|
+
throw new Error('The required parameter "nodeIndex" was null or undefined when calling deleteSmartArtNode.');
|
|
3532
|
+
}
|
|
3533
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/SmartArts/{smartArtIndex}/nodes/{nodeIndex}";
|
|
3534
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
3535
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
|
|
3536
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "smartArtIndex", objectSerializer_1.ObjectSerializer.toString(smartArtIndex));
|
|
3537
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "nodeIndex", objectSerializer_1.ObjectSerializer.toString(nodeIndex));
|
|
3538
|
+
const queryParameters = {};
|
|
3539
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "subNode", subNode);
|
|
3540
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
3541
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
3542
|
+
const requestOptions = {
|
|
3543
|
+
method: "DELETE",
|
|
3544
|
+
qs: queryParameters,
|
|
3545
|
+
headers: {},
|
|
3546
|
+
uri: localVarPath,
|
|
3547
|
+
json: true
|
|
3548
|
+
};
|
|
3549
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
3550
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
3551
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "SmartArt");
|
|
3552
|
+
return Promise.resolve({ body: result, response });
|
|
3553
|
+
});
|
|
3554
|
+
}
|
|
3455
3555
|
/**
|
|
3456
3556
|
* Remove animation from a special slide (master, layout, notes).
|
|
3457
3557
|
* @param name Document name.
|
|
@@ -5282,8 +5382,8 @@ class SlidesApi {
|
|
|
5282
5382
|
* @param name Document name.
|
|
5283
5383
|
* @param slideIndex Slide index.
|
|
5284
5384
|
* @param format Output file format.
|
|
5285
|
-
* @param width
|
|
5286
|
-
* @param height
|
|
5385
|
+
* @param width The width of the slide representation in the output format.
|
|
5386
|
+
* @param height The height of the slide representation in the output format
|
|
5287
5387
|
* @param password Document password.
|
|
5288
5388
|
* @param folder Document folder.
|
|
5289
5389
|
* @param storage Document storage.
|
|
@@ -5335,8 +5435,8 @@ class SlidesApi {
|
|
|
5335
5435
|
* @param document Document data.
|
|
5336
5436
|
* @param slideIndex Slide index.
|
|
5337
5437
|
* @param format Output file format.
|
|
5338
|
-
* @param width
|
|
5339
|
-
* @param height
|
|
5438
|
+
* @param width The width of the slide representation in the output format.
|
|
5439
|
+
* @param height The height of the slide representation in the output format.
|
|
5340
5440
|
* @param password Document password.
|
|
5341
5441
|
* @param fontsFolder Storage folder containing custom fonts to be used with the document.
|
|
5342
5442
|
*/
|
|
@@ -9026,11 +9126,12 @@ class SlidesApi {
|
|
|
9026
9126
|
* @param width The width of the imported group of shapes (default is SVG image width).
|
|
9027
9127
|
* @param height The height of the imported group of shapes (default is SVG image width).
|
|
9028
9128
|
* @param shapes Indexes of shapes to import. All shapes are imported if not specified.
|
|
9129
|
+
* @param group If true, the set of shapes will be imported as a one group shape.
|
|
9029
9130
|
* @param password Document password.
|
|
9030
9131
|
* @param folder Presentation folder.
|
|
9031
9132
|
* @param storage Presentation storage.
|
|
9032
9133
|
*/
|
|
9033
|
-
importShapesFromSvg(name, slideIndex, image = null, x = null, y = null, width = null, height = null, shapes = null, password = null, folder = null, storage = null) {
|
|
9134
|
+
importShapesFromSvg(name, slideIndex, image = null, x = null, y = null, width = null, height = null, shapes = null, group = null, password = null, folder = null, storage = null) {
|
|
9034
9135
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9035
9136
|
// verify required parameter 'name' is not null or undefined
|
|
9036
9137
|
if (name === null || name === undefined) {
|
|
@@ -9049,6 +9150,7 @@ class SlidesApi {
|
|
|
9049
9150
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "width", width);
|
|
9050
9151
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "height", height);
|
|
9051
9152
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "shapes", shapes);
|
|
9153
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "group", group);
|
|
9052
9154
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
9053
9155
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
9054
9156
|
const requestOptions = {
|
|
@@ -9518,6 +9620,100 @@ class SlidesApi {
|
|
|
9518
9620
|
return Promise.resolve({ body: result, response });
|
|
9519
9621
|
});
|
|
9520
9622
|
}
|
|
9623
|
+
/**
|
|
9624
|
+
* Replaces specified font and returns presentation fonts info.
|
|
9625
|
+
* @param name Document name.
|
|
9626
|
+
* @param sourceFont Source font name.
|
|
9627
|
+
* @param targetFont Target font name.
|
|
9628
|
+
* @param embed Embed target font.
|
|
9629
|
+
* @param password Document password.
|
|
9630
|
+
* @param folder Document folder.
|
|
9631
|
+
* @param storage Document storage.
|
|
9632
|
+
* @param fontsFolder Custom fonts folder.
|
|
9633
|
+
*/
|
|
9634
|
+
replaceFont(name, sourceFont, targetFont, embed = null, password = null, folder = null, storage = null, fontsFolder = null) {
|
|
9635
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9636
|
+
// verify required parameter 'name' is not null or undefined
|
|
9637
|
+
if (name === null || name === undefined) {
|
|
9638
|
+
throw new Error('The required parameter "name" was null or undefined when calling replaceFont.');
|
|
9639
|
+
}
|
|
9640
|
+
// verify required parameter 'sourceFont' is not null or undefined
|
|
9641
|
+
if (sourceFont === null || sourceFont === undefined) {
|
|
9642
|
+
throw new Error('The required parameter "sourceFont" was null or undefined when calling replaceFont.');
|
|
9643
|
+
}
|
|
9644
|
+
// verify required parameter 'targetFont' is not null or undefined
|
|
9645
|
+
if (targetFont === null || targetFont === undefined) {
|
|
9646
|
+
throw new Error('The required parameter "targetFont" was null or undefined when calling replaceFont.');
|
|
9647
|
+
}
|
|
9648
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/fonts/{sourceFont}/replace/{targetFont}";
|
|
9649
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
9650
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "sourceFont", objectSerializer_1.ObjectSerializer.toString(sourceFont));
|
|
9651
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "targetFont", objectSerializer_1.ObjectSerializer.toString(targetFont));
|
|
9652
|
+
const queryParameters = {};
|
|
9653
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "embed", embed);
|
|
9654
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
9655
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
9656
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "fontsFolder", fontsFolder);
|
|
9657
|
+
const requestOptions = {
|
|
9658
|
+
method: "POST",
|
|
9659
|
+
qs: queryParameters,
|
|
9660
|
+
headers: {},
|
|
9661
|
+
uri: localVarPath,
|
|
9662
|
+
json: true
|
|
9663
|
+
};
|
|
9664
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
9665
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
9666
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "FontsData");
|
|
9667
|
+
return Promise.resolve({ body: result, response });
|
|
9668
|
+
});
|
|
9669
|
+
}
|
|
9670
|
+
/**
|
|
9671
|
+
* Replaces specified font and returns presentation.
|
|
9672
|
+
* @param document Document data.
|
|
9673
|
+
* @param sourceFont Source font name.
|
|
9674
|
+
* @param targetFont Target font name.
|
|
9675
|
+
* @param embed Embed target font.
|
|
9676
|
+
* @param password Document password.
|
|
9677
|
+
* @param fontsFolder Custom fonts folder.
|
|
9678
|
+
*/
|
|
9679
|
+
replaceFontOnline(document, sourceFont, targetFont, embed = null, password = null, fontsFolder = null) {
|
|
9680
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9681
|
+
// verify required parameter 'document' is not null or undefined
|
|
9682
|
+
if (document === null || document === undefined) {
|
|
9683
|
+
throw new Error('The required parameter "document" was null or undefined when calling replaceFontOnline.');
|
|
9684
|
+
}
|
|
9685
|
+
// verify required parameter 'sourceFont' is not null or undefined
|
|
9686
|
+
if (sourceFont === null || sourceFont === undefined) {
|
|
9687
|
+
throw new Error('The required parameter "sourceFont" was null or undefined when calling replaceFontOnline.');
|
|
9688
|
+
}
|
|
9689
|
+
// verify required parameter 'targetFont' is not null or undefined
|
|
9690
|
+
if (targetFont === null || targetFont === undefined) {
|
|
9691
|
+
throw new Error('The required parameter "targetFont" was null or undefined when calling replaceFontOnline.');
|
|
9692
|
+
}
|
|
9693
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/fonts/{sourceFont}/replace/{targetFont}";
|
|
9694
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "sourceFont", objectSerializer_1.ObjectSerializer.toString(sourceFont));
|
|
9695
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "targetFont", objectSerializer_1.ObjectSerializer.toString(targetFont));
|
|
9696
|
+
const queryParameters = {};
|
|
9697
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "embed", embed);
|
|
9698
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "fontsFolder", fontsFolder);
|
|
9699
|
+
const requestOptions = {
|
|
9700
|
+
method: "POST",
|
|
9701
|
+
qs: queryParameters,
|
|
9702
|
+
headers: {},
|
|
9703
|
+
uri: localVarPath,
|
|
9704
|
+
encoding: null
|
|
9705
|
+
};
|
|
9706
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
9707
|
+
let localVarFiles = [];
|
|
9708
|
+
if (document != null) {
|
|
9709
|
+
localVarFiles.push(document);
|
|
9710
|
+
}
|
|
9711
|
+
(0, requestHelper_1.checkMultipartContent)(requestOptions, localVarFiles);
|
|
9712
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
9713
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "Buffer");
|
|
9714
|
+
return Promise.resolve({ body: result, response });
|
|
9715
|
+
});
|
|
9716
|
+
}
|
|
9521
9717
|
/**
|
|
9522
9718
|
* Replace text with a new value.
|
|
9523
9719
|
* @param name Document name.
|
|
@@ -10748,13 +10944,14 @@ class SlidesApi {
|
|
|
10748
10944
|
/**
|
|
10749
10945
|
* Embeds specified font and returns presentation fonts info.
|
|
10750
10946
|
* @param name Document name.
|
|
10751
|
-
* @param fontName
|
|
10947
|
+
* @param fontName Font name.
|
|
10752
10948
|
* @param onlyUsed Only used characters will be embedded.
|
|
10753
10949
|
* @param password Document password.
|
|
10754
10950
|
* @param folder Document folder.
|
|
10755
10951
|
* @param storage Document storage.
|
|
10952
|
+
* @param fontsFolder Custom fonts folder.
|
|
10756
10953
|
*/
|
|
10757
|
-
setEmbeddedFont(name, fontName, onlyUsed = null, password = null, folder = null, storage = null) {
|
|
10954
|
+
setEmbeddedFont(name, fontName, onlyUsed = null, password = null, folder = null, storage = null, fontsFolder = null) {
|
|
10758
10955
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10759
10956
|
// verify required parameter 'name' is not null or undefined
|
|
10760
10957
|
if (name === null || name === undefined) {
|
|
@@ -10771,6 +10968,7 @@ class SlidesApi {
|
|
|
10771
10968
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "onlyUsed", onlyUsed);
|
|
10772
10969
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
10773
10970
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
10971
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "fontsFolder", fontsFolder);
|
|
10774
10972
|
const requestOptions = {
|
|
10775
10973
|
method: "POST",
|
|
10776
10974
|
qs: queryParameters,
|
|
@@ -10784,14 +10982,99 @@ class SlidesApi {
|
|
|
10784
10982
|
return Promise.resolve({ body: result, response });
|
|
10785
10983
|
});
|
|
10786
10984
|
}
|
|
10985
|
+
/**
|
|
10986
|
+
* Embeds font from request and returns presentation fonts info.
|
|
10987
|
+
* @param font Font data.
|
|
10988
|
+
* @param name Document name.
|
|
10989
|
+
* @param onlyUsed Only used characters will be embedded.
|
|
10990
|
+
* @param password Document password.
|
|
10991
|
+
* @param folder Document folder.
|
|
10992
|
+
* @param storage Document storage.
|
|
10993
|
+
*/
|
|
10994
|
+
setEmbeddedFontFromRequest(font, name, onlyUsed = null, password = null, folder = null, storage = null) {
|
|
10995
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10996
|
+
// verify required parameter 'font' is not null or undefined
|
|
10997
|
+
if (font === null || font === undefined) {
|
|
10998
|
+
throw new Error('The required parameter "font" was null or undefined when calling setEmbeddedFontFromRequest.');
|
|
10999
|
+
}
|
|
11000
|
+
// verify required parameter 'name' is not null or undefined
|
|
11001
|
+
if (name === null || name === undefined) {
|
|
11002
|
+
throw new Error('The required parameter "name" was null or undefined when calling setEmbeddedFontFromRequest.');
|
|
11003
|
+
}
|
|
11004
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/fonts/embedded";
|
|
11005
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
11006
|
+
const queryParameters = {};
|
|
11007
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "onlyUsed", onlyUsed);
|
|
11008
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
11009
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
11010
|
+
const requestOptions = {
|
|
11011
|
+
method: "POST",
|
|
11012
|
+
qs: queryParameters,
|
|
11013
|
+
headers: {},
|
|
11014
|
+
uri: localVarPath,
|
|
11015
|
+
json: true
|
|
11016
|
+
};
|
|
11017
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
11018
|
+
let localVarFiles = [];
|
|
11019
|
+
if (font != null) {
|
|
11020
|
+
localVarFiles.push(font);
|
|
11021
|
+
}
|
|
11022
|
+
(0, requestHelper_1.checkMultipartContent)(requestOptions, localVarFiles);
|
|
11023
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
11024
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "FontsData");
|
|
11025
|
+
return Promise.resolve({ body: result, response });
|
|
11026
|
+
});
|
|
11027
|
+
}
|
|
11028
|
+
/**
|
|
11029
|
+
* Embeds font from request and returns presentation.
|
|
11030
|
+
* @param document Document data.
|
|
11031
|
+
* @param font Font data.
|
|
11032
|
+
* @param onlyUsed Only used characters will be embedded.
|
|
11033
|
+
* @param password Document password.
|
|
11034
|
+
*/
|
|
11035
|
+
setEmbeddedFontFromRequestOnline(document, font, onlyUsed = null, password = null) {
|
|
11036
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11037
|
+
// verify required parameter 'document' is not null or undefined
|
|
11038
|
+
if (document === null || document === undefined) {
|
|
11039
|
+
throw new Error('The required parameter "document" was null or undefined when calling setEmbeddedFontFromRequestOnline.');
|
|
11040
|
+
}
|
|
11041
|
+
// verify required parameter 'font' is not null or undefined
|
|
11042
|
+
if (font === null || font === undefined) {
|
|
11043
|
+
throw new Error('The required parameter "font" was null or undefined when calling setEmbeddedFontFromRequestOnline.');
|
|
11044
|
+
}
|
|
11045
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/fonts/embedded";
|
|
11046
|
+
const queryParameters = {};
|
|
11047
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "onlyUsed", onlyUsed);
|
|
11048
|
+
const requestOptions = {
|
|
11049
|
+
method: "POST",
|
|
11050
|
+
qs: queryParameters,
|
|
11051
|
+
headers: {},
|
|
11052
|
+
uri: localVarPath,
|
|
11053
|
+
encoding: null
|
|
11054
|
+
};
|
|
11055
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
11056
|
+
let localVarFiles = [];
|
|
11057
|
+
if (document != null) {
|
|
11058
|
+
localVarFiles.push(document);
|
|
11059
|
+
}
|
|
11060
|
+
if (font != null) {
|
|
11061
|
+
localVarFiles.push(font);
|
|
11062
|
+
}
|
|
11063
|
+
(0, requestHelper_1.checkMultipartContent)(requestOptions, localVarFiles);
|
|
11064
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
11065
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "Buffer");
|
|
11066
|
+
return Promise.resolve({ body: result, response });
|
|
11067
|
+
});
|
|
11068
|
+
}
|
|
10787
11069
|
/**
|
|
10788
11070
|
* Embeds specified font and returns presentation.
|
|
10789
11071
|
* @param document Document data.
|
|
10790
11072
|
* @param fontName Font name.
|
|
10791
11073
|
* @param onlyUsed Only used characters will be embedded.
|
|
10792
11074
|
* @param password Document password.
|
|
11075
|
+
* @param fontsFolder Custom fonts folder.
|
|
10793
11076
|
*/
|
|
10794
|
-
setEmbeddedFontOnline(document, fontName, onlyUsed = null, password = null) {
|
|
11077
|
+
setEmbeddedFontOnline(document, fontName, onlyUsed = null, password = null, fontsFolder = null) {
|
|
10795
11078
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10796
11079
|
// verify required parameter 'document' is not null or undefined
|
|
10797
11080
|
if (document === null || document === undefined) {
|
|
@@ -10805,6 +11088,7 @@ class SlidesApi {
|
|
|
10805
11088
|
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "fontName", objectSerializer_1.ObjectSerializer.toString(fontName));
|
|
10806
11089
|
const queryParameters = {};
|
|
10807
11090
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "onlyUsed", onlyUsed);
|
|
11091
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "fontsFolder", fontsFolder);
|
|
10808
11092
|
const requestOptions = {
|
|
10809
11093
|
method: "POST",
|
|
10810
11094
|
qs: queryParameters,
|
|
@@ -146,7 +146,7 @@ function invokeApiMethodInternal(requestOptions, confguration, notApplyAuthToReq
|
|
|
146
146
|
if (!requestOptions.headers) {
|
|
147
147
|
requestOptions.headers = {};
|
|
148
148
|
}
|
|
149
|
-
requestOptions.headers["x-aspose-client"] = "nodejs sdk v22.
|
|
149
|
+
requestOptions.headers["x-aspose-client"] = "nodejs sdk v22.9.0";
|
|
150
150
|
if (confguration.timeout) {
|
|
151
151
|
requestOptions.headers["x-aspose-timeout"] = confguration.timeout;
|
|
152
152
|
}
|
package/model.d.ts
CHANGED
|
@@ -719,6 +719,22 @@ export declare class CustomDashPattern {
|
|
|
719
719
|
* Data point.
|
|
720
720
|
*/
|
|
721
721
|
export declare class DataPoint {
|
|
722
|
+
/**
|
|
723
|
+
* Gets or sets the fill format.
|
|
724
|
+
*/
|
|
725
|
+
fillFormat?: FillFormat;
|
|
726
|
+
/**
|
|
727
|
+
* Gets or sets the effect format.
|
|
728
|
+
*/
|
|
729
|
+
effectFormat?: EffectFormat;
|
|
730
|
+
/**
|
|
731
|
+
* Gets or sets the 3D format
|
|
732
|
+
*/
|
|
733
|
+
threeDFormat?: ThreeDFormat;
|
|
734
|
+
/**
|
|
735
|
+
* Gets or sets the line format.
|
|
736
|
+
*/
|
|
737
|
+
lineFormat?: LineFormat;
|
|
722
738
|
}
|
|
723
739
|
/**
|
|
724
740
|
* Class for disc space information.
|
|
@@ -1132,6 +1148,10 @@ export declare class ExportOptions {
|
|
|
1132
1148
|
* Gets of sets list of font fallback rules.
|
|
1133
1149
|
*/
|
|
1134
1150
|
fontFallbackRules?: Array<FontFallbackRule>;
|
|
1151
|
+
/**
|
|
1152
|
+
* Gets of sets list of font substitution rules.
|
|
1153
|
+
*/
|
|
1154
|
+
fontSubstRules?: Array<FontSubstRule>;
|
|
1135
1155
|
format?: string;
|
|
1136
1156
|
}
|
|
1137
1157
|
/**
|
|
@@ -1246,6 +1266,23 @@ export declare class FontSet {
|
|
|
1246
1266
|
*/
|
|
1247
1267
|
latin?: string;
|
|
1248
1268
|
}
|
|
1269
|
+
/**
|
|
1270
|
+
* Represents font substitution rule.
|
|
1271
|
+
*/
|
|
1272
|
+
export declare class FontSubstRule {
|
|
1273
|
+
/**
|
|
1274
|
+
* Font to substitute.
|
|
1275
|
+
*/
|
|
1276
|
+
sourceFont?: string;
|
|
1277
|
+
/**
|
|
1278
|
+
* Substitution font.
|
|
1279
|
+
*/
|
|
1280
|
+
targetFont?: string;
|
|
1281
|
+
/**
|
|
1282
|
+
* Substitute when font is not found. Default: true.
|
|
1283
|
+
*/
|
|
1284
|
+
notFoundOnly?: boolean;
|
|
1285
|
+
}
|
|
1249
1286
|
/**
|
|
1250
1287
|
* List of fonts data
|
|
1251
1288
|
*/
|
package/model.js
CHANGED
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
* SOFTWARE.
|
|
24
24
|
*/
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.SummaryZoomSection = exports.ZoomFrame = exports.VideoFrame = exports.SmartArtShape = exports.Shape = exports.SectionZoomFrame = exports.PictureFrame = exports.Connector = exports.AudioFrame = exports.ZoomObject = exports.TiffExportOptions = exports.Table = exports.SummaryZoomFrame = exports.SmartArt = exports.SlideReplaceResult = exports.ScatterSeries = exports.OleObjectFrame = exports.ImageExportOptions = exports.GroupShape = exports.GraphicalObject = exports.GifExportOptions = exports.GeometryShape = exports.DocumentReplaceResult = exports.Chart = exports.BubbleSeries = exports.BubbleChartDataPoint = exports.XpsExportOptions = exports.XamlExportOptions = exports.XYSeries = exports.ViewProperties = exports.VideoExportOptions = exports.UpdateShape = exports.UpdateBackground = exports.TintEffect = exports.Theme = exports.TextItems = exports.TextElement = void 0;
|
|
26
|
+
exports.MathElement = exports.LineFormat = exports.LightRig = exports.Legend = exports.InteractiveSequence = exports.InputFile = exports.Input = exports.InnerShadowEffect = exports.ImageTransformEffect = exports.ImageExportFormat = exports.IShapeExportOptions = exports.Hyperlink = exports.GradientFillStop = exports.GlowEffect = exports.GeometryPaths = exports.GeometryPath = exports.FontsData = exports.FontSubstRule = exports.FontSet = exports.FontFallbackRule = exports.FontData = exports.FillOverlayEffect = exports.FillFormat = exports.FilesUploadResult = exports.FilesList = exports.FileVersions = exports.ExportOptions = exports.ExportFormat = exports.ErrorDetails = exports.EntityExists = exports.EffectFormat = exports.Effect = exports.DiscUsage = exports.DataPoint = exports.CustomDashPattern = exports.CommonSlideViewProperties = exports.ChartWallType = exports.ChartWall = exports.ChartTitle = exports.ChartSeriesGroup = exports.ChartLinesFormat = exports.ChartCategory = exports.Camera = exports.BlurEffect = exports.AxisType = exports.Axis = exports.Axes = exports.ArrowHeadProperties = exports.ApiInfo = exports.AccessPermissions = void 0;
|
|
27
|
+
exports.AlphaFloorEffect = exports.AlphaCeilingEffect = exports.AlphaBiLevelEffect = exports.AddSlide = exports.AddShape = exports.AddMasterSlide = exports.AddLayoutSlide = exports.AccentElement = exports.ThreeDFormat = exports.TextItem = exports.TextFrameFormat = exports.TextBounds = exports.Task = exports.TableRow = exports.TableColumn = exports.TableCell = exports.StorageFile = exports.StorageExist = exports.SpecialSlideType = exports.SoftEdgeEffect = exports.SmartArtNode = exports.SlideExportFormat = exports.SlideCommentBase = exports.ShapesAlignmentType = exports.ShapeType = exports.ShapeThumbnailBounds = exports.ShapeImageExportOptions = exports.ShapeExportFormat = exports.ShapeBevel = exports.SeriesMarker = exports.Series = exports.ResourceUri = exports.ResourceBase = exports.ReflectionEffect = exports.PresetShadowEffect = exports.PresentationsMergeRequest = exports.PresentationToMerge = exports.PortionFormat = exports.PlotArea = exports.Pipeline = exports.PathSegment = exports.OutputFile = exports.OuterShadowEffect = exports.OrderedMergeRequest = exports.ObjectExist = exports.NotesSlideExportFormat = exports.NormalViewRestoredProperties = exports.ModelError = exports.MergingSource = exports.MathParagraph = void 0;
|
|
28
|
+
exports.MoveToPathSegment = exports.Merge = exports.MatrixElement = exports.MasterSlides = exports.MasterSlide = exports.LuminanceEffect = exports.LineToPathSegment = exports.LimitElement = exports.LeftSubSuperscriptElement = exports.LayoutSlides = exports.LayoutSlide = exports.Images = exports.ImageExportOptionsBase = exports.Image = exports.HtmlExportOptions = exports.Html5ExportOptions = exports.HslEffect = exports.HeaderFooter = exports.GroupingCharacterElement = exports.GrayScaleEffect = exports.GradientFill = exports.FunctionElement = exports.FractionElement = exports.FormatScheme = exports.FontScheme = exports.FillOverlayImageEffect = exports.FileVersion = exports.DuotoneEffect = exports.DocumentProperty = exports.DocumentProperties = exports.Document = exports.DelimiterElement = exports.CubicBezierToPathSegment = exports.ColorScheme = exports.ColorReplaceEffect = exports.ColorChangeEffect = exports.ClosePathSegment = exports.BoxElement = exports.BorderBoxElement = exports.BlurImageEffect = exports.BlockElement = exports.BiLevelEffect = exports.Base64InputFile = exports.BarElement = exports.ArrayElement = exports.ArcToPathSegment = exports.AlphaReplaceEffect = exports.AlphaModulateFixedEffect = exports.AlphaModulateEffect = exports.AlphaInverseEffect = void 0;
|
|
29
|
+
exports.SvgExportOptions = exports.SuperscriptElement = exports.SubscriptElement = exports.SplitDocumentResult = exports.SolidFill = exports.Slides = exports.SlideProperties = exports.SlideModernComment = exports.SlideComments = exports.SlideComment = exports.SlideBackground = exports.SlideAnimation = exports.Slide = exports.Shapes = exports.ShapeBase = exports.Sections = exports.Section = exports.ScatterChartDataPoint = exports.SaveSlide = exports.SaveShape = exports.Save = exports.RightSubSuperscriptElement = exports.ResponseOutputFile = exports.ResetSlide = exports.RequestInputFile = exports.ReplaceText = exports.ReorderSlide = exports.RemoveSlide = exports.RemoveShape = exports.RadicalElement = exports.QuadraticBezierToPathSegment = exports.ProtectionProperties = exports.PptxExportOptions = exports.Portions = exports.Portion = exports.Placeholders = exports.Placeholder = exports.PictureFill = exports.PdfExportOptions = exports.PatternFill = exports.PathOutputFile = exports.PathInputFile = exports.Paragraphs = exports.Paragraph = exports.OneValueSeries = exports.OneValueChartDataPoint = exports.NotesSlideHeaderFooter = exports.NotesSlide = exports.NoFill = exports.NaryOperatorElement = void 0;
|
|
30
|
+
exports.SummaryZoomSection = exports.ZoomFrame = exports.VideoFrame = exports.SmartArtShape = exports.Shape = exports.SectionZoomFrame = exports.PictureFrame = exports.Connector = exports.AudioFrame = exports.ZoomObject = exports.TiffExportOptions = exports.Table = exports.SummaryZoomFrame = exports.SmartArt = exports.SlideReplaceResult = exports.ScatterSeries = exports.OleObjectFrame = exports.ImageExportOptions = exports.GroupShape = exports.GraphicalObject = exports.GifExportOptions = exports.GeometryShape = exports.DocumentReplaceResult = exports.Chart = exports.BubbleSeries = exports.BubbleChartDataPoint = exports.XpsExportOptions = exports.XamlExportOptions = exports.XYSeries = exports.ViewProperties = exports.VideoExportOptions = exports.UpdateShape = exports.UpdateBackground = exports.TintEffect = exports.Theme = exports.TextItems = exports.TextElement = exports.SwfExportOptions = void 0;
|
|
31
31
|
/**
|
|
32
32
|
* A set of properties specifying which access permissions should be granted when the document is opened with user access.
|
|
33
33
|
*/
|
|
@@ -775,6 +775,12 @@ exports.FontFallbackRule = FontFallbackRule;
|
|
|
775
775
|
class FontSet {
|
|
776
776
|
}
|
|
777
777
|
exports.FontSet = FontSet;
|
|
778
|
+
/**
|
|
779
|
+
* Represents font substitution rule.
|
|
780
|
+
*/
|
|
781
|
+
class FontSubstRule {
|
|
782
|
+
}
|
|
783
|
+
exports.FontSubstRule = FontSubstRule;
|
|
778
784
|
/**
|
|
779
785
|
* List of fonts data
|
|
780
786
|
*/
|