asposeslidescloud 24.2.0 → 24.4.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,6 +27,24 @@ 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.4
31
+
32
+ * 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.
33
+ * Added **Marker** property to **DataPoint** class.
34
+
35
+ ## Enhancements in Version 24.3
36
+
37
+ * Added Markdown (**Md**) to the list of allowed export formats.
38
+ * Added **DeletePictureCroppedAreas** method to delete cropped areas of pictures.
39
+ * Added **SlidesLayoutOptions** property to **PdfExportOptions**, **HtmlExportOptions**, **TiffExportOptions** and **ImageExportOptions** classes. You can use it to specify handout or notes/comments layouting options.
40
+ * Added **AnimateTextType** enum property to **Effect** class.
41
+ * Added **NotesCommentsLayouting** property to **Html5ExportOptions** class.
42
+ * Added **BwConversionMode** property to **TiffExportOptions** class.
43
+ * Added **EmbedImages** boolean property to **Html5ExportOptions** class.
44
+ * Added **ShowMediaControls** boolean property to **SlideShowProperties** class.
45
+ * Added **IsDecorative** boolean property to **ShapeBase** class.
46
+
47
+
30
48
  ## Enhancements in Version 24.2
31
49
 
32
50
  * Added **GetCommentAuthors** method to get list of comment authors.
package/api.d.ts CHANGED
@@ -894,6 +894,18 @@ export declare class SlidesApi {
894
894
  response: http.ServerResponse;
895
895
  body: model.Paragraphs;
896
896
  }>;
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
+ }>;
897
909
  /**
898
910
  * Remove a portion.
899
911
  * @param name Document name.
@@ -1462,6 +1474,22 @@ export declare class SlidesApi {
1462
1474
  response: http.ServerResponse;
1463
1475
  body: Buffer;
1464
1476
  }>;
1477
+ /**
1478
+ * Convert Mathematical Text to MathML Format
1479
+ * @param name Document name.
1480
+ * @param slideIndex Slide index.
1481
+ * @param shapeIndex Shape index.
1482
+ * @param paragraphIndex Paragraph index.
1483
+ * @param portionIndex Portion index.
1484
+ * @param format Format.
1485
+ * @param password Document password.
1486
+ * @param folder Document folder.
1487
+ * @param storage Document storage.
1488
+ */
1489
+ downloadMathPortion(name: string, slideIndex: number, shapeIndex: number, paragraphIndex: number, portionIndex: number, format: model.MathFormat, password?: string, folder?: string, storage?: string): Promise<{
1490
+ response: http.ServerResponse;
1491
+ body: Buffer;
1492
+ }>;
1465
1493
  /**
1466
1494
  * Convert notes slide to the specified image format.
1467
1495
  * @param name Document name.
@@ -2784,6 +2812,22 @@ export declare class SlidesApi {
2784
2812
  response: http.ServerResponse;
2785
2813
  body: Buffer;
2786
2814
  }>;
2815
+ /**
2816
+ * Convert Mathematical Text to MathML Format and saves result to the storage
2817
+ * @param name Document name.
2818
+ * @param slideIndex Slide index.
2819
+ * @param shapeIndex Shape index.
2820
+ * @param paragraphIndex Paragraph index.
2821
+ * @param portionIndex Portion index.
2822
+ * @param format Format.
2823
+ * @param outPath Path to save result.
2824
+ * @param password Document password.
2825
+ * @param folder Presentation folder.
2826
+ * @param storage Presentation storage.
2827
+ */
2828
+ saveMathPortion(name: string, slideIndex: number, shapeIndex: number, paragraphIndex: number, portionIndex: number, format: model.MathFormat, outPath: string, password?: string, folder?: string, storage?: string): Promise<{
2829
+ response: http.ServerResponse;
2830
+ }>;
2787
2831
  /**
2788
2832
  * Convert Mathematical Text to MathML Format and saves result to the storage
2789
2833
  * @param name Document name.
package/api.js CHANGED
@@ -2898,6 +2898,47 @@ class SlidesApi {
2898
2898
  return Promise.resolve({ body: result, response });
2899
2899
  });
2900
2900
  }
2901
+ /**
2902
+ * Deletes cropped areas of a pictire.
2903
+ * @param name Document name.
2904
+ * @param slideIndex Slide index.
2905
+ * @param shapeIndex Shape index (must refer to a picture frame).
2906
+ * @param password Document password.
2907
+ * @param folder Document folder.
2908
+ * @param storage Presentation storage.
2909
+ */
2910
+ deletePictureCroppedAreas(name, slideIndex, shapeIndex, password = null, folder = null, storage = null) {
2911
+ return __awaiter(this, void 0, void 0, function* () {
2912
+ // verify required parameter 'name' is not null or undefined
2913
+ if (name === null || name === undefined) {
2914
+ throw new Error('The required parameter "name" was null or undefined when calling deletePictureCroppedAreas.');
2915
+ }
2916
+ // verify required parameter 'slideIndex' is not null or undefined
2917
+ if (slideIndex === null || slideIndex === undefined) {
2918
+ throw new Error('The required parameter "slideIndex" was null or undefined when calling deletePictureCroppedAreas.');
2919
+ }
2920
+ // verify required parameter 'shapeIndex' is not null or undefined
2921
+ if (shapeIndex === null || shapeIndex === undefined) {
2922
+ throw new Error('The required parameter "shapeIndex" was null or undefined when calling deletePictureCroppedAreas.');
2923
+ }
2924
+ let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/pictureCroppedAreas";
2925
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
2926
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
2927
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
2928
+ const queryParameters = {};
2929
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
2930
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
2931
+ const requestOptions = {
2932
+ method: "DELETE",
2933
+ headers: {},
2934
+ url: localVarPath,
2935
+ params: queryParameters
2936
+ };
2937
+ (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
2938
+ const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
2939
+ return Promise.resolve({ response });
2940
+ });
2941
+ }
2901
2942
  /**
2902
2943
  * Remove a portion.
2903
2944
  * @param name Document name.
@@ -4804,6 +4845,71 @@ class SlidesApi {
4804
4845
  return Promise.resolve({ body: result, response });
4805
4846
  });
4806
4847
  }
4848
+ /**
4849
+ * Convert Mathematical Text to MathML Format
4850
+ * @param name Document name.
4851
+ * @param slideIndex Slide index.
4852
+ * @param shapeIndex Shape index.
4853
+ * @param paragraphIndex Paragraph index.
4854
+ * @param portionIndex Portion index.
4855
+ * @param format Format.
4856
+ * @param password Document password.
4857
+ * @param folder Document folder.
4858
+ * @param storage Document storage.
4859
+ */
4860
+ downloadMathPortion(name, slideIndex, shapeIndex, paragraphIndex, portionIndex, format, password = null, folder = null, storage = null) {
4861
+ return __awaiter(this, void 0, void 0, function* () {
4862
+ // verify required parameter 'name' is not null or undefined
4863
+ if (name === null || name === undefined) {
4864
+ throw new Error('The required parameter "name" was null or undefined when calling downloadMathPortion.');
4865
+ }
4866
+ // verify required parameter 'slideIndex' is not null or undefined
4867
+ if (slideIndex === null || slideIndex === undefined) {
4868
+ throw new Error('The required parameter "slideIndex" was null or undefined when calling downloadMathPortion.');
4869
+ }
4870
+ // verify required parameter 'shapeIndex' is not null or undefined
4871
+ if (shapeIndex === null || shapeIndex === undefined) {
4872
+ throw new Error('The required parameter "shapeIndex" was null or undefined when calling downloadMathPortion.');
4873
+ }
4874
+ // verify required parameter 'paragraphIndex' is not null or undefined
4875
+ if (paragraphIndex === null || paragraphIndex === undefined) {
4876
+ throw new Error('The required parameter "paragraphIndex" was null or undefined when calling downloadMathPortion.');
4877
+ }
4878
+ // verify required parameter 'portionIndex' is not null or undefined
4879
+ if (portionIndex === null || portionIndex === undefined) {
4880
+ throw new Error('The required parameter "portionIndex" was null or undefined when calling downloadMathPortion.');
4881
+ }
4882
+ // verify required parameter 'format' is not null or undefined
4883
+ if (format === null || format === undefined) {
4884
+ throw new Error('The required parameter "format" was null or undefined when calling downloadMathPortion.');
4885
+ }
4886
+ // verify value of enum parameter 'format' is valid
4887
+ if (!Object.keys(model.MathFormat).filter(i => model.MathFormat[i].toLowerCase() == format.toString().toLowerCase()).length) {
4888
+ throw new Error('Invalid value for format: ' + format + '. Must be one of the following: ' + Object.keys(model.MathFormat).map(key => model.MathFormat[key]).join());
4889
+ }
4890
+ let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/{format}";
4891
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
4892
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
4893
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
4894
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "paragraphIndex", objectSerializer_1.ObjectSerializer.toString(paragraphIndex));
4895
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "portionIndex", objectSerializer_1.ObjectSerializer.toString(portionIndex));
4896
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "format", objectSerializer_1.ObjectSerializer.toString(format));
4897
+ const queryParameters = {};
4898
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
4899
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
4900
+ const requestOptions = {
4901
+ method: "POST",
4902
+ headers: {},
4903
+ url: localVarPath,
4904
+ responseType: 'arraybuffer',
4905
+ params: queryParameters
4906
+ };
4907
+ (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
4908
+ const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
4909
+ const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "Buffer");
4910
+ return Promise.resolve({ body: result, response });
4911
+ });
4912
+ }
4807
4913
  /**
4808
4914
  * Convert notes slide to the specified image format.
4809
4915
  * @param name Document name.
@@ -9056,6 +9162,75 @@ class SlidesApi {
9056
9162
  return Promise.resolve({ body: result, response });
9057
9163
  });
9058
9164
  }
9165
+ /**
9166
+ * Convert Mathematical Text to MathML Format and saves result to the storage
9167
+ * @param name Document name.
9168
+ * @param slideIndex Slide index.
9169
+ * @param shapeIndex Shape index.
9170
+ * @param paragraphIndex Paragraph index.
9171
+ * @param portionIndex Portion index.
9172
+ * @param format Format.
9173
+ * @param outPath Path to save result.
9174
+ * @param password Document password.
9175
+ * @param folder Presentation folder.
9176
+ * @param storage Presentation storage.
9177
+ */
9178
+ saveMathPortion(name, slideIndex, shapeIndex, paragraphIndex, portionIndex, format, outPath, password = null, folder = null, storage = null) {
9179
+ return __awaiter(this, void 0, void 0, function* () {
9180
+ // verify required parameter 'name' is not null or undefined
9181
+ if (name === null || name === undefined) {
9182
+ throw new Error('The required parameter "name" was null or undefined when calling saveMathPortion.');
9183
+ }
9184
+ // verify required parameter 'slideIndex' is not null or undefined
9185
+ if (slideIndex === null || slideIndex === undefined) {
9186
+ throw new Error('The required parameter "slideIndex" was null or undefined when calling saveMathPortion.');
9187
+ }
9188
+ // verify required parameter 'shapeIndex' is not null or undefined
9189
+ if (shapeIndex === null || shapeIndex === undefined) {
9190
+ throw new Error('The required parameter "shapeIndex" was null or undefined when calling saveMathPortion.');
9191
+ }
9192
+ // verify required parameter 'paragraphIndex' is not null or undefined
9193
+ if (paragraphIndex === null || paragraphIndex === undefined) {
9194
+ throw new Error('The required parameter "paragraphIndex" was null or undefined when calling saveMathPortion.');
9195
+ }
9196
+ // verify required parameter 'portionIndex' is not null or undefined
9197
+ if (portionIndex === null || portionIndex === undefined) {
9198
+ throw new Error('The required parameter "portionIndex" was null or undefined when calling saveMathPortion.');
9199
+ }
9200
+ // verify required parameter 'format' is not null or undefined
9201
+ if (format === null || format === undefined) {
9202
+ throw new Error('The required parameter "format" was null or undefined when calling saveMathPortion.');
9203
+ }
9204
+ // verify value of enum parameter 'format' is valid
9205
+ if (!Object.keys(model.MathFormat).filter(i => model.MathFormat[i].toLowerCase() == format.toString().toLowerCase()).length) {
9206
+ throw new Error('Invalid value for format: ' + format + '. Must be one of the following: ' + Object.keys(model.MathFormat).map(key => model.MathFormat[key]).join());
9207
+ }
9208
+ // verify required parameter 'outPath' is not null or undefined
9209
+ if (outPath === null || outPath === undefined) {
9210
+ throw new Error('The required parameter "outPath" was null or undefined when calling saveMathPortion.');
9211
+ }
9212
+ let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/{format}";
9213
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
9214
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
9215
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
9216
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "paragraphIndex", objectSerializer_1.ObjectSerializer.toString(paragraphIndex));
9217
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "portionIndex", objectSerializer_1.ObjectSerializer.toString(portionIndex));
9218
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "format", objectSerializer_1.ObjectSerializer.toString(format));
9219
+ const queryParameters = {};
9220
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "outPath", outPath);
9221
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
9222
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
9223
+ const requestOptions = {
9224
+ method: "PUT",
9225
+ headers: {},
9226
+ url: localVarPath,
9227
+ params: queryParameters
9228
+ };
9229
+ (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
9230
+ const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
9231
+ return Promise.resolve({ response });
9232
+ });
9233
+ }
9059
9234
  /**
9060
9235
  * Convert Mathematical Text to MathML Format and saves result to the storage
9061
9236
  * @param name Document name.
@@ -157,7 +157,7 @@ function invokeApiMethodInternal(requestOptions, configuration, notApplyAuthToRe
157
157
  if (!requestOptions.headers) {
158
158
  requestOptions.headers = {};
159
159
  }
160
- requestOptions.headers["x-aspose-client"] = "nodejs sdk v24.2.0";
160
+ requestOptions.headers["x-aspose-client"] = "nodejs sdk v24.4.0";
161
161
  if (configuration.timeout) {
162
162
  requestOptions.headers["x-aspose-timeout"] = configuration.timeout;
163
163
  }
package/model.d.ts CHANGED
@@ -456,6 +456,10 @@ export declare class ShapeBase extends ResourceBase {
456
456
  * Gets or sets a value indicating whether this ShapeBase is hidden.
457
457
  */
458
458
  hidden?: boolean;
459
+ /**
460
+ * Gets or sets 'Mark as decorative' option.
461
+ */
462
+ isDecorative?: boolean;
459
463
  /**
460
464
  * Gets or sets the X
461
465
  */
@@ -1246,6 +1250,10 @@ export declare class DataPoint {
1246
1250
  * Gets or sets the line format.
1247
1251
  */
1248
1252
  lineFormat?: LineFormat;
1253
+ /**
1254
+ * Gets or sets the marker.
1255
+ */
1256
+ marker?: SeriesMarker;
1249
1257
  type?: DataPoint.TypeEnum;
1250
1258
  }
1251
1259
  export declare namespace DataPoint {
@@ -2328,6 +2336,10 @@ export declare class Effect {
2328
2336
  * Preset class type.
2329
2337
  */
2330
2338
  presetClassType?: Effect.PresetClassTypeEnum;
2339
+ /**
2340
+ * Preset class type.
2341
+ */
2342
+ animateTextType?: Effect.AnimateTextTypeEnum;
2331
2343
  /**
2332
2344
  * Shape index.
2333
2345
  */
@@ -2619,6 +2631,11 @@ export declare namespace Effect {
2619
2631
  MediaCall,
2620
2632
  OLEActionVerbs
2621
2633
  }
2634
+ enum AnimateTextTypeEnum {
2635
+ AllAtOnce,
2636
+ ByWord,
2637
+ ByLetter
2638
+ }
2622
2639
  enum TriggerTypeEnum {
2623
2640
  AfterPrevious,
2624
2641
  OnClick,
@@ -2727,7 +2744,8 @@ export declare enum ExportFormat {
2727
2744
  'Bmp',
2728
2745
  'Fodp',
2729
2746
  'Xaml',
2730
- 'Mpeg4'
2747
+ 'Mpeg4',
2748
+ 'Md'
2731
2749
  }
2732
2750
  /**
2733
2751
  * Represents export options for whole presentation.
@@ -3243,6 +3261,53 @@ export declare namespace GroupingCharacterElement {
3243
3261
  Bottom
3244
3262
  }
3245
3263
  }
3264
+ /**
3265
+ * Slides layouting options.
3266
+ */
3267
+ export declare class SlidesLayoutOptions {
3268
+ layoutType?: SlidesLayoutOptions.LayoutTypeEnum;
3269
+ }
3270
+ export declare namespace SlidesLayoutOptions {
3271
+ enum LayoutTypeEnum {
3272
+ NotesComments,
3273
+ Handout
3274
+ }
3275
+ }
3276
+ /**
3277
+ * Handout layouting options
3278
+ */
3279
+ export declare class HandoutLayoutingOptions extends SlidesLayoutOptions {
3280
+ constructor();
3281
+ /**
3282
+ * Specified how many pages and in what sequence will be placed on the page.
3283
+ */
3284
+ handout?: HandoutLayoutingOptions.HandoutEnum;
3285
+ /**
3286
+ * True to print the displayed slide numbers.
3287
+ */
3288
+ printSlideNumbers?: boolean;
3289
+ /**
3290
+ * True to display comments on slide.
3291
+ */
3292
+ printComments?: boolean;
3293
+ /**
3294
+ * True to draw frames around the displayed slides.
3295
+ */
3296
+ printFrameSlide?: boolean;
3297
+ }
3298
+ export declare namespace HandoutLayoutingOptions {
3299
+ enum HandoutEnum {
3300
+ Handouts1,
3301
+ Handouts2,
3302
+ Handouts3,
3303
+ Handouts4Horizontal,
3304
+ Handouts4Vertical,
3305
+ Handouts6Horizontal,
3306
+ Handouts6Vertical,
3307
+ Handouts9Horizontal,
3308
+ Handouts9Vertical
3309
+ }
3310
+ }
3246
3311
  /**
3247
3312
  * Represents header/footer info of slide
3248
3313
  */
@@ -3302,6 +3367,14 @@ export declare class Html5ExportOptions extends ExportOptions {
3302
3367
  * Gets or sets shapes animation option.
3303
3368
  */
3304
3369
  animateShapes?: boolean;
3370
+ /**
3371
+ * Gets or sets embed images option.
3372
+ */
3373
+ embedImages?: boolean;
3374
+ /**
3375
+ * Slides layouting options
3376
+ */
3377
+ notesCommentsLayouting?: NotesCommentsLayoutingOptions;
3305
3378
  }
3306
3379
  /**
3307
3380
  * Provides options that control how a presentation is saved in Html format.
@@ -3337,25 +3410,9 @@ export declare class HtmlExportOptions extends ExportOptions {
3337
3410
  */
3338
3411
  deletePicturesCroppedAreas?: boolean;
3339
3412
  /**
3340
- * Gets or sets the position of the notes on the page.
3341
- */
3342
- notesPosition?: HtmlExportOptions.NotesPositionEnum;
3343
- /**
3344
- * Gets or sets the position of the comments on the page.
3345
- */
3346
- commentsPosition?: HtmlExportOptions.CommentsPositionEnum;
3347
- /**
3348
- * Gets or sets the width of the comment output area in pixels (Applies only if comments are displayed on the right).
3413
+ * Slides layouting options
3349
3414
  */
3350
- commentsAreaWidth?: number;
3351
- /**
3352
- * Gets or sets the color of comments area (Applies only if comments are displayed on the right).
3353
- */
3354
- commentsAreaColor?: string;
3355
- /**
3356
- * True if comments that have no author are displayed. (Applies only if comments are displayed).
3357
- */
3358
- showCommentsByNoAuthor?: boolean;
3415
+ slidesLayoutOptions?: SlidesLayoutOptions;
3359
3416
  }
3360
3417
  export declare namespace HtmlExportOptions {
3361
3418
  enum PicturesCompressionEnum {
@@ -3366,16 +3423,6 @@ export declare namespace HtmlExportOptions {
3366
3423
  Dpi72,
3367
3424
  DocumentResolution
3368
3425
  }
3369
- enum NotesPositionEnum {
3370
- None,
3371
- BottomFull,
3372
- BottomTruncated
3373
- }
3374
- enum CommentsPositionEnum {
3375
- None,
3376
- Bottom,
3377
- Right
3378
- }
3379
3426
  }
3380
3427
  /**
3381
3428
  * Hyperlink
@@ -3491,38 +3538,14 @@ export declare enum ImageExportFormat {
3491
3538
  */
3492
3539
  export declare class ImageExportOptions extends ImageExportOptionsBase {
3493
3540
  constructor();
3494
- /**
3495
- * Gets or sets the position of the notes on the page.
3496
- */
3497
- notesPosition?: ImageExportOptions.NotesPositionEnum;
3498
- /**
3499
- * Gets or sets the position of the comments on the page.
3500
- */
3501
- commentsPosition?: ImageExportOptions.CommentsPositionEnum;
3502
- /**
3503
- * Gets or sets the width of the comment output area in pixels (Applies only if comments are displayed on the right).
3504
- */
3505
- commentsAreaWidth?: number;
3506
- /**
3507
- * Gets or sets the color of comments area (Applies only if comments are displayed on the right).
3508
- */
3509
- commentsAreaColor?: string;
3510
3541
  /**
3511
3542
  * Show hidden slides. If true, hidden are exported.
3512
3543
  */
3513
3544
  showHiddenSlides?: boolean;
3514
- }
3515
- export declare namespace ImageExportOptions {
3516
- enum NotesPositionEnum {
3517
- None,
3518
- BottomFull,
3519
- BottomTruncated
3520
- }
3521
- enum CommentsPositionEnum {
3522
- None,
3523
- Bottom,
3524
- Right
3525
- }
3545
+ /**
3546
+ * Slides layouting options
3547
+ */
3548
+ slidesLayoutOptions?: SlidesLayoutOptions;
3526
3549
  }
3527
3550
  /**
3528
3551
  * List of images.
@@ -3961,6 +3984,78 @@ export declare class LuminanceEffect extends ImageTransformEffect {
3961
3984
  }
3962
3985
  export declare namespace LuminanceEffect {
3963
3986
  }
3987
+ /**
3988
+ * Provides options that control how a presentation is saved in Html5 format.
3989
+ */
3990
+ export declare class MarkdownExportOptions extends ExportOptions {
3991
+ constructor();
3992
+ /**
3993
+ * Specifies markdown specification to convert presentation. Default is TextOnly.
3994
+ */
3995
+ exportType?: MarkdownExportOptions.ExportTypeEnum;
3996
+ /**
3997
+ * Specifies markdown specification to convert presentation. Default is MultiMarkdown.
3998
+ */
3999
+ flavor?: MarkdownExportOptions.FlavorEnum;
4000
+ /**
4001
+ * Specifies whether the generated document should have new lines of \\\\r(Macintosh), \\\\n(Unix) or \\\\r\\\\n(Windows). Default is Unix.
4002
+ */
4003
+ newLineType?: MarkdownExportOptions.NewLineTypeEnum;
4004
+ /**
4005
+ * Specifies folder name to save images. Default is Images.
4006
+ */
4007
+ imagesSaveFolderName?: string;
4008
+ /**
4009
+ * Specifies whether the generated document should include slide number. Default is false.
4010
+ */
4011
+ showSlideNumber?: boolean;
4012
+ /**
4013
+ * Specifies whether the generated document should include comments. Default is false.
4014
+ */
4015
+ showComments?: boolean;
4016
+ /**
4017
+ * Specifies whether the generated document should include hidden slides. Default is false.
4018
+ */
4019
+ showHiddenSlides?: boolean;
4020
+ }
4021
+ export declare namespace MarkdownExportOptions {
4022
+ enum ExportTypeEnum {
4023
+ Sequential,
4024
+ TextOnly,
4025
+ Visual
4026
+ }
4027
+ enum FlavorEnum {
4028
+ Github,
4029
+ Gruber,
4030
+ MultiMarkdown,
4031
+ CommonMark,
4032
+ MarkdownExtra,
4033
+ Pandoc,
4034
+ Kramdown,
4035
+ Markua,
4036
+ Maruku,
4037
+ Markdown2,
4038
+ Remarkable,
4039
+ Showdown,
4040
+ Ghost,
4041
+ GitLab,
4042
+ Haroopad,
4043
+ IaWriter,
4044
+ Redcarpet,
4045
+ ScholarlyMarkdown,
4046
+ Taiga,
4047
+ Trello,
4048
+ S9ETextFormatter,
4049
+ XWiki,
4050
+ StackOverflow,
4051
+ Default
4052
+ }
4053
+ enum NewLineTypeEnum {
4054
+ Windows,
4055
+ Unix,
4056
+ Mac
4057
+ }
4058
+ }
3964
4059
  /**
3965
4060
  * Master slide.
3966
4061
  */
@@ -3989,6 +4084,16 @@ export declare class MasterSlides extends ResourceBase {
3989
4084
  */
3990
4085
  slideList?: Array<ResourceUri>;
3991
4086
  }
4087
+ /**
4088
+ * Mathematical paragraph that is a container for mathematical blocks
4089
+ */
4090
+ /**
4091
+ * Mathematical paragraph that is a container for mathematical blocks
4092
+ */
4093
+ export declare enum MathFormat {
4094
+ 'MathML',
4095
+ 'LaTeX'
4096
+ }
3992
4097
  /**
3993
4098
  * Mathematical paragraph that is a container for mathematical blocks
3994
4099
  */
@@ -4198,6 +4303,44 @@ export declare class NormalViewRestoredProperties {
4198
4303
  */
4199
4304
  dimensionSize?: number;
4200
4305
  }
4306
+ /**
4307
+ * Notes &amp; comments layouting options.
4308
+ */
4309
+ export declare class NotesCommentsLayoutingOptions extends SlidesLayoutOptions {
4310
+ constructor();
4311
+ /**
4312
+ * Gets or sets the position of the notes on the page.
4313
+ */
4314
+ notesPosition?: NotesCommentsLayoutingOptions.NotesPositionEnum;
4315
+ /**
4316
+ * Gets or sets the position of the comments on the page.
4317
+ */
4318
+ commentsPosition?: NotesCommentsLayoutingOptions.CommentsPositionEnum;
4319
+ /**
4320
+ * Gets or sets the width of the comment output area in pixels (Applies only if comments are displayed on the right).
4321
+ */
4322
+ commentsAreaWidth?: number;
4323
+ /**
4324
+ * Gets or sets the color of comments area (Applies only if comments are displayed on the right).
4325
+ */
4326
+ commentsAreaColor?: string;
4327
+ /**
4328
+ * True if comments that have no author are displayed. (Applies only if comments are displayed).
4329
+ */
4330
+ showCommentsByNoAuthor?: boolean;
4331
+ }
4332
+ export declare namespace NotesCommentsLayoutingOptions {
4333
+ enum NotesPositionEnum {
4334
+ None,
4335
+ BottomFull,
4336
+ BottomTruncated
4337
+ }
4338
+ enum CommentsPositionEnum {
4339
+ None,
4340
+ Bottom,
4341
+ Right
4342
+ }
4343
+ }
4201
4344
  /**
4202
4345
  * Represents notes slide DTO.
4203
4346
  */
@@ -5029,25 +5172,9 @@ export declare class PdfExportOptions extends ExportOptions {
5029
5172
  */
5030
5173
  additionalCommonFontFamilies?: Array<string>;
5031
5174
  /**
5032
- * Gets or sets the position of the notes on the page.
5033
- */
5034
- notesPosition?: PdfExportOptions.NotesPositionEnum;
5035
- /**
5036
- * Gets or sets the position of the comments on the page.
5037
- */
5038
- commentsPosition?: PdfExportOptions.CommentsPositionEnum;
5039
- /**
5040
- * Gets or sets the width of the comment output area in pixels (Applies only if comments are displayed on the right).
5175
+ * Slides layouting options
5041
5176
  */
5042
- commentsAreaWidth?: number;
5043
- /**
5044
- * Gets or sets the color of comments area (Applies only if comments are displayed on the right).
5045
- */
5046
- commentsAreaColor?: string;
5047
- /**
5048
- * True if comments that have no author are displayed. (Applies only if comments are displayed).
5049
- */
5050
- showCommentsByNoAuthor?: boolean;
5177
+ slidesLayoutOptions?: SlidesLayoutOptions;
5051
5178
  /**
5052
5179
  * Image transparent color.
5053
5180
  */
@@ -5079,16 +5206,6 @@ export declare namespace PdfExportOptions {
5079
5206
  PdfUa,
5080
5207
  PdfA2u
5081
5208
  }
5082
- enum NotesPositionEnum {
5083
- None,
5084
- BottomFull,
5085
- BottomTruncated
5086
- }
5087
- enum CommentsPositionEnum {
5088
- None,
5089
- Bottom,
5090
- Right
5091
- }
5092
5209
  }
5093
5210
  /**
5094
5211
  * Picture fill.
@@ -6121,7 +6238,8 @@ export declare namespace Save {
6121
6238
  Bmp,
6122
6239
  Fodp,
6123
6240
  Xaml,
6124
- Mpeg4
6241
+ Mpeg4,
6242
+ Md
6125
6243
  }
6126
6244
  }
6127
6245
  /**
@@ -6210,7 +6328,8 @@ export declare namespace SaveSlide {
6210
6328
  Svg,
6211
6329
  Fodp,
6212
6330
  Xaml,
6213
- Html5
6331
+ Html5,
6332
+ Md
6214
6333
  }
6215
6334
  }
6216
6335
  /**
@@ -6666,7 +6785,8 @@ export declare enum SlideExportFormat {
6666
6785
  'Svg',
6667
6786
  'Fodp',
6668
6787
  'Xaml',
6669
- 'Html5'
6788
+ 'Html5',
6789
+ 'Md'
6670
6790
  }
6671
6791
  /**
6672
6792
  * Represents modern comment of slide
@@ -6793,6 +6913,10 @@ export declare class SlideShowProperties extends ResourceBase {
6793
6913
  * Show narrration.
6794
6914
  */
6795
6915
  showNarration?: boolean;
6916
+ /**
6917
+ * Show media controls.
6918
+ */
6919
+ showMediaControls?: boolean;
6796
6920
  /**
6797
6921
  * Use timings.
6798
6922
  */
@@ -8216,25 +8340,13 @@ export declare class TiffExportOptions extends ImageExportOptionsBase {
8216
8340
  */
8217
8341
  pixelFormat?: TiffExportOptions.PixelFormatEnum;
8218
8342
  /**
8219
- * Gets or sets the position of the notes on the page.
8220
- */
8221
- notesPosition?: TiffExportOptions.NotesPositionEnum;
8222
- /**
8223
- * Gets or sets the position of the comments on the page.
8343
+ * Slides layouting options
8224
8344
  */
8225
- commentsPosition?: TiffExportOptions.CommentsPositionEnum;
8345
+ slidesLayoutOptions?: SlidesLayoutOptions;
8226
8346
  /**
8227
- * Gets or sets the width of the comment output area in pixels (Applies only if comments are displayed on the right).
8228
- */
8229
- commentsAreaWidth?: number;
8230
- /**
8231
- * Gets or sets the color of comments area (Applies only if comments are displayed on the right).
8232
- */
8233
- commentsAreaColor?: string;
8234
- /**
8235
- * True if comments that have no author are displayed. (Applies only if comments are displayed).
8347
+ * Specifies the algorithm for converting a color image into a black and white image. This option will applied only if Aspose.Slides.Export.TiffOptions.CompressionType is set to Aspose.Slides.Export.TiffCompressionTypes.CCITT4 or Aspose.Slides.Export.TiffCompressionTypes.CCITT3.
8236
8348
  */
8237
- showCommentsByNoAuthor?: boolean;
8349
+ bwConversionMode?: TiffExportOptions.BwConversionModeEnum;
8238
8350
  }
8239
8351
  export declare namespace TiffExportOptions {
8240
8352
  enum CompressionEnum {
@@ -8252,15 +8364,15 @@ export declare namespace TiffExportOptions {
8252
8364
  Format24bppRgb,
8253
8365
  Format32bppArgb
8254
8366
  }
8255
- enum NotesPositionEnum {
8256
- None,
8257
- BottomFull,
8258
- BottomTruncated
8259
- }
8260
- enum CommentsPositionEnum {
8261
- None,
8262
- Bottom,
8263
- Right
8367
+ enum BwConversionModeEnum {
8368
+ Default,
8369
+ Dithering,
8370
+ DitheringFloydSteinberg,
8371
+ Auto,
8372
+ AutoOtsu,
8373
+ Threshold25,
8374
+ Threshold50,
8375
+ Threshold75
8264
8376
  }
8265
8377
  }
8266
8378
  /**
package/model.js CHANGED
@@ -25,10 +25,10 @@
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.ChartWall = exports.ChartTitle = exports.ChartSeriesGroup = exports.ChartLinesFormat = exports.ChartCategory = exports.Chart = exports.Camera = exports.BubbleSeries = exports.XYSeries = exports.Series = exports.BubbleChartDataPoint = exports.ScatterChartDataPoint = exports.DataPoint = exports.BoxElement = exports.BorderBoxElement = exports.BlurImageEffect = exports.BlurEffect = exports.BlockElement = exports.BiLevelEffect = exports.Base64InputFile = exports.InputFile = exports.BarElement = exports.AxisType = exports.Axis = exports.Axes = exports.AudioFrame = exports.GeometryShape = exports.ShapeBase = exports.ResourceBase = exports.ArrowHeadProperties = exports.ArrayElement = exports.ArcToPathSegment = exports.PathSegment = exports.ApiInfo = exports.AlphaReplaceEffect = exports.AlphaModulateFixedEffect = exports.AlphaModulateEffect = exports.AlphaInverseEffect = exports.AlphaFloorEffect = exports.AlphaCeilingEffect = exports.AlphaBiLevelEffect = exports.ImageTransformEffect = exports.AddSlide = exports.AddShape = exports.AddMasterSlide = exports.AddLayoutSlide = exports.Task = exports.AccessPermissions = exports.AccentElement = exports.MathElement = void 0;
27
27
  exports.GraphicalObject = exports.GradientFillStop = exports.GradientFill = 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.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 = void 0;
28
- exports.Paragraph = exports.OutputFile = exports.OuterShadowEffect = exports.OrderedMergeRequest = exports.OperationProgress = exports.Operation = exports.OneValueSeries = exports.OneValueChartDataPoint = exports.OleObjectFrame = exports.ObjectExist = exports.NotesSlideHeaderFooter = exports.NotesSlideExportFormat = exports.NotesSlide = exports.NormalViewRestoredProperties = exports.NoFill = exports.NaryOperatorElement = exports.MoveToPathSegment = exports.ModelError = exports.MergingSource = exports.Merge = exports.MatrixElement = exports.MathParagraph = exports.MasterSlides = exports.MasterSlide = 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.GroupingCharacterElement = exports.GroupShape = exports.GrayScaleEffect = void 0;
29
- exports.Slide = exports.ShapesAlignmentType = exports.Shapes = exports.ShapeType = exports.ShapeThumbnailBounds = exports.ShapeImageExportOptions = exports.ShapeExportFormat = exports.ShapeBevel = exports.Shape = exports.SeriesMarker = 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.PdfExportOptions = exports.PatternFill = exports.PathOutputFile = exports.PathInputFile = exports.Paragraphs = exports.ParagraphFormat = void 0;
30
- exports.Workbook = exports.ViewProperties = exports.VideoFrame = exports.VideoExportOptions = exports.VbaReference = exports.VbaProject = exports.VbaModule = exports.UpdateShape = exports.UpdateBackground = exports.TintEffect = 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 = void 0;
31
- exports.ZoomFrame = exports.XpsExportOptions = exports.XamlExportOptions = void 0;
28
+ exports.Operation = exports.OneValueSeries = exports.OneValueChartDataPoint = 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 = void 0;
29
+ exports.ShapeImageExportOptions = exports.ShapeExportFormat = exports.ShapeBevel = exports.Shape = exports.SeriesMarker = 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.PdfExportOptions = exports.PatternFill = exports.PathOutputFile = exports.PathInputFile = exports.Paragraphs = exports.ParagraphFormat = exports.Paragraph = exports.OutputFile = exports.OuterShadowEffect = exports.OrderedMergeRequest = exports.OperationProgress = void 0;
30
+ exports.VbaProject = exports.VbaModule = exports.UpdateShape = exports.UpdateBackground = exports.TintEffect = 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 = void 0;
31
+ exports.ZoomFrame = exports.XpsExportOptions = exports.XamlExportOptions = exports.Workbook = exports.ViewProperties = exports.VideoFrame = exports.VideoExportOptions = exports.VbaReference = void 0;
32
32
  /**
33
33
  * Math element.
34
34
  */
@@ -1645,6 +1645,12 @@ exports.Effect = Effect;
1645
1645
  PresetClassTypeEnum[PresetClassTypeEnum["MediaCall"] = 'MediaCall'] = "MediaCall";
1646
1646
  PresetClassTypeEnum[PresetClassTypeEnum["OLEActionVerbs"] = 'OLEActionVerbs'] = "OLEActionVerbs";
1647
1647
  })(PresetClassTypeEnum = Effect.PresetClassTypeEnum || (Effect.PresetClassTypeEnum = {}));
1648
+ let AnimateTextTypeEnum;
1649
+ (function (AnimateTextTypeEnum) {
1650
+ AnimateTextTypeEnum[AnimateTextTypeEnum["AllAtOnce"] = 'AllAtOnce'] = "AllAtOnce";
1651
+ AnimateTextTypeEnum[AnimateTextTypeEnum["ByWord"] = 'ByWord'] = "ByWord";
1652
+ AnimateTextTypeEnum[AnimateTextTypeEnum["ByLetter"] = 'ByLetter'] = "ByLetter";
1653
+ })(AnimateTextTypeEnum = Effect.AnimateTextTypeEnum || (Effect.AnimateTextTypeEnum = {}));
1648
1654
  let TriggerTypeEnum;
1649
1655
  (function (TriggerTypeEnum) {
1650
1656
  TriggerTypeEnum[TriggerTypeEnum["AfterPrevious"] = 'AfterPrevious'] = "AfterPrevious";
@@ -1717,6 +1723,7 @@ var ExportFormat;
1717
1723
  ExportFormat[ExportFormat["Fodp"] = 'Fodp'] = "Fodp";
1718
1724
  ExportFormat[ExportFormat["Xaml"] = 'Xaml'] = "Xaml";
1719
1725
  ExportFormat[ExportFormat["Mpeg4"] = 'Mpeg4'] = "Mpeg4";
1726
+ ExportFormat[ExportFormat["Md"] = 'Md'] = "Md";
1720
1727
  })(ExportFormat = exports.ExportFormat || (exports.ExportFormat = {}));
1721
1728
  /**
1722
1729
  * Represents export options for whole presentation.
@@ -2032,6 +2039,43 @@ exports.GroupingCharacterElement = GroupingCharacterElement;
2032
2039
  VerticalJustificationEnum[VerticalJustificationEnum["Bottom"] = 'Bottom'] = "Bottom";
2033
2040
  })(VerticalJustificationEnum = GroupingCharacterElement.VerticalJustificationEnum || (GroupingCharacterElement.VerticalJustificationEnum = {}));
2034
2041
  })(GroupingCharacterElement = exports.GroupingCharacterElement || (exports.GroupingCharacterElement = {}));
2042
+ /**
2043
+ * Slides layouting options.
2044
+ */
2045
+ class SlidesLayoutOptions {
2046
+ }
2047
+ exports.SlidesLayoutOptions = SlidesLayoutOptions;
2048
+ (function (SlidesLayoutOptions) {
2049
+ let LayoutTypeEnum;
2050
+ (function (LayoutTypeEnum) {
2051
+ LayoutTypeEnum[LayoutTypeEnum["NotesComments"] = 'NotesComments'] = "NotesComments";
2052
+ LayoutTypeEnum[LayoutTypeEnum["Handout"] = 'Handout'] = "Handout";
2053
+ })(LayoutTypeEnum = SlidesLayoutOptions.LayoutTypeEnum || (SlidesLayoutOptions.LayoutTypeEnum = {}));
2054
+ })(SlidesLayoutOptions = exports.SlidesLayoutOptions || (exports.SlidesLayoutOptions = {}));
2055
+ /**
2056
+ * Handout layouting options
2057
+ */
2058
+ class HandoutLayoutingOptions extends SlidesLayoutOptions {
2059
+ constructor() {
2060
+ super();
2061
+ this.layoutType = HandoutLayoutingOptions.LayoutTypeEnum.Handout;
2062
+ }
2063
+ }
2064
+ exports.HandoutLayoutingOptions = HandoutLayoutingOptions;
2065
+ (function (HandoutLayoutingOptions) {
2066
+ let HandoutEnum;
2067
+ (function (HandoutEnum) {
2068
+ HandoutEnum[HandoutEnum["Handouts1"] = 'Handouts1'] = "Handouts1";
2069
+ HandoutEnum[HandoutEnum["Handouts2"] = 'Handouts2'] = "Handouts2";
2070
+ HandoutEnum[HandoutEnum["Handouts3"] = 'Handouts3'] = "Handouts3";
2071
+ HandoutEnum[HandoutEnum["Handouts4Horizontal"] = 'Handouts4Horizontal'] = "Handouts4Horizontal";
2072
+ HandoutEnum[HandoutEnum["Handouts4Vertical"] = 'Handouts4Vertical'] = "Handouts4Vertical";
2073
+ HandoutEnum[HandoutEnum["Handouts6Horizontal"] = 'Handouts6Horizontal'] = "Handouts6Horizontal";
2074
+ HandoutEnum[HandoutEnum["Handouts6Vertical"] = 'Handouts6Vertical'] = "Handouts6Vertical";
2075
+ HandoutEnum[HandoutEnum["Handouts9Horizontal"] = 'Handouts9Horizontal'] = "Handouts9Horizontal";
2076
+ HandoutEnum[HandoutEnum["Handouts9Vertical"] = 'Handouts9Vertical'] = "Handouts9Vertical";
2077
+ })(HandoutEnum = HandoutLayoutingOptions.HandoutEnum || (HandoutLayoutingOptions.HandoutEnum = {}));
2078
+ })(HandoutLayoutingOptions = exports.HandoutLayoutingOptions || (exports.HandoutLayoutingOptions = {}));
2035
2079
  /**
2036
2080
  * Represents header/footer info of slide
2037
2081
  */
@@ -2081,18 +2125,6 @@ exports.HtmlExportOptions = HtmlExportOptions;
2081
2125
  PicturesCompressionEnum[PicturesCompressionEnum["Dpi72"] = 'Dpi72'] = "Dpi72";
2082
2126
  PicturesCompressionEnum[PicturesCompressionEnum["DocumentResolution"] = 'DocumentResolution'] = "DocumentResolution";
2083
2127
  })(PicturesCompressionEnum = HtmlExportOptions.PicturesCompressionEnum || (HtmlExportOptions.PicturesCompressionEnum = {}));
2084
- let NotesPositionEnum;
2085
- (function (NotesPositionEnum) {
2086
- NotesPositionEnum[NotesPositionEnum["None"] = 'None'] = "None";
2087
- NotesPositionEnum[NotesPositionEnum["BottomFull"] = 'BottomFull'] = "BottomFull";
2088
- NotesPositionEnum[NotesPositionEnum["BottomTruncated"] = 'BottomTruncated'] = "BottomTruncated";
2089
- })(NotesPositionEnum = HtmlExportOptions.NotesPositionEnum || (HtmlExportOptions.NotesPositionEnum = {}));
2090
- let CommentsPositionEnum;
2091
- (function (CommentsPositionEnum) {
2092
- CommentsPositionEnum[CommentsPositionEnum["None"] = 'None'] = "None";
2093
- CommentsPositionEnum[CommentsPositionEnum["Bottom"] = 'Bottom'] = "Bottom";
2094
- CommentsPositionEnum[CommentsPositionEnum["Right"] = 'Right'] = "Right";
2095
- })(CommentsPositionEnum = HtmlExportOptions.CommentsPositionEnum || (HtmlExportOptions.CommentsPositionEnum = {}));
2096
2128
  })(HtmlExportOptions = exports.HtmlExportOptions || (exports.HtmlExportOptions = {}));
2097
2129
  /**
2098
2130
  * Hyperlink
@@ -2165,20 +2197,6 @@ class ImageExportOptions extends ImageExportOptionsBase {
2165
2197
  }
2166
2198
  }
2167
2199
  exports.ImageExportOptions = ImageExportOptions;
2168
- (function (ImageExportOptions) {
2169
- let NotesPositionEnum;
2170
- (function (NotesPositionEnum) {
2171
- NotesPositionEnum[NotesPositionEnum["None"] = 'None'] = "None";
2172
- NotesPositionEnum[NotesPositionEnum["BottomFull"] = 'BottomFull'] = "BottomFull";
2173
- NotesPositionEnum[NotesPositionEnum["BottomTruncated"] = 'BottomTruncated'] = "BottomTruncated";
2174
- })(NotesPositionEnum = ImageExportOptions.NotesPositionEnum || (ImageExportOptions.NotesPositionEnum = {}));
2175
- let CommentsPositionEnum;
2176
- (function (CommentsPositionEnum) {
2177
- CommentsPositionEnum[CommentsPositionEnum["None"] = 'None'] = "None";
2178
- CommentsPositionEnum[CommentsPositionEnum["Bottom"] = 'Bottom'] = "Bottom";
2179
- CommentsPositionEnum[CommentsPositionEnum["Right"] = 'Right'] = "Right";
2180
- })(CommentsPositionEnum = ImageExportOptions.CommentsPositionEnum || (ImageExportOptions.CommentsPositionEnum = {}));
2181
- })(ImageExportOptions = exports.ImageExportOptions || (exports.ImageExportOptions = {}));
2182
2200
  /**
2183
2201
  * List of images.
2184
2202
  */
@@ -2443,6 +2461,57 @@ class LuminanceEffect extends ImageTransformEffect {
2443
2461
  }
2444
2462
  }
2445
2463
  exports.LuminanceEffect = LuminanceEffect;
2464
+ /**
2465
+ * Provides options that control how a presentation is saved in Html5 format.
2466
+ */
2467
+ class MarkdownExportOptions extends ExportOptions {
2468
+ constructor() {
2469
+ super();
2470
+ this.format = 'md';
2471
+ }
2472
+ }
2473
+ exports.MarkdownExportOptions = MarkdownExportOptions;
2474
+ (function (MarkdownExportOptions) {
2475
+ let ExportTypeEnum;
2476
+ (function (ExportTypeEnum) {
2477
+ ExportTypeEnum[ExportTypeEnum["Sequential"] = 'Sequential'] = "Sequential";
2478
+ ExportTypeEnum[ExportTypeEnum["TextOnly"] = 'TextOnly'] = "TextOnly";
2479
+ ExportTypeEnum[ExportTypeEnum["Visual"] = 'Visual'] = "Visual";
2480
+ })(ExportTypeEnum = MarkdownExportOptions.ExportTypeEnum || (MarkdownExportOptions.ExportTypeEnum = {}));
2481
+ let FlavorEnum;
2482
+ (function (FlavorEnum) {
2483
+ FlavorEnum[FlavorEnum["Github"] = 'Github'] = "Github";
2484
+ FlavorEnum[FlavorEnum["Gruber"] = 'Gruber'] = "Gruber";
2485
+ FlavorEnum[FlavorEnum["MultiMarkdown"] = 'MultiMarkdown'] = "MultiMarkdown";
2486
+ FlavorEnum[FlavorEnum["CommonMark"] = 'CommonMark'] = "CommonMark";
2487
+ FlavorEnum[FlavorEnum["MarkdownExtra"] = 'MarkdownExtra'] = "MarkdownExtra";
2488
+ FlavorEnum[FlavorEnum["Pandoc"] = 'Pandoc'] = "Pandoc";
2489
+ FlavorEnum[FlavorEnum["Kramdown"] = 'Kramdown'] = "Kramdown";
2490
+ FlavorEnum[FlavorEnum["Markua"] = 'Markua'] = "Markua";
2491
+ FlavorEnum[FlavorEnum["Maruku"] = 'Maruku'] = "Maruku";
2492
+ FlavorEnum[FlavorEnum["Markdown2"] = 'Markdown2'] = "Markdown2";
2493
+ FlavorEnum[FlavorEnum["Remarkable"] = 'Remarkable'] = "Remarkable";
2494
+ FlavorEnum[FlavorEnum["Showdown"] = 'Showdown'] = "Showdown";
2495
+ FlavorEnum[FlavorEnum["Ghost"] = 'Ghost'] = "Ghost";
2496
+ FlavorEnum[FlavorEnum["GitLab"] = 'GitLab'] = "GitLab";
2497
+ FlavorEnum[FlavorEnum["Haroopad"] = 'Haroopad'] = "Haroopad";
2498
+ FlavorEnum[FlavorEnum["IaWriter"] = 'IaWriter'] = "IaWriter";
2499
+ FlavorEnum[FlavorEnum["Redcarpet"] = 'Redcarpet'] = "Redcarpet";
2500
+ FlavorEnum[FlavorEnum["ScholarlyMarkdown"] = 'ScholarlyMarkdown'] = "ScholarlyMarkdown";
2501
+ FlavorEnum[FlavorEnum["Taiga"] = 'Taiga'] = "Taiga";
2502
+ FlavorEnum[FlavorEnum["Trello"] = 'Trello'] = "Trello";
2503
+ FlavorEnum[FlavorEnum["S9ETextFormatter"] = 'S9ETextFormatter'] = "S9ETextFormatter";
2504
+ FlavorEnum[FlavorEnum["XWiki"] = 'XWiki'] = "XWiki";
2505
+ FlavorEnum[FlavorEnum["StackOverflow"] = 'StackOverflow'] = "StackOverflow";
2506
+ FlavorEnum[FlavorEnum["Default"] = 'Default'] = "Default";
2507
+ })(FlavorEnum = MarkdownExportOptions.FlavorEnum || (MarkdownExportOptions.FlavorEnum = {}));
2508
+ let NewLineTypeEnum;
2509
+ (function (NewLineTypeEnum) {
2510
+ NewLineTypeEnum[NewLineTypeEnum["Windows"] = 'Windows'] = "Windows";
2511
+ NewLineTypeEnum[NewLineTypeEnum["Unix"] = 'Unix'] = "Unix";
2512
+ NewLineTypeEnum[NewLineTypeEnum["Mac"] = 'Mac'] = "Mac";
2513
+ })(NewLineTypeEnum = MarkdownExportOptions.NewLineTypeEnum || (MarkdownExportOptions.NewLineTypeEnum = {}));
2514
+ })(MarkdownExportOptions = exports.MarkdownExportOptions || (exports.MarkdownExportOptions = {}));
2446
2515
  /**
2447
2516
  * Master slide.
2448
2517
  */
@@ -2461,6 +2530,17 @@ class MasterSlides extends ResourceBase {
2461
2530
  }
2462
2531
  }
2463
2532
  exports.MasterSlides = MasterSlides;
2533
+ /**
2534
+ * Mathematical paragraph that is a container for mathematical blocks
2535
+ */
2536
+ /**
2537
+ * Mathematical paragraph that is a container for mathematical blocks
2538
+ */
2539
+ var MathFormat;
2540
+ (function (MathFormat) {
2541
+ MathFormat[MathFormat["MathML"] = 'MathML'] = "MathML";
2542
+ MathFormat[MathFormat["LaTeX"] = 'LaTeX'] = "LaTeX";
2543
+ })(MathFormat = exports.MathFormat || (exports.MathFormat = {}));
2464
2544
  /**
2465
2545
  * Mathematical paragraph that is a container for mathematical blocks
2466
2546
  */
@@ -2577,6 +2657,30 @@ exports.NoFill = NoFill;
2577
2657
  class NormalViewRestoredProperties {
2578
2658
  }
2579
2659
  exports.NormalViewRestoredProperties = NormalViewRestoredProperties;
2660
+ /**
2661
+ * Notes &amp; comments layouting options.
2662
+ */
2663
+ class NotesCommentsLayoutingOptions extends SlidesLayoutOptions {
2664
+ constructor() {
2665
+ super();
2666
+ this.layoutType = NotesCommentsLayoutingOptions.LayoutTypeEnum.NotesComments;
2667
+ }
2668
+ }
2669
+ exports.NotesCommentsLayoutingOptions = NotesCommentsLayoutingOptions;
2670
+ (function (NotesCommentsLayoutingOptions) {
2671
+ let NotesPositionEnum;
2672
+ (function (NotesPositionEnum) {
2673
+ NotesPositionEnum[NotesPositionEnum["None"] = 'None'] = "None";
2674
+ NotesPositionEnum[NotesPositionEnum["BottomFull"] = 'BottomFull'] = "BottomFull";
2675
+ NotesPositionEnum[NotesPositionEnum["BottomTruncated"] = 'BottomTruncated'] = "BottomTruncated";
2676
+ })(NotesPositionEnum = NotesCommentsLayoutingOptions.NotesPositionEnum || (NotesCommentsLayoutingOptions.NotesPositionEnum = {}));
2677
+ let CommentsPositionEnum;
2678
+ (function (CommentsPositionEnum) {
2679
+ CommentsPositionEnum[CommentsPositionEnum["None"] = 'None'] = "None";
2680
+ CommentsPositionEnum[CommentsPositionEnum["Bottom"] = 'Bottom'] = "Bottom";
2681
+ CommentsPositionEnum[CommentsPositionEnum["Right"] = 'Right'] = "Right";
2682
+ })(CommentsPositionEnum = NotesCommentsLayoutingOptions.CommentsPositionEnum || (NotesCommentsLayoutingOptions.CommentsPositionEnum = {}));
2683
+ })(NotesCommentsLayoutingOptions = exports.NotesCommentsLayoutingOptions || (exports.NotesCommentsLayoutingOptions = {}));
2580
2684
  /**
2581
2685
  * Represents notes slide DTO.
2582
2686
  */
@@ -3065,18 +3169,6 @@ exports.PdfExportOptions = PdfExportOptions;
3065
3169
  ComplianceEnum[ComplianceEnum["PdfUa"] = 'PdfUa'] = "PdfUa";
3066
3170
  ComplianceEnum[ComplianceEnum["PdfA2u"] = 'PdfA2u'] = "PdfA2u";
3067
3171
  })(ComplianceEnum = PdfExportOptions.ComplianceEnum || (PdfExportOptions.ComplianceEnum = {}));
3068
- let NotesPositionEnum;
3069
- (function (NotesPositionEnum) {
3070
- NotesPositionEnum[NotesPositionEnum["None"] = 'None'] = "None";
3071
- NotesPositionEnum[NotesPositionEnum["BottomFull"] = 'BottomFull'] = "BottomFull";
3072
- NotesPositionEnum[NotesPositionEnum["BottomTruncated"] = 'BottomTruncated'] = "BottomTruncated";
3073
- })(NotesPositionEnum = PdfExportOptions.NotesPositionEnum || (PdfExportOptions.NotesPositionEnum = {}));
3074
- let CommentsPositionEnum;
3075
- (function (CommentsPositionEnum) {
3076
- CommentsPositionEnum[CommentsPositionEnum["None"] = 'None'] = "None";
3077
- CommentsPositionEnum[CommentsPositionEnum["Bottom"] = 'Bottom'] = "Bottom";
3078
- CommentsPositionEnum[CommentsPositionEnum["Right"] = 'Right'] = "Right";
3079
- })(CommentsPositionEnum = PdfExportOptions.CommentsPositionEnum || (PdfExportOptions.CommentsPositionEnum = {}));
3080
3172
  })(PdfExportOptions = exports.PdfExportOptions || (exports.PdfExportOptions = {}));
3081
3173
  /**
3082
3174
  * Picture fill.
@@ -3601,6 +3693,7 @@ exports.Save = Save;
3601
3693
  FormatEnum[FormatEnum["Fodp"] = 'Fodp'] = "Fodp";
3602
3694
  FormatEnum[FormatEnum["Xaml"] = 'Xaml'] = "Xaml";
3603
3695
  FormatEnum[FormatEnum["Mpeg4"] = 'Mpeg4'] = "Mpeg4";
3696
+ FormatEnum[FormatEnum["Md"] = 'Md'] = "Md";
3604
3697
  })(FormatEnum = Save.FormatEnum || (Save.FormatEnum = {}));
3605
3698
  })(Save = exports.Save || (exports.Save = {}));
3606
3699
  /**
@@ -3660,6 +3753,7 @@ exports.SaveSlide = SaveSlide;
3660
3753
  FormatEnum[FormatEnum["Fodp"] = 'Fodp'] = "Fodp";
3661
3754
  FormatEnum[FormatEnum["Xaml"] = 'Xaml'] = "Xaml";
3662
3755
  FormatEnum[FormatEnum["Html5"] = 'Html5'] = "Html5";
3756
+ FormatEnum[FormatEnum["Md"] = 'Md'] = "Md";
3663
3757
  })(FormatEnum = SaveSlide.FormatEnum || (SaveSlide.FormatEnum = {}));
3664
3758
  })(SaveSlide = exports.SaveSlide || (exports.SaveSlide = {}));
3665
3759
  /**
@@ -3966,6 +4060,7 @@ var SlideExportFormat;
3966
4060
  SlideExportFormat[SlideExportFormat["Fodp"] = 'Fodp'] = "Fodp";
3967
4061
  SlideExportFormat[SlideExportFormat["Xaml"] = 'Xaml'] = "Xaml";
3968
4062
  SlideExportFormat[SlideExportFormat["Html5"] = 'Html5'] = "Html5";
4063
+ SlideExportFormat[SlideExportFormat["Md"] = 'Md'] = "Md";
3969
4064
  })(SlideExportFormat = exports.SlideExportFormat || (exports.SlideExportFormat = {}));
3970
4065
  /**
3971
4066
  * Represents modern comment of slide
@@ -4926,18 +5021,17 @@ exports.TiffExportOptions = TiffExportOptions;
4926
5021
  PixelFormatEnum[PixelFormatEnum["Format24bppRgb"] = 'Format24bppRgb'] = "Format24bppRgb";
4927
5022
  PixelFormatEnum[PixelFormatEnum["Format32bppArgb"] = 'Format32bppArgb'] = "Format32bppArgb";
4928
5023
  })(PixelFormatEnum = TiffExportOptions.PixelFormatEnum || (TiffExportOptions.PixelFormatEnum = {}));
4929
- let NotesPositionEnum;
4930
- (function (NotesPositionEnum) {
4931
- NotesPositionEnum[NotesPositionEnum["None"] = 'None'] = "None";
4932
- NotesPositionEnum[NotesPositionEnum["BottomFull"] = 'BottomFull'] = "BottomFull";
4933
- NotesPositionEnum[NotesPositionEnum["BottomTruncated"] = 'BottomTruncated'] = "BottomTruncated";
4934
- })(NotesPositionEnum = TiffExportOptions.NotesPositionEnum || (TiffExportOptions.NotesPositionEnum = {}));
4935
- let CommentsPositionEnum;
4936
- (function (CommentsPositionEnum) {
4937
- CommentsPositionEnum[CommentsPositionEnum["None"] = 'None'] = "None";
4938
- CommentsPositionEnum[CommentsPositionEnum["Bottom"] = 'Bottom'] = "Bottom";
4939
- CommentsPositionEnum[CommentsPositionEnum["Right"] = 'Right'] = "Right";
4940
- })(CommentsPositionEnum = TiffExportOptions.CommentsPositionEnum || (TiffExportOptions.CommentsPositionEnum = {}));
5024
+ let BwConversionModeEnum;
5025
+ (function (BwConversionModeEnum) {
5026
+ BwConversionModeEnum[BwConversionModeEnum["Default"] = 'Default'] = "Default";
5027
+ BwConversionModeEnum[BwConversionModeEnum["Dithering"] = 'Dithering'] = "Dithering";
5028
+ BwConversionModeEnum[BwConversionModeEnum["DitheringFloydSteinberg"] = 'DitheringFloydSteinberg'] = "DitheringFloydSteinberg";
5029
+ BwConversionModeEnum[BwConversionModeEnum["Auto"] = 'Auto'] = "Auto";
5030
+ BwConversionModeEnum[BwConversionModeEnum["AutoOtsu"] = 'AutoOtsu'] = "AutoOtsu";
5031
+ BwConversionModeEnum[BwConversionModeEnum["Threshold25"] = 'Threshold25'] = "Threshold25";
5032
+ BwConversionModeEnum[BwConversionModeEnum["Threshold50"] = 'Threshold50'] = "Threshold50";
5033
+ BwConversionModeEnum[BwConversionModeEnum["Threshold75"] = 'Threshold75'] = "Threshold75";
5034
+ })(BwConversionModeEnum = TiffExportOptions.BwConversionModeEnum || (TiffExportOptions.BwConversionModeEnum = {}));
4941
5035
  })(TiffExportOptions = exports.TiffExportOptions || (exports.TiffExportOptions = {}));
4942
5036
  /**
4943
5037
  * Represents a Tint effect.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asposeslidescloud",
3
- "version": "24.2.0",
3
+ "version": "24.4.0",
4
4
  "description": "Aspose.Slides Cloud SDK for Node.js",
5
5
  "homepage": "https://products.aspose.cloud/slides/cloud",
6
6
  "author": {