asposeslidescloud 22.12.0 → 23.2.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,96 +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 22.9
31
-
32
- * Added new **ReplaceFont** and **ReplaceFontOnline** methods that allow replacing presentation fonts.
33
- * Added new **SetEmbeddedFontFromRequest** and **SetEmbeddedFontFromRequestOnline** that allow to embed fonts without uploading them to the storage.
34
- * Added an optional **fontsFolder** parameter to **SetEmbeddedFont** and **SetEmbeddedFontOnline** methods to enable using custom fonts with those methods.
35
- * Added **FontSubstRules** property to **ExportOptions** class to allow specifying font substitution rules in conversion methods.
36
- * Added an optional **group** parameter to **ImportImagesFromSvg** method to allow importing SVG images as a GroupShape.
37
- * Added new **CreateSmartArtNode** and **DeleteSmartArtNode** methods to manage individual nodes in SmartArt shapes.
38
- * Added **FillFomat**, **LineFormat**, **EffectFormat** and **ThreeDFormat** properties to **DataPoint** class that allow formatting individual chart data points.
39
-
40
- ## Enhancements in Version 22.8
41
-
42
- * With new **GetFonts** and **GetFontsOnline** methods you can get a list for fonts used in the presentation.
43
- * Added new **SetEmbeddedFont**, **SetEmbeddedFontOnline**, **DeleteEmbeddedFont** and **DeleteEmbeddedFontOnline** methods to embed/unembed presentation fonts.
44
- * Added new **ImportImagesFromSvg** method to import SVG images as individual geometry shapes.
45
-
46
- ## Enhancements in Version 22.7
47
-
48
- * Added **Html**, **Pdf**, **Xps**, **Pptx**, **Odp**, **Otp**, **Ppt**, **Pps**, **Ppsx**, **Pptm**, **Ppsm**, **Potx**, **Pot**, **Potm**, **Svg**, **Fodp**, **Xaml**, **Html5** to the list of allowed values for **SlideExportFormat** enum. You can now export slide notes to those formats.
49
- * Added **Html5** to the list of allowed values for **SlideExportFormat** enum. You can now export individual slides to HTML5.
50
- * Added **Url** to the list of allowed values for **PresentationToMerge.SourceEnum** enum. You can now merge presentations from external URLs.
51
- * New **DeleteUnusedMasterSlides** and **DeleteUnusedMasterSlidesOnline** methods.
52
- * New **SetChartAxis**, **SetChartLegend**, **SetChartWall** methods allow to moduly chart elements more conveniently.
53
- * **UpdateChartSeriesGroup** method was renamed to **SetChartSeriesGroup**.
54
-
55
- ## Enhancements in Version 22.6
56
- * Added ned **GetSubshapeParagraphEffective**, **GetParagraphEffective** and **GetSubshapePortionEffective**, **GetPortionEffective** methods to retrieve actual format values for paragraphs and portions, whether they are inherited from parent entities or not.
57
- * Password parameter is now optional for **GetProtectionProperties** method. So, you don't need to specify the password to check whether a presentation has a password.
58
- * Added new **ChartSeriesGroup** class and **SeriesGroups** property to **Chart** class to enable managing chart series groups. Added new **UpdateChartSeriesGroup** method.
59
- * Added **HasRoundedCorners** property to **Chart** class.
60
- * Added **InvertIfNegative** property to **OneValueChartDataPoint** class.
61
- * Changed **FormatScheme** class to return actual format values instead of resource links.
62
-
63
- ## Enhancements in Version 22.5
64
- * Added **Paragraphs** property to **SmartArtNode** class to enable getting and setting text for SmartArt nodes.
65
- * Added **ImageTransformList** property to **PictureFill** class to enable setting image transform effects. Added **ImageTransformEffect** class and subclasses for different kind of of effects.
66
- * Added **PictureFillFormat** property to **VideoFrame** class to enable setting poster image for video frames.
67
- * Added **SlideIndex** and **ShapeIndex** properties to **ResourceUri** class to simplify retrieveing slide & shape indexes for resources.
68
- * Removed redundant **BoxAndWhiskersSeries**, **WaterfallSeries** and **WaterfallChartDataPoint** classes.
69
-
70
- ## Enhancements in Version 22.4
71
- * Added **TransitionType** and **SlidesTransitionDuration** properties to **VideoExportOptions** class to enable creation videos with transitions.
72
- * Added **DefaultPortionFormat** property to **Paragraph** class. Added new **PortionFormat** class.
73
- * Added **EmbeddedFileBase64Data** and a number of other properties to **OleObjectFrame** class to enable creation of OLE Object frames.
74
- * Added **AccessPermissions** class to support access permissions for PDF export.
75
- * Added **PictureFillformat** property to **AudioFrame** class.
76
- * Added **RowIndex** and **ColumnIndex** properties to **TableCell** class.
77
- * Moved **Width** and **Height** properties from **ExportOptions** base class to the new **ImageExportOptionsBase class**. This is a superclass for **ImageExportOptions**, **GifExportOptions** and **TiffExportOptions** classes.
78
- * Removed redundant **Shapes** property from **ShapeBase** class. It is only left for **GroupShape** class.
79
-
80
- ## Enhancements in Version 22.3
81
- * Added **ModernSlideComment** class to support modern comments. Also added **SlideCommentBase** as base class for comments.
82
- * Added optional **shapeIndex** parameter to **CreateComment** and **CreateCommentOnline** methods.
83
- * Added **GetParagraphRectangle**, **GetPortionRectangle** method and new **TextBounds** class to get paragraph or portion bounds.
84
- * Added optional **shapeType** parameter for **GetShapes** method. You can now get list of shapes of a particular type (e.g. charts or tables).
85
- * Added **FontFallbackRules** class and **FontFallbackRules** property to **ExportOptions** class.
86
- * Added **LatinFont**, **EastAsianFont** and **ComplexScriptFont** properties to **Portion** class to enable getting and seting portion font name.
87
- * Added **ChartLinesFormat** class; added **MajorGridLinesFormat** and **MinorGridLinesFormat** properties to Axis class.
88
- * Added **HideLegend** boolean property to **Legend** class.
89
-
90
- ## Enhancements in Version 22.2
91
- * Added **Mpeg4** to the list of allowed values for **ExportFormat** type. You can now convert presentations to video.
92
- * New **HighlightShapeText** and **HighlightShapeRegex** methods.
93
- * New **DeleteUnusedLayoutSlides** and **DeleteUnusedLayoutSlides** methods.
94
- * New **ZoomFrame** and **ZoomObject** classes with a number of subclasses.
95
- * Added **TextFrameFormat** property to **Shape** class to support WordArt.
96
- * Added **XYSeries** class as a supercalss for **ScatterSeries** and **BubbleSeries** methods.
97
- * Added **None** to the list of allowed values for **TimeUnitType** enum type.
98
- * **Level** property of **Category** class is deprecated and will be removed after v22.4.
99
-
100
- ## Enhancements in Version 22.11
101
-
102
- * You can now specify data sources for chart elements. This is done with new **DataSource** type which is use with propertries **Chart.DataSourceForCategories**, **Series.DataSourceForName**, **OneValueSeries.DataSourceForValues**, **XYSeries.DataSourceForXValues**, **XYSeries.DataSourceForYValues**, **BubbleSeries.DataSourceForBubbleSizeValues**.
103
- * You can now specify formulas for data points using new properties **OneValueChartDataPoint.ValueFormula**, **ScatterChartDataPoint.XValueFormula**, **ScatterChartDataPoint.YValueFormula**, **BubbleChartDataPoint.BubbleSizeFormula**.
104
- * Added boolean **UseFrameSize** and **UseFrameRotation** properties to **SvgExportOptions** class.
105
-
106
- ## Enhancements in Version 22.10
107
-
108
- * Added new **GetSlideShowProperties** and **SetSlideShowProperties** methods to get & set slideshow properties.
109
- * Methods that work with shapes, paragraphs and portions now have an optional **subShape** parameter which can be used to access subshapes (SmartArt elements, grouped shapes). Separate methods for subshapes (**GetSubshapeParagraphs**, **CreateSubshape**, **AlignSubshapes** etc.) have been removed.
110
- * Added boolean **RepeatUntilEndSlide** and **RepeatUntilNextClick** properties to **Effect** class.
111
-
112
- ## Enhancements in Version 22.1
113
- * New **MathParagraph** property of **Portion** class allows to get and set math formulas. A set of **MathElement** subclasses allows to specify complex mathematical expressions.
114
- * New **DownloadPortionAsMathMl** and **SavePortionAsMathMl** methods allow to export math formulas to MathML format.
115
- * New **HyperlinkClick** and **HyperlinkMouseOver** methods of **ShapeBase** and **Portion** classes enable creation and manipulating hyperlinks for shapes and portions.
116
- * New methods **GetShapeGeometryPath** and **SetShapeGeometryPath** can be used to get or set geometry paths for shapes. You can use lines, arcs and curves to specify custom shape boundaries.
117
- * New **AlignSubshapes** method enables aligning shapes within a shape group.
118
- * New **PlayAcrossSlides** and **RewindAudio** properties are added to **AudioFrame** class.
119
- * Added **InClickSequence** to the list of allowable values for **AudioPlayModePreset** and **AudioPlayModePreset** enum types.
30
+ ## Enhancements in Version 23.2
31
+
32
+ * New **DownloadShapeFromDto** method allows to convert charts and other shapes from DTO to SVG and other formats without creating and storing presentation files.
33
+ * Added **SoundBase64** property to **Hyperlink** class to support getting and setting hyperlink sounds.
34
+ * Added **BulletFillFormat** property to **Paragraph** class.
35
+ * Added **StopPreviousSound** property to animation **Effect** class.
36
+ * Added a number of properties to **TextFrameFormat** that enable formatting shape text: **MarginLeft**, **MarginRight**, **MarginTop**, **MarginBottom**, **WrapText**, **AnchoringType**, **CenterText**, **TextVerticalType**, **AutofitType**, **ColumnCount**, **ColumnSpacing**, **KeepTextFlat**, **RotationAngle**, **DefaultParagraphFormat**.
37
+ * Added **Pdf16**, **Pdf17**, **PdfA2b**, **PdfA2a**, **PdfA2u**, **PdfA3a**, **PdfA3b** to the list of allowed values for **PdfExportOptions.Compliance** property.
38
+
39
+ ## Enhancements in Version 23.1
40
+
41
+ * New **CompressEmbeddedFonts** and **CompressEmbeddedFontsOnline** methods allow to reduce the size taken by embedded fonts by excluding unused characters.
120
42
 
121
43
  ## Licensing
122
44
  All Aspose.Slides Cloud SDKs are licensed under MIT License.
package/api.d.ts CHANGED
@@ -51,6 +51,25 @@ export declare class SlidesApi {
51
51
  response: http.ServerResponse;
52
52
  body: model.Shapes;
53
53
  }>;
54
+ /**
55
+ * Compresses embedded fonts by removing unused characters.
56
+ * @param name Document name.
57
+ * @param password Document password.
58
+ * @param folder Document folder.
59
+ * @param storage Document storage.
60
+ */
61
+ compressEmbeddedFonts(name: string, password?: string, folder?: string, storage?: string): Promise<{
62
+ response: http.ServerResponse;
63
+ }>;
64
+ /**
65
+ * Compresses embedded fonts by removing unused characters.
66
+ * @param document Document data.
67
+ * @param password Document password.
68
+ */
69
+ compressEmbeddedFontsOnline(document: Readable, password?: string): Promise<{
70
+ response: http.ServerResponse;
71
+ body: Buffer;
72
+ }>;
54
73
  /**
55
74
  * Convert presentation from request content to format specified.
56
75
  * @param document Document data.
@@ -1403,6 +1422,15 @@ export declare class SlidesApi {
1403
1422
  response: http.ServerResponse;
1404
1423
  body: Buffer;
1405
1424
  }>;
1425
+ /**
1426
+ * Creates the shape from the DTO and returns the result in the specified format.
1427
+ * @param format Export format
1428
+ * @param dto Shape DTO.
1429
+ */
1430
+ downloadShapeFromDto(format: model.ShapeExportFormat, dto: model.ShapeBase): Promise<{
1431
+ response: http.ServerResponse;
1432
+ body: Buffer;
1433
+ }>;
1406
1434
  /**
1407
1435
  * Render shape to specified picture format.
1408
1436
  * @param document Document data.
package/api.js CHANGED
@@ -183,6 +183,67 @@ class SlidesApi {
183
183
  return Promise.resolve({ body: result, response });
184
184
  });
185
185
  }
186
+ /**
187
+ * Compresses embedded fonts by removing unused characters.
188
+ * @param name Document name.
189
+ * @param password Document password.
190
+ * @param folder Document folder.
191
+ * @param storage Document storage.
192
+ */
193
+ compressEmbeddedFonts(name, password = null, folder = null, storage = null) {
194
+ return __awaiter(this, void 0, void 0, function* () {
195
+ // verify required parameter 'name' is not null or undefined
196
+ if (name === null || name === undefined) {
197
+ throw new Error('The required parameter "name" was null or undefined when calling compressEmbeddedFonts.');
198
+ }
199
+ let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/fonts/embedded/compress";
200
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
201
+ const queryParameters = {};
202
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
203
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
204
+ const requestOptions = {
205
+ method: "POST",
206
+ qs: queryParameters,
207
+ headers: {},
208
+ uri: localVarPath,
209
+ json: true
210
+ };
211
+ (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
212
+ const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
213
+ return Promise.resolve({ response });
214
+ });
215
+ }
216
+ /**
217
+ * Compresses embedded fonts by removing unused characters.
218
+ * @param document Document data.
219
+ * @param password Document password.
220
+ */
221
+ compressEmbeddedFontsOnline(document, password = null) {
222
+ return __awaiter(this, void 0, void 0, function* () {
223
+ // verify required parameter 'document' is not null or undefined
224
+ if (document === null || document === undefined) {
225
+ throw new Error('The required parameter "document" was null or undefined when calling compressEmbeddedFontsOnline.');
226
+ }
227
+ let localVarPath = this.configuration.getApiBaseUrl() + "/slides/fonts/embedded/compress";
228
+ const queryParameters = {};
229
+ const requestOptions = {
230
+ method: "POST",
231
+ qs: queryParameters,
232
+ headers: {},
233
+ uri: localVarPath,
234
+ encoding: null
235
+ };
236
+ (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
237
+ let localVarFiles = [];
238
+ if (document != null) {
239
+ localVarFiles.push(document);
240
+ }
241
+ (0, requestHelper_1.checkMultipartContent)(requestOptions, localVarFiles);
242
+ const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
243
+ const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "Buffer");
244
+ return Promise.resolve({ body: result, response });
245
+ });
246
+ }
186
247
  /**
187
248
  * Convert presentation from request content to format specified.
188
249
  * @param document Document data.
@@ -4655,6 +4716,40 @@ class SlidesApi {
4655
4716
  return Promise.resolve({ body: result, response });
4656
4717
  });
4657
4718
  }
4719
+ /**
4720
+ * Creates the shape from the DTO and returns the result in the specified format.
4721
+ * @param format Export format
4722
+ * @param dto Shape DTO.
4723
+ */
4724
+ downloadShapeFromDto(format, dto) {
4725
+ return __awaiter(this, void 0, void 0, function* () {
4726
+ // verify required parameter 'format' is not null or undefined
4727
+ if (format === null || format === undefined) {
4728
+ throw new Error('The required parameter "format" was null or undefined when calling downloadShapeFromDto.');
4729
+ }
4730
+ // verify value of enum parameter 'format' is valid
4731
+ if (!Object.keys(model.ShapeExportFormat).filter(i => model.ShapeExportFormat[i].toLowerCase() == format.toString().toLowerCase()).length) {
4732
+ throw new Error('Invalid value for format: ' + format + '. Must be one of the following: ' + Object.keys(model.ShapeExportFormat).map(key => model.ShapeExportFormat[key]).join());
4733
+ }
4734
+ // verify required parameter 'dto' is not null or undefined
4735
+ if (dto === null || dto === undefined) {
4736
+ throw new Error('The required parameter "dto" was null or undefined when calling downloadShapeFromDto.');
4737
+ }
4738
+ let localVarPath = this.configuration.getApiBaseUrl() + "/slides/shape/{format}";
4739
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "format", objectSerializer_1.ObjectSerializer.toString(format));
4740
+ const queryParameters = {};
4741
+ const requestOptions = {
4742
+ method: "POST",
4743
+ qs: queryParameters,
4744
+ uri: localVarPath,
4745
+ json: dto,
4746
+ encoding: null
4747
+ };
4748
+ const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
4749
+ const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "Buffer");
4750
+ return Promise.resolve({ body: result, response });
4751
+ });
4752
+ }
4658
4753
  /**
4659
4754
  * Render shape to specified picture format.
4660
4755
  * @param document Document data.
@@ -149,7 +149,7 @@ function invokeApiMethodInternal(requestOptions, configuration, notApplyAuthToRe
149
149
  if (!requestOptions.headers) {
150
150
  requestOptions.headers = {};
151
151
  }
152
- requestOptions.headers["x-aspose-client"] = "nodejs sdk v22.12.0";
152
+ requestOptions.headers["x-aspose-client"] = "nodejs sdk v23.2.0";
153
153
  if (configuration.timeout) {
154
154
  requestOptions.headers["x-aspose-timeout"] = configuration.timeout;
155
155
  }
package/model.d.ts CHANGED
@@ -2361,6 +2361,10 @@ export declare class Effect {
2361
2361
  * Specifies if the effect will repeat until the next click.
2362
2362
  */
2363
2363
  repeatUntilNextClick?: boolean;
2364
+ /**
2365
+ * This attribute specifies if the animation effect stops the previous sound.
2366
+ */
2367
+ stopPreviousSound?: boolean;
2364
2368
  }
2365
2369
  export declare namespace Effect {
2366
2370
  enum TypeEnum {
@@ -3372,6 +3376,10 @@ export declare class Hyperlink {
3372
3376
  * Represents the source of hyperlink color
3373
3377
  */
3374
3378
  colorSource?: Hyperlink.ColorSourceEnum;
3379
+ /**
3380
+ * Audio data encoded in base64. Represents the playing sound of the hyperlink.
3381
+ */
3382
+ soundBase64?: string;
3375
3383
  }
3376
3384
  export declare namespace Hyperlink {
3377
3385
  enum ActionTypeEnum {
@@ -4436,26 +4444,6 @@ export declare class Paragraph extends ResourceBase {
4436
4444
  * Depth.
4437
4445
  */
4438
4446
  depth?: number;
4439
- /**
4440
- * Bullet char.
4441
- */
4442
- bulletChar?: string;
4443
- /**
4444
- * Bullet height.
4445
- */
4446
- bulletHeight?: number;
4447
- /**
4448
- * Bullet type.
4449
- */
4450
- bulletType?: Paragraph.BulletTypeEnum;
4451
- /**
4452
- * Starting number for a numbered bullet.
4453
- */
4454
- numberedBulletStartWith?: number;
4455
- /**
4456
- * Numbered bullet style.
4457
- */
4458
- numberedBulletStyle?: Paragraph.NumberedBulletStyleEnum;
4459
4447
  /**
4460
4448
  * True if hanging punctuation is used with the paragraph.
4461
4449
  */
@@ -4480,6 +4468,30 @@ export declare class Paragraph extends ResourceBase {
4480
4468
  * Default portion format.
4481
4469
  */
4482
4470
  defaultPortionFormat?: PortionFormat;
4471
+ /**
4472
+ * Bullet char.
4473
+ */
4474
+ bulletChar?: string;
4475
+ /**
4476
+ * Bullet height.
4477
+ */
4478
+ bulletHeight?: number;
4479
+ /**
4480
+ * Bullet type.
4481
+ */
4482
+ bulletType?: Paragraph.BulletTypeEnum;
4483
+ /**
4484
+ * Starting number for a numbered bullet.
4485
+ */
4486
+ numberedBulletStartWith?: number;
4487
+ /**
4488
+ * Numbered bullet style.
4489
+ */
4490
+ numberedBulletStyle?: Paragraph.NumberedBulletStyleEnum;
4491
+ /**
4492
+ * Bullet fill format.
4493
+ */
4494
+ bulletFillFormat?: FillFormat;
4483
4495
  }
4484
4496
  export declare namespace Paragraph {
4485
4497
  enum AlignmentEnum {
@@ -4499,6 +4511,26 @@ export declare namespace Paragraph {
4499
4511
  Baseline,
4500
4512
  Default
4501
4513
  }
4514
+ enum HangingPunctuationEnum {
4515
+ False,
4516
+ True,
4517
+ NotDefined
4518
+ }
4519
+ enum EastAsianLineBreakEnum {
4520
+ False,
4521
+ True,
4522
+ NotDefined
4523
+ }
4524
+ enum LatinLineBreakEnum {
4525
+ False,
4526
+ True,
4527
+ NotDefined
4528
+ }
4529
+ enum RightToLeftEnum {
4530
+ False,
4531
+ True,
4532
+ NotDefined
4533
+ }
4502
4534
  enum BulletTypeEnum {
4503
4535
  None,
4504
4536
  Symbol,
@@ -4550,7 +4582,115 @@ export declare namespace Paragraph {
4550
4582
  BulletHindiAlpha1Period,
4551
4583
  NotDefined
4552
4584
  }
4553
- enum HangingPunctuationEnum {
4585
+ }
4586
+ /**
4587
+ * Paragraph formatting properties.
4588
+ */
4589
+ export declare class ParagraphFormat {
4590
+ /**
4591
+ * Depth.
4592
+ */
4593
+ depth?: number;
4594
+ /**
4595
+ * Text alignment.
4596
+ */
4597
+ alignment?: ParagraphFormat.AlignmentEnum;
4598
+ /**
4599
+ * Left margin.
4600
+ */
4601
+ marginLeft?: number;
4602
+ /**
4603
+ * Right margin.
4604
+ */
4605
+ marginRight?: number;
4606
+ /**
4607
+ * Left spacing.
4608
+ */
4609
+ spaceBefore?: number;
4610
+ /**
4611
+ * Right spacing.
4612
+ */
4613
+ spaceAfter?: number;
4614
+ /**
4615
+ * Spacing between lines.
4616
+ */
4617
+ spaceWithin?: number;
4618
+ /**
4619
+ * Font alignment.
4620
+ */
4621
+ fontAlignment?: ParagraphFormat.FontAlignmentEnum;
4622
+ /**
4623
+ * First line indent.
4624
+ */
4625
+ indent?: number;
4626
+ /**
4627
+ * Determines whether the Right to Left writing is used in a paragraph. No inheritance applied.
4628
+ */
4629
+ rightToLeft?: ParagraphFormat.RightToLeftEnum;
4630
+ /**
4631
+ * Determines whether the East Asian line break is used in a paragraph. No inheritance applied.
4632
+ */
4633
+ eastAsianLineBreak?: ParagraphFormat.EastAsianLineBreakEnum;
4634
+ /**
4635
+ * Determines whether the Latin line break is used in a paragraph. No inheritance applied.
4636
+ */
4637
+ latinLineBreak?: ParagraphFormat.LatinLineBreakEnum;
4638
+ /**
4639
+ * Determines whether the hanging punctuation is used in a paragraph. No inheritance applied.
4640
+ */
4641
+ hangingPunctuation?: ParagraphFormat.HangingPunctuationEnum;
4642
+ /**
4643
+ * Returns or sets default tabulation size with no inheritance.
4644
+ */
4645
+ defaultTabSize?: number;
4646
+ /**
4647
+ * Default portion format.
4648
+ */
4649
+ defaultPortionFormat?: PortionFormat;
4650
+ /**
4651
+ * Bullet char.
4652
+ */
4653
+ bulletChar?: string;
4654
+ /**
4655
+ * Bullet height.
4656
+ */
4657
+ bulletHeight?: number;
4658
+ /**
4659
+ * Bullet type.
4660
+ */
4661
+ bulletType?: ParagraphFormat.BulletTypeEnum;
4662
+ /**
4663
+ * Starting number for a numbered bullet.
4664
+ */
4665
+ numberedBulletStartWith?: number;
4666
+ /**
4667
+ * Numbered bullet style.
4668
+ */
4669
+ numberedBulletStyle?: ParagraphFormat.NumberedBulletStyleEnum;
4670
+ /**
4671
+ * Bullet fill format.
4672
+ */
4673
+ bulletFillFormat?: FillFormat;
4674
+ }
4675
+ export declare namespace ParagraphFormat {
4676
+ enum AlignmentEnum {
4677
+ Left,
4678
+ Center,
4679
+ Right,
4680
+ Justify,
4681
+ JustifyLow,
4682
+ Distributed,
4683
+ NotDefined
4684
+ }
4685
+ enum FontAlignmentEnum {
4686
+ Automatic,
4687
+ Top,
4688
+ Center,
4689
+ Bottom,
4690
+ Baseline,
4691
+ Default
4692
+ }
4693
+ enum RightToLeftEnum {
4554
4694
  False,
4555
4695
  True,
4556
4696
  NotDefined
@@ -4565,11 +4705,62 @@ export declare namespace Paragraph {
4565
4705
  True,
4566
4706
  NotDefined
4567
4707
  }
4568
- enum RightToLeftEnum {
4708
+ enum HangingPunctuationEnum {
4569
4709
  False,
4570
4710
  True,
4571
4711
  NotDefined
4572
4712
  }
4713
+ enum BulletTypeEnum {
4714
+ None,
4715
+ Symbol,
4716
+ Numbered,
4717
+ Picture,
4718
+ NotDefined
4719
+ }
4720
+ enum NumberedBulletStyleEnum {
4721
+ BulletAlphaLCPeriod,
4722
+ BulletAlphaUCPeriod,
4723
+ BulletArabicParenRight,
4724
+ BulletArabicPeriod,
4725
+ BulletRomanLCParenBoth,
4726
+ BulletRomanLCParenRight,
4727
+ BulletRomanLCPeriod,
4728
+ BulletRomanUCPeriod,
4729
+ BulletAlphaLCParenBoth,
4730
+ BulletAlphaLCParenRight,
4731
+ BulletAlphaUCParenBoth,
4732
+ BulletAlphaUCParenRight,
4733
+ BulletArabicParenBoth,
4734
+ BulletArabicPlain,
4735
+ BulletRomanUCParenBoth,
4736
+ BulletRomanUCParenRight,
4737
+ BulletSimpChinPlain,
4738
+ BulletSimpChinPeriod,
4739
+ BulletCircleNumDBPlain,
4740
+ BulletCircleNumWDWhitePlain,
4741
+ BulletCircleNumWDBlackPlain,
4742
+ BulletTradChinPlain,
4743
+ BulletTradChinPeriod,
4744
+ BulletArabicAlphaDash,
4745
+ BulletArabicAbjadDash,
4746
+ BulletHebrewAlphaDash,
4747
+ BulletKanjiKoreanPlain,
4748
+ BulletKanjiKoreanPeriod,
4749
+ BulletArabicDBPlain,
4750
+ BulletArabicDBPeriod,
4751
+ BulletThaiAlphaPeriod,
4752
+ BulletThaiAlphaParenRight,
4753
+ BulletThaiAlphaParenBoth,
4754
+ BulletThaiNumPeriod,
4755
+ BulletThaiNumParenRight,
4756
+ BulletThaiNumParenBoth,
4757
+ BulletHindiAlphaPeriod,
4758
+ BulletHindiNumPeriod,
4759
+ BulletKanjiSimpChinDBPeriod,
4760
+ BulletHindiNumParenRight,
4761
+ BulletHindiAlpha1Period,
4762
+ NotDefined
4763
+ }
4573
4764
  }
4574
4765
  /**
4575
4766
  * Represents list of Links to Paragraphs resources
@@ -4780,9 +4971,16 @@ export declare namespace PdfExportOptions {
4780
4971
  }
4781
4972
  enum ComplianceEnum {
4782
4973
  Pdf15,
4974
+ Pdf16,
4975
+ Pdf17,
4783
4976
  PdfA1b,
4784
4977
  PdfA1a,
4785
- PdfUa
4978
+ PdfA2b,
4979
+ PdfA2a,
4980
+ PdfA3b,
4981
+ PdfA3a,
4982
+ PdfUa,
4983
+ PdfA2u
4786
4984
  }
4787
4985
  enum NotesPositionEnum {
4788
4986
  None,
@@ -7368,6 +7566,62 @@ export declare class TextFrameFormat {
7368
7566
  * Gets or sets text wrapping shape.
7369
7567
  */
7370
7568
  transform?: TextFrameFormat.TransformEnum;
7569
+ /**
7570
+ * Left margin. Left margin.
7571
+ */
7572
+ marginLeft?: number;
7573
+ /**
7574
+ * Right margin.
7575
+ */
7576
+ marginRight?: number;
7577
+ /**
7578
+ * Top margin.
7579
+ */
7580
+ marginTop?: number;
7581
+ /**
7582
+ * Bottom margin.
7583
+ */
7584
+ marginBottom?: number;
7585
+ /**
7586
+ * True if text is wrapped at TextFrame's margins.
7587
+ */
7588
+ wrapText?: TextFrameFormat.WrapTextEnum;
7589
+ /**
7590
+ * Returns or sets vertical anchor text in a TextFrame.
7591
+ */
7592
+ anchoringType?: TextFrameFormat.AnchoringTypeEnum;
7593
+ /**
7594
+ * If True then text should be centered in box horizontally.
7595
+ */
7596
+ centerText?: TextFrameFormat.CenterTextEnum;
7597
+ /**
7598
+ * Determines text orientation. The resulted value of visual text rotation summarized from this property and custom angle in property RotationAngle.
7599
+ */
7600
+ textVerticalType?: TextFrameFormat.TextVerticalTypeEnum;
7601
+ /**
7602
+ * Returns or sets text's auto-fit mode.
7603
+ */
7604
+ autofitType?: TextFrameFormat.AutofitTypeEnum;
7605
+ /**
7606
+ * Returns or sets number of columns in the text area. This value must be a positive number. Otherwise, the value will be set to zero. Value 0 means undefined value.
7607
+ */
7608
+ columnCount?: number;
7609
+ /**
7610
+ * Returns or sets the space between text columns in the text area (in points). This should only apply when there is more than 1 column present. This value must be a positive number. Otherwise, the value will be set to zero.
7611
+ */
7612
+ columnSpacing?: number;
7613
+ /**
7614
+ * Returns or set keeping text out of 3D scene entirely.
7615
+ */
7616
+ keepTextFlat?: boolean;
7617
+ /**
7618
+ * Specifies the custom rotation that is being applied to the text within the bounding box.
7619
+ */
7620
+ rotationAngle?: number;
7621
+ /**
7622
+ * Default portion format.
7623
+ */
7624
+ defaultParagraphFormat?: ParagraphFormat;
7371
7625
  }
7372
7626
  export declare namespace TextFrameFormat {
7373
7627
  enum TransformEnum {
@@ -7415,6 +7669,40 @@ export declare namespace TextFrameFormat {
7415
7669
  Custom,
7416
7670
  NotDefined
7417
7671
  }
7672
+ enum WrapTextEnum {
7673
+ False,
7674
+ True,
7675
+ NotDefined
7676
+ }
7677
+ enum AnchoringTypeEnum {
7678
+ Top,
7679
+ Center,
7680
+ Bottom,
7681
+ Justified,
7682
+ Distributed,
7683
+ NotDefined
7684
+ }
7685
+ enum CenterTextEnum {
7686
+ False,
7687
+ True,
7688
+ NotDefined
7689
+ }
7690
+ enum TextVerticalTypeEnum {
7691
+ Horizontal,
7692
+ Vertical,
7693
+ Vertical270,
7694
+ WordArtVertical,
7695
+ EastAsianVertical,
7696
+ MongolianVertical,
7697
+ WordArtVerticalRightToLeft,
7698
+ NotDefined
7699
+ }
7700
+ enum AutofitTypeEnum {
7701
+ None,
7702
+ Normal,
7703
+ Shape,
7704
+ NotDefined
7705
+ }
7418
7706
  }
7419
7707
  /**
7420
7708
  * Represents text item, referenced by TextItems
package/model.js CHANGED
@@ -25,9 +25,9 @@
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.GroupShape = exports.GrayScaleEffect = 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.ColorScheme = exports.ColorReplaceEffect = exports.ColorChangeEffect = exports.ClosePathSegment = exports.ChartWallType = void 0;
28
- exports.PatternFill = exports.PathOutputFile = exports.PathInputFile = exports.Paragraphs = exports.Paragraph = exports.OutputFile = exports.OuterShadowEffect = exports.OrderedMergeRequest = 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 = void 0;
29
- exports.SlideComments = exports.SlideComment = exports.SlideCommentBase = exports.SlideBackground = exports.SlideAnimation = exports.Slide = exports.ShapesAlignmentType = exports.Shapes = exports.ShapeType = exports.ShapeThumbnailBounds = exports.ShapeImageExportOptions = exports.ShapeExportFormat = exports.ShapeBevel = exports.Shape = exports.SeriesMarker = 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 = void 0;
30
- exports.ZoomFrame = exports.XpsExportOptions = exports.XamlExportOptions = exports.Workbook = exports.ViewProperties = exports.VideoFrame = exports.VideoExportOptions = 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.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.SlideShowProperties = exports.SlideReplaceResult = exports.SlideProperties = exports.SlideModernComment = exports.SlideExportFormat = void 0;
28
+ exports.PathOutputFile = exports.PathInputFile = exports.Paragraphs = exports.ParagraphFormat = exports.Paragraph = exports.OutputFile = exports.OuterShadowEffect = exports.OrderedMergeRequest = 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 = void 0;
29
+ exports.SlideComment = exports.SlideCommentBase = exports.SlideBackground = exports.SlideAnimation = exports.Slide = exports.ShapesAlignmentType = exports.Shapes = exports.ShapeType = exports.ShapeThumbnailBounds = exports.ShapeImageExportOptions = exports.ShapeExportFormat = exports.ShapeBevel = exports.Shape = exports.SeriesMarker = 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 = void 0;
30
+ exports.ZoomFrame = exports.XpsExportOptions = exports.XamlExportOptions = exports.Workbook = exports.ViewProperties = exports.VideoFrame = exports.VideoExportOptions = 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.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.SlideShowProperties = exports.SlideReplaceResult = exports.SlideProperties = exports.SlideModernComment = exports.SlideExportFormat = exports.SlideComments = void 0;
31
31
  /**
32
32
  * Math element.
33
33
  */
@@ -2701,6 +2701,30 @@ exports.Paragraph = Paragraph;
2701
2701
  FontAlignmentEnum[FontAlignmentEnum["Baseline"] = 'Baseline'] = "Baseline";
2702
2702
  FontAlignmentEnum[FontAlignmentEnum["Default"] = 'Default'] = "Default";
2703
2703
  })(FontAlignmentEnum = Paragraph.FontAlignmentEnum || (Paragraph.FontAlignmentEnum = {}));
2704
+ let HangingPunctuationEnum;
2705
+ (function (HangingPunctuationEnum) {
2706
+ HangingPunctuationEnum[HangingPunctuationEnum["False"] = 'False'] = "False";
2707
+ HangingPunctuationEnum[HangingPunctuationEnum["True"] = 'True'] = "True";
2708
+ HangingPunctuationEnum[HangingPunctuationEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
2709
+ })(HangingPunctuationEnum = Paragraph.HangingPunctuationEnum || (Paragraph.HangingPunctuationEnum = {}));
2710
+ let EastAsianLineBreakEnum;
2711
+ (function (EastAsianLineBreakEnum) {
2712
+ EastAsianLineBreakEnum[EastAsianLineBreakEnum["False"] = 'False'] = "False";
2713
+ EastAsianLineBreakEnum[EastAsianLineBreakEnum["True"] = 'True'] = "True";
2714
+ EastAsianLineBreakEnum[EastAsianLineBreakEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
2715
+ })(EastAsianLineBreakEnum = Paragraph.EastAsianLineBreakEnum || (Paragraph.EastAsianLineBreakEnum = {}));
2716
+ let LatinLineBreakEnum;
2717
+ (function (LatinLineBreakEnum) {
2718
+ LatinLineBreakEnum[LatinLineBreakEnum["False"] = 'False'] = "False";
2719
+ LatinLineBreakEnum[LatinLineBreakEnum["True"] = 'True'] = "True";
2720
+ LatinLineBreakEnum[LatinLineBreakEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
2721
+ })(LatinLineBreakEnum = Paragraph.LatinLineBreakEnum || (Paragraph.LatinLineBreakEnum = {}));
2722
+ let RightToLeftEnum;
2723
+ (function (RightToLeftEnum) {
2724
+ RightToLeftEnum[RightToLeftEnum["False"] = 'False'] = "False";
2725
+ RightToLeftEnum[RightToLeftEnum["True"] = 'True'] = "True";
2726
+ RightToLeftEnum[RightToLeftEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
2727
+ })(RightToLeftEnum = Paragraph.RightToLeftEnum || (Paragraph.RightToLeftEnum = {}));
2704
2728
  let BulletTypeEnum;
2705
2729
  (function (BulletTypeEnum) {
2706
2730
  BulletTypeEnum[BulletTypeEnum["None"] = 'None'] = "None";
@@ -2754,31 +2778,111 @@ exports.Paragraph = Paragraph;
2754
2778
  NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletHindiAlpha1Period"] = 'BulletHindiAlpha1Period'] = "BulletHindiAlpha1Period";
2755
2779
  NumberedBulletStyleEnum[NumberedBulletStyleEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
2756
2780
  })(NumberedBulletStyleEnum = Paragraph.NumberedBulletStyleEnum || (Paragraph.NumberedBulletStyleEnum = {}));
2757
- let HangingPunctuationEnum;
2758
- (function (HangingPunctuationEnum) {
2759
- HangingPunctuationEnum[HangingPunctuationEnum["False"] = 'False'] = "False";
2760
- HangingPunctuationEnum[HangingPunctuationEnum["True"] = 'True'] = "True";
2761
- HangingPunctuationEnum[HangingPunctuationEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
2762
- })(HangingPunctuationEnum = Paragraph.HangingPunctuationEnum || (Paragraph.HangingPunctuationEnum = {}));
2781
+ })(Paragraph = exports.Paragraph || (exports.Paragraph = {}));
2782
+ /**
2783
+ * Paragraph formatting properties.
2784
+ */
2785
+ class ParagraphFormat {
2786
+ }
2787
+ exports.ParagraphFormat = ParagraphFormat;
2788
+ (function (ParagraphFormat) {
2789
+ let AlignmentEnum;
2790
+ (function (AlignmentEnum) {
2791
+ AlignmentEnum[AlignmentEnum["Left"] = 'Left'] = "Left";
2792
+ AlignmentEnum[AlignmentEnum["Center"] = 'Center'] = "Center";
2793
+ AlignmentEnum[AlignmentEnum["Right"] = 'Right'] = "Right";
2794
+ AlignmentEnum[AlignmentEnum["Justify"] = 'Justify'] = "Justify";
2795
+ AlignmentEnum[AlignmentEnum["JustifyLow"] = 'JustifyLow'] = "JustifyLow";
2796
+ AlignmentEnum[AlignmentEnum["Distributed"] = 'Distributed'] = "Distributed";
2797
+ AlignmentEnum[AlignmentEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
2798
+ })(AlignmentEnum = ParagraphFormat.AlignmentEnum || (ParagraphFormat.AlignmentEnum = {}));
2799
+ let FontAlignmentEnum;
2800
+ (function (FontAlignmentEnum) {
2801
+ FontAlignmentEnum[FontAlignmentEnum["Automatic"] = 'Automatic'] = "Automatic";
2802
+ FontAlignmentEnum[FontAlignmentEnum["Top"] = 'Top'] = "Top";
2803
+ FontAlignmentEnum[FontAlignmentEnum["Center"] = 'Center'] = "Center";
2804
+ FontAlignmentEnum[FontAlignmentEnum["Bottom"] = 'Bottom'] = "Bottom";
2805
+ FontAlignmentEnum[FontAlignmentEnum["Baseline"] = 'Baseline'] = "Baseline";
2806
+ FontAlignmentEnum[FontAlignmentEnum["Default"] = 'Default'] = "Default";
2807
+ })(FontAlignmentEnum = ParagraphFormat.FontAlignmentEnum || (ParagraphFormat.FontAlignmentEnum = {}));
2808
+ let RightToLeftEnum;
2809
+ (function (RightToLeftEnum) {
2810
+ RightToLeftEnum[RightToLeftEnum["False"] = 'False'] = "False";
2811
+ RightToLeftEnum[RightToLeftEnum["True"] = 'True'] = "True";
2812
+ RightToLeftEnum[RightToLeftEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
2813
+ })(RightToLeftEnum = ParagraphFormat.RightToLeftEnum || (ParagraphFormat.RightToLeftEnum = {}));
2763
2814
  let EastAsianLineBreakEnum;
2764
2815
  (function (EastAsianLineBreakEnum) {
2765
2816
  EastAsianLineBreakEnum[EastAsianLineBreakEnum["False"] = 'False'] = "False";
2766
2817
  EastAsianLineBreakEnum[EastAsianLineBreakEnum["True"] = 'True'] = "True";
2767
2818
  EastAsianLineBreakEnum[EastAsianLineBreakEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
2768
- })(EastAsianLineBreakEnum = Paragraph.EastAsianLineBreakEnum || (Paragraph.EastAsianLineBreakEnum = {}));
2819
+ })(EastAsianLineBreakEnum = ParagraphFormat.EastAsianLineBreakEnum || (ParagraphFormat.EastAsianLineBreakEnum = {}));
2769
2820
  let LatinLineBreakEnum;
2770
2821
  (function (LatinLineBreakEnum) {
2771
2822
  LatinLineBreakEnum[LatinLineBreakEnum["False"] = 'False'] = "False";
2772
2823
  LatinLineBreakEnum[LatinLineBreakEnum["True"] = 'True'] = "True";
2773
2824
  LatinLineBreakEnum[LatinLineBreakEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
2774
- })(LatinLineBreakEnum = Paragraph.LatinLineBreakEnum || (Paragraph.LatinLineBreakEnum = {}));
2775
- let RightToLeftEnum;
2776
- (function (RightToLeftEnum) {
2777
- RightToLeftEnum[RightToLeftEnum["False"] = 'False'] = "False";
2778
- RightToLeftEnum[RightToLeftEnum["True"] = 'True'] = "True";
2779
- RightToLeftEnum[RightToLeftEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
2780
- })(RightToLeftEnum = Paragraph.RightToLeftEnum || (Paragraph.RightToLeftEnum = {}));
2781
- })(Paragraph = exports.Paragraph || (exports.Paragraph = {}));
2825
+ })(LatinLineBreakEnum = ParagraphFormat.LatinLineBreakEnum || (ParagraphFormat.LatinLineBreakEnum = {}));
2826
+ let HangingPunctuationEnum;
2827
+ (function (HangingPunctuationEnum) {
2828
+ HangingPunctuationEnum[HangingPunctuationEnum["False"] = 'False'] = "False";
2829
+ HangingPunctuationEnum[HangingPunctuationEnum["True"] = 'True'] = "True";
2830
+ HangingPunctuationEnum[HangingPunctuationEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
2831
+ })(HangingPunctuationEnum = ParagraphFormat.HangingPunctuationEnum || (ParagraphFormat.HangingPunctuationEnum = {}));
2832
+ let BulletTypeEnum;
2833
+ (function (BulletTypeEnum) {
2834
+ BulletTypeEnum[BulletTypeEnum["None"] = 'None'] = "None";
2835
+ BulletTypeEnum[BulletTypeEnum["Symbol"] = 'Symbol'] = "Symbol";
2836
+ BulletTypeEnum[BulletTypeEnum["Numbered"] = 'Numbered'] = "Numbered";
2837
+ BulletTypeEnum[BulletTypeEnum["Picture"] = 'Picture'] = "Picture";
2838
+ BulletTypeEnum[BulletTypeEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
2839
+ })(BulletTypeEnum = ParagraphFormat.BulletTypeEnum || (ParagraphFormat.BulletTypeEnum = {}));
2840
+ let NumberedBulletStyleEnum;
2841
+ (function (NumberedBulletStyleEnum) {
2842
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletAlphaLCPeriod"] = 'BulletAlphaLCPeriod'] = "BulletAlphaLCPeriod";
2843
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletAlphaUCPeriod"] = 'BulletAlphaUCPeriod'] = "BulletAlphaUCPeriod";
2844
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletArabicParenRight"] = 'BulletArabicParenRight'] = "BulletArabicParenRight";
2845
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletArabicPeriod"] = 'BulletArabicPeriod'] = "BulletArabicPeriod";
2846
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletRomanLCParenBoth"] = 'BulletRomanLCParenBoth'] = "BulletRomanLCParenBoth";
2847
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletRomanLCParenRight"] = 'BulletRomanLCParenRight'] = "BulletRomanLCParenRight";
2848
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletRomanLCPeriod"] = 'BulletRomanLCPeriod'] = "BulletRomanLCPeriod";
2849
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletRomanUCPeriod"] = 'BulletRomanUCPeriod'] = "BulletRomanUCPeriod";
2850
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletAlphaLCParenBoth"] = 'BulletAlphaLCParenBoth'] = "BulletAlphaLCParenBoth";
2851
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletAlphaLCParenRight"] = 'BulletAlphaLCParenRight'] = "BulletAlphaLCParenRight";
2852
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletAlphaUCParenBoth"] = 'BulletAlphaUCParenBoth'] = "BulletAlphaUCParenBoth";
2853
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletAlphaUCParenRight"] = 'BulletAlphaUCParenRight'] = "BulletAlphaUCParenRight";
2854
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletArabicParenBoth"] = 'BulletArabicParenBoth'] = "BulletArabicParenBoth";
2855
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletArabicPlain"] = 'BulletArabicPlain'] = "BulletArabicPlain";
2856
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletRomanUCParenBoth"] = 'BulletRomanUCParenBoth'] = "BulletRomanUCParenBoth";
2857
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletRomanUCParenRight"] = 'BulletRomanUCParenRight'] = "BulletRomanUCParenRight";
2858
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletSimpChinPlain"] = 'BulletSimpChinPlain'] = "BulletSimpChinPlain";
2859
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletSimpChinPeriod"] = 'BulletSimpChinPeriod'] = "BulletSimpChinPeriod";
2860
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletCircleNumDBPlain"] = 'BulletCircleNumDBPlain'] = "BulletCircleNumDBPlain";
2861
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletCircleNumWDWhitePlain"] = 'BulletCircleNumWDWhitePlain'] = "BulletCircleNumWDWhitePlain";
2862
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletCircleNumWDBlackPlain"] = 'BulletCircleNumWDBlackPlain'] = "BulletCircleNumWDBlackPlain";
2863
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletTradChinPlain"] = 'BulletTradChinPlain'] = "BulletTradChinPlain";
2864
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletTradChinPeriod"] = 'BulletTradChinPeriod'] = "BulletTradChinPeriod";
2865
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletArabicAlphaDash"] = 'BulletArabicAlphaDash'] = "BulletArabicAlphaDash";
2866
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletArabicAbjadDash"] = 'BulletArabicAbjadDash'] = "BulletArabicAbjadDash";
2867
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletHebrewAlphaDash"] = 'BulletHebrewAlphaDash'] = "BulletHebrewAlphaDash";
2868
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletKanjiKoreanPlain"] = 'BulletKanjiKoreanPlain'] = "BulletKanjiKoreanPlain";
2869
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletKanjiKoreanPeriod"] = 'BulletKanjiKoreanPeriod'] = "BulletKanjiKoreanPeriod";
2870
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletArabicDBPlain"] = 'BulletArabicDBPlain'] = "BulletArabicDBPlain";
2871
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletArabicDBPeriod"] = 'BulletArabicDBPeriod'] = "BulletArabicDBPeriod";
2872
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletThaiAlphaPeriod"] = 'BulletThaiAlphaPeriod'] = "BulletThaiAlphaPeriod";
2873
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletThaiAlphaParenRight"] = 'BulletThaiAlphaParenRight'] = "BulletThaiAlphaParenRight";
2874
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletThaiAlphaParenBoth"] = 'BulletThaiAlphaParenBoth'] = "BulletThaiAlphaParenBoth";
2875
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletThaiNumPeriod"] = 'BulletThaiNumPeriod'] = "BulletThaiNumPeriod";
2876
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletThaiNumParenRight"] = 'BulletThaiNumParenRight'] = "BulletThaiNumParenRight";
2877
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletThaiNumParenBoth"] = 'BulletThaiNumParenBoth'] = "BulletThaiNumParenBoth";
2878
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletHindiAlphaPeriod"] = 'BulletHindiAlphaPeriod'] = "BulletHindiAlphaPeriod";
2879
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletHindiNumPeriod"] = 'BulletHindiNumPeriod'] = "BulletHindiNumPeriod";
2880
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletKanjiSimpChinDBPeriod"] = 'BulletKanjiSimpChinDBPeriod'] = "BulletKanjiSimpChinDBPeriod";
2881
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletHindiNumParenRight"] = 'BulletHindiNumParenRight'] = "BulletHindiNumParenRight";
2882
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["BulletHindiAlpha1Period"] = 'BulletHindiAlpha1Period'] = "BulletHindiAlpha1Period";
2883
+ NumberedBulletStyleEnum[NumberedBulletStyleEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
2884
+ })(NumberedBulletStyleEnum = ParagraphFormat.NumberedBulletStyleEnum || (ParagraphFormat.NumberedBulletStyleEnum = {}));
2885
+ })(ParagraphFormat = exports.ParagraphFormat || (exports.ParagraphFormat = {}));
2782
2886
  /**
2783
2887
  * Represents list of Links to Paragraphs resources
2784
2888
  */
@@ -2898,9 +3002,16 @@ exports.PdfExportOptions = PdfExportOptions;
2898
3002
  let ComplianceEnum;
2899
3003
  (function (ComplianceEnum) {
2900
3004
  ComplianceEnum[ComplianceEnum["Pdf15"] = 'Pdf15'] = "Pdf15";
3005
+ ComplianceEnum[ComplianceEnum["Pdf16"] = 'Pdf16'] = "Pdf16";
3006
+ ComplianceEnum[ComplianceEnum["Pdf17"] = 'Pdf17'] = "Pdf17";
2901
3007
  ComplianceEnum[ComplianceEnum["PdfA1b"] = 'PdfA1b'] = "PdfA1b";
2902
3008
  ComplianceEnum[ComplianceEnum["PdfA1a"] = 'PdfA1a'] = "PdfA1a";
3009
+ ComplianceEnum[ComplianceEnum["PdfA2b"] = 'PdfA2b'] = "PdfA2b";
3010
+ ComplianceEnum[ComplianceEnum["PdfA2a"] = 'PdfA2a'] = "PdfA2a";
3011
+ ComplianceEnum[ComplianceEnum["PdfA3b"] = 'PdfA3b'] = "PdfA3b";
3012
+ ComplianceEnum[ComplianceEnum["PdfA3a"] = 'PdfA3a'] = "PdfA3a";
2903
3013
  ComplianceEnum[ComplianceEnum["PdfUa"] = 'PdfUa'] = "PdfUa";
3014
+ ComplianceEnum[ComplianceEnum["PdfA2u"] = 'PdfA2u'] = "PdfA2u";
2904
3015
  })(ComplianceEnum = PdfExportOptions.ComplianceEnum || (PdfExportOptions.ComplianceEnum = {}));
2905
3016
  let NotesPositionEnum;
2906
3017
  (function (NotesPositionEnum) {
@@ -4476,6 +4587,45 @@ exports.TextFrameFormat = TextFrameFormat;
4476
4587
  TransformEnum[TransformEnum["Custom"] = 'Custom'] = "Custom";
4477
4588
  TransformEnum[TransformEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
4478
4589
  })(TransformEnum = TextFrameFormat.TransformEnum || (TextFrameFormat.TransformEnum = {}));
4590
+ let WrapTextEnum;
4591
+ (function (WrapTextEnum) {
4592
+ WrapTextEnum[WrapTextEnum["False"] = 'False'] = "False";
4593
+ WrapTextEnum[WrapTextEnum["True"] = 'True'] = "True";
4594
+ WrapTextEnum[WrapTextEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
4595
+ })(WrapTextEnum = TextFrameFormat.WrapTextEnum || (TextFrameFormat.WrapTextEnum = {}));
4596
+ let AnchoringTypeEnum;
4597
+ (function (AnchoringTypeEnum) {
4598
+ AnchoringTypeEnum[AnchoringTypeEnum["Top"] = 'Top'] = "Top";
4599
+ AnchoringTypeEnum[AnchoringTypeEnum["Center"] = 'Center'] = "Center";
4600
+ AnchoringTypeEnum[AnchoringTypeEnum["Bottom"] = 'Bottom'] = "Bottom";
4601
+ AnchoringTypeEnum[AnchoringTypeEnum["Justified"] = 'Justified'] = "Justified";
4602
+ AnchoringTypeEnum[AnchoringTypeEnum["Distributed"] = 'Distributed'] = "Distributed";
4603
+ AnchoringTypeEnum[AnchoringTypeEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
4604
+ })(AnchoringTypeEnum = TextFrameFormat.AnchoringTypeEnum || (TextFrameFormat.AnchoringTypeEnum = {}));
4605
+ let CenterTextEnum;
4606
+ (function (CenterTextEnum) {
4607
+ CenterTextEnum[CenterTextEnum["False"] = 'False'] = "False";
4608
+ CenterTextEnum[CenterTextEnum["True"] = 'True'] = "True";
4609
+ CenterTextEnum[CenterTextEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
4610
+ })(CenterTextEnum = TextFrameFormat.CenterTextEnum || (TextFrameFormat.CenterTextEnum = {}));
4611
+ let TextVerticalTypeEnum;
4612
+ (function (TextVerticalTypeEnum) {
4613
+ TextVerticalTypeEnum[TextVerticalTypeEnum["Horizontal"] = 'Horizontal'] = "Horizontal";
4614
+ TextVerticalTypeEnum[TextVerticalTypeEnum["Vertical"] = 'Vertical'] = "Vertical";
4615
+ TextVerticalTypeEnum[TextVerticalTypeEnum["Vertical270"] = 'Vertical270'] = "Vertical270";
4616
+ TextVerticalTypeEnum[TextVerticalTypeEnum["WordArtVertical"] = 'WordArtVertical'] = "WordArtVertical";
4617
+ TextVerticalTypeEnum[TextVerticalTypeEnum["EastAsianVertical"] = 'EastAsianVertical'] = "EastAsianVertical";
4618
+ TextVerticalTypeEnum[TextVerticalTypeEnum["MongolianVertical"] = 'MongolianVertical'] = "MongolianVertical";
4619
+ TextVerticalTypeEnum[TextVerticalTypeEnum["WordArtVerticalRightToLeft"] = 'WordArtVerticalRightToLeft'] = "WordArtVerticalRightToLeft";
4620
+ TextVerticalTypeEnum[TextVerticalTypeEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
4621
+ })(TextVerticalTypeEnum = TextFrameFormat.TextVerticalTypeEnum || (TextFrameFormat.TextVerticalTypeEnum = {}));
4622
+ let AutofitTypeEnum;
4623
+ (function (AutofitTypeEnum) {
4624
+ AutofitTypeEnum[AutofitTypeEnum["None"] = 'None'] = "None";
4625
+ AutofitTypeEnum[AutofitTypeEnum["Normal"] = 'Normal'] = "Normal";
4626
+ AutofitTypeEnum[AutofitTypeEnum["Shape"] = 'Shape'] = "Shape";
4627
+ AutofitTypeEnum[AutofitTypeEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
4628
+ })(AutofitTypeEnum = TextFrameFormat.AutofitTypeEnum || (TextFrameFormat.AutofitTypeEnum = {}));
4479
4629
  })(TextFrameFormat = exports.TextFrameFormat || (exports.TextFrameFormat = {}));
4480
4630
  /**
4481
4631
  * Represents text item, referenced by TextItems
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asposeslidescloud",
3
- "version": "22.12.0",
3
+ "version": "23.2.0",
4
4
  "description": "Aspose.Slides Cloud SDK for Node.js",
5
5
  "homepage": "https://products.aspose.cloud/slides/cloud",
6
6
  "author": {