asposeslidescloud 24.12.0 → 25.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 +15 -71
- package/api.d.ts +65 -18
- package/api.js +200 -47
- package/internal/requestHelper.js +1 -1
- package/model.d.ts +108 -35
- package/model.js +36 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,77 +27,21 @@ You may want to check out Aspose free [Powerpoint to PDF](https://products.aspos
|
|
|
27
27
|
**Web:** HTML/HTML5
|
|
28
28
|
**Other:** MPEG4, SWF (export whole presentations)
|
|
29
29
|
|
|
30
|
-
## Enhancements in Version
|
|
31
|
-
|
|
32
|
-
* Added **
|
|
33
|
-
*
|
|
34
|
-
* Added **
|
|
35
|
-
* Added **
|
|
36
|
-
* Added **
|
|
37
|
-
* Added **
|
|
38
|
-
* Added **
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
* Added **
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
* Added **StartSplit** and **StartUploadAndSplit** methods to async API.
|
|
47
|
-
* Added **ReplacePresentationRegex** and **ReplacePresentationRegexOnline** methods.
|
|
48
|
-
* Added **HighlightPresentationText** and **HighlightPresentationRegex** methods.
|
|
49
|
-
* Added **OperationError** class; changed **Operation**.**Error** property type from string to **OperationError**.
|
|
50
|
-
* Removed **wholeWordsOnly** parameter from **ReplaceShapeRegex** method.
|
|
51
|
-
|
|
52
|
-
## Enhancements in Version 24.7
|
|
53
|
-
|
|
54
|
-
* Added **TemplatesPath** property to **Html5ExportOptions** class. It enables using custom templates in conversion to Html5 format.
|
|
55
|
-
* Added **GetHtml5Templates** method to retrieve the list of default Html5 templates.
|
|
56
|
-
* Added **Xml** to the list of available export formats.
|
|
57
|
-
* Added **wholeWordsOnly** parameter to **ReplacePresentationText** and **ReplacePresentationTextOnline** methods.
|
|
58
|
-
* Added **GradientStyle** property to **ExportOptions** class.
|
|
59
|
-
* Added **ResterizeUnsupportedFontStyles** property to **PdfExportOptions** class.
|
|
60
|
-
* Added **Zip64Mode** property to **PptxExportOptions** class.
|
|
61
|
-
* Added **Transparency** property to **Table** and **TableCell** class.
|
|
62
|
-
* Removed obsolete **DownloadPortionsAsMathML**, **SavePortionsAsMathML** methods. Use **DownloadMathPortion** and **SaveMathPortion** methods to convert portions to math formats.
|
|
63
|
-
|
|
64
|
-
## Enhancements in Version 24.6
|
|
65
|
-
|
|
66
|
-
* Added **HideInk** and **InterpretMaskOpAsOpacity** properties to **PdfExportOptions** class.
|
|
67
|
-
* Removed **Enqueued** from the list of allowed values for **Operation.Status** property.
|
|
68
|
-
|
|
69
|
-
## Enhancements in Version 24.5
|
|
70
|
-
|
|
71
|
-
* Added **options** parameter to **ImportFromPdf** method. You can specify **options.DetectTables** property to control import behavior.
|
|
72
|
-
* Added **Title** property to **Axis** class for charts.
|
|
73
|
-
* Added **X**, **Y**, **Width**, **Height**, **Overlay**, **FillFormat**, **EffectFormat** and **LineFormat** properties to **ChartTitle** class.
|
|
74
|
-
* Added **HasTitle** property to **Chart** class; removed **HasTitle** property from **ChartTitle** class.
|
|
75
|
-
|
|
76
|
-
## Enhancements in Version 24.4
|
|
77
|
-
|
|
78
|
-
* Added **DownloadMathPortion** and **SaveMathPortion** methods to convert math portions to math markup formats (MathML or LaTeX). See [documentation](https://docs.aspose.cloud/slides/export-a-math-formula/) for more info. **DownloadPortionAsMathML** and **SavePortionAsMathML** methods are deprecated and will be removed after 24.6.
|
|
79
|
-
* Added **Marker** property to **DataPoint** class.
|
|
80
|
-
|
|
81
|
-
## Enhancements in Version 24.3
|
|
82
|
-
|
|
83
|
-
* Added Markdown (**Md**) to the list of allowed export formats.
|
|
84
|
-
* Added **DeletePictureCroppedAreas** method to delete cropped areas of pictures.
|
|
85
|
-
* Added **SlidesLayoutOptions** property to **PdfExportOptions**, **HtmlExportOptions**, **TiffExportOptions** and **ImageExportOptions** classes. You can use it to specify handout or notes/comments layouting options.
|
|
86
|
-
* Added **AnimateTextType** enum property to **Effect** class.
|
|
87
|
-
* Added **NotesCommentsLayouting** property to **Html5ExportOptions** class.
|
|
88
|
-
* Added **BwConversionMode** property to **TiffExportOptions** class.
|
|
89
|
-
* Added **EmbedImages** boolean property to **Html5ExportOptions** class.
|
|
90
|
-
* Added **ShowMediaControls** boolean property to **SlideShowProperties** class.
|
|
91
|
-
* Added **IsDecorative** boolean property to **ShapeBase** class.
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
## Enhancements in Version 24.2
|
|
95
|
-
|
|
96
|
-
* Added **GetCommentAuthors** method to get list of comment authors.
|
|
97
|
-
|
|
98
|
-
## Enhancements in Version 24.1
|
|
99
|
-
|
|
100
|
-
* Added **GetAvailableFonts** method to get list of installed system & custom fonts.
|
|
30
|
+
## Enhancements in Version 25.6
|
|
31
|
+
|
|
32
|
+
* Added **GetVideoCaptionTracks**, **CreateVideoCaptionTrack**, **DeleteVideoCaptionTracks**, **DeleteVideoCaptionTracks** method.
|
|
33
|
+
* Removed deprecated **DeletePictureCroppedAreas** method.
|
|
34
|
+
* Added an optional **quality** parameter to **DownloadImage**, **DownloadImageOnline**, **DownloadImages**, **DownloadImagesOnline** method. It applies to jpeg fromat.
|
|
35
|
+
* Added **RemoveEmptyLines**, **SlideNumberFormat** and **HandleRepeatedSpaces** properties to **MarkdownExportOptions** class.
|
|
36
|
+
* Added **DeletePictureCroppedAreas** and **Resolution** parameters to **PictureFill** class that allow to compress and/or delete cropped aread of picture fill formats.
|
|
37
|
+
* Added **Emf** to the list of allowed values for **ExportFormat**, **SlideExportFormat** and **ShapeExportFormat** enumerations. You can now export presentations, slides and shapes to EMF format.
|
|
38
|
+
* Added **VolumeValue**, **FadeInDuration**, **FadeOutDuration**, **TrimFromStart** and **TrimFromEnd** properties to **AudioFrame** class.
|
|
39
|
+
* Added **SkipJavaScriptLinks** boolean property to **ExportOptions** class.
|
|
40
|
+
* Added **DisableFontLigatures** boolean property to **HtmlExportOptions**, **Html5ExportOptions** and **SvgExportOptions** class.
|
|
41
|
+
* Added **SlidesLayoutOptions** property and removed **NotesCommentsLayouting** property from **Html5ExportOptions** class.
|
|
42
|
+
* Added **RemoveEmptyLines**, **SlideNumberFormat** and **HandleRepeatedSpaces** properties to **MarkdownExportOptions** class.
|
|
43
|
+
* Added **SlidesLayoutOptions** property and removed **CommentsPosition**, **CommentsAreaColor**, **CommentsAreaWidth**, **NotesPosition** and **ShowCommentsByNoAuthor** properties from **SwfExportOptions** class.
|
|
44
|
+
* Added **RefreshThumbnail** boolean property to **PptxExportOptions** class.
|
|
101
45
|
|
|
102
46
|
## Licensing
|
|
103
47
|
All Aspose.Slides Cloud SDKs are licensed under MIT License.
|
package/api.d.ts
CHANGED
|
@@ -623,6 +623,21 @@ export declare class SlidesApi {
|
|
|
623
623
|
response: http.ServerResponse;
|
|
624
624
|
body: model.VbaModule;
|
|
625
625
|
}>;
|
|
626
|
+
/**
|
|
627
|
+
* Create video captions track.
|
|
628
|
+
* @param name Document name.
|
|
629
|
+
* @param slideIndex Slide index.
|
|
630
|
+
* @param shapeIndex Shape index (must refer to a picture frame).
|
|
631
|
+
* @param label Caption track label.
|
|
632
|
+
* @param data Caption track data.
|
|
633
|
+
* @param password Document password.
|
|
634
|
+
* @param folder Document folder.
|
|
635
|
+
* @param storage Presentation storage.
|
|
636
|
+
*/
|
|
637
|
+
createVideoCaptionTrack(name: string, slideIndex: number, shapeIndex: number, label: string, data?: string, password?: string, folder?: string, storage?: string): Promise<{
|
|
638
|
+
response: http.ServerResponse;
|
|
639
|
+
body: model.CaptionTrack;
|
|
640
|
+
}>;
|
|
626
641
|
/**
|
|
627
642
|
* Adds a text watermark to each slide of the presentation. Text watermark can be setup via method arguments or withing Shape DTO for detailed customization. Both options are applicable simultaneously.
|
|
628
643
|
* @param name Document name.
|
|
@@ -909,19 +924,6 @@ export declare class SlidesApi {
|
|
|
909
924
|
response: http.ServerResponse;
|
|
910
925
|
body: model.Paragraphs;
|
|
911
926
|
}>;
|
|
912
|
-
/**
|
|
913
|
-
* @deprecated.
|
|
914
|
-
* Deletes cropped areas of a pictire.
|
|
915
|
-
* @param name Document name.
|
|
916
|
-
* @param slideIndex Slide index.
|
|
917
|
-
* @param shapeIndex Shape index (must refer to a picture frame).
|
|
918
|
-
* @param password Document password.
|
|
919
|
-
* @param folder Document folder.
|
|
920
|
-
* @param storage Presentation storage.
|
|
921
|
-
*/
|
|
922
|
-
deletePictureCroppedAreas(name: string, slideIndex: number, shapeIndex: number, password?: string, folder?: string, storage?: string): Promise<{
|
|
923
|
-
response: http.ServerResponse;
|
|
924
|
-
}>;
|
|
925
927
|
/**
|
|
926
928
|
* Remove a portion.
|
|
927
929
|
* @param name Document name.
|
|
@@ -1371,6 +1373,31 @@ export declare class SlidesApi {
|
|
|
1371
1373
|
response: http.ServerResponse;
|
|
1372
1374
|
body: model.VbaProject;
|
|
1373
1375
|
}>;
|
|
1376
|
+
/**
|
|
1377
|
+
* Delete video captions track.
|
|
1378
|
+
* @param name Document name.
|
|
1379
|
+
* @param slideIndex Slide index.
|
|
1380
|
+
* @param shapeIndex Shape index (must refer to a video frame).
|
|
1381
|
+
* @param captionsIndex Captions track index.
|
|
1382
|
+
* @param password Document password.
|
|
1383
|
+
* @param folder Document folder.
|
|
1384
|
+
* @param storage Presentation storage.
|
|
1385
|
+
*/
|
|
1386
|
+
deleteVideoCaptionTrack(name: string, slideIndex: number, shapeIndex: number, captionsIndex: number, password?: string, folder?: string, storage?: string): Promise<{
|
|
1387
|
+
response: http.ServerResponse;
|
|
1388
|
+
}>;
|
|
1389
|
+
/**
|
|
1390
|
+
* Delete all video captions tracks.
|
|
1391
|
+
* @param name Document name.
|
|
1392
|
+
* @param slideIndex Slide index.
|
|
1393
|
+
* @param shapeIndex Shape index (must refer to a video frame).
|
|
1394
|
+
* @param password Document password.
|
|
1395
|
+
* @param folder Document folder.
|
|
1396
|
+
* @param storage Presentation storage.
|
|
1397
|
+
*/
|
|
1398
|
+
deleteVideoCaptionTracks(name: string, slideIndex: number, shapeIndex: number, password?: string, folder?: string, storage?: string): Promise<{
|
|
1399
|
+
response: http.ServerResponse;
|
|
1400
|
+
}>;
|
|
1374
1401
|
/**
|
|
1375
1402
|
* Removes shapes with name \"watermark\" from the presentation.
|
|
1376
1403
|
* @param name Document name.
|
|
@@ -1410,8 +1437,9 @@ export declare class SlidesApi {
|
|
|
1410
1437
|
* @param password Document password.
|
|
1411
1438
|
* @param folder Document folder.
|
|
1412
1439
|
* @param storage Document storage.
|
|
1440
|
+
* @param quality Image quality (0 to 100; has effect only on Jpeg format).
|
|
1413
1441
|
*/
|
|
1414
|
-
downloadImage(name: string, index: number, format: model.ImageExportFormat, password?: string, folder?: string, storage?: string): Promise<{
|
|
1442
|
+
downloadImage(name: string, index: number, format: model.ImageExportFormat, password?: string, folder?: string, storage?: string, quality?: number): Promise<{
|
|
1415
1443
|
response: http.ServerResponse;
|
|
1416
1444
|
body: Buffer;
|
|
1417
1445
|
}>;
|
|
@@ -1443,8 +1471,9 @@ export declare class SlidesApi {
|
|
|
1443
1471
|
* @param index Image index.
|
|
1444
1472
|
* @param format Export format (png, jpg, gif).
|
|
1445
1473
|
* @param password Document password.
|
|
1474
|
+
* @param quality Image quality (0 to 100; has effect only on Jpeg format).
|
|
1446
1475
|
*/
|
|
1447
|
-
downloadImageOnline(document: Readable, index: number, format: model.ImageExportFormat, password?: string): Promise<{
|
|
1476
|
+
downloadImageOnline(document: Readable, index: number, format: model.ImageExportFormat, password?: string, quality?: number): Promise<{
|
|
1448
1477
|
response: http.ServerResponse;
|
|
1449
1478
|
body: Buffer;
|
|
1450
1479
|
}>;
|
|
@@ -1455,8 +1484,9 @@ export declare class SlidesApi {
|
|
|
1455
1484
|
* @param password Document password.
|
|
1456
1485
|
* @param folder Document folder.
|
|
1457
1486
|
* @param storage Document storage.
|
|
1487
|
+
* @param quality Image quality (0 to 100; has effect only on Jpeg format).
|
|
1458
1488
|
*/
|
|
1459
|
-
downloadImages(name: string, format: model.ImageExportFormat, password?: string, folder?: string, storage?: string): Promise<{
|
|
1489
|
+
downloadImages(name: string, format: model.ImageExportFormat, password?: string, folder?: string, storage?: string, quality?: number): Promise<{
|
|
1460
1490
|
response: http.ServerResponse;
|
|
1461
1491
|
body: Buffer;
|
|
1462
1492
|
}>;
|
|
@@ -1485,8 +1515,9 @@ export declare class SlidesApi {
|
|
|
1485
1515
|
* @param document Document data.
|
|
1486
1516
|
* @param format Export format (png, jpg, gif).
|
|
1487
1517
|
* @param password Document password.
|
|
1518
|
+
* @param quality Image quality (0 to 100; has effect only on Jpeg format).
|
|
1488
1519
|
*/
|
|
1489
|
-
downloadImagesOnline(document: Readable, format: model.ImageExportFormat, password?: string): Promise<{
|
|
1520
|
+
downloadImagesOnline(document: Readable, format: model.ImageExportFormat, password?: string, quality?: number): Promise<{
|
|
1490
1521
|
response: http.ServerResponse;
|
|
1491
1522
|
body: Buffer;
|
|
1492
1523
|
}>;
|
|
@@ -2440,6 +2471,20 @@ export declare class SlidesApi {
|
|
|
2440
2471
|
response: http.ServerResponse;
|
|
2441
2472
|
body: model.VbaProject;
|
|
2442
2473
|
}>;
|
|
2474
|
+
/**
|
|
2475
|
+
* Gets video captions tracks.
|
|
2476
|
+
* @param name Document name.
|
|
2477
|
+
* @param slideIndex Slide index.
|
|
2478
|
+
* @param shapeIndex Shape index (must refer to a picture frame).
|
|
2479
|
+
* @param includeData true to include caption data string values in the response.
|
|
2480
|
+
* @param password Document password.
|
|
2481
|
+
* @param folder Document folder.
|
|
2482
|
+
* @param storage Presentation storage.
|
|
2483
|
+
*/
|
|
2484
|
+
getVideoCaptionTracks(name: string, slideIndex: number, shapeIndex: number, includeData?: boolean, password?: string, folder?: string, storage?: string): Promise<{
|
|
2485
|
+
response: http.ServerResponse;
|
|
2486
|
+
body: model.CaptionTracks;
|
|
2487
|
+
}>;
|
|
2443
2488
|
/**
|
|
2444
2489
|
* Read presentation view properties.
|
|
2445
2490
|
* @param name Document name.
|
|
@@ -2520,8 +2565,10 @@ export declare class SlidesApi {
|
|
|
2520
2565
|
* @param password Document password.
|
|
2521
2566
|
* @param folder Document folder.
|
|
2522
2567
|
* @param storage Document storage.
|
|
2568
|
+
* @param position Slide index before which the HTML should be added (add to the end by default).
|
|
2569
|
+
* @param useSlideWithIndexAsStart true to insert data starting from an empty space on the slide with the specified index; false to add data to the created slides.
|
|
2523
2570
|
*/
|
|
2524
|
-
importFromHtml(name: string, html?: string, password?: string, folder?: string, storage?: string): Promise<{
|
|
2571
|
+
importFromHtml(name: string, html?: string, password?: string, folder?: string, storage?: string, position?: number, useSlideWithIndexAsStart?: boolean): Promise<{
|
|
2525
2572
|
response: http.ServerResponse;
|
|
2526
2573
|
body: model.Document;
|
|
2527
2574
|
}>;
|
package/api.js
CHANGED
|
@@ -2059,6 +2059,57 @@ class SlidesApi {
|
|
|
2059
2059
|
return Promise.resolve({ body: result, response });
|
|
2060
2060
|
});
|
|
2061
2061
|
}
|
|
2062
|
+
/**
|
|
2063
|
+
* Create video captions track.
|
|
2064
|
+
* @param name Document name.
|
|
2065
|
+
* @param slideIndex Slide index.
|
|
2066
|
+
* @param shapeIndex Shape index (must refer to a picture frame).
|
|
2067
|
+
* @param label Caption track label.
|
|
2068
|
+
* @param data Caption track data.
|
|
2069
|
+
* @param password Document password.
|
|
2070
|
+
* @param folder Document folder.
|
|
2071
|
+
* @param storage Presentation storage.
|
|
2072
|
+
*/
|
|
2073
|
+
createVideoCaptionTrack(name, slideIndex, shapeIndex, label, data = null, password = null, folder = null, storage = null) {
|
|
2074
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2075
|
+
// verify required parameter 'name' is not null or undefined
|
|
2076
|
+
if (name === null || name === undefined) {
|
|
2077
|
+
throw new Error('The required parameter "name" was null or undefined when calling createVideoCaptionTrack.');
|
|
2078
|
+
}
|
|
2079
|
+
// verify required parameter 'slideIndex' is not null or undefined
|
|
2080
|
+
if (slideIndex === null || slideIndex === undefined) {
|
|
2081
|
+
throw new Error('The required parameter "slideIndex" was null or undefined when calling createVideoCaptionTrack.');
|
|
2082
|
+
}
|
|
2083
|
+
// verify required parameter 'shapeIndex' is not null or undefined
|
|
2084
|
+
if (shapeIndex === null || shapeIndex === undefined) {
|
|
2085
|
+
throw new Error('The required parameter "shapeIndex" was null or undefined when calling createVideoCaptionTrack.');
|
|
2086
|
+
}
|
|
2087
|
+
// verify required parameter 'label' is not null or undefined
|
|
2088
|
+
if (label === null || label === undefined) {
|
|
2089
|
+
throw new Error('The required parameter "label" was null or undefined when calling createVideoCaptionTrack.');
|
|
2090
|
+
}
|
|
2091
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks";
|
|
2092
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
2093
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
|
|
2094
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
|
|
2095
|
+
const queryParameters = {};
|
|
2096
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "label", label);
|
|
2097
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
2098
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
2099
|
+
const requestOptions = {
|
|
2100
|
+
method: "POST",
|
|
2101
|
+
headers: {},
|
|
2102
|
+
url: localVarPath,
|
|
2103
|
+
data: data,
|
|
2104
|
+
params: queryParameters
|
|
2105
|
+
};
|
|
2106
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
2107
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "Content-type", "text/plain");
|
|
2108
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
2109
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "CaptionTrack");
|
|
2110
|
+
return Promise.resolve({ body: result, response });
|
|
2111
|
+
});
|
|
2112
|
+
}
|
|
2062
2113
|
/**
|
|
2063
2114
|
* Adds a text watermark to each slide of the presentation. Text watermark can be setup via method arguments or withing Shape DTO for detailed customization. Both options are applicable simultaneously.
|
|
2064
2115
|
* @param name Document name.
|
|
@@ -2944,48 +2995,6 @@ class SlidesApi {
|
|
|
2944
2995
|
return Promise.resolve({ body: result, response });
|
|
2945
2996
|
});
|
|
2946
2997
|
}
|
|
2947
|
-
/**
|
|
2948
|
-
* @deprecated.
|
|
2949
|
-
* Deletes cropped areas of a pictire.
|
|
2950
|
-
* @param name Document name.
|
|
2951
|
-
* @param slideIndex Slide index.
|
|
2952
|
-
* @param shapeIndex Shape index (must refer to a picture frame).
|
|
2953
|
-
* @param password Document password.
|
|
2954
|
-
* @param folder Document folder.
|
|
2955
|
-
* @param storage Presentation storage.
|
|
2956
|
-
*/
|
|
2957
|
-
deletePictureCroppedAreas(name, slideIndex, shapeIndex, password = null, folder = null, storage = null) {
|
|
2958
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2959
|
-
// verify required parameter 'name' is not null or undefined
|
|
2960
|
-
if (name === null || name === undefined) {
|
|
2961
|
-
throw new Error('The required parameter "name" was null or undefined when calling deletePictureCroppedAreas.');
|
|
2962
|
-
}
|
|
2963
|
-
// verify required parameter 'slideIndex' is not null or undefined
|
|
2964
|
-
if (slideIndex === null || slideIndex === undefined) {
|
|
2965
|
-
throw new Error('The required parameter "slideIndex" was null or undefined when calling deletePictureCroppedAreas.');
|
|
2966
|
-
}
|
|
2967
|
-
// verify required parameter 'shapeIndex' is not null or undefined
|
|
2968
|
-
if (shapeIndex === null || shapeIndex === undefined) {
|
|
2969
|
-
throw new Error('The required parameter "shapeIndex" was null or undefined when calling deletePictureCroppedAreas.');
|
|
2970
|
-
}
|
|
2971
|
-
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/pictureCroppedAreas";
|
|
2972
|
-
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
2973
|
-
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
|
|
2974
|
-
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
|
|
2975
|
-
const queryParameters = {};
|
|
2976
|
-
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
2977
|
-
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
2978
|
-
const requestOptions = {
|
|
2979
|
-
method: "DELETE",
|
|
2980
|
-
headers: {},
|
|
2981
|
-
url: localVarPath,
|
|
2982
|
-
params: queryParameters
|
|
2983
|
-
};
|
|
2984
|
-
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
2985
|
-
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
2986
|
-
return Promise.resolve({ response });
|
|
2987
|
-
});
|
|
2988
|
-
}
|
|
2989
2998
|
/**
|
|
2990
2999
|
* Remove a portion.
|
|
2991
3000
|
* @param name Document name.
|
|
@@ -4492,6 +4501,94 @@ class SlidesApi {
|
|
|
4492
4501
|
return Promise.resolve({ body: result, response });
|
|
4493
4502
|
});
|
|
4494
4503
|
}
|
|
4504
|
+
/**
|
|
4505
|
+
* Delete video captions track.
|
|
4506
|
+
* @param name Document name.
|
|
4507
|
+
* @param slideIndex Slide index.
|
|
4508
|
+
* @param shapeIndex Shape index (must refer to a video frame).
|
|
4509
|
+
* @param captionsIndex Captions track index.
|
|
4510
|
+
* @param password Document password.
|
|
4511
|
+
* @param folder Document folder.
|
|
4512
|
+
* @param storage Presentation storage.
|
|
4513
|
+
*/
|
|
4514
|
+
deleteVideoCaptionTrack(name, slideIndex, shapeIndex, captionsIndex, password = null, folder = null, storage = null) {
|
|
4515
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4516
|
+
// verify required parameter 'name' is not null or undefined
|
|
4517
|
+
if (name === null || name === undefined) {
|
|
4518
|
+
throw new Error('The required parameter "name" was null or undefined when calling deleteVideoCaptionTrack.');
|
|
4519
|
+
}
|
|
4520
|
+
// verify required parameter 'slideIndex' is not null or undefined
|
|
4521
|
+
if (slideIndex === null || slideIndex === undefined) {
|
|
4522
|
+
throw new Error('The required parameter "slideIndex" was null or undefined when calling deleteVideoCaptionTrack.');
|
|
4523
|
+
}
|
|
4524
|
+
// verify required parameter 'shapeIndex' is not null or undefined
|
|
4525
|
+
if (shapeIndex === null || shapeIndex === undefined) {
|
|
4526
|
+
throw new Error('The required parameter "shapeIndex" was null or undefined when calling deleteVideoCaptionTrack.');
|
|
4527
|
+
}
|
|
4528
|
+
// verify required parameter 'captionsIndex' is not null or undefined
|
|
4529
|
+
if (captionsIndex === null || captionsIndex === undefined) {
|
|
4530
|
+
throw new Error('The required parameter "captionsIndex" was null or undefined when calling deleteVideoCaptionTrack.');
|
|
4531
|
+
}
|
|
4532
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks/{captionsIndex}";
|
|
4533
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
4534
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
|
|
4535
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
|
|
4536
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "captionsIndex", objectSerializer_1.ObjectSerializer.toString(captionsIndex));
|
|
4537
|
+
const queryParameters = {};
|
|
4538
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
4539
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
4540
|
+
const requestOptions = {
|
|
4541
|
+
method: "DELETE",
|
|
4542
|
+
headers: {},
|
|
4543
|
+
url: localVarPath,
|
|
4544
|
+
params: queryParameters
|
|
4545
|
+
};
|
|
4546
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
4547
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
4548
|
+
return Promise.resolve({ response });
|
|
4549
|
+
});
|
|
4550
|
+
}
|
|
4551
|
+
/**
|
|
4552
|
+
* Delete all video captions tracks.
|
|
4553
|
+
* @param name Document name.
|
|
4554
|
+
* @param slideIndex Slide index.
|
|
4555
|
+
* @param shapeIndex Shape index (must refer to a video frame).
|
|
4556
|
+
* @param password Document password.
|
|
4557
|
+
* @param folder Document folder.
|
|
4558
|
+
* @param storage Presentation storage.
|
|
4559
|
+
*/
|
|
4560
|
+
deleteVideoCaptionTracks(name, slideIndex, shapeIndex, password = null, folder = null, storage = null) {
|
|
4561
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4562
|
+
// verify required parameter 'name' is not null or undefined
|
|
4563
|
+
if (name === null || name === undefined) {
|
|
4564
|
+
throw new Error('The required parameter "name" was null or undefined when calling deleteVideoCaptionTracks.');
|
|
4565
|
+
}
|
|
4566
|
+
// verify required parameter 'slideIndex' is not null or undefined
|
|
4567
|
+
if (slideIndex === null || slideIndex === undefined) {
|
|
4568
|
+
throw new Error('The required parameter "slideIndex" was null or undefined when calling deleteVideoCaptionTracks.');
|
|
4569
|
+
}
|
|
4570
|
+
// verify required parameter 'shapeIndex' is not null or undefined
|
|
4571
|
+
if (shapeIndex === null || shapeIndex === undefined) {
|
|
4572
|
+
throw new Error('The required parameter "shapeIndex" was null or undefined when calling deleteVideoCaptionTracks.');
|
|
4573
|
+
}
|
|
4574
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks";
|
|
4575
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
4576
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
|
|
4577
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
|
|
4578
|
+
const queryParameters = {};
|
|
4579
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
4580
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
4581
|
+
const requestOptions = {
|
|
4582
|
+
method: "DELETE",
|
|
4583
|
+
headers: {},
|
|
4584
|
+
url: localVarPath,
|
|
4585
|
+
params: queryParameters
|
|
4586
|
+
};
|
|
4587
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
4588
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
4589
|
+
return Promise.resolve({ response });
|
|
4590
|
+
});
|
|
4591
|
+
}
|
|
4495
4592
|
/**
|
|
4496
4593
|
* Removes shapes with name \"watermark\" from the presentation.
|
|
4497
4594
|
* @param name Document name.
|
|
@@ -4588,8 +4685,9 @@ class SlidesApi {
|
|
|
4588
4685
|
* @param password Document password.
|
|
4589
4686
|
* @param folder Document folder.
|
|
4590
4687
|
* @param storage Document storage.
|
|
4688
|
+
* @param quality Image quality (0 to 100; has effect only on Jpeg format).
|
|
4591
4689
|
*/
|
|
4592
|
-
downloadImage(name, index, format, password = null, folder = null, storage = null) {
|
|
4690
|
+
downloadImage(name, index, format, password = null, folder = null, storage = null, quality = null) {
|
|
4593
4691
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4594
4692
|
// verify required parameter 'name' is not null or undefined
|
|
4595
4693
|
if (name === null || name === undefined) {
|
|
@@ -4614,6 +4712,7 @@ class SlidesApi {
|
|
|
4614
4712
|
const queryParameters = {};
|
|
4615
4713
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
4616
4714
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
4715
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "quality", quality);
|
|
4617
4716
|
const requestOptions = {
|
|
4618
4717
|
method: "GET",
|
|
4619
4718
|
headers: {},
|
|
@@ -4707,8 +4806,9 @@ class SlidesApi {
|
|
|
4707
4806
|
* @param index Image index.
|
|
4708
4807
|
* @param format Export format (png, jpg, gif).
|
|
4709
4808
|
* @param password Document password.
|
|
4809
|
+
* @param quality Image quality (0 to 100; has effect only on Jpeg format).
|
|
4710
4810
|
*/
|
|
4711
|
-
downloadImageOnline(document, index, format, password = null) {
|
|
4811
|
+
downloadImageOnline(document, index, format, password = null, quality = null) {
|
|
4712
4812
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4713
4813
|
// verify required parameter 'document' is not null or undefined
|
|
4714
4814
|
if (document === null || document === undefined) {
|
|
@@ -4730,6 +4830,7 @@ class SlidesApi {
|
|
|
4730
4830
|
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "index", objectSerializer_1.ObjectSerializer.toString(index));
|
|
4731
4831
|
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "format", objectSerializer_1.ObjectSerializer.toString(format));
|
|
4732
4832
|
const queryParameters = {};
|
|
4833
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "quality", quality);
|
|
4733
4834
|
const requestOptions = {
|
|
4734
4835
|
method: "POST",
|
|
4735
4836
|
headers: {},
|
|
@@ -4755,8 +4856,9 @@ class SlidesApi {
|
|
|
4755
4856
|
* @param password Document password.
|
|
4756
4857
|
* @param folder Document folder.
|
|
4757
4858
|
* @param storage Document storage.
|
|
4859
|
+
* @param quality Image quality (0 to 100; has effect only on Jpeg format).
|
|
4758
4860
|
*/
|
|
4759
|
-
downloadImages(name, format, password = null, folder = null, storage = null) {
|
|
4861
|
+
downloadImages(name, format, password = null, folder = null, storage = null, quality = null) {
|
|
4760
4862
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4761
4863
|
// verify required parameter 'name' is not null or undefined
|
|
4762
4864
|
if (name === null || name === undefined) {
|
|
@@ -4776,6 +4878,7 @@ class SlidesApi {
|
|
|
4776
4878
|
const queryParameters = {};
|
|
4777
4879
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
4778
4880
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
4881
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "quality", quality);
|
|
4779
4882
|
const requestOptions = {
|
|
4780
4883
|
method: "POST",
|
|
4781
4884
|
headers: {},
|
|
@@ -4856,8 +4959,9 @@ class SlidesApi {
|
|
|
4856
4959
|
* @param document Document data.
|
|
4857
4960
|
* @param format Export format (png, jpg, gif).
|
|
4858
4961
|
* @param password Document password.
|
|
4962
|
+
* @param quality Image quality (0 to 100; has effect only on Jpeg format).
|
|
4859
4963
|
*/
|
|
4860
|
-
downloadImagesOnline(document, format, password = null) {
|
|
4964
|
+
downloadImagesOnline(document, format, password = null, quality = null) {
|
|
4861
4965
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4862
4966
|
// verify required parameter 'document' is not null or undefined
|
|
4863
4967
|
if (document === null || document === undefined) {
|
|
@@ -4874,6 +4978,7 @@ class SlidesApi {
|
|
|
4874
4978
|
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/images/download/{format}";
|
|
4875
4979
|
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "format", objectSerializer_1.ObjectSerializer.toString(format));
|
|
4876
4980
|
const queryParameters = {};
|
|
4981
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "quality", quality);
|
|
4877
4982
|
const requestOptions = {
|
|
4878
4983
|
method: "POST",
|
|
4879
4984
|
headers: {},
|
|
@@ -7944,6 +8049,50 @@ class SlidesApi {
|
|
|
7944
8049
|
return Promise.resolve({ body: result, response });
|
|
7945
8050
|
});
|
|
7946
8051
|
}
|
|
8052
|
+
/**
|
|
8053
|
+
* Gets video captions tracks.
|
|
8054
|
+
* @param name Document name.
|
|
8055
|
+
* @param slideIndex Slide index.
|
|
8056
|
+
* @param shapeIndex Shape index (must refer to a picture frame).
|
|
8057
|
+
* @param includeData true to include caption data string values in the response.
|
|
8058
|
+
* @param password Document password.
|
|
8059
|
+
* @param folder Document folder.
|
|
8060
|
+
* @param storage Presentation storage.
|
|
8061
|
+
*/
|
|
8062
|
+
getVideoCaptionTracks(name, slideIndex, shapeIndex, includeData = null, password = null, folder = null, storage = null) {
|
|
8063
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8064
|
+
// verify required parameter 'name' is not null or undefined
|
|
8065
|
+
if (name === null || name === undefined) {
|
|
8066
|
+
throw new Error('The required parameter "name" was null or undefined when calling getVideoCaptionTracks.');
|
|
8067
|
+
}
|
|
8068
|
+
// verify required parameter 'slideIndex' is not null or undefined
|
|
8069
|
+
if (slideIndex === null || slideIndex === undefined) {
|
|
8070
|
+
throw new Error('The required parameter "slideIndex" was null or undefined when calling getVideoCaptionTracks.');
|
|
8071
|
+
}
|
|
8072
|
+
// verify required parameter 'shapeIndex' is not null or undefined
|
|
8073
|
+
if (shapeIndex === null || shapeIndex === undefined) {
|
|
8074
|
+
throw new Error('The required parameter "shapeIndex" was null or undefined when calling getVideoCaptionTracks.');
|
|
8075
|
+
}
|
|
8076
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks";
|
|
8077
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
8078
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
|
|
8079
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
|
|
8080
|
+
const queryParameters = {};
|
|
8081
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "includeData", includeData);
|
|
8082
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
8083
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
8084
|
+
const requestOptions = {
|
|
8085
|
+
method: "GET",
|
|
8086
|
+
headers: {},
|
|
8087
|
+
url: localVarPath,
|
|
8088
|
+
params: queryParameters
|
|
8089
|
+
};
|
|
8090
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
8091
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
8092
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "CaptionTracks");
|
|
8093
|
+
return Promise.resolve({ body: result, response });
|
|
8094
|
+
});
|
|
8095
|
+
}
|
|
7947
8096
|
/**
|
|
7948
8097
|
* Read presentation view properties.
|
|
7949
8098
|
* @param name Document name.
|
|
@@ -8185,8 +8334,10 @@ class SlidesApi {
|
|
|
8185
8334
|
* @param password Document password.
|
|
8186
8335
|
* @param folder Document folder.
|
|
8187
8336
|
* @param storage Document storage.
|
|
8337
|
+
* @param position Slide index before which the HTML should be added (add to the end by default).
|
|
8338
|
+
* @param useSlideWithIndexAsStart true to insert data starting from an empty space on the slide with the specified index; false to add data to the created slides.
|
|
8188
8339
|
*/
|
|
8189
|
-
importFromHtml(name, html = null, password = null, folder = null, storage = null) {
|
|
8340
|
+
importFromHtml(name, html = null, password = null, folder = null, storage = null, position = null, useSlideWithIndexAsStart = null) {
|
|
8190
8341
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8191
8342
|
// verify required parameter 'name' is not null or undefined
|
|
8192
8343
|
if (name === null || name === undefined) {
|
|
@@ -8197,6 +8348,8 @@ class SlidesApi {
|
|
|
8197
8348
|
const queryParameters = {};
|
|
8198
8349
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
8199
8350
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
8351
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "position", position);
|
|
8352
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "useSlideWithIndexAsStart", useSlideWithIndexAsStart);
|
|
8200
8353
|
const requestOptions = {
|
|
8201
8354
|
method: "POST",
|
|
8202
8355
|
headers: {},
|
|
@@ -169,7 +169,7 @@ function invokeApiMethodInternal(requestOptions, configuration, notApplyAuthToRe
|
|
|
169
169
|
if (!requestOptions.headers) {
|
|
170
170
|
requestOptions.headers = {};
|
|
171
171
|
}
|
|
172
|
-
requestOptions.headers["x-aspose-client"] = "nodejs sdk
|
|
172
|
+
requestOptions.headers["x-aspose-client"] = "nodejs sdk v25.6.0";
|
|
173
173
|
if (configuration.timeout) {
|
|
174
174
|
requestOptions.headers["x-aspose-timeout"] = configuration.timeout;
|
|
175
175
|
}
|
package/model.d.ts
CHANGED
|
@@ -762,6 +762,10 @@ export declare class AudioFrame extends GeometryShape {
|
|
|
762
762
|
* Returns or sets the audio volume.
|
|
763
763
|
*/
|
|
764
764
|
volume?: AudioFrame.VolumeEnum;
|
|
765
|
+
/**
|
|
766
|
+
* Audio volume percent.
|
|
767
|
+
*/
|
|
768
|
+
volumeValue?: number;
|
|
765
769
|
/**
|
|
766
770
|
* Audio data encoded in base64.
|
|
767
771
|
*/
|
|
@@ -774,6 +778,22 @@ export declare class AudioFrame extends GeometryShape {
|
|
|
774
778
|
* Determines whether audio is automatically rewound to start after playing.
|
|
775
779
|
*/
|
|
776
780
|
rewindAudio?: boolean;
|
|
781
|
+
/**
|
|
782
|
+
* Time duration for the initial fade-in of the media in milliseconds.
|
|
783
|
+
*/
|
|
784
|
+
fadeInDuration?: number;
|
|
785
|
+
/**
|
|
786
|
+
* Time duration for the ending fade-out of the media in milliseconds.
|
|
787
|
+
*/
|
|
788
|
+
fadeOutDuration?: number;
|
|
789
|
+
/**
|
|
790
|
+
* Time duration to be removed from the beginning of the media during playback in milliseconds.
|
|
791
|
+
*/
|
|
792
|
+
trimFromStart?: number;
|
|
793
|
+
/**
|
|
794
|
+
* Time duration to be removed from the end of the media during playback in milliseconds.
|
|
795
|
+
*/
|
|
796
|
+
trimFromEnd?: number;
|
|
777
797
|
/**
|
|
778
798
|
* Picture fill format.
|
|
779
799
|
*/
|
|
@@ -1600,6 +1620,34 @@ export declare namespace Camera {
|
|
|
1600
1620
|
NotDefined
|
|
1601
1621
|
}
|
|
1602
1622
|
}
|
|
1623
|
+
/**
|
|
1624
|
+
* Represents list of Links to Paragraphs resources
|
|
1625
|
+
*/
|
|
1626
|
+
export declare class CaptionTrack extends ResourceBase {
|
|
1627
|
+
constructor();
|
|
1628
|
+
/**
|
|
1629
|
+
* Caption ID.
|
|
1630
|
+
*/
|
|
1631
|
+
captionId: string;
|
|
1632
|
+
/**
|
|
1633
|
+
* Label.
|
|
1634
|
+
*/
|
|
1635
|
+
label?: string;
|
|
1636
|
+
/**
|
|
1637
|
+
* Caption track data as string.
|
|
1638
|
+
*/
|
|
1639
|
+
dataAsString?: string;
|
|
1640
|
+
}
|
|
1641
|
+
/**
|
|
1642
|
+
* Represents list of Links to Paragraphs resources
|
|
1643
|
+
*/
|
|
1644
|
+
export declare class CaptionTracks extends ResourceBase {
|
|
1645
|
+
constructor();
|
|
1646
|
+
/**
|
|
1647
|
+
* List of caption tracks.
|
|
1648
|
+
*/
|
|
1649
|
+
items?: Array<CaptionTrack>;
|
|
1650
|
+
}
|
|
1603
1651
|
/**
|
|
1604
1652
|
* Represents chart resource
|
|
1605
1653
|
*/
|
|
@@ -2809,7 +2857,8 @@ export declare enum ExportFormat {
|
|
|
2809
2857
|
'Xaml',
|
|
2810
2858
|
'Mpeg4',
|
|
2811
2859
|
'Md',
|
|
2812
|
-
'Xml'
|
|
2860
|
+
'Xml',
|
|
2861
|
+
'Emf'
|
|
2813
2862
|
}
|
|
2814
2863
|
/**
|
|
2815
2864
|
* Represents export options for whole presentation.
|
|
@@ -2835,6 +2884,10 @@ export declare class ExportOptions {
|
|
|
2835
2884
|
* Gets of sets list of font substitution rules.
|
|
2836
2885
|
*/
|
|
2837
2886
|
fontSubstRules?: Array<FontSubstRule>;
|
|
2887
|
+
/**
|
|
2888
|
+
* True to skip hyperlinks with javascript calls when saving the presentation.
|
|
2889
|
+
*/
|
|
2890
|
+
skipJavaScriptLinks?: boolean;
|
|
2838
2891
|
format?: string;
|
|
2839
2892
|
}
|
|
2840
2893
|
export declare namespace ExportOptions {
|
|
@@ -3456,11 +3509,15 @@ export declare class Html5ExportOptions extends ExportOptions {
|
|
|
3456
3509
|
/**
|
|
3457
3510
|
* Slides layouting options
|
|
3458
3511
|
*/
|
|
3459
|
-
|
|
3512
|
+
slidesLayoutOptions?: SlidesLayoutOptions;
|
|
3460
3513
|
/**
|
|
3461
3514
|
* Path to custom templates
|
|
3462
3515
|
*/
|
|
3463
3516
|
templatesPath?: string;
|
|
3517
|
+
/**
|
|
3518
|
+
* true to disable ligatures in the rendered output.
|
|
3519
|
+
*/
|
|
3520
|
+
disableFontLigatures?: boolean;
|
|
3464
3521
|
}
|
|
3465
3522
|
export declare namespace Html5ExportOptions {
|
|
3466
3523
|
}
|
|
@@ -3501,6 +3558,10 @@ export declare class HtmlExportOptions extends ExportOptions {
|
|
|
3501
3558
|
* Slides layouting options
|
|
3502
3559
|
*/
|
|
3503
3560
|
slidesLayoutOptions?: SlidesLayoutOptions;
|
|
3561
|
+
/**
|
|
3562
|
+
* true to disable ligatures in the rendered output.
|
|
3563
|
+
*/
|
|
3564
|
+
disableFontLigatures?: boolean;
|
|
3504
3565
|
}
|
|
3505
3566
|
export declare namespace HtmlExportOptions {
|
|
3506
3567
|
enum PicturesCompressionEnum {
|
|
@@ -4107,6 +4168,18 @@ export declare class MarkdownExportOptions extends ExportOptions {
|
|
|
4107
4168
|
* Specifies whether the generated document should include hidden slides. Default is false.
|
|
4108
4169
|
*/
|
|
4109
4170
|
showHiddenSlides?: boolean;
|
|
4171
|
+
/**
|
|
4172
|
+
* true to remove empty or whitespace-only lines from the final Markdown output. Default is false.
|
|
4173
|
+
*/
|
|
4174
|
+
removeEmptyLines?: boolean;
|
|
4175
|
+
/**
|
|
4176
|
+
* Specifies how repeated space characters are preserved to maintain visual alignment.
|
|
4177
|
+
*/
|
|
4178
|
+
handleRepeatedSpaces?: MarkdownExportOptions.HandleRepeatedSpacesEnum;
|
|
4179
|
+
/**
|
|
4180
|
+
* The format of slide number headers.
|
|
4181
|
+
*/
|
|
4182
|
+
slideNumberFormat?: string;
|
|
4110
4183
|
}
|
|
4111
4184
|
export declare namespace MarkdownExportOptions {
|
|
4112
4185
|
enum ExportTypeEnum {
|
|
@@ -4145,6 +4218,11 @@ export declare namespace MarkdownExportOptions {
|
|
|
4145
4218
|
Unix,
|
|
4146
4219
|
Mac
|
|
4147
4220
|
}
|
|
4221
|
+
enum HandleRepeatedSpacesEnum {
|
|
4222
|
+
None,
|
|
4223
|
+
AlternateSpacesToNbsp,
|
|
4224
|
+
MultipleSpacesToNbsp
|
|
4225
|
+
}
|
|
4148
4226
|
}
|
|
4149
4227
|
/**
|
|
4150
4228
|
* Master slide.
|
|
@@ -5390,6 +5468,14 @@ export declare class PictureFill extends FillFormat {
|
|
|
5390
5468
|
* SVG image data.
|
|
5391
5469
|
*/
|
|
5392
5470
|
svgData?: string;
|
|
5471
|
+
/**
|
|
5472
|
+
* true to delete picture cropped areas on save.
|
|
5473
|
+
*/
|
|
5474
|
+
deletePictureCroppedAreas?: boolean;
|
|
5475
|
+
/**
|
|
5476
|
+
* true to compress the picture image with the specified resolution (in dpi) on save.
|
|
5477
|
+
*/
|
|
5478
|
+
resolution?: number;
|
|
5393
5479
|
/**
|
|
5394
5480
|
* Fill mode.
|
|
5395
5481
|
*/
|
|
@@ -5971,6 +6057,10 @@ export declare class PptxExportOptions extends ExportOptions {
|
|
|
5971
6057
|
* Specifies whether the ZIP64 format is used for the Presentation document. The default value is Zip64Mode.IfNecessary.
|
|
5972
6058
|
*/
|
|
5973
6059
|
zip64Mode?: PptxExportOptions.Zip64ModeEnum;
|
|
6060
|
+
/**
|
|
6061
|
+
* True to refresh the presentation thumbnail on save
|
|
6062
|
+
*/
|
|
6063
|
+
refreshThumbnail?: boolean;
|
|
5974
6064
|
}
|
|
5975
6065
|
export declare namespace PptxExportOptions {
|
|
5976
6066
|
enum ConformanceEnum {
|
|
@@ -6414,7 +6504,8 @@ export declare namespace Save {
|
|
|
6414
6504
|
Xaml,
|
|
6415
6505
|
Mpeg4,
|
|
6416
6506
|
Md,
|
|
6417
|
-
Xml
|
|
6507
|
+
Xml,
|
|
6508
|
+
Emf
|
|
6418
6509
|
}
|
|
6419
6510
|
}
|
|
6420
6511
|
/**
|
|
@@ -6446,7 +6537,8 @@ export declare namespace SaveShape {
|
|
|
6446
6537
|
Gif,
|
|
6447
6538
|
Bmp,
|
|
6448
6539
|
Tiff,
|
|
6449
|
-
Svg
|
|
6540
|
+
Svg,
|
|
6541
|
+
Emf
|
|
6450
6542
|
}
|
|
6451
6543
|
}
|
|
6452
6544
|
/**
|
|
@@ -6505,7 +6597,8 @@ export declare namespace SaveSlide {
|
|
|
6505
6597
|
Xaml,
|
|
6506
6598
|
Html5,
|
|
6507
6599
|
Md,
|
|
6508
|
-
Xml
|
|
6600
|
+
Xml,
|
|
6601
|
+
Emf
|
|
6509
6602
|
}
|
|
6510
6603
|
}
|
|
6511
6604
|
/**
|
|
@@ -6699,7 +6792,8 @@ export declare enum ShapeExportFormat {
|
|
|
6699
6792
|
'Gif',
|
|
6700
6793
|
'Bmp',
|
|
6701
6794
|
'Tiff',
|
|
6702
|
-
'Svg'
|
|
6795
|
+
'Svg',
|
|
6796
|
+
'Emf'
|
|
6703
6797
|
}
|
|
6704
6798
|
/**
|
|
6705
6799
|
* Provides options that control how a shape is saved in thumbnail.
|
|
@@ -6963,7 +7057,8 @@ export declare enum SlideExportFormat {
|
|
|
6963
7057
|
'Xaml',
|
|
6964
7058
|
'Html5',
|
|
6965
7059
|
'Md',
|
|
6966
|
-
'Xml'
|
|
7060
|
+
'Xml',
|
|
7061
|
+
'Emf'
|
|
6967
7062
|
}
|
|
6968
7063
|
/**
|
|
6969
7064
|
* Represents modern comment of slide
|
|
@@ -7790,6 +7885,10 @@ export declare class SvgExportOptions extends ExportOptions {
|
|
|
7790
7885
|
* Determines whether to perform the specified rotation of the shape when rendering or not.
|
|
7791
7886
|
*/
|
|
7792
7887
|
useFrameRotation?: boolean;
|
|
7888
|
+
/**
|
|
7889
|
+
* true to disable ligatures in the rendered output.
|
|
7890
|
+
*/
|
|
7891
|
+
disableFontLigatures?: boolean;
|
|
7793
7892
|
}
|
|
7794
7893
|
export declare namespace SvgExportOptions {
|
|
7795
7894
|
enum PicturesCompressionEnum {
|
|
@@ -7872,37 +7971,11 @@ export declare class SwfExportOptions extends ExportOptions {
|
|
|
7872
7971
|
*/
|
|
7873
7972
|
jpegQuality?: number;
|
|
7874
7973
|
/**
|
|
7875
|
-
*
|
|
7876
|
-
*/
|
|
7877
|
-
notesPosition?: SwfExportOptions.NotesPositionEnum;
|
|
7878
|
-
/**
|
|
7879
|
-
* Gets or sets the position of the comments on the page.
|
|
7880
|
-
*/
|
|
7881
|
-
commentsPosition?: SwfExportOptions.CommentsPositionEnum;
|
|
7882
|
-
/**
|
|
7883
|
-
* Gets or sets the width of the comment output area in pixels (Applies only if comments are displayed on the right).
|
|
7884
|
-
*/
|
|
7885
|
-
commentsAreaWidth?: number;
|
|
7886
|
-
/**
|
|
7887
|
-
* Gets or sets the color of comments area (Applies only if comments are displayed on the right).
|
|
7888
|
-
*/
|
|
7889
|
-
commentsAreaColor?: string;
|
|
7890
|
-
/**
|
|
7891
|
-
* True if comments that have no author are displayed. (Applies only if comments are displayed).
|
|
7974
|
+
* Slides layouting options
|
|
7892
7975
|
*/
|
|
7893
|
-
|
|
7976
|
+
slidesLayoutOptions?: SlidesLayoutOptions;
|
|
7894
7977
|
}
|
|
7895
7978
|
export declare namespace SwfExportOptions {
|
|
7896
|
-
enum NotesPositionEnum {
|
|
7897
|
-
None,
|
|
7898
|
-
BottomFull,
|
|
7899
|
-
BottomTruncated
|
|
7900
|
-
}
|
|
7901
|
-
enum CommentsPositionEnum {
|
|
7902
|
-
None,
|
|
7903
|
-
Bottom,
|
|
7904
|
-
Right
|
|
7905
|
-
}
|
|
7906
7979
|
}
|
|
7907
7980
|
/**
|
|
7908
7981
|
* Represents Table shape resource.
|
package/model.js
CHANGED
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
* SOFTWARE.
|
|
24
24
|
*/
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
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 = void 0;
|
|
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
|
+
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
|
+
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.Sections = 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.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.TiffExportOptions = 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 = 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 = void 0;
|
|
32
32
|
/**
|
|
33
33
|
* Math element.
|
|
34
34
|
*/
|
|
@@ -1023,6 +1023,24 @@ exports.Camera = Camera;
|
|
|
1023
1023
|
CameraTypeEnum[CameraTypeEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
|
|
1024
1024
|
})(CameraTypeEnum = Camera.CameraTypeEnum || (Camera.CameraTypeEnum = {}));
|
|
1025
1025
|
})(Camera = exports.Camera || (exports.Camera = {}));
|
|
1026
|
+
/**
|
|
1027
|
+
* Represents list of Links to Paragraphs resources
|
|
1028
|
+
*/
|
|
1029
|
+
class CaptionTrack extends ResourceBase {
|
|
1030
|
+
constructor() {
|
|
1031
|
+
super();
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
exports.CaptionTrack = CaptionTrack;
|
|
1035
|
+
/**
|
|
1036
|
+
* Represents list of Links to Paragraphs resources
|
|
1037
|
+
*/
|
|
1038
|
+
class CaptionTracks extends ResourceBase {
|
|
1039
|
+
constructor() {
|
|
1040
|
+
super();
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
exports.CaptionTracks = CaptionTracks;
|
|
1026
1044
|
/**
|
|
1027
1045
|
* Represents chart resource
|
|
1028
1046
|
*/
|
|
@@ -1742,6 +1760,7 @@ var ExportFormat;
|
|
|
1742
1760
|
ExportFormat[ExportFormat["Mpeg4"] = 'Mpeg4'] = "Mpeg4";
|
|
1743
1761
|
ExportFormat[ExportFormat["Md"] = 'Md'] = "Md";
|
|
1744
1762
|
ExportFormat[ExportFormat["Xml"] = 'Xml'] = "Xml";
|
|
1763
|
+
ExportFormat[ExportFormat["Emf"] = 'Emf'] = "Emf";
|
|
1745
1764
|
})(ExportFormat = exports.ExportFormat || (exports.ExportFormat = {}));
|
|
1746
1765
|
/**
|
|
1747
1766
|
* Represents export options for whole presentation.
|
|
@@ -2536,6 +2555,12 @@ exports.MarkdownExportOptions = MarkdownExportOptions;
|
|
|
2536
2555
|
NewLineTypeEnum[NewLineTypeEnum["Unix"] = 'Unix'] = "Unix";
|
|
2537
2556
|
NewLineTypeEnum[NewLineTypeEnum["Mac"] = 'Mac'] = "Mac";
|
|
2538
2557
|
})(NewLineTypeEnum = MarkdownExportOptions.NewLineTypeEnum || (MarkdownExportOptions.NewLineTypeEnum = {}));
|
|
2558
|
+
let HandleRepeatedSpacesEnum;
|
|
2559
|
+
(function (HandleRepeatedSpacesEnum) {
|
|
2560
|
+
HandleRepeatedSpacesEnum[HandleRepeatedSpacesEnum["None"] = 'None'] = "None";
|
|
2561
|
+
HandleRepeatedSpacesEnum[HandleRepeatedSpacesEnum["AlternateSpacesToNbsp"] = 'AlternateSpacesToNbsp'] = "AlternateSpacesToNbsp";
|
|
2562
|
+
HandleRepeatedSpacesEnum[HandleRepeatedSpacesEnum["MultipleSpacesToNbsp"] = 'MultipleSpacesToNbsp'] = "MultipleSpacesToNbsp";
|
|
2563
|
+
})(HandleRepeatedSpacesEnum = MarkdownExportOptions.HandleRepeatedSpacesEnum || (MarkdownExportOptions.HandleRepeatedSpacesEnum = {}));
|
|
2539
2564
|
})(MarkdownExportOptions = exports.MarkdownExportOptions || (exports.MarkdownExportOptions = {}));
|
|
2540
2565
|
/**
|
|
2541
2566
|
* Master slide.
|
|
@@ -3758,6 +3783,7 @@ exports.Save = Save;
|
|
|
3758
3783
|
FormatEnum[FormatEnum["Mpeg4"] = 'Mpeg4'] = "Mpeg4";
|
|
3759
3784
|
FormatEnum[FormatEnum["Md"] = 'Md'] = "Md";
|
|
3760
3785
|
FormatEnum[FormatEnum["Xml"] = 'Xml'] = "Xml";
|
|
3786
|
+
FormatEnum[FormatEnum["Emf"] = 'Emf'] = "Emf";
|
|
3761
3787
|
})(FormatEnum = Save.FormatEnum || (Save.FormatEnum = {}));
|
|
3762
3788
|
})(Save = exports.Save || (exports.Save = {}));
|
|
3763
3789
|
/**
|
|
@@ -3779,6 +3805,7 @@ exports.SaveShape = SaveShape;
|
|
|
3779
3805
|
FormatEnum[FormatEnum["Bmp"] = 'Bmp'] = "Bmp";
|
|
3780
3806
|
FormatEnum[FormatEnum["Tiff"] = 'Tiff'] = "Tiff";
|
|
3781
3807
|
FormatEnum[FormatEnum["Svg"] = 'Svg'] = "Svg";
|
|
3808
|
+
FormatEnum[FormatEnum["Emf"] = 'Emf'] = "Emf";
|
|
3782
3809
|
})(FormatEnum = SaveShape.FormatEnum || (SaveShape.FormatEnum = {}));
|
|
3783
3810
|
})(SaveShape = exports.SaveShape || (exports.SaveShape = {}));
|
|
3784
3811
|
/**
|
|
@@ -3819,6 +3846,7 @@ exports.SaveSlide = SaveSlide;
|
|
|
3819
3846
|
FormatEnum[FormatEnum["Html5"] = 'Html5'] = "Html5";
|
|
3820
3847
|
FormatEnum[FormatEnum["Md"] = 'Md'] = "Md";
|
|
3821
3848
|
FormatEnum[FormatEnum["Xml"] = 'Xml'] = "Xml";
|
|
3849
|
+
FormatEnum[FormatEnum["Emf"] = 'Emf'] = "Emf";
|
|
3822
3850
|
})(FormatEnum = SaveSlide.FormatEnum || (SaveSlide.FormatEnum = {}));
|
|
3823
3851
|
})(SaveSlide = exports.SaveSlide || (exports.SaveSlide = {}));
|
|
3824
3852
|
/**
|
|
@@ -3946,6 +3974,7 @@ var ShapeExportFormat;
|
|
|
3946
3974
|
ShapeExportFormat[ShapeExportFormat["Bmp"] = 'Bmp'] = "Bmp";
|
|
3947
3975
|
ShapeExportFormat[ShapeExportFormat["Tiff"] = 'Tiff'] = "Tiff";
|
|
3948
3976
|
ShapeExportFormat[ShapeExportFormat["Svg"] = 'Svg'] = "Svg";
|
|
3977
|
+
ShapeExportFormat[ShapeExportFormat["Emf"] = 'Emf'] = "Emf";
|
|
3949
3978
|
})(ShapeExportFormat = exports.ShapeExportFormat || (exports.ShapeExportFormat = {}));
|
|
3950
3979
|
/**
|
|
3951
3980
|
* Provides options that control how a shape is saved in thumbnail.
|
|
@@ -4127,6 +4156,7 @@ var SlideExportFormat;
|
|
|
4127
4156
|
SlideExportFormat[SlideExportFormat["Html5"] = 'Html5'] = "Html5";
|
|
4128
4157
|
SlideExportFormat[SlideExportFormat["Md"] = 'Md'] = "Md";
|
|
4129
4158
|
SlideExportFormat[SlideExportFormat["Xml"] = 'Xml'] = "Xml";
|
|
4159
|
+
SlideExportFormat[SlideExportFormat["Emf"] = 'Emf'] = "Emf";
|
|
4130
4160
|
})(SlideExportFormat = exports.SlideExportFormat || (exports.SlideExportFormat = {}));
|
|
4131
4161
|
/**
|
|
4132
4162
|
* Represents modern comment of slide
|
|
@@ -4735,20 +4765,6 @@ class SwfExportOptions extends ExportOptions {
|
|
|
4735
4765
|
}
|
|
4736
4766
|
}
|
|
4737
4767
|
exports.SwfExportOptions = SwfExportOptions;
|
|
4738
|
-
(function (SwfExportOptions) {
|
|
4739
|
-
let NotesPositionEnum;
|
|
4740
|
-
(function (NotesPositionEnum) {
|
|
4741
|
-
NotesPositionEnum[NotesPositionEnum["None"] = 'None'] = "None";
|
|
4742
|
-
NotesPositionEnum[NotesPositionEnum["BottomFull"] = 'BottomFull'] = "BottomFull";
|
|
4743
|
-
NotesPositionEnum[NotesPositionEnum["BottomTruncated"] = 'BottomTruncated'] = "BottomTruncated";
|
|
4744
|
-
})(NotesPositionEnum = SwfExportOptions.NotesPositionEnum || (SwfExportOptions.NotesPositionEnum = {}));
|
|
4745
|
-
let CommentsPositionEnum;
|
|
4746
|
-
(function (CommentsPositionEnum) {
|
|
4747
|
-
CommentsPositionEnum[CommentsPositionEnum["None"] = 'None'] = "None";
|
|
4748
|
-
CommentsPositionEnum[CommentsPositionEnum["Bottom"] = 'Bottom'] = "Bottom";
|
|
4749
|
-
CommentsPositionEnum[CommentsPositionEnum["Right"] = 'Right'] = "Right";
|
|
4750
|
-
})(CommentsPositionEnum = SwfExportOptions.CommentsPositionEnum || (SwfExportOptions.CommentsPositionEnum = {}));
|
|
4751
|
-
})(SwfExportOptions = exports.SwfExportOptions || (exports.SwfExportOptions = {}));
|
|
4752
4768
|
/**
|
|
4753
4769
|
* Represents Table shape resource.
|
|
4754
4770
|
*/
|