asposeslidescloud 24.6.0 → 24.7.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,18 @@ 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.7
31
+
32
+ * Added **TemplatesPath** property to **Html5ExportOptions** class. It enables using custom templates in conversion to Html5 format.
33
+ * Added **GetHtml5Templates** method to retrieve the list of default Html5 templates.
34
+ * Added **Xml** to the list of available export formats.
35
+ * Added **wholeWordsOnly** parameter to **ReplacePresentationText** and **ReplacePresentationTextOnline** methods.
36
+ * Added **GradientStyle** property to **ExportOptions** class.
37
+ * Added **ResterizeUnsupportedFontStyles** property to **PdfExportOptions** class.
38
+ * Added **Zip64Mode** property to **PptxExportOptions** class.
39
+ * Added **Transparency** property to **Table** and **TableCell** class.
40
+ * Removed obsolete **DownloadPortionsAsMathML**, **SavePortionsAsMathML** methods. Use **DownloadMathPortion** and **SaveMathPortion** methods to convert portions to math formats.
41
+
30
42
  ## Enhancements in Version 24.6
31
43
 
32
44
  * Added **HideInk** and **InterpretMaskOpAsOpacity** properties to **PdfExportOptions** class.
package/api.d.ts CHANGED
@@ -1520,21 +1520,6 @@ export declare class SlidesApi {
1520
1520
  response: http.ServerResponse;
1521
1521
  body: Buffer;
1522
1522
  }>;
1523
- /**
1524
- * Convert Mathematical Text to MathML Format
1525
- * @param name Document name.
1526
- * @param slideIndex Slide index.
1527
- * @param shapeIndex Shape index.
1528
- * @param paragraphIndex Paragraph index.
1529
- * @param portionIndex Portion index.
1530
- * @param password Document password.
1531
- * @param folder Document folder.
1532
- * @param storage Document storage.
1533
- */
1534
- downloadPortionAsMathMl(name: string, slideIndex: number, shapeIndex: number, paragraphIndex: number, portionIndex: number, password?: string, folder?: string, storage?: string): Promise<{
1535
- response: http.ServerResponse;
1536
- body: Buffer;
1537
- }>;
1538
1523
  /**
1539
1524
  * Save a presentation to a specified format.
1540
1525
  * @param name Document name.
@@ -1809,6 +1794,13 @@ export declare class SlidesApi {
1809
1794
  response: http.ServerResponse;
1810
1795
  body: model.FormatScheme;
1811
1796
  }>;
1797
+ /**
1798
+ * Get default templates for HTML5 export.
1799
+ */
1800
+ getHtml5Templates(): Promise<{
1801
+ response: http.ServerResponse;
1802
+ body: Buffer;
1803
+ }>;
1812
1804
  /**
1813
1805
  * Read presentation layoutSlide info.
1814
1806
  * @param name Document name.
@@ -2737,11 +2729,12 @@ export declare class SlidesApi {
2737
2729
  * @param oldValue Text value to be replaced.
2738
2730
  * @param newValue Text value to replace with.
2739
2731
  * @param ignoreCase True if character case must be ignored.
2732
+ * @param wholeWordsOnly True to replace whole words only.
2740
2733
  * @param password Document password.
2741
2734
  * @param folder Document folder.
2742
2735
  * @param storage Document storage.
2743
2736
  */
2744
- replacePresentationText(name: string, oldValue: string, newValue: string, ignoreCase?: boolean, password?: string, folder?: string, storage?: string): Promise<{
2737
+ replacePresentationText(name: string, oldValue: string, newValue: string, ignoreCase?: boolean, wholeWordsOnly?: boolean, password?: string, folder?: string, storage?: string): Promise<{
2745
2738
  response: http.ServerResponse;
2746
2739
  body: model.DocumentReplaceResult;
2747
2740
  }>;
@@ -2751,9 +2744,10 @@ export declare class SlidesApi {
2751
2744
  * @param oldValue Text value to be replaced.
2752
2745
  * @param newValue Text value to replace with.
2753
2746
  * @param ignoreCase True if character case must be ignored.
2747
+ * @param wholeWordsOnly True to replace whole words only.
2754
2748
  * @param password Document password.
2755
2749
  */
2756
- replacePresentationTextOnline(document: Readable, oldValue: string, newValue: string, ignoreCase?: boolean, password?: string): Promise<{
2750
+ replacePresentationTextOnline(document: Readable, oldValue: string, newValue: string, ignoreCase?: boolean, wholeWordsOnly?: boolean, password?: string): Promise<{
2757
2751
  response: http.ServerResponse;
2758
2752
  body: Buffer;
2759
2753
  }>;
@@ -2829,21 +2823,6 @@ export declare class SlidesApi {
2829
2823
  saveMathPortion(name: string, slideIndex: number, shapeIndex: number, paragraphIndex: number, portionIndex: number, format: model.MathFormat, outPath: string, password?: string, folder?: string, storage?: string): Promise<{
2830
2824
  response: http.ServerResponse;
2831
2825
  }>;
2832
- /**
2833
- * Convert Mathematical Text to MathML Format and saves result to the storage
2834
- * @param name Document name.
2835
- * @param slideIndex Slide index.
2836
- * @param shapeIndex Shape index.
2837
- * @param paragraphIndex Paragraph index.
2838
- * @param portionIndex Portion index.
2839
- * @param outPath Path to save result.
2840
- * @param password Document password.
2841
- * @param folder Presentation folder.
2842
- * @param storage Presentation storage.
2843
- */
2844
- savePortionAsMathMl(name: string, slideIndex: number, shapeIndex: number, paragraphIndex: number, portionIndex: number, outPath: string, password?: string, folder?: string, storage?: string): Promise<{
2845
- response: http.ServerResponse;
2846
- }>;
2847
2826
  /**
2848
2827
  * Save a presentation to a specified format.
2849
2828
  * @param name Document name.
package/api.js CHANGED
@@ -5016,61 +5016,6 @@ class SlidesApi {
5016
5016
  return Promise.resolve({ body: result, response });
5017
5017
  });
5018
5018
  }
5019
- /**
5020
- * Convert Mathematical Text to MathML Format
5021
- * @param name Document name.
5022
- * @param slideIndex Slide index.
5023
- * @param shapeIndex Shape index.
5024
- * @param paragraphIndex Paragraph index.
5025
- * @param portionIndex Portion index.
5026
- * @param password Document password.
5027
- * @param folder Document folder.
5028
- * @param storage Document storage.
5029
- */
5030
- downloadPortionAsMathMl(name, slideIndex, shapeIndex, paragraphIndex, portionIndex, password = null, folder = null, storage = null) {
5031
- return __awaiter(this, void 0, void 0, function* () {
5032
- // verify required parameter 'name' is not null or undefined
5033
- if (name === null || name === undefined) {
5034
- throw new Error('The required parameter "name" was null or undefined when calling downloadPortionAsMathMl.');
5035
- }
5036
- // verify required parameter 'slideIndex' is not null or undefined
5037
- if (slideIndex === null || slideIndex === undefined) {
5038
- throw new Error('The required parameter "slideIndex" was null or undefined when calling downloadPortionAsMathMl.');
5039
- }
5040
- // verify required parameter 'shapeIndex' is not null or undefined
5041
- if (shapeIndex === null || shapeIndex === undefined) {
5042
- throw new Error('The required parameter "shapeIndex" was null or undefined when calling downloadPortionAsMathMl.');
5043
- }
5044
- // verify required parameter 'paragraphIndex' is not null or undefined
5045
- if (paragraphIndex === null || paragraphIndex === undefined) {
5046
- throw new Error('The required parameter "paragraphIndex" was null or undefined when calling downloadPortionAsMathMl.');
5047
- }
5048
- // verify required parameter 'portionIndex' is not null or undefined
5049
- if (portionIndex === null || portionIndex === undefined) {
5050
- throw new Error('The required parameter "portionIndex" was null or undefined when calling downloadPortionAsMathMl.');
5051
- }
5052
- let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/mathml";
5053
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
5054
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
5055
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
5056
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "paragraphIndex", objectSerializer_1.ObjectSerializer.toString(paragraphIndex));
5057
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "portionIndex", objectSerializer_1.ObjectSerializer.toString(portionIndex));
5058
- const queryParameters = {};
5059
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
5060
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
5061
- const requestOptions = {
5062
- method: "POST",
5063
- headers: {},
5064
- url: localVarPath,
5065
- responseType: 'arraybuffer',
5066
- params: queryParameters
5067
- };
5068
- (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
5069
- const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
5070
- const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "Buffer");
5071
- return Promise.resolve({ body: result, response });
5072
- });
5073
- }
5074
5019
  /**
5075
5020
  * Save a presentation to a specified format.
5076
5021
  * @param name Document name.
@@ -5920,6 +5865,24 @@ class SlidesApi {
5920
5865
  return Promise.resolve({ body: result, response });
5921
5866
  });
5922
5867
  }
5868
+ /**
5869
+ * Get default templates for HTML5 export.
5870
+ */
5871
+ getHtml5Templates() {
5872
+ return __awaiter(this, void 0, void 0, function* () {
5873
+ let localVarPath = this.configuration.getApiBaseUrl() + "/slides/html5Templates";
5874
+ const queryParameters = {};
5875
+ const requestOptions = {
5876
+ method: "GET",
5877
+ url: localVarPath,
5878
+ responseType: 'arraybuffer',
5879
+ params: queryParameters
5880
+ };
5881
+ const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
5882
+ const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "Buffer");
5883
+ return Promise.resolve({ body: result, response });
5884
+ });
5885
+ }
5923
5886
  /**
5924
5887
  * Read presentation layoutSlide info.
5925
5888
  * @param name Document name.
@@ -8887,11 +8850,12 @@ class SlidesApi {
8887
8850
  * @param oldValue Text value to be replaced.
8888
8851
  * @param newValue Text value to replace with.
8889
8852
  * @param ignoreCase True if character case must be ignored.
8853
+ * @param wholeWordsOnly True to replace whole words only.
8890
8854
  * @param password Document password.
8891
8855
  * @param folder Document folder.
8892
8856
  * @param storage Document storage.
8893
8857
  */
8894
- replacePresentationText(name, oldValue, newValue, ignoreCase = null, password = null, folder = null, storage = null) {
8858
+ replacePresentationText(name, oldValue, newValue, ignoreCase = null, wholeWordsOnly = null, password = null, folder = null, storage = null) {
8895
8859
  return __awaiter(this, void 0, void 0, function* () {
8896
8860
  // verify required parameter 'name' is not null or undefined
8897
8861
  if (name === null || name === undefined) {
@@ -8911,6 +8875,7 @@ class SlidesApi {
8911
8875
  localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "oldValue", oldValue);
8912
8876
  localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "newValue", newValue);
8913
8877
  localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "ignoreCase", ignoreCase);
8878
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "wholeWordsOnly", wholeWordsOnly);
8914
8879
  localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
8915
8880
  localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
8916
8881
  const requestOptions = {
@@ -8931,9 +8896,10 @@ class SlidesApi {
8931
8896
  * @param oldValue Text value to be replaced.
8932
8897
  * @param newValue Text value to replace with.
8933
8898
  * @param ignoreCase True if character case must be ignored.
8899
+ * @param wholeWordsOnly True to replace whole words only.
8934
8900
  * @param password Document password.
8935
8901
  */
8936
- replacePresentationTextOnline(document, oldValue, newValue, ignoreCase = null, password = null) {
8902
+ replacePresentationTextOnline(document, oldValue, newValue, ignoreCase = null, wholeWordsOnly = null, password = null) {
8937
8903
  return __awaiter(this, void 0, void 0, function* () {
8938
8904
  // verify required parameter 'document' is not null or undefined
8939
8905
  if (document === null || document === undefined) {
@@ -8952,6 +8918,7 @@ class SlidesApi {
8952
8918
  localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "oldValue", oldValue);
8953
8919
  localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "newValue", newValue);
8954
8920
  localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "ignoreCase", ignoreCase);
8921
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "wholeWordsOnly", wholeWordsOnly);
8955
8922
  const requestOptions = {
8956
8923
  method: "POST",
8957
8924
  headers: {},
@@ -9233,65 +9200,6 @@ class SlidesApi {
9233
9200
  return Promise.resolve({ response });
9234
9201
  });
9235
9202
  }
9236
- /**
9237
- * Convert Mathematical Text to MathML Format and saves result to the storage
9238
- * @param name Document name.
9239
- * @param slideIndex Slide index.
9240
- * @param shapeIndex Shape index.
9241
- * @param paragraphIndex Paragraph index.
9242
- * @param portionIndex Portion index.
9243
- * @param outPath Path to save result.
9244
- * @param password Document password.
9245
- * @param folder Presentation folder.
9246
- * @param storage Presentation storage.
9247
- */
9248
- savePortionAsMathMl(name, slideIndex, shapeIndex, paragraphIndex, portionIndex, outPath, password = null, folder = null, storage = null) {
9249
- return __awaiter(this, void 0, void 0, function* () {
9250
- // verify required parameter 'name' is not null or undefined
9251
- if (name === null || name === undefined) {
9252
- throw new Error('The required parameter "name" was null or undefined when calling savePortionAsMathMl.');
9253
- }
9254
- // verify required parameter 'slideIndex' is not null or undefined
9255
- if (slideIndex === null || slideIndex === undefined) {
9256
- throw new Error('The required parameter "slideIndex" was null or undefined when calling savePortionAsMathMl.');
9257
- }
9258
- // verify required parameter 'shapeIndex' is not null or undefined
9259
- if (shapeIndex === null || shapeIndex === undefined) {
9260
- throw new Error('The required parameter "shapeIndex" was null or undefined when calling savePortionAsMathMl.');
9261
- }
9262
- // verify required parameter 'paragraphIndex' is not null or undefined
9263
- if (paragraphIndex === null || paragraphIndex === undefined) {
9264
- throw new Error('The required parameter "paragraphIndex" was null or undefined when calling savePortionAsMathMl.');
9265
- }
9266
- // verify required parameter 'portionIndex' is not null or undefined
9267
- if (portionIndex === null || portionIndex === undefined) {
9268
- throw new Error('The required parameter "portionIndex" was null or undefined when calling savePortionAsMathMl.');
9269
- }
9270
- // verify required parameter 'outPath' is not null or undefined
9271
- if (outPath === null || outPath === undefined) {
9272
- throw new Error('The required parameter "outPath" was null or undefined when calling savePortionAsMathMl.');
9273
- }
9274
- let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/mathml";
9275
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
9276
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
9277
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
9278
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "paragraphIndex", objectSerializer_1.ObjectSerializer.toString(paragraphIndex));
9279
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "portionIndex", objectSerializer_1.ObjectSerializer.toString(portionIndex));
9280
- const queryParameters = {};
9281
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "outPath", outPath);
9282
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
9283
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
9284
- const requestOptions = {
9285
- method: "PUT",
9286
- headers: {},
9287
- url: localVarPath,
9288
- params: queryParameters
9289
- };
9290
- (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
9291
- const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
9292
- return Promise.resolve({ response });
9293
- });
9294
- }
9295
9203
  /**
9296
9204
  * Save a presentation to a specified format.
9297
9205
  * @param name Document name.
@@ -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 v24.6.0";
172
+ requestOptions.headers["x-aspose-client"] = "nodejs sdk v24.7.0";
173
173
  if (configuration.timeout) {
174
174
  requestOptions.headers["x-aspose-timeout"] = configuration.timeout;
175
175
  }
package/model.d.ts CHANGED
@@ -2328,7 +2328,7 @@ export declare class DocumentProperty extends ResourceBase {
2328
2328
  /**
2329
2329
  * True for builtin property.
2330
2330
  */
2331
- builtIn: boolean;
2331
+ builtIn?: boolean;
2332
2332
  }
2333
2333
  /**
2334
2334
  * Represents document replace result DTO.
@@ -2781,7 +2781,8 @@ export declare enum ExportFormat {
2781
2781
  'Fodp',
2782
2782
  'Xaml',
2783
2783
  'Mpeg4',
2784
- 'Md'
2784
+ 'Md',
2785
+ 'Xml'
2785
2786
  }
2786
2787
  /**
2787
2788
  * Represents export options for whole presentation.
@@ -2791,6 +2792,10 @@ export declare class ExportOptions {
2791
2792
  * Default regular font for rendering the presentation.
2792
2793
  */
2793
2794
  defaultRegularFont?: string;
2795
+ /**
2796
+ * Default regular font for rendering the presentation.
2797
+ */
2798
+ gradientStyle?: ExportOptions.GradientStyleEnum;
2794
2799
  /**
2795
2800
  * Gets of sets list of font fallback rules.
2796
2801
  */
@@ -2801,6 +2806,12 @@ export declare class ExportOptions {
2801
2806
  fontSubstRules?: Array<FontSubstRule>;
2802
2807
  format?: string;
2803
2808
  }
2809
+ export declare namespace ExportOptions {
2810
+ enum GradientStyleEnum {
2811
+ Default,
2812
+ PowerPointUI
2813
+ }
2814
+ }
2804
2815
  /**
2805
2816
  * File or folder information
2806
2817
  */
@@ -3137,6 +3148,8 @@ export declare class ImageExportOptionsBase extends ExportOptions {
3137
3148
  */
3138
3149
  width?: number;
3139
3150
  }
3151
+ export declare namespace ImageExportOptionsBase {
3152
+ }
3140
3153
  /**
3141
3154
  * Provides options that control how a presentation is saved in Gif format.
3142
3155
  */
@@ -3155,6 +3168,8 @@ export declare class GifExportOptions extends ImageExportOptionsBase {
3155
3168
  */
3156
3169
  defaultDelay?: number;
3157
3170
  }
3171
+ export declare namespace GifExportOptions {
3172
+ }
3158
3173
  /**
3159
3174
  * Represents glow effect
3160
3175
  */
@@ -3176,11 +3191,11 @@ export declare class GradientFill extends FillFormat {
3176
3191
  /**
3177
3192
  * Gradient style.
3178
3193
  */
3179
- direction: GradientFill.DirectionEnum;
3194
+ direction?: GradientFill.DirectionEnum;
3180
3195
  /**
3181
3196
  * Gradient shape.
3182
3197
  */
3183
- shape: GradientFill.ShapeEnum;
3198
+ shape?: GradientFill.ShapeEnum;
3184
3199
  /**
3185
3200
  * Gradient stops.
3186
3201
  */
@@ -3188,15 +3203,15 @@ export declare class GradientFill extends FillFormat {
3188
3203
  /**
3189
3204
  * Gradient angle.
3190
3205
  */
3191
- linearAngle: number;
3206
+ linearAngle?: number;
3192
3207
  /**
3193
3208
  * True if the gradient is scaled.
3194
3209
  */
3195
- isScaled: boolean;
3210
+ isScaled?: boolean;
3196
3211
  /**
3197
3212
  * Gradient flipping mode.
3198
3213
  */
3199
- tileFlip: GradientFill.TileFlipEnum;
3214
+ tileFlip?: GradientFill.TileFlipEnum;
3200
3215
  }
3201
3216
  export declare namespace GradientFill {
3202
3217
  enum DirectionEnum {
@@ -3411,6 +3426,12 @@ export declare class Html5ExportOptions extends ExportOptions {
3411
3426
  * Slides layouting options
3412
3427
  */
3413
3428
  notesCommentsLayouting?: NotesCommentsLayoutingOptions;
3429
+ /**
3430
+ * Path to custom templates
3431
+ */
3432
+ templatesPath?: string;
3433
+ }
3434
+ export declare namespace Html5ExportOptions {
3414
3435
  }
3415
3436
  /**
3416
3437
  * Provides options that control how a presentation is saved in Html format.
@@ -3583,6 +3604,8 @@ export declare class ImageExportOptions extends ImageExportOptionsBase {
3583
3604
  */
3584
3605
  slidesLayoutOptions?: SlidesLayoutOptions;
3585
3606
  }
3607
+ export declare namespace ImageExportOptions {
3608
+ }
3586
3609
  /**
3587
3610
  * List of images.
3588
3611
  */
@@ -5230,6 +5253,10 @@ export declare class PdfExportOptions extends ExportOptions {
5230
5253
  * True to use ROP operation or Opacity for rendering brush.
5231
5254
  */
5232
5255
  interpretMaskOpAsOpacity?: boolean;
5256
+ /**
5257
+ * True if text should be rasterized as a bitmap and saved to PDF when the font does not support bold styling. This approach can enhance the quality of text in the resulting PDF for certain fonts.
5258
+ */
5259
+ rasterizeUnsupportedFontStyles?: boolean;
5233
5260
  }
5234
5261
  export declare namespace PdfExportOptions {
5235
5262
  enum TextCompressionEnum {
@@ -5851,9 +5878,13 @@ export declare class Portions extends ResourceBase {
5851
5878
  export declare class PptxExportOptions extends ExportOptions {
5852
5879
  constructor();
5853
5880
  /**
5854
- * The conformance class to which the PresentationML document conforms. Read/write Conformance.
5881
+ * The conformance class to which the PresentationML document conforms.
5855
5882
  */
5856
5883
  conformance?: PptxExportOptions.ConformanceEnum;
5884
+ /**
5885
+ * Specifies whether the ZIP64 format is used for the Presentation document. The default value is Zip64Mode.IfNecessary.
5886
+ */
5887
+ zip64Mode?: PptxExportOptions.Zip64ModeEnum;
5857
5888
  }
5858
5889
  export declare namespace PptxExportOptions {
5859
5890
  enum ConformanceEnum {
@@ -5861,6 +5892,11 @@ export declare namespace PptxExportOptions {
5861
5892
  Iso29500Transitional,
5862
5893
  Iso29500Strict
5863
5894
  }
5895
+ enum Zip64ModeEnum {
5896
+ Never,
5897
+ IfNecessary,
5898
+ Always
5899
+ }
5864
5900
  }
5865
5901
  /**
5866
5902
  * Represents presentation to merge
@@ -5972,11 +6008,11 @@ export declare class ProtectionProperties extends ResourceBase {
5972
6008
  /**
5973
6009
  * Returns true if the presentation protected for editing.
5974
6010
  */
5975
- isWriteProtected: boolean;
6011
+ isWriteProtected?: boolean;
5976
6012
  /**
5977
6013
  * Returns true if the presentation protected for reading.
5978
6014
  */
5979
- isEncrypted: boolean;
6015
+ isEncrypted?: boolean;
5980
6016
  }
5981
6017
  /**
5982
6018
  * Quadratic Bezier curve segment of the geometry path
@@ -6291,7 +6327,8 @@ export declare namespace Save {
6291
6327
  Fodp,
6292
6328
  Xaml,
6293
6329
  Mpeg4,
6294
- Md
6330
+ Md,
6331
+ Xml
6295
6332
  }
6296
6333
  }
6297
6334
  /**
@@ -6381,7 +6418,8 @@ export declare namespace SaveSlide {
6381
6418
  Fodp,
6382
6419
  Xaml,
6383
6420
  Html5,
6384
- Md
6421
+ Md,
6422
+ Xml
6385
6423
  }
6386
6424
  }
6387
6425
  /**
@@ -6682,7 +6720,7 @@ export declare class Slide extends ResourceBase {
6682
6720
  /**
6683
6721
  * Specifies if shapes of the master slide should be shown on the slide. True by default.
6684
6722
  */
6685
- showMasterShapes: boolean;
6723
+ showMasterShapes?: boolean;
6686
6724
  /**
6687
6725
  * Specifies if shapes of the master slide should be shown on the slide. True by default.
6688
6726
  */
@@ -6838,7 +6876,8 @@ export declare enum SlideExportFormat {
6838
6876
  'Fodp',
6839
6877
  'Xaml',
6840
6878
  'Html5',
6841
- 'Md'
6879
+ 'Md',
6880
+ 'Xml'
6842
6881
  }
6843
6882
  /**
6844
6883
  * Represents modern comment of slide
@@ -7824,6 +7863,10 @@ export declare class Table extends ShapeBase {
7824
7863
  * Determines whether the even columns has to be drawn with a different formatting.
7825
7864
  */
7826
7865
  verticalBanding?: boolean;
7866
+ /**
7867
+ * Transparency.
7868
+ */
7869
+ transparency?: number;
7827
7870
  }
7828
7871
  export declare namespace Table {
7829
7872
  enum StyleEnum {
@@ -7937,6 +7980,10 @@ export declare class TableCell {
7937
7980
  * The bottom margin of the cell.
7938
7981
  */
7939
7982
  marginBottom?: number;
7983
+ /**
7984
+ * Transparency.
7985
+ */
7986
+ transparency?: number;
7940
7987
  /**
7941
7988
  * Text anchor type.
7942
7989
  */
@@ -8033,7 +8080,7 @@ export declare class TableCellMergeOptions {
8033
8080
  /**
8034
8081
  * Allow splitting
8035
8082
  */
8036
- allowSplitting: boolean;
8083
+ allowSplitting?: boolean;
8037
8084
  }
8038
8085
  /**
8039
8086
  * Table cell split type
@@ -8744,6 +8791,8 @@ export declare class XamlExportOptions extends ExportOptions {
8744
8791
  */
8745
8792
  exportHiddenSlides?: boolean;
8746
8793
  }
8794
+ export declare namespace XamlExportOptions {
8795
+ }
8747
8796
  /**
8748
8797
  * Provides options that control how a presentation is saved in XPS format.
8749
8798
  */
@@ -8762,6 +8811,8 @@ export declare class XpsExportOptions extends ExportOptions {
8762
8811
  */
8763
8812
  drawSlidesFrame?: boolean;
8764
8813
  }
8814
+ export declare namespace XpsExportOptions {
8815
+ }
8765
8816
  /**
8766
8817
  * Zoom frame.
8767
8818
  */
package/model.js CHANGED
@@ -1724,6 +1724,7 @@ var ExportFormat;
1724
1724
  ExportFormat[ExportFormat["Xaml"] = 'Xaml'] = "Xaml";
1725
1725
  ExportFormat[ExportFormat["Mpeg4"] = 'Mpeg4'] = "Mpeg4";
1726
1726
  ExportFormat[ExportFormat["Md"] = 'Md'] = "Md";
1727
+ ExportFormat[ExportFormat["Xml"] = 'Xml'] = "Xml";
1727
1728
  })(ExportFormat = exports.ExportFormat || (exports.ExportFormat = {}));
1728
1729
  /**
1729
1730
  * Represents export options for whole presentation.
@@ -1731,6 +1732,13 @@ var ExportFormat;
1731
1732
  class ExportOptions {
1732
1733
  }
1733
1734
  exports.ExportOptions = ExportOptions;
1735
+ (function (ExportOptions) {
1736
+ let GradientStyleEnum;
1737
+ (function (GradientStyleEnum) {
1738
+ GradientStyleEnum[GradientStyleEnum["Default"] = 'Default'] = "Default";
1739
+ GradientStyleEnum[GradientStyleEnum["PowerPointUI"] = 'PowerPointUI'] = "PowerPointUI";
1740
+ })(GradientStyleEnum = ExportOptions.GradientStyleEnum || (ExportOptions.GradientStyleEnum = {}));
1741
+ })(ExportOptions = exports.ExportOptions || (exports.ExportOptions = {}));
1734
1742
  /**
1735
1743
  * File or folder information
1736
1744
  */
@@ -3473,6 +3481,12 @@ exports.PptxExportOptions = PptxExportOptions;
3473
3481
  ConformanceEnum[ConformanceEnum["Iso29500Transitional"] = 'Iso29500Transitional'] = "Iso29500Transitional";
3474
3482
  ConformanceEnum[ConformanceEnum["Iso29500Strict"] = 'Iso29500Strict'] = "Iso29500Strict";
3475
3483
  })(ConformanceEnum = PptxExportOptions.ConformanceEnum || (PptxExportOptions.ConformanceEnum = {}));
3484
+ let Zip64ModeEnum;
3485
+ (function (Zip64ModeEnum) {
3486
+ Zip64ModeEnum[Zip64ModeEnum["Never"] = 'Never'] = "Never";
3487
+ Zip64ModeEnum[Zip64ModeEnum["IfNecessary"] = 'IfNecessary'] = "IfNecessary";
3488
+ Zip64ModeEnum[Zip64ModeEnum["Always"] = 'Always'] = "Always";
3489
+ })(Zip64ModeEnum = PptxExportOptions.Zip64ModeEnum || (PptxExportOptions.Zip64ModeEnum = {}));
3476
3490
  })(PptxExportOptions = exports.PptxExportOptions || (exports.PptxExportOptions = {}));
3477
3491
  /**
3478
3492
  * Represents presentation to merge
@@ -3700,6 +3714,7 @@ exports.Save = Save;
3700
3714
  FormatEnum[FormatEnum["Xaml"] = 'Xaml'] = "Xaml";
3701
3715
  FormatEnum[FormatEnum["Mpeg4"] = 'Mpeg4'] = "Mpeg4";
3702
3716
  FormatEnum[FormatEnum["Md"] = 'Md'] = "Md";
3717
+ FormatEnum[FormatEnum["Xml"] = 'Xml'] = "Xml";
3703
3718
  })(FormatEnum = Save.FormatEnum || (Save.FormatEnum = {}));
3704
3719
  })(Save = exports.Save || (exports.Save = {}));
3705
3720
  /**
@@ -3760,6 +3775,7 @@ exports.SaveSlide = SaveSlide;
3760
3775
  FormatEnum[FormatEnum["Xaml"] = 'Xaml'] = "Xaml";
3761
3776
  FormatEnum[FormatEnum["Html5"] = 'Html5'] = "Html5";
3762
3777
  FormatEnum[FormatEnum["Md"] = 'Md'] = "Md";
3778
+ FormatEnum[FormatEnum["Xml"] = 'Xml'] = "Xml";
3763
3779
  })(FormatEnum = SaveSlide.FormatEnum || (SaveSlide.FormatEnum = {}));
3764
3780
  })(SaveSlide = exports.SaveSlide || (exports.SaveSlide = {}));
3765
3781
  /**
@@ -4067,6 +4083,7 @@ var SlideExportFormat;
4067
4083
  SlideExportFormat[SlideExportFormat["Xaml"] = 'Xaml'] = "Xaml";
4068
4084
  SlideExportFormat[SlideExportFormat["Html5"] = 'Html5'] = "Html5";
4069
4085
  SlideExportFormat[SlideExportFormat["Md"] = 'Md'] = "Md";
4086
+ SlideExportFormat[SlideExportFormat["Xml"] = 'Xml'] = "Xml";
4070
4087
  })(SlideExportFormat = exports.SlideExportFormat || (exports.SlideExportFormat = {}));
4071
4088
  /**
4072
4089
  * Represents modern comment of slide
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asposeslidescloud",
3
- "version": "24.6.0",
3
+ "version": "24.7.0",
4
4
  "description": "Aspose.Slides Cloud SDK for Node.js",
5
5
  "homepage": "https://products.aspose.cloud/slides/cloud",
6
6
  "author": {