asposeslidescloud 24.9.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 CHANGED
@@ -27,67 +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 24.9
31
-
32
- * Added **Upload** and **Download** methods to async API. They are identical to **UploadFile** and **DownloadFile** methods of the regular API, but file size is not restricted for them.
33
-
34
- ## Enhancements in Version 24.8
35
-
36
- * Added **StartSplit** and **StartUploadAndSplit** methods to async API.
37
- * Added **ReplacePresentationRegex** and **ReplacePresentationRegexOnline** methods.
38
- * Added **HighlightPresentationText** and **HighlightPresentationRegex** methods.
39
- * Added **OperationError** class; changed **Operation**.**Error** property type from string to **OperationError**.
40
- * Removed **wholeWordsOnly** parameter from **ReplaceShapeRegex** method.
41
-
42
- ## Enhancements in Version 24.7
43
-
44
- * Added **TemplatesPath** property to **Html5ExportOptions** class. It enables using custom templates in conversion to Html5 format.
45
- * Added **GetHtml5Templates** method to retrieve the list of default Html5 templates.
46
- * Added **Xml** to the list of available export formats.
47
- * Added **wholeWordsOnly** parameter to **ReplacePresentationText** and **ReplacePresentationTextOnline** methods.
48
- * Added **GradientStyle** property to **ExportOptions** class.
49
- * Added **ResterizeUnsupportedFontStyles** property to **PdfExportOptions** class.
50
- * Added **Zip64Mode** property to **PptxExportOptions** class.
51
- * Added **Transparency** property to **Table** and **TableCell** class.
52
- * Removed obsolete **DownloadPortionsAsMathML**, **SavePortionsAsMathML** methods. Use **DownloadMathPortion** and **SaveMathPortion** methods to convert portions to math formats.
53
-
54
- ## Enhancements in Version 24.6
55
-
56
- * Added **HideInk** and **InterpretMaskOpAsOpacity** properties to **PdfExportOptions** class.
57
- * Removed **Enqueued** from the list of allowed values for **Operation.Status** property.
58
-
59
- ## Enhancements in Version 24.5
60
-
61
- * Added **options** parameter to **ImportFromPdf** method. You can specify **options.DetectTables** property to control import behavior.
62
- * Added **Title** property to **Axis** class for charts.
63
- * Added **X**, **Y**, **Width**, **Height**, **Overlay**, **FillFormat**, **EffectFormat** and **LineFormat** properties to **ChartTitle** class.
64
- * Added **HasTitle** property to **Chart** class; removed **HasTitle** property from **ChartTitle** class.
65
-
66
- ## Enhancements in Version 24.4
67
-
68
- * 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.
69
- * Added **Marker** property to **DataPoint** class.
70
-
71
- ## Enhancements in Version 24.3
72
-
73
- * Added Markdown (**Md**) to the list of allowed export formats.
74
- * Added **DeletePictureCroppedAreas** method to delete cropped areas of pictures.
75
- * Added **SlidesLayoutOptions** property to **PdfExportOptions**, **HtmlExportOptions**, **TiffExportOptions** and **ImageExportOptions** classes. You can use it to specify handout or notes/comments layouting options.
76
- * Added **AnimateTextType** enum property to **Effect** class.
77
- * Added **NotesCommentsLayouting** property to **Html5ExportOptions** class.
78
- * Added **BwConversionMode** property to **TiffExportOptions** class.
79
- * Added **EmbedImages** boolean property to **Html5ExportOptions** class.
80
- * Added **ShowMediaControls** boolean property to **SlideShowProperties** class.
81
- * Added **IsDecorative** boolean property to **ShapeBase** class.
82
-
83
-
84
- ## Enhancements in Version 24.2
85
-
86
- * Added **GetCommentAuthors** method to get list of comment authors.
87
-
88
- ## Enhancements in Version 24.1
89
-
90
- * 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.
91
45
 
92
46
  ## Licensing
93
47
  All Aspose.Slides Cloud SDKs are licensed under MIT License.
package/api.d.ts CHANGED
@@ -16,8 +16,9 @@ export declare class SlidesApi {
16
16
  * @param authBaseUrl Base authentication Url.
17
17
  * @param debugMode A value indicating whether debug mode. In debug mode all requests and responses are logged to console.
18
18
  * @param timeout Timeout (in seconds) for an operation. Applies to the Slides operation, not to the HTTP request.
19
+ * @param httpRequestTimeout Timeout (in seconds) for an HTTP request. Applies to the HTTP request, not to the Slides operation.
19
20
  */
20
- constructor(appSid: string, appKey: string, baseUrl?: string, authBaseUrl?: string, debugMode?: boolean, timeout?: number);
21
+ constructor(appSid: string, appKey: string, baseUrl?: string, authBaseUrl?: string, debugMode?: boolean, timeout?: number, httpRequestTimeout?: number);
21
22
  /**
22
23
  * Changes the placement of selected shapes on the slide. Aligns shapes to the margins or the edge of the slide or aligns them relative to each other.
23
24
  * @param name Document name.
@@ -70,6 +71,20 @@ export declare class SlidesApi {
70
71
  response: http.ServerResponse;
71
72
  body: Buffer;
72
73
  }>;
74
+ /**
75
+ * Deletes cropped areas of a pictire.
76
+ * @param name Document name.
77
+ * @param slideIndex Slide index.
78
+ * @param shapeIndex Shape index (must refer to a picture frame).
79
+ * @param resolution Target resolution in DPI.
80
+ * @param deletePictureCroppedAreas true to delete picture cropped areas.
81
+ * @param password Document password.
82
+ * @param folder Document folder.
83
+ * @param storage Presentation storage.
84
+ */
85
+ compressImage(name: string, slideIndex: number, shapeIndex: number, resolution?: number, deletePictureCroppedAreas?: boolean, password?: string, folder?: string, storage?: string): Promise<{
86
+ response: http.ServerResponse;
87
+ }>;
73
88
  /**
74
89
  * Convert presentation from request content to format specified.
75
90
  * @param document Document data.
@@ -608,6 +623,21 @@ export declare class SlidesApi {
608
623
  response: http.ServerResponse;
609
624
  body: model.VbaModule;
610
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
+ }>;
611
641
  /**
612
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.
613
643
  * @param name Document name.
@@ -894,18 +924,6 @@ export declare class SlidesApi {
894
924
  response: http.ServerResponse;
895
925
  body: model.Paragraphs;
896
926
  }>;
897
- /**
898
- * Deletes cropped areas of a pictire.
899
- * @param name Document name.
900
- * @param slideIndex Slide index.
901
- * @param shapeIndex Shape index (must refer to a picture frame).
902
- * @param password Document password.
903
- * @param folder Document folder.
904
- * @param storage Presentation storage.
905
- */
906
- deletePictureCroppedAreas(name: string, slideIndex: number, shapeIndex: number, password?: string, folder?: string, storage?: string): Promise<{
907
- response: http.ServerResponse;
908
- }>;
909
927
  /**
910
928
  * Remove a portion.
911
929
  * @param name Document name.
@@ -1355,6 +1373,31 @@ export declare class SlidesApi {
1355
1373
  response: http.ServerResponse;
1356
1374
  body: model.VbaProject;
1357
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
+ }>;
1358
1401
  /**
1359
1402
  * Removes shapes with name \&quot;watermark\&quot; from the presentation.
1360
1403
  * @param name Document name.
@@ -1394,8 +1437,9 @@ export declare class SlidesApi {
1394
1437
  * @param password Document password.
1395
1438
  * @param folder Document folder.
1396
1439
  * @param storage Document storage.
1440
+ * @param quality Image quality (0 to 100; has effect only on Jpeg format).
1397
1441
  */
1398
- 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<{
1399
1443
  response: http.ServerResponse;
1400
1444
  body: Buffer;
1401
1445
  }>;
@@ -1427,8 +1471,9 @@ export declare class SlidesApi {
1427
1471
  * @param index Image index.
1428
1472
  * @param format Export format (png, jpg, gif).
1429
1473
  * @param password Document password.
1474
+ * @param quality Image quality (0 to 100; has effect only on Jpeg format).
1430
1475
  */
1431
- 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<{
1432
1477
  response: http.ServerResponse;
1433
1478
  body: Buffer;
1434
1479
  }>;
@@ -1439,8 +1484,9 @@ export declare class SlidesApi {
1439
1484
  * @param password Document password.
1440
1485
  * @param folder Document folder.
1441
1486
  * @param storage Document storage.
1487
+ * @param quality Image quality (0 to 100; has effect only on Jpeg format).
1442
1488
  */
1443
- 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<{
1444
1490
  response: http.ServerResponse;
1445
1491
  body: Buffer;
1446
1492
  }>;
@@ -1469,8 +1515,9 @@ export declare class SlidesApi {
1469
1515
  * @param document Document data.
1470
1516
  * @param format Export format (png, jpg, gif).
1471
1517
  * @param password Document password.
1518
+ * @param quality Image quality (0 to 100; has effect only on Jpeg format).
1472
1519
  */
1473
- downloadImagesOnline(document: Readable, format: model.ImageExportFormat, password?: string): Promise<{
1520
+ downloadImagesOnline(document: Readable, format: model.ImageExportFormat, password?: string, quality?: number): Promise<{
1474
1521
  response: http.ServerResponse;
1475
1522
  body: Buffer;
1476
1523
  }>;
@@ -2117,7 +2164,7 @@ export declare class SlidesApi {
2117
2164
  * @param folder Document folder.
2118
2165
  * @param storage Document storage.
2119
2166
  * @param shapeType Shape type.
2120
- * @param subShape Sub-shape path (e.g. \"3\", \"3/shapes/2).
2167
+ * @param subShape Sub-shape path (e.g. \"3\", \"3/shapes/2\").
2121
2168
  */
2122
2169
  getShapes(name: string, slideIndex: number, password?: string, folder?: string, storage?: string, shapeType?: model.ShapeType, subShape?: string): Promise<{
2123
2170
  response: http.ServerResponse;
@@ -2424,6 +2471,20 @@ export declare class SlidesApi {
2424
2471
  response: http.ServerResponse;
2425
2472
  body: model.VbaProject;
2426
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
+ }>;
2427
2488
  /**
2428
2489
  * Read presentation view properties.
2429
2490
  * @param name Document name.
@@ -2504,8 +2565,10 @@ export declare class SlidesApi {
2504
2565
  * @param password Document password.
2505
2566
  * @param folder Document folder.
2506
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.
2507
2570
  */
2508
- 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<{
2509
2572
  response: http.ServerResponse;
2510
2573
  body: model.Document;
2511
2574
  }>;
@@ -3729,8 +3792,9 @@ export declare class SlidesAsyncApi {
3729
3792
  * @param authBaseUrl Base authentication Url.
3730
3793
  * @param debugMode A value indicating whether debug mode. In debug mode all requests and responses are logged to console.
3731
3794
  * @param timeout Timeout (in seconds) for an operation. Applies to the Slides operation, not to the HTTP request.
3795
+ * @param httpRequestTimeout Timeout (in seconds) for an HTTP request. Applies to the HTTP request, not to the Slides operation.
3732
3796
  */
3733
- constructor(appSid: string, appKey: string, baseUrl?: string, authBaseUrl?: string, debugMode?: boolean, timeout?: number);
3797
+ constructor(appSid: string, appKey: string, baseUrl?: string, authBaseUrl?: string, debugMode?: boolean, timeout?: number, httpRequestTimeout?: number);
3734
3798
  /**
3735
3799
  *
3736
3800
  * @param path