spire.presentation 9.11.0 → 10.3.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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Spire.Presentation for JavaScript 9.11.0
2
+ * Spire.Presentation for JavaScript 10.3.0
3
3
  */
4
4
 
5
5
 
@@ -6283,6 +6283,30 @@ var _UInt64_Create = Module["_UInt64_Create"] = createExportWrapper("UInt64_Crea
6283
6283
  /** @type {function(...*):?} */
6284
6284
  var _UInt32_Value = Module["_UInt32_Value"] = createExportWrapper("UInt32_Value");
6285
6285
 
6286
+ /** @type {function(...*):?} */
6287
+ var _UInt32_GetTypeCode = Module["_UInt32_GetTypeCode"] = createExportWrapper("UInt32_GetTypeCode");
6288
+
6289
+ /** @type {function(...*):?} */
6290
+ var _UInt32_ToStringFP = Module["_UInt32_ToStringFP"] = createExportWrapper("UInt32_ToStringFP");
6291
+
6292
+ /** @type {function(...*):?} */
6293
+ var _UInt32_ToStringF = Module["_UInt32_ToStringF"] = createExportWrapper("UInt32_ToStringF");
6294
+
6295
+ /** @type {function(...*):?} */
6296
+ var _UInt32_ToStringP = Module["_UInt32_ToStringP"] = createExportWrapper("UInt32_ToStringP");
6297
+
6298
+ /** @type {function(...*):?} */
6299
+ var _UInt32_ToString = Module["_UInt32_ToString"] = createExportWrapper("UInt32_ToString");
6300
+
6301
+ /** @type {function(...*):?} */
6302
+ var _UInt32_GetHashCode = Module["_UInt32_GetHashCode"] = createExportWrapper("UInt32_GetHashCode");
6303
+
6304
+ /** @type {function(...*):?} */
6305
+ var _UInt32_CompareToV = Module["_UInt32_CompareToV"] = createExportWrapper("UInt32_CompareToV");
6306
+
6307
+ /** @type {function(...*):?} */
6308
+ var _UInt32_CompareTo = Module["_UInt32_CompareTo"] = createExportWrapper("UInt32_CompareTo");
6309
+
6286
6310
  /** @type {function(...*):?} */
6287
6311
  var _UInt32_CreateV = Module["_UInt32_CreateV"] = createExportWrapper("UInt32_CreateV");
6288
6312
 
@@ -7528,6 +7552,9 @@ var _DateTime_SubtractV = Module["_DateTime_SubtractV"] = createExportWrapper("D
7528
7552
  /** @type {function(...*):?} */
7529
7553
  var _DateTime_Subtract = Module["_DateTime_Subtract"] = createExportWrapper("DateTime_Subtract");
7530
7554
 
7555
+ /** @type {function(...*):?} */
7556
+ var _DateTime_ParseExactSF = Module["_DateTime_ParseExactSF"] = createExportWrapper("DateTime_ParseExactSF");
7557
+
7531
7558
  /** @type {function(...*):?} */
7532
7559
  var _DateTime_Parse = Module["_DateTime_Parse"] = createExportWrapper("DateTime_Parse");
7533
7560
 
@@ -10189,6 +10216,9 @@ var _ShapeStyle_get_LineStyleIndex = Module["_ShapeStyle_get_LineStyleIndex"] =
10189
10216
  /** @type {function(...*):?} */
10190
10217
  var _ShapeStyle_get_LineColor = Module["_ShapeStyle_get_LineColor"] = createExportWrapper("ShapeStyle_get_LineColor");
10191
10218
 
10219
+ /** @type {function(...*):?} */
10220
+ var _ShapeNode_get_Points = Module["_ShapeNode_get_Points"] = createExportWrapper("ShapeNode_get_Points");
10221
+
10192
10222
  /** @type {function(...*):?} */
10193
10223
  var _ShapeNode_Equals = Module["_ShapeNode_Equals"] = createExportWrapper("ShapeNode_Equals");
10194
10224
 
@@ -10366,6 +10396,9 @@ var _ShapeList_get_Count = Module["_ShapeList_get_Count"] = createExportWrapper(
10366
10396
  /** @type {function(...*):?} */
10367
10397
  var _ShapeList_Equals = Module["_ShapeList_Equals"] = createExportWrapper("ShapeList_Equals");
10368
10398
 
10399
+ /** @type {function(...*):?} */
10400
+ var _ShapeList_AddFromSVG = Module["_ShapeList_AddFromSVG"] = createExportWrapper("ShapeList_AddFromSVG");
10401
+
10369
10402
  /** @type {function(...*):?} */
10370
10403
  var _ShapeList_AddFromHtml = Module["_ShapeList_AddFromHtml"] = createExportWrapper("ShapeList_AddFromHtml");
10371
10404
 
@@ -10963,6 +10996,12 @@ var _PresetShadow_get_Direction = Module["_PresetShadow_get_Direction"] = create
10963
10996
  /** @type {function(...*):?} */
10964
10997
  var _PresetShadow_CreatPresetShadow = Module["_PresetShadow_CreatPresetShadow"] = createExportWrapper("PresetShadow_CreatPresetShadow");
10965
10998
 
10999
+ /** @type {function(...*):?} */
11000
+ var _Presentation_ReplaceAndFormatText = Module["_Presentation_ReplaceAndFormatText"] = createExportWrapper("Presentation_ReplaceAndFormatText");
11001
+
11002
+ /** @type {function(...*):?} */
11003
+ var _Presentation_AddEmbeddedFont = Module["_Presentation_AddEmbeddedFont"] = createExportWrapper("Presentation_AddEmbeddedFont");
11004
+
10966
11005
  /** @type {function(...*):?} */
10967
11006
  var _Presentation_get_SlideSize = Module["_Presentation_get_SlideSize"] = createExportWrapper("Presentation_get_SlideSize");
10968
11007
 
@@ -11071,6 +11110,9 @@ var _Presentation_Reset_DefaultFontName = Module["_Presentation_Reset_DefaultFon
11071
11110
  /** @type {function(...*):?} */
11072
11111
  var _Presentation_set_DefaultFontName = Module["_Presentation_set_DefaultFontName"] = createExportWrapper("Presentation_set_DefaultFontName");
11073
11112
 
11113
+ /** @type {function(...*):?} */
11114
+ var _Presentation_set_CustomFontsDirctory = Module["_Presentation_set_CustomFontsDirctory"] = createExportWrapper("Presentation_set_CustomFontsDirctory");
11115
+
11074
11116
  /** @type {function(...*):?} */
11075
11117
  var _Presentation_set_DateTimeVisible = Module["_Presentation_set_DateTimeVisible"] = createExportWrapper("Presentation_set_DateTimeVisible");
11076
11118
 
@@ -11710,6 +11752,9 @@ var _OleObjectProperties_Clear = Module["_OleObjectProperties_Clear"] = createEx
11710
11752
  /** @type {function(...*):?} */
11711
11753
  var _OleObjectProperties_set_Item = Module["_OleObjectProperties_set_Item"] = createExportWrapper("OleObjectProperties_set_Item");
11712
11754
 
11755
+ /** @type {function(...*):?} */
11756
+ var _OleObjectProperties_get_Keys = Module["_OleObjectProperties_get_Keys"] = createExportWrapper("OleObjectProperties_get_Keys");
11757
+
11713
11758
  /** @type {function(...*):?} */
11714
11759
  var _OleObjectProperties_get_Item = Module["_OleObjectProperties_get_Item"] = createExportWrapper("OleObjectProperties_get_Item");
11715
11760
 
@@ -11746,6 +11791,15 @@ var _OleObjectCollection_Remove = Module["_OleObjectCollection_Remove"] = create
11746
11791
  /** @type {function(...*):?} */
11747
11792
  var _OleObjectCollection_get_Count = Module["_OleObjectCollection_get_Count"] = createExportWrapper("OleObjectCollection_get_Count");
11748
11793
 
11794
+ /** @type {function(...*):?} */
11795
+ var _OleObject_set_IsHidden = Module["_OleObject_set_IsHidden"] = createExportWrapper("OleObject_set_IsHidden");
11796
+
11797
+ /** @type {function(...*):?} */
11798
+ var _OleObject_get_IsHidden = Module["_OleObject_get_IsHidden"] = createExportWrapper("OleObject_get_IsHidden");
11799
+
11800
+ /** @type {function(...*):?} */
11801
+ var _OleObject_get_ShapeID = Module["_OleObject_get_ShapeID"] = createExportWrapper("OleObject_get_ShapeID");
11802
+
11749
11803
  /** @type {function(...*):?} */
11750
11804
  var _OleObject_get_Properties = Module["_OleObject_get_Properties"] = createExportWrapper("OleObject_get_Properties");
11751
11805
 
@@ -11863,6 +11917,15 @@ var _MasterSlideCollection_get_IsSynchronized = Module["_MasterSlideCollection_g
11863
11917
  /** @type {function(...*):?} */
11864
11918
  var _MasterSlideCollection_CopyTo = Module["_MasterSlideCollection_CopyTo"] = createExportWrapper("MasterSlideCollection_CopyTo");
11865
11919
 
11920
+ /** @type {function(...*):?} */
11921
+ var _LineText_get_Text = Module["_LineText_get_Text"] = createExportWrapper("LineText_get_Text");
11922
+
11923
+ /** @type {function(...*):?} */
11924
+ var _LineText_get_Descent = Module["_LineText_get_Descent"] = createExportWrapper("LineText_get_Descent");
11925
+
11926
+ /** @type {function(...*):?} */
11927
+ var _LineText_get_Ascent = Module["_LineText_get_Ascent"] = createExportWrapper("LineText_get_Ascent");
11928
+
11866
11929
  /** @type {function(...*):?} */
11867
11930
  var _LRTransition_Equals = Module["_LRTransition_Equals"] = createExportWrapper("LRTransition_Equals");
11868
11931
 
@@ -12280,6 +12343,15 @@ var _ITrendlineLabel_get_OffsetX = Module["_ITrendlineLabel_get_OffsetX"] = crea
12280
12343
  /** @type {function(...*):?} */
12281
12344
  var _ITrendlineLabel_get_TextFrameProperties = Module["_ITrendlineLabel_get_TextFrameProperties"] = createExportWrapper("ITrendlineLabel_get_TextFrameProperties");
12282
12345
 
12346
+ /** @type {function(...*):?} */
12347
+ var _ITextFrameProperties_GetTextSize = Module["_ITextFrameProperties_GetTextSize"] = createExportWrapper("ITextFrameProperties_GetTextSize");
12348
+
12349
+ /** @type {function(...*):?} */
12350
+ var _ITextFrameProperties_GetTextLocation = Module["_ITextFrameProperties_GetTextLocation"] = createExportWrapper("ITextFrameProperties_GetTextLocation");
12351
+
12352
+ /** @type {function(...*):?} */
12353
+ var _ITextFrameProperties_GetLayoutLines = Module["_ITextFrameProperties_GetLayoutLines"] = createExportWrapper("ITextFrameProperties_GetLayoutLines");
12354
+
12283
12355
  /** @type {function(...*):?} */
12284
12356
  var _ITextFrameProperties_set_TextShapeType = Module["_ITextFrameProperties_set_TextShapeType"] = createExportWrapper("ITextFrameProperties_set_TextShapeType");
12285
12357
 
@@ -12709,6 +12781,9 @@ var _ISmartArt_get_ColorStyle = Module["_ISmartArt_get_ColorStyle"] = createExpo
12709
12781
  /** @type {function(...*):?} */
12710
12782
  var _ISmartArt_get_Nodes = Module["_ISmartArt_get_Nodes"] = createExportWrapper("ISmartArt_get_Nodes");
12711
12783
 
12784
+ /** @type {function(...*):?} */
12785
+ var _ISlide_get_OleObjects = Module["_ISlide_get_OleObjects"] = createExportWrapper("ISlide_get_OleObjects");
12786
+
12712
12787
  /** @type {function(...*):?} */
12713
12788
  var _ISlide_FindFirstTextAsRange = Module["_ISlide_FindFirstTextAsRange"] = createExportWrapper("ISlide_FindFirstTextAsRange");
12714
12789
 
@@ -12859,6 +12934,12 @@ var _ISlide_get_SlideNumber = Module["_ISlide_get_SlideNumber"] = createExportWr
12859
12934
  /** @type {function(...*):?} */
12860
12935
  var _ISlide_get_Theme = Module["_ISlide_get_Theme"] = createExportWrapper("ISlide_get_Theme");
12861
12936
 
12937
+ /** @type {function(...*):?} */
12938
+ var _IShape_SaveAsSvgInSlide = Module["_IShape_SaveAsSvgInSlide"] = createExportWrapper("IShape_SaveAsSvgInSlide");
12939
+
12940
+ /** @type {function(...*):?} */
12941
+ var _IShape_SaveAsSvg = Module["_IShape_SaveAsSvg"] = createExportWrapper("IShape_SaveAsSvg");
12942
+
12862
12943
  /** @type {function(...*):?} */
12863
12944
  var _IShape_SaveAsImage = Module["_IShape_SaveAsImage"] = createExportWrapper("IShape_SaveAsImage");
12864
12945
 
@@ -13360,9 +13441,21 @@ var _ImageCollection_get_IsSynchronized = Module["_ImageCollection_get_IsSynchro
13360
13441
  /** @type {function(...*):?} */
13361
13442
  var _ImageCollection_CopyTo = Module["_ImageCollection_CopyTo"] = createExportWrapper("ImageCollection_CopyTo");
13362
13443
 
13444
+ /** @type {function(...*):?} */
13445
+ var _ILayout_get_ShowMasterShapes = Module["_ILayout_get_ShowMasterShapes"] = createExportWrapper("ILayout_get_ShowMasterShapes");
13446
+
13447
+ /** @type {function(...*):?} */
13448
+ var _ILayout_set_ShowMasterShapes = Module["_ILayout_set_ShowMasterShapes"] = createExportWrapper("ILayout_set_ShowMasterShapes");
13449
+
13450
+ /** @type {function(...*):?} */
13451
+ var _ILayout_SaveAsImage = Module["_ILayout_SaveAsImage"] = createExportWrapper("ILayout_SaveAsImage");
13452
+
13363
13453
  /** @type {function(...*):?} */
13364
13454
  var _ILayout_get_Shapes = Module["_ILayout_get_Shapes"] = createExportWrapper("ILayout_get_Shapes");
13365
13455
 
13456
+ /** @type {function(...*):?} */
13457
+ var _ILayout_InsertPlaceholder = Module["_ILayout_InsertPlaceholder"] = createExportWrapper("ILayout_InsertPlaceholder");
13458
+
13366
13459
  /** @type {function(...*):?} */
13367
13460
  var _ILayout_get_Name = Module["_ILayout_get_Name"] = createExportWrapper("ILayout_get_Name");
13368
13461
 
@@ -14425,6 +14518,9 @@ var _IChart_get_PlotAreaWidthOfCalculated = Module["_IChart_get_PlotAreaWidthOfC
14425
14518
  /** @type {function(...*):?} */
14426
14519
  var _IChart_IsSwitchRowAndColumn = Module["_IChart_IsSwitchRowAndColumn"] = createExportWrapper("IChart_IsSwitchRowAndColumn");
14427
14520
 
14521
+ /** @type {function(...*):?} */
14522
+ var _IAutoShape_get_Points = Module["_IAutoShape_get_Points"] = createExportWrapper("IAutoShape_get_Points");
14523
+
14428
14524
  /** @type {function(...*):?} */
14429
14525
  var _IAutoShape_Dispose = Module["_IAutoShape_Dispose"] = createExportWrapper("IAutoShape_Dispose");
14430
14526
 
@@ -15577,6 +15673,9 @@ var _DefaultTextRangeProperties_get_TextLineFormat = Module["_DefaultTextRangePr
15577
15673
  /** @type {function(...*):?} */
15578
15674
  var _DefaultTextRangeProperties_Equals = Module["_DefaultTextRangeProperties_Equals"] = createExportWrapper("DefaultTextRangeProperties_Equals");
15579
15675
 
15676
+ /** @type {function(...*):?} */
15677
+ var _DefaultTextRangeProperties_CreateDefaultTextRangeProperties = Module["_DefaultTextRangeProperties_CreateDefaultTextRangeProperties"] = createExportWrapper("DefaultTextRangeProperties_CreateDefaultTextRangeProperties");
15678
+
15580
15679
  /** @type {function(...*):?} */
15581
15680
  var _CommonBehaviorCollection_GetEnumerator = Module["_CommonBehaviorCollection_GetEnumerator"] = createExportWrapper("CommonBehaviorCollection_GetEnumerator");
15582
15681
 
@@ -15817,6 +15916,18 @@ var _ColorScheme_Equals = Module["_ColorScheme_Equals"] = createExportWrapper("C
15817
15916
  /** @type {function(...*):?} */
15818
15917
  var _ColorScheme_get_Item = Module["_ColorScheme_get_Item"] = createExportWrapper("ColorScheme_get_Item");
15819
15918
 
15919
+ /** @type {function(...*):?} */
15920
+ var _ColorFormat_set_Brightness = Module["_ColorFormat_set_Brightness"] = createExportWrapper("ColorFormat_set_Brightness");
15921
+
15922
+ /** @type {function(...*):?} */
15923
+ var _ColorFormat_get_Brightness = Module["_ColorFormat_get_Brightness"] = createExportWrapper("ColorFormat_get_Brightness");
15924
+
15925
+ /** @type {function(...*):?} */
15926
+ var _ColorFormat_set_Transparency = Module["_ColorFormat_set_Transparency"] = createExportWrapper("ColorFormat_set_Transparency");
15927
+
15928
+ /** @type {function(...*):?} */
15929
+ var _ColorFormat_get_Transparency = Module["_ColorFormat_get_Transparency"] = createExportWrapper("ColorFormat_get_Transparency");
15930
+
15820
15931
  /** @type {function(...*):?} */
15821
15932
  var _ColorFormat_GetHashCode = Module["_ColorFormat_GetHashCode"] = createExportWrapper("ColorFormat_GetHashCode");
15822
15933
 
@@ -16087,6 +16198,12 @@ var _ChartSeriesFormatCollection_get_SeriesLabel = Module["_ChartSeriesFormatCol
16087
16198
  /** @type {function(...*):?} */
16088
16199
  var _ChartSeriesDataFormat_set_TreeMapLabelOption = Module["_ChartSeriesDataFormat_set_TreeMapLabelOption"] = createExportWrapper("ChartSeriesDataFormat_set_TreeMapLabelOption");
16089
16200
 
16201
+ /** @type {function(...*):?} */
16202
+ var _ChartSeriesDataFormat_set_ProjectionType = Module["_ChartSeriesDataFormat_set_ProjectionType"] = createExportWrapper("ChartSeriesDataFormat_set_ProjectionType");
16203
+
16204
+ /** @type {function(...*):?} */
16205
+ var _ChartSeriesDataFormat_get_ProjectionType = Module["_ChartSeriesDataFormat_get_ProjectionType"] = createExportWrapper("ChartSeriesDataFormat_get_ProjectionType");
16206
+
16090
16207
  /** @type {function(...*):?} */
16091
16208
  var _ChartSeriesDataFormat_get_TreeMapLabelOption = Module["_ChartSeriesDataFormat_get_TreeMapLabelOption"] = createExportWrapper("ChartSeriesDataFormat_get_TreeMapLabelOption");
16092
16209
 
@@ -16786,6 +16903,12 @@ var _ChartData_get_ItemRCLL = Module["_ChartData_get_ItemRCLL"] = createExportWr
16786
16903
  /** @type {function(...*):?} */
16787
16904
  var _ChartData_Clear = Module["_ChartData_Clear"] = createExportWrapper("ChartData_Clear");
16788
16905
 
16906
+ /** @type {function(...*):?} */
16907
+ var _ChartData_LastRowIndex = Module["_ChartData_LastRowIndex"] = createExportWrapper("ChartData_LastRowIndex");
16908
+
16909
+ /** @type {function(...*):?} */
16910
+ var _ChartData_LastColIndex = Module["_ChartData_LastColIndex"] = createExportWrapper("ChartData_LastColIndex");
16911
+
16789
16912
  /** @type {function(...*):?} */
16790
16913
  var _ChartData_get_Item = Module["_ChartData_get_Item"] = createExportWrapper("ChartData_get_Item");
16791
16914
 
@@ -17413,6 +17536,9 @@ var _AudioCD_set_StartTrack = Module["_AudioCD_set_StartTrack"] = createExportWr
17413
17536
  /** @type {function(...*):?} */
17414
17537
  var _AudioCD_get_StartTrack = Module["_AudioCD_get_StartTrack"] = createExportWrapper("AudioCD_get_StartTrack");
17415
17538
 
17539
+ /** @type {function(...*):?} */
17540
+ var _AudioCD_create_audioCD = Module["_AudioCD_create_audioCD"] = createExportWrapper("AudioCD_create_audioCD");
17541
+
17416
17542
  /** @type {function(...*):?} */
17417
17543
  var _AnimationSet_set_To = Module["_AnimationSet_set_To"] = createExportWrapper("AnimationSet_set_To");
17418
17544
 
@@ -17825,7 +17951,7 @@ var stackRestore = Module["stackRestore"] = createExportWrapper("stackRestore");
17825
17951
  /** @type {function(...*):?} */
17826
17952
  var stackAlloc = Module["stackAlloc"] = createExportWrapper("stackAlloc");
17827
17953
 
17828
- var ___Module__DATA = Module['___Module__DATA'] = 21999768;
17954
+ var ___Module__DATA = Module['___Module__DATA'] = 22003088;
17829
17955
  function invoke_ii(index,a1) {
17830
17956
  var sp = stackSave();
17831
17957
  try {
@@ -40215,7 +40341,7 @@ class spirepresentationParagraphList extends spirepresentationSpireObject {
40215
40341
  return new spirepresentationTextParagraph(_r);
40216
40342
  }
40217
40343
 
40218
- _Append( value) {
40344
+ AppendTextParagraph( value) {
40219
40345
 
40220
40346
  const _r = _ParagraphList_Append(this.H ,value.H, this.EH);
40221
40347
  const _e = this.E;
@@ -40225,7 +40351,7 @@ class spirepresentationParagraphList extends spirepresentationSpireObject {
40225
40351
  return _r;
40226
40352
  }
40227
40353
 
40228
- _AppendCollection( value) {
40354
+ AppendParagraphCollection( value) {
40229
40355
 
40230
40356
  const _r = _ParagraphList_AppendCollection(this.H ,value.H, this.EH);
40231
40357
  const _e = this.E;
@@ -41186,16 +41312,19 @@ class spirepresentationITextFrameProperties extends spirepresentationSpireObject
41186
41312
  return new spirepresentationSizeF(_r);
41187
41313
  }
41188
41314
 
41189
- /*
41315
+
41190
41316
  GetLayoutLines() {
41191
- const _r = _ITextFrameProperties_GetLayoutLines(this.H, this.EH);
41317
+ let _p = Module._malloc(4+10 * 8);
41318
+ _ITextFrameProperties_GetLayoutLines(_p,this.H, this.EH);
41192
41319
  const _e = this.E;
41193
41320
  if (_e > 0) {
41194
41321
  throw new SpireError(_e);
41195
41322
  }
41196
- return new spirepresentationIList1(_r);
41323
+ const _r = GetObjVectorFromArray(_p,new spirepresentationLineText);
41324
+ Module._free(_p);
41325
+ return _r;
41197
41326
  }
41198
- */
41327
+
41199
41328
  }
41200
41329
 
41201
41330
  spirepresentation["ITextFrameProperties"] = spirepresentationITextFrameProperties;
@@ -45150,16 +45279,19 @@ class spirepresentationShapeNode extends spirepresentationShape {
45150
45279
  return boolC2Js(_r);
45151
45280
  }
45152
45281
 
45153
- /*
45282
+
45154
45283
  get Points() {
45155
- const _r = _ShapeNode_get_Points(this.H, this.EH);
45284
+ let _p = Module._malloc(4+10 * 8);
45285
+ _ShapeNode_get_Points(_p,this.H, this.EH);
45156
45286
  const _e = this.E;
45157
45287
  if (_e > 0) {
45158
45288
  throw new SpireError(_e);
45159
45289
  }
45160
- return new spirepresentationIList1(_r);
45290
+ const _r = GetObjVectorFromArray(_p,new spirepresentationPointF);
45291
+ Module._free(_p);
45292
+ return _r;
45161
45293
  }
45162
- */
45294
+
45163
45295
  }
45164
45296
 
45165
45297
  spirepresentation["ShapeNode"] = spirepresentationShapeNode;
@@ -45594,16 +45726,20 @@ class spirepresentationIAutoShape extends spirepresentationIShape {
45594
45726
  }
45595
45727
  }
45596
45728
 
45597
- /*
45729
+
45598
45730
  get Points() {
45599
- const _r = _IAutoShape_get_Points(this.H, this.EH);
45731
+ let _p = Module._malloc(4+10 * 8);
45732
+ _IAutoShape_get_Points(_p,this.H, this.EH);
45600
45733
  const _e = this.E;
45601
45734
  if (_e > 0) {
45602
45735
  throw new SpireError(_e);
45603
45736
  }
45604
- return new spirepresentationIList1(_r);
45737
+ const _r = GetObjVectorFromArray(_p,new spirepresentationPointF);
45738
+ Module._free(_p);
45739
+ return _r;
45605
45740
  }
45606
- */
45741
+
45742
+
45607
45743
  }
45608
45744
 
45609
45745
  spirepresentation["IAutoShape"] = spirepresentationIAutoShape;
@@ -48298,6 +48434,27 @@ class spirepresentationChartData extends spirepresentationSpireObject {
48298
48434
  }
48299
48435
  return new spirepresentationCellRanges(_r);
48300
48436
  }
48437
+
48438
+ LastRowIndex( ) {
48439
+
48440
+ const _r = _ChartData_LastRowIndex(this.H , this.EH);
48441
+ const _e = this.E;
48442
+ if (_e > 0) {
48443
+ throw new SpireError(_e);
48444
+ }
48445
+ return _r;
48446
+ }
48447
+
48448
+ LastColIndex( ) {
48449
+
48450
+ const _r = _ChartData_LastColIndex(this.H , this.EH);
48451
+ const _e = this.E;
48452
+ if (_e > 0) {
48453
+ throw new SpireError(_e);
48454
+ }
48455
+ return _r;
48456
+ }
48457
+
48301
48458
  }
48302
48459
  spirepresentationChartData.prototype.get_Item = spireOverload(spirepresentationChartData.prototype._get_Item, spirepresentationChartData.prototype._get_ItemRCLL, spirepresentationChartData.prototype._get_ItemWRCLL, spirepresentationChartData.prototype._get_ItemN, spirepresentationChartData.prototype._get_ItemNE, spirepresentationChartData.prototype._get_ItemWN, spirepresentationChartData.prototype._get_ItemWNE);
48303
48460
 
@@ -49671,7 +49828,7 @@ class spirepresentationChartSeriesFormatCollection extends spirepresentationSpir
49671
49828
  return _r;
49672
49829
  }
49673
49830
 
49674
- _AppendV( value) {
49831
+ _AppendStr( value) {
49675
49832
  let _value = spireStringToPointer(value);
49676
49833
 
49677
49834
  const _r = _ChartSeriesFormatCollection_AppendV(this.H ,_value, this.EH);
@@ -49683,7 +49840,7 @@ class spirepresentationChartSeriesFormatCollection extends spirepresentationSpir
49683
49840
  return _r;
49684
49841
  }
49685
49842
 
49686
- _AppendV1( value) {
49843
+ _AppendInt( value) {
49687
49844
 
49688
49845
  const _r = _ChartSeriesFormatCollection_AppendV1(this.H ,value, this.EH);
49689
49846
  const _e = this.E;
@@ -49693,15 +49850,6 @@ class spirepresentationChartSeriesFormatCollection extends spirepresentationSpir
49693
49850
  return _r;
49694
49851
  }
49695
49852
 
49696
- _AppendV11( value) {
49697
-
49698
- const _r = _ChartSeriesFormatCollection_AppendV11(this.H ,value.H, this.EH);
49699
- const _e = this.E;
49700
- if (_e > 0) {
49701
- throw new SpireError(_e);
49702
- }
49703
- return _r;
49704
- }
49705
49853
 
49706
49854
  IndexOf( value) {
49707
49855
 
@@ -49738,8 +49886,44 @@ class spirepresentationChartSeriesFormatCollection extends spirepresentationSpir
49738
49886
  throw new SpireError(_e);
49739
49887
  }
49740
49888
  }
49889
+
49890
+ RemoveAt( value) {
49891
+
49892
+ const _r = _ChartSeriesFormatCollection_RemoveAt(this.H ,value, this.EH);
49893
+ const _e = this.E;
49894
+ if (_e > 0) {
49895
+ throw new SpireError(_e);
49896
+ }
49897
+ }
49898
+
49899
+ Clear( ) {
49900
+
49901
+ const _r = _ChartSeriesFormatCollection_clear(this.H , this.EH);
49902
+ const _e = this.E;
49903
+ if (_e > 0) {
49904
+ throw new SpireError(_e);
49905
+ }
49906
+ }
49907
+
49908
+ get Capacity() {
49909
+ const _r = _ChartSeriesFormatCollection_getCapacity(this.H, this.EH);
49910
+ const _e = this.E;
49911
+ if (_e > 0) {
49912
+ throw new SpireError(_e);
49913
+ }
49914
+ return _r;
49915
+ }
49916
+
49917
+ set Capacity(v) {
49918
+ _ChartSeriesFormatCollection_setCapacity(this.H, v, this.EH);
49919
+ const _e = this.E;
49920
+ if (_e > 0) {
49921
+ throw new SpireError(_e);
49922
+ }
49923
+ }
49924
+
49741
49925
  }
49742
- spirepresentationChartSeriesFormatCollection.prototype.Append = spireOverload(spirepresentationChartSeriesFormatCollection.prototype._Append, spirepresentationChartSeriesFormatCollection.prototype._AppendV, spirepresentationChartSeriesFormatCollection.prototype._AppendV1, spirepresentationChartSeriesFormatCollection.prototype._AppendV11);
49926
+ spirepresentationChartSeriesFormatCollection.prototype.Append = spireOverload(spirepresentationChartSeriesFormatCollection.prototype._Append, spirepresentationChartSeriesFormatCollection.prototype._AppendStr, spirepresentationChartSeriesFormatCollection.prototype._AppendInt);
49743
49927
 
49744
49928
  spirepresentation["ChartSeriesFormatCollection"] = spirepresentationChartSeriesFormatCollection;
49745
49929
  class spirepresentationChartCategory extends spirepresentationPptObject {
@@ -50573,7 +50757,7 @@ class spirepresentationChartCategoryCollection extends spirepresentationSpireObj
50573
50757
  return _r;
50574
50758
  }
50575
50759
 
50576
- _AppendV( value) {
50760
+ _AppendStr( value) {
50577
50761
  let _value = spireStringToPointer(value);
50578
50762
 
50579
50763
  const _r = _ChartCategoryCollection_AppendV(this.H ,_value, this.EH);
@@ -50585,7 +50769,7 @@ class spirepresentationChartCategoryCollection extends spirepresentationSpireObj
50585
50769
  return _r;
50586
50770
  }
50587
50771
 
50588
- _AppendV1( value) {
50772
+ _AppendInt( value) {
50589
50773
 
50590
50774
  const _r = _ChartCategoryCollection_AppendV1(this.H ,value, this.EH);
50591
50775
  const _e = this.E;
@@ -50595,9 +50779,10 @@ class spirepresentationChartCategoryCollection extends spirepresentationSpireObj
50595
50779
  return _r;
50596
50780
  }
50597
50781
 
50598
- _AppendV11( value) {
50782
+
50783
+ IndexOf( value) {
50599
50784
 
50600
- const _r = _ChartCategoryCollection_AppendV11(this.H ,value.H, this.EH);
50785
+ const _r = _ChartCategoryCollection_IndexOf(this.H ,value.H, this.EH);
50601
50786
  const _e = this.E;
50602
50787
  if (_e > 0) {
50603
50788
  throw new SpireError(_e);
@@ -50605,29 +50790,56 @@ class spirepresentationChartCategoryCollection extends spirepresentationSpireObj
50605
50790
  return _r;
50606
50791
  }
50607
50792
 
50608
- IndexOf( value) {
50793
+ Remove( value) {
50609
50794
 
50610
- const _r = _ChartCategoryCollection_IndexOf(this.H ,value.H, this.EH);
50795
+ const _r = _ChartCategoryCollection_Remove(this.H ,value.H, this.EH);
50796
+ const _e = this.E;
50797
+ if (_e > 0) {
50798
+ throw new SpireError(_e);
50799
+ }
50800
+ }
50801
+
50802
+ Count( ) {
50803
+
50804
+ const _r = _ChartCategoryCollection_GetCount(this.H , this.EH);
50611
50805
  const _e = this.E;
50612
50806
  if (_e > 0) {
50613
50807
  throw new SpireError(_e);
50614
50808
  }
50615
50809
  return _r;
50616
50810
  }
50617
-
50618
- Remove( value) {
50811
+
50812
+ Clear( ) {
50619
50813
 
50620
- const _r = _ChartCategoryCollection_Remove(this.H ,value.H, this.EH);
50814
+ const _r = _ChartCategoryCollection_Clear(this.H , this.EH);
50815
+ const _e = this.E;
50816
+ if (_e > 0) {
50817
+ throw new SpireError(_e);
50818
+ }
50819
+ }
50820
+
50821
+ get Capacity() {
50822
+ const _r = _ChartCategoryCollection_getCapacity(this.H, this.EH);
50823
+ const _e = this.E;
50824
+ if (_e > 0) {
50825
+ throw new SpireError(_e);
50826
+ }
50827
+ return _r;
50828
+ }
50829
+
50830
+ set Capacity(v) {
50831
+ _ChartCategoryCollection_setCapacity(this.H, v, this.EH);
50621
50832
  const _e = this.E;
50622
50833
  if (_e > 0) {
50623
50834
  throw new SpireError(_e);
50624
50835
  }
50625
50836
  }
50837
+
50626
50838
  }
50627
- spirepresentationChartCategoryCollection.prototype.Append = spireOverload(spirepresentationChartCategoryCollection.prototype._Append, spirepresentationChartCategoryCollection.prototype._AppendV, spirepresentationChartCategoryCollection.prototype._AppendV1, spirepresentationChartCategoryCollection.prototype._AppendV11);
50839
+ spirepresentationChartCategoryCollection.prototype.Append = spireOverload(spirepresentationChartCategoryCollection.prototype._Append, spirepresentationChartCategoryCollection.prototype._AppendStr, spirepresentationChartCategoryCollection.prototype._AppendInt);
50628
50840
 
50629
50841
  spirepresentation["ChartCategoryCollection"] = spirepresentationChartCategoryCollection;
50630
- class spirepresentationIChart extends spirepresentationSpireObject {
50842
+ class spirepresentationIChart extends spirepresentationIShape {
50631
50843
  createNewObject(h) {
50632
50844
  return new spirepresentationIChart(h);
50633
50845
  }
@@ -54803,6 +55015,8 @@ class spirepresentationShapeList extends spirepresentationSpireObject {
54803
55015
  ret = new spirepresentationIOleObject(intPtr)
54804
55016
  } else if (strName == 'ISmartArt'){
54805
55017
  ret = new spirepresentationISmartArt(intPtr)
55018
+ }else if (strName == 'ShapeNode'){
55019
+ ret = new spirepresentationShapeNode(intPtr)
54806
55020
  }else {
54807
55021
  ret = new spirepresentationIShape(intPtr)
54808
55022
  }
@@ -54903,13 +55117,11 @@ class spirepresentationShapeList extends spirepresentationSpireObject {
54903
55117
  return new spirepresentationIOleObject(_r);
54904
55118
  }
54905
55119
 
54906
- _AppendOleObjectOOR( objectName, objectData, rectangle) {
55120
+ _AppendOleObjectOOR( objectName, objectData,dataLength, rectangle) {
54907
55121
  let _objectName = spireStringToPointer(objectName);
54908
55122
  let _objectData = getSpireObjArrayPtr(objectData)
54909
- let _objectDatac = objectData.length
54910
-
54911
-
54912
- const _r = _ShapeList_AppendOleObjectOOR(this.H ,_objectName,_objectData,_objectDatac,rectangle.H, this.EH);
55123
+
55124
+ const _r = _ShapeList_AppendOleObjectOOR(this.H ,_objectName,_objectData,dataLength,rectangle.H, this.EH);
54913
55125
  Module._free(_objectName);
54914
55126
  Module._free(_objectData);
54915
55127
  const _e = this.E;
@@ -56528,6 +56740,16 @@ class spirepresentationILayout extends spirepresentationActiveSlide {
56528
56740
  }
56529
56741
  return UTF8ToString(_r);
56530
56742
  }
56743
+
56744
+ set Name(name) {
56745
+ let _p = spireStringToPointer(name);
56746
+ _ActiveSlide_set_Name(this.H, _p,this.EH);
56747
+ Module._free(_p);
56748
+ const _e = this.E;
56749
+ if (_e > 0) {
56750
+ throw new SpireError(_e);
56751
+ }
56752
+ }
56531
56753
 
56532
56754
  SaveAsImage() {
56533
56755
  const _r = _ILayout_SaveAsImage(this.H, this.EH);
@@ -57307,7 +57529,7 @@ class spirepresentationTimeNodeAudio extends spirepresentationTimeNodeMedia {
57307
57529
  }
57308
57530
  }
57309
57531
 
57310
- /*
57532
+
57311
57533
  GetAudioData() {
57312
57534
  let _p = Module._malloc(4+10 * 8);
57313
57535
  _TimeNodeAudio_GetAudioData(_p, this.H, this.EH);
@@ -57315,11 +57537,11 @@ class spirepresentationTimeNodeAudio extends spirepresentationTimeNodeMedia {
57315
57537
  if (_e > 0) {
57316
57538
  throw new SpireError(_e);
57317
57539
  }
57318
- const _r = getObjArrayFromIntPtr(_p);
57540
+ const _r = getByteArrayFromIntPtr(_p);
57319
57541
  Module._free(_p);
57320
57542
  return _r;
57321
57543
  }
57322
- */
57544
+
57323
57545
 
57324
57546
  get Volume() {
57325
57547
  const _r = _TimeNodeAudio_get_Volume(this.H, this.EH);
@@ -60558,7 +60780,7 @@ class spirepresentationISlide extends spirepresentationSpireObject {
60558
60780
  }
60559
60781
  }
60560
60782
 
60561
- _SaveAsImage( width, height) {
60783
+ _SaveAsImageWH( width, height) {
60562
60784
 
60563
60785
  const _r = _ISlide_SaveAsImageWH(this.H ,width,height, this.EH);
60564
60786
  const _e = this.E;
@@ -60568,7 +60790,7 @@ class spirepresentationISlide extends spirepresentationSpireObject {
60568
60790
  return new spirepresentationStream(_r);
60569
60791
  }
60570
60792
 
60571
- _SaveAsImage1() {
60793
+ _SaveAsImage() {
60572
60794
  const _r = _ISlide_SaveAsImage(this.H, this.EH);
60573
60795
  const _e = this.E;
60574
60796
  if (_e > 0) {
@@ -60920,7 +61142,7 @@ class spirepresentationISlide extends spirepresentationSpireObject {
60920
61142
  return new spirepresentationOleObjectCollection(_r);
60921
61143
  }
60922
61144
  }
60923
- spirepresentationISlide.prototype.SaveAsImage = spireOverload(spirepresentationISlide.prototype._SaveAsImage, spirepresentationISlide.prototype._SaveAsImage1);
61145
+ spirepresentationISlide.prototype.SaveAsImage = spireOverload(spirepresentationISlide.prototype._SaveAsImage,spirepresentationISlide.prototype._SaveAsImageWH);
60924
61146
  spirepresentationISlide.prototype.AddComment = spireOverload(spirepresentationISlide.prototype._AddComment, spirepresentationISlide.prototype._AddCommentC);
60925
61147
  spirepresentationISlide.prototype.DeleteComment = spireOverload(spirepresentationISlide.prototype._DeleteComment, spirepresentationISlide.prototype._DeleteCommentAT, spirepresentationISlide.prototype._DeleteCommentA, spirepresentationISlide.prototype._DeleteCommentT);
60926
61148
 
@@ -60972,7 +61194,7 @@ class spirepresentationSlideList extends spirepresentationSpireObject {
60972
61194
  return new spirepresentationISlide(_r);
60973
61195
  }
60974
61196
 
60975
- _AppendT1( templateType) {
61197
+ _AppendType( templateType) {
60976
61198
 
60977
61199
  const _r = _SlideList_AppendT1(this.H ,templateType.value, this.EH);
60978
61200
  const _e = this.E;
@@ -61030,7 +61252,7 @@ class spirepresentationSlideList extends spirepresentationSpireObject {
61030
61252
  return new spirepresentationISlide(_r);
61031
61253
  }
61032
61254
 
61033
- _InsertIT1( index, templateType) {
61255
+ _InsertIType( index, templateType) {
61034
61256
 
61035
61257
  const _r = _SlideList_InsertIT1(this.H ,index,templateType.value, this.EH);
61036
61258
  const _e = this.E;
@@ -61163,8 +61385,8 @@ class spirepresentationSlideList extends spirepresentationSpireObject {
61163
61385
  return _r;
61164
61386
  }
61165
61387
  }
61166
- spirepresentationSlideList.prototype.Append = spireOverload(spirepresentationSlideList.prototype._Append, spirepresentationSlideList.prototype._AppendT, spirepresentationSlideList.prototype._AppendT1, spirepresentationSlideList.prototype._AppendS, spirepresentationSlideList.prototype._AppendSL,spirepresentationSlideList.prototype._AppendL, spirepresentationSlideList.prototype._AppendSM);
61167
- spirepresentationSlideList.prototype.Insert = spireOverload(spirepresentationSlideList.prototype._Insert, spirepresentationSlideList.prototype._InsertL, spirepresentationSlideList.prototype._InsertI, spirepresentationSlideList.prototype._InsertIT, spirepresentationSlideList.prototype._InsertIT1, spirepresentationSlideList.prototype._InsertISL, spirepresentationSlideList.prototype._InsertISM);
61388
+ spirepresentationSlideList.prototype.Append = spireOverload(spirepresentationSlideList.prototype._Append, spirepresentationSlideList.prototype._AppendT, spirepresentationSlideList.prototype._AppendType, spirepresentationSlideList.prototype._AppendS, spirepresentationSlideList.prototype._AppendSL,spirepresentationSlideList.prototype._AppendL, spirepresentationSlideList.prototype._AppendSM);
61389
+ spirepresentationSlideList.prototype.Insert = spireOverload(spirepresentationSlideList.prototype._Insert, spirepresentationSlideList.prototype._InsertL, spirepresentationSlideList.prototype._InsertI, spirepresentationSlideList.prototype._InsertIT, spirepresentationSlideList.prototype._InsertIType, spirepresentationSlideList.prototype._InsertISL, spirepresentationSlideList.prototype._InsertISM);
61168
61390
 
61169
61391
  spirepresentation["SlideList"] = spirepresentationSlideList;
61170
61392
  class spirepresentationSlideSize extends spirepresentationSpireObject {
@@ -62308,7 +62530,7 @@ class spirepresentationCommentAuthorList extends spirepresentationSpireObject {
62308
62530
  }
62309
62531
  */
62310
62532
 
62311
- /*
62533
+
62312
62534
  FindByName( name) {
62313
62535
  let _name = spireStringToPointer(name);
62314
62536
 
@@ -62318,11 +62540,11 @@ class spirepresentationCommentAuthorList extends spirepresentationSpireObject {
62318
62540
  if (_e > 0) {
62319
62541
  throw new SpireError(_e);
62320
62542
  }
62321
- const _r = getObjArrayFromIntPtr(_p);
62543
+ const _r = GetObjVectorFromArray(_p,new spirepresentationICommentAuthor);
62322
62544
  Module._free(_p);
62323
62545
  return _r;
62324
62546
  }
62325
- */
62547
+
62326
62548
 
62327
62549
  /*
62328
62550
  FindByNameAndInitials( name, initials) {
@@ -62598,16 +62820,19 @@ class spirepresentationPresentation extends spirepresentation_Presentation {
62598
62820
  }
62599
62821
  }
62600
62822
 
62601
- /*
62823
+
62602
62824
  SaveToSVG() {
62603
- const _r = _Presentation_SaveToSVG(this.H, this.EH);
62825
+ let _p = Module._malloc(4+10 * 8);
62826
+ _Presentation_SaveToSVG(_p,this.H, this.EH);
62604
62827
  const _e = this.E;
62605
62828
  if (_e > 0) {
62606
62829
  throw new SpireError(_e);
62607
62830
  }
62608
- return new spirepresentationQueue1(_r);
62831
+ const _r = GetObjVectorFromArray(_p,new spirepresentationStream);
62832
+ Module._free(_p);
62833
+ return _r;
62609
62834
  }
62610
- */
62835
+
62611
62836
 
62612
62837
  OnlineSaveToFile( file, fileFormat) {
62613
62838
  let _file = spireStringToPointer(file);
@@ -63396,6 +63621,18 @@ class spirepresentationPresentation extends spirepresentation_Presentation {
63396
63621
  throw new SpireError(_e);
63397
63622
  }
63398
63623
  }
63624
+
63625
+ static SetCustomFontsDirctory(fontName) {
63626
+ let _eh = StaticEH();
63627
+ let _fontName = spireStringToPointer(fontName);
63628
+ const _r = _Presentation_set_CustomFontsDirctory(_fontName, _eh);
63629
+ const _e = StaticE(_eh);
63630
+ Module._free(_eh);
63631
+ Module._free(_fontName);
63632
+ if (_e > 0) {
63633
+ throw new SpireError(_e);
63634
+ }
63635
+ }
63399
63636
 
63400
63637
  ReplaceAndFormatText( matchedString, newValue, format) {
63401
63638
  let _matchedString = spireStringToPointer(matchedString);
@@ -64304,6 +64541,17 @@ class spirepresentationLegendEntryCollection extends spirepresentationSpireObjec
64304
64541
  }
64305
64542
  return new spirepresentationLegendEntry(_r);
64306
64543
  }
64544
+
64545
+ Count( ) {
64546
+
64547
+ const _r = _LegendEntryCollection_GetCount(this.H , this.EH);
64548
+ const _e = this.E;
64549
+ if (_e > 0) {
64550
+ throw new SpireError(_e);
64551
+ }
64552
+ return _r;
64553
+ }
64554
+
64307
64555
  }
64308
64556
 
64309
64557
  spirepresentation["LegendEntryCollection"] = spirepresentationLegendEntryCollection;
@@ -64617,6 +64865,18 @@ class spirepresentationOleObjectProperties extends spirepresentationSpireObject
64617
64865
  }
64618
64866
  return UTF8ToString(_r);
64619
64867
  }
64868
+
64869
+ Keys( ) {
64870
+ let _p = Module._malloc(4+10 * 8);
64871
+ _OleObjectProperties_get_Item(_p,this.H , this.EH);
64872
+ const _e = this.E;
64873
+ if (_e > 0) {
64874
+ throw new SpireError(_e);
64875
+ }
64876
+ const _r = getStringArrayFromIntPtr(_p);
64877
+ Module._free(_p);
64878
+ return _r;
64879
+ }
64620
64880
 
64621
64881
  set_Item( name, value) {
64622
64882
  let _name = spireStringToPointer(name);
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spire.presentation",
3
- "version": "9.11.0",
3
+ "version": "10.3.0",
4
4
  "description": "Spire.Presentation for JavaScript is a powerful presentation processing library designed for developers in JavaScript applications. It is fully compatible with popular JavaScript frameworks like Vue, React, and Angular.",
5
5
  "main": "Spire.Presentation.Base.js",
6
6
  "scripts": {