aspose.cells.node 25.8.0 → 25.9.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/aspose.cells.js CHANGED
@@ -77,6 +77,11 @@ exports.ChartColorPaletteType = {
77
77
  MonochromaticPalette13 : 13,
78
78
  };
79
79
 
80
+ exports.HtmlEmbeddedFontType = {
81
+ None : 0,
82
+ Woff : 1,
83
+ };
84
+
80
85
  exports.SvgEmbeddedFontType = {
81
86
  None : 0,
82
87
  Woff : 1,
@@ -379,6 +384,11 @@ exports.MergeEmptyTdType = {
379
384
  MergeForcely : 2,
380
385
  };
381
386
 
387
+ exports.SaveElementType = {
388
+ All : 251658239,
389
+ Chart : 256,
390
+ };
391
+
382
392
  exports.PdfFontEncoding = {
383
393
  Identity : 0,
384
394
  AnsiPrefer : 1,
@@ -3463,6 +3473,7 @@ exports.FileFormatType = {
3463
3473
  Json : 513,
3464
3474
  SqlScript : 514,
3465
3475
  Dbf : 515,
3476
+ FlatOpc : 516,
3466
3477
  XHtml : 771,
3467
3478
  OneNote : 772,
3468
3479
  MicrosoftCabinet : 773,
@@ -7365,6 +7376,12 @@ Object.assign(exports.EbookSaveOptions.prototype, {
7365
7376
  },
7366
7377
  setSheetSet(value) {
7367
7378
  this.sheetSet = value;
7379
+ },
7380
+ getEmbeddedFontType() {
7381
+ return this.embeddedFontType;
7382
+ },
7383
+ setEmbeddedFontType(value) {
7384
+ this.embeddedFontType = value;
7368
7385
  }
7369
7386
  });
7370
7387
 
@@ -12664,6 +12681,24 @@ Object.assign(exports.DocxSaveOptions.prototype, {
12664
12681
  setSaveAsEditableShapes(value) {
12665
12682
  this.saveAsEditableShapes = value;
12666
12683
  },
12684
+ getEmbedXlsxAsChartDataSource() {
12685
+ return this.embedXlsxAsChartDataSource;
12686
+ },
12687
+ setEmbedXlsxAsChartDataSource(value) {
12688
+ this.embedXlsxAsChartDataSource = value;
12689
+ },
12690
+ getAsFlatOpc() {
12691
+ return this.asFlatOpc;
12692
+ },
12693
+ setAsFlatOpc(value) {
12694
+ this.asFlatOpc = value;
12695
+ },
12696
+ getSaveElementType() {
12697
+ return this.saveElementType;
12698
+ },
12699
+ setSaveElementType(value) {
12700
+ this.saveElementType = value;
12701
+ },
12667
12702
  getAsNormalView() {
12668
12703
  return this.asNormalView;
12669
12704
  },
@@ -12916,6 +12951,18 @@ Object.assign(exports.MarkdownSaveOptions.prototype, {
12916
12951
  setCalculateFormula(value) {
12917
12952
  this.calculateFormula = value;
12918
12953
  },
12954
+ getExportHyperlinkAsReference() {
12955
+ return this.exportHyperlinkAsReference;
12956
+ },
12957
+ setExportHyperlinkAsReference(value) {
12958
+ this.exportHyperlinkAsReference = value;
12959
+ },
12960
+ getAlignColumnPadding() {
12961
+ return this.alignColumnPadding;
12962
+ },
12963
+ setAlignColumnPadding(value) {
12964
+ this.alignColumnPadding = value;
12965
+ },
12919
12966
  getSaveFormat() {
12920
12967
  return this.saveFormat;
12921
12968
  },
@@ -13000,6 +13047,18 @@ Object.assign(exports.PptxSaveOptions.prototype, {
13000
13047
  setIgnoreHiddenRows(value) {
13001
13048
  this.ignoreHiddenRows = value;
13002
13049
  },
13050
+ getSaveAsEditableShapes() {
13051
+ return this.saveAsEditableShapes;
13052
+ },
13053
+ setSaveAsEditableShapes(value) {
13054
+ this.saveAsEditableShapes = value;
13055
+ },
13056
+ getEmbedXlsxAsChartDataSource() {
13057
+ return this.embedXlsxAsChartDataSource;
13058
+ },
13059
+ setEmbedXlsxAsChartDataSource(value) {
13060
+ this.embedXlsxAsChartDataSource = value;
13061
+ },
13003
13062
  getAdjustFontSizeForRowType() {
13004
13063
  return this.adjustFontSizeForRowType;
13005
13064
  },
@@ -13012,6 +13071,12 @@ Object.assign(exports.PptxSaveOptions.prototype, {
13012
13071
  setExportViewType(value) {
13013
13072
  this.exportViewType = value;
13014
13073
  },
13074
+ getAsFlatOpc() {
13075
+ return this.asFlatOpc;
13076
+ },
13077
+ setAsFlatOpc(value) {
13078
+ this.asFlatOpc = value;
13079
+ },
13015
13080
  getSaveFormat() {
13016
13081
  return this.saveFormat;
13017
13082
  },
@@ -21577,6 +21642,12 @@ Object.assign(exports.HtmlSaveOptions.prototype, {
21577
21642
  setSheetSet(value) {
21578
21643
  this.sheetSet = value;
21579
21644
  },
21645
+ getEmbeddedFontType() {
21646
+ return this.embeddedFontType;
21647
+ },
21648
+ setEmbeddedFontType(value) {
21649
+ this.embeddedFontType = value;
21650
+ },
21580
21651
  getSaveFormat() {
21581
21652
  return this.saveFormat;
21582
21653
  },
@@ -36934,6 +37005,12 @@ Object.assign(exports.XlsSaveOptions.prototype, {
36934
37005
  });
36935
37006
 
36936
37007
  Object.assign(exports.OoxmlSaveOptions.prototype, {
37008
+ getAsFlatOpc() {
37009
+ return this.asFlatOpc;
37010
+ },
37011
+ setAsFlatOpc(value) {
37012
+ this.asFlatOpc = value;
37013
+ },
36937
37014
  getExportCellName() {
36938
37015
  return this.exportCellName;
36939
37016
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aspose.cells.node",
3
- "version": "25.8.0",
3
+ "version": "25.9.0",
4
4
  "description": "Aspose.Cells for Node.js via C++ is a high-performance and powerful library for manipulating and converting Excel (XLS, XLSX, XLSB), ODS, CSV, and HTML files, offering a comprehensive set of features for creating, editing, converting, and rendering spreadsheets within Node.js applications.",
5
5
  "main": "aspose.cells.js",
6
6
  "types": "types.d.ts",
@@ -35,10 +35,10 @@
35
35
  "license": "Commercial",
36
36
  "homepage": "https://www.aspose.com",
37
37
  "optionalDependencies": {
38
- "aspose.cells.node.win32.x64": "~25.8.0",
39
- "aspose.cells.node.linux.x64": "~25.8.0",
40
- "aspose.cells.node.linux.arm64": "~25.8.0",
41
- "aspose.cells.node.darwin.x64": "~25.8.0",
42
- "aspose.cells.node.darwin.arm64": "~25.8.0"
38
+ "aspose.cells.node.win32.x64": "~25.9.0",
39
+ "aspose.cells.node.linux.x64": "~25.9.0",
40
+ "aspose.cells.node.linux.arm64": "~25.9.0",
41
+ "aspose.cells.node.darwin.x64": "~25.9.0",
42
+ "aspose.cells.node.darwin.arm64": "~25.9.0"
43
43
  }
44
44
  }
package/types.d.ts CHANGED
@@ -450,6 +450,20 @@ export class CustomRenderSettings {
450
450
  isNull() : boolean;
451
451
  }
452
452
 
453
+ /**
454
+ * Represents the embedded font type in html.
455
+ */
456
+ export enum HtmlEmbeddedFontType {
457
+ /**
458
+ * Not embed font.
459
+ */
460
+ None = 0,
461
+ /**
462
+ * Embed WOFF font.
463
+ */
464
+ Woff = 1,
465
+ }
466
+
453
467
  /**
454
468
  * Represents the embedded font type in Svg image.
455
469
  */
@@ -5962,6 +5976,20 @@ export class PclSaveOptions extends PaginatedSaveOptions {
5962
5976
  isNull() : boolean;
5963
5977
  }
5964
5978
 
5979
+ /**
5980
+ * Represents what kind of elements should be saved.
5981
+ */
5982
+ export enum SaveElementType {
5983
+ /**
5984
+ * All data.
5985
+ */
5986
+ All = 251658239,
5987
+ /**
5988
+ * Only charts.
5989
+ */
5990
+ Chart = 256,
5991
+ }
5992
+
5965
5993
  /**
5966
5994
  * Settings for the default values of workbook's style properties.
5967
5995
  */
@@ -16870,6 +16898,60 @@ export class DocxSaveOptions extends PaginatedSaveOptions {
16870
16898
  * Only for charts.
16871
16899
  */
16872
16900
  setSaveAsEditableShapes(value: boolean) : void;
16901
+ /**
16902
+ * @deprecated Please use the 'embedXlsxAsChartDataSource' property instead.
16903
+ * Indicates whether embedding an xlsx file as data source of the chart.
16904
+ *
16905
+ * @remarks
16906
+ * The default value is true.
16907
+ */
16908
+ getEmbedXlsxAsChartDataSource() : boolean;
16909
+ /**
16910
+ * Indicates whether embedding an xlsx file as data source of the chart.
16911
+ *
16912
+ * @remarks
16913
+ * The default value is true.
16914
+ */
16915
+ embedXlsxAsChartDataSource : boolean;
16916
+ /**
16917
+ * @deprecated Please use the 'embedXlsxAsChartDataSource' property instead.
16918
+ * Indicates whether embedding an xlsx file as data source of the chart.
16919
+ * @param value - The value to set.
16920
+ *
16921
+ * @remarks
16922
+ * The default value is true.
16923
+ */
16924
+ setEmbedXlsxAsChartDataSource(value: boolean) : void;
16925
+ /**
16926
+ * @deprecated Please use the 'asFlatOpc' property instead.
16927
+ * Indicates whether saving as a flat opc file which can be generated by Open XML SDK
16928
+ */
16929
+ getAsFlatOpc() : boolean;
16930
+ /**
16931
+ * Indicates whether saving as a flat opc file which can be generated by Open XML SDK
16932
+ */
16933
+ asFlatOpc : boolean;
16934
+ /**
16935
+ * @deprecated Please use the 'asFlatOpc' property instead.
16936
+ * Indicates whether saving as a flat opc file which can be generated by Open XML SDK
16937
+ * @param value - The value to set.
16938
+ */
16939
+ setAsFlatOpc(value: boolean) : void;
16940
+ /**
16941
+ * @deprecated Please use the 'saveElementType' property instead.
16942
+ * Indicates which elements should be saved.
16943
+ */
16944
+ getSaveElementType() : SaveElementType;
16945
+ /**
16946
+ * Indicates which elements should be saved.
16947
+ */
16948
+ saveElementType : SaveElementType;
16949
+ /**
16950
+ * @deprecated Please use the 'saveElementType' property instead.
16951
+ * Indicates which elements should be saved.
16952
+ * @param value - The value to set.
16953
+ */
16954
+ setSaveElementType(value: SaveElementType) : void;
16873
16955
  /**
16874
16956
  * @deprecated Please use the 'asNormalView' property instead.
16875
16957
  * Exporting Excel file to docx fiel as normal view.
@@ -17072,6 +17154,45 @@ export class MarkdownSaveOptions extends SaveOptions {
17072
17154
  * The default value is false.
17073
17155
  */
17074
17156
  setCalculateFormula(value: boolean) : void;
17157
+ /**
17158
+ * @deprecated Please use the 'exportHyperlinkAsReference' property instead.
17159
+ * Exports hyperlink using reference definitions instead of inline format.
17160
+ * The default value is false.
17161
+ */
17162
+ getExportHyperlinkAsReference() : boolean;
17163
+ /**
17164
+ * Exports hyperlink using reference definitions instead of inline format.
17165
+ * The default value is false.
17166
+ */
17167
+ exportHyperlinkAsReference : boolean;
17168
+ /**
17169
+ * @deprecated Please use the 'exportHyperlinkAsReference' property instead.
17170
+ * Exports hyperlink using reference definitions instead of inline format.
17171
+ * The default value is false.
17172
+ * @param value - The value to set.
17173
+ */
17174
+ setExportHyperlinkAsReference(value: boolean) : void;
17175
+ /**
17176
+ * @deprecated Please use the 'alignColumnPadding' property instead.
17177
+ * Indicates whether column alignment is enabled for generated Markdown tables.
17178
+ * When enabled, columns are aligned by padding cell content with the specified character(typically ' ' for spaces).
17179
+ * Set to '\0' to disable column alignment (default).
17180
+ */
17181
+ getAlignColumnPadding() : string;
17182
+ /**
17183
+ * Indicates whether column alignment is enabled for generated Markdown tables.
17184
+ * When enabled, columns are aligned by padding cell content with the specified character(typically ' ' for spaces).
17185
+ * Set to '\0' to disable column alignment (default).
17186
+ */
17187
+ alignColumnPadding : string;
17188
+ /**
17189
+ * @deprecated Please use the 'alignColumnPadding' property instead.
17190
+ * Indicates whether column alignment is enabled for generated Markdown tables.
17191
+ * When enabled, columns are aligned by padding cell content with the specified character(typically ' ' for spaces).
17192
+ * Set to '\0' to disable column alignment (default).
17193
+ * @param value - The value to set.
17194
+ */
17195
+ setAlignColumnPadding(value: string) : void;
17075
17196
  /**
17076
17197
  * Checks whether the implementation object is null.
17077
17198
  */
@@ -17168,6 +17289,54 @@ export class PptxSaveOptions extends PaginatedSaveOptions {
17168
17289
  * @param value - The value to set.
17169
17290
  */
17170
17291
  setIgnoreHiddenRows(value: boolean) : void;
17292
+ /**
17293
+ * @deprecated Please use the 'saveAsEditableShapes' property instead.
17294
+ * Save all drawing objects as editable shapes in the pptx file, so you can edit them in PowerPoint.
17295
+ *
17296
+ * @remarks
17297
+ * Only for charts.
17298
+ */
17299
+ getSaveAsEditableShapes() : boolean;
17300
+ /**
17301
+ * Save all drawing objects as editable shapes in the pptx file, so you can edit them in PowerPoint.
17302
+ *
17303
+ * @remarks
17304
+ * Only for charts.
17305
+ */
17306
+ saveAsEditableShapes : boolean;
17307
+ /**
17308
+ * @deprecated Please use the 'saveAsEditableShapes' property instead.
17309
+ * Save all drawing objects as editable shapes in the pptx file, so you can edit them in PowerPoint.
17310
+ * @param value - The value to set.
17311
+ *
17312
+ * @remarks
17313
+ * Only for charts.
17314
+ */
17315
+ setSaveAsEditableShapes(value: boolean) : void;
17316
+ /**
17317
+ * @deprecated Please use the 'embedXlsxAsChartDataSource' property instead.
17318
+ * Indicates whether embedding an xlsx file as data source of the chart.
17319
+ *
17320
+ * @remarks
17321
+ * The default value is true.
17322
+ */
17323
+ getEmbedXlsxAsChartDataSource() : boolean;
17324
+ /**
17325
+ * Indicates whether embedding an xlsx file as data source of the chart.
17326
+ *
17327
+ * @remarks
17328
+ * The default value is true.
17329
+ */
17330
+ embedXlsxAsChartDataSource : boolean;
17331
+ /**
17332
+ * @deprecated Please use the 'embedXlsxAsChartDataSource' property instead.
17333
+ * Indicates whether embedding an xlsx file as data source of the chart.
17334
+ * @param value - The value to set.
17335
+ *
17336
+ * @remarks
17337
+ * The default value is true.
17338
+ */
17339
+ setEmbedXlsxAsChartDataSource(value: boolean) : void;
17171
17340
  /**
17172
17341
  * @deprecated Please use the 'adjustFontSizeForRowType' property instead.
17173
17342
  * Represents what type of line needs to be adjusted size of font if height of row is small.
@@ -17201,6 +17370,21 @@ export class PptxSaveOptions extends PaginatedSaveOptions {
17201
17370
  * @param value - The value to set.
17202
17371
  */
17203
17372
  setExportViewType(value: SlideViewType) : void;
17373
+ /**
17374
+ * @deprecated Please use the 'asFlatOpc' property instead.
17375
+ * Indicates whether saving as a flat opc file which can be generated by Open XML SDK
17376
+ */
17377
+ getAsFlatOpc() : boolean;
17378
+ /**
17379
+ * Indicates whether saving as a flat opc file which can be generated by Open XML SDK
17380
+ */
17381
+ asFlatOpc : boolean;
17382
+ /**
17383
+ * @deprecated Please use the 'asFlatOpc' property instead.
17384
+ * Indicates whether saving as a flat opc file which can be generated by Open XML SDK
17385
+ * @param value - The value to set.
17386
+ */
17387
+ setAsFlatOpc(value: boolean) : void;
17204
17388
  /**
17205
17389
  * Checks whether the implementation object is null.
17206
17390
  */
@@ -47876,6 +48060,24 @@ export class HtmlSaveOptions extends SaveOptions {
47876
48060
  * @param value - The value to set.
47877
48061
  */
47878
48062
  setSheetSet(value: SheetSet) : void;
48063
+ /**
48064
+ * @deprecated Please use the 'embeddedFontType' property instead.
48065
+ * Gets or sets the type of font that embedded in html.
48066
+ * Default value is <see cref="HtmlEmbeddedFontType.None"/> which indicates that it will not embed font in html.
48067
+ */
48068
+ getEmbeddedFontType() : HtmlEmbeddedFontType;
48069
+ /**
48070
+ * Gets or sets the type of font that embedded in html.
48071
+ * Default value is <see cref="HtmlEmbeddedFontType.None"/> which indicates that it will not embed font in html.
48072
+ */
48073
+ embeddedFontType : HtmlEmbeddedFontType;
48074
+ /**
48075
+ * @deprecated Please use the 'embeddedFontType' property instead.
48076
+ * Gets or sets the type of font that embedded in html.
48077
+ * Default value is <see cref="HtmlEmbeddedFontType.None"/> which indicates that it will not embed font in html.
48078
+ * @param value - The value to set.
48079
+ */
48080
+ setEmbeddedFontType(value: HtmlEmbeddedFontType) : void;
47879
48081
  /**
47880
48082
  * Checks whether the implementation object is null.
47881
48083
  */
@@ -59209,6 +59411,8 @@ export class CopyOptions {
59209
59411
  *
59210
59412
  * @remarks
59211
59413
  * The default value is false, it works as MS Excel.
59414
+ * For example: if copying a chart with the data source "sheet1!A1:B10" from worksheet "sheet1 to other worksheet "sheet2",
59415
+ * The data source will be changed as "sheet2!A1:B10"
59212
59416
  */
59213
59417
  getReferToDestinationSheet() : boolean;
59214
59418
  /**
@@ -59218,6 +59422,8 @@ export class CopyOptions {
59218
59422
  *
59219
59423
  * @remarks
59220
59424
  * The default value is false, it works as MS Excel.
59425
+ * For example: if copying a chart with the data source "sheet1!A1:B10" from worksheet "sheet1 to other worksheet "sheet2",
59426
+ * The data source will be changed as "sheet2!A1:B10"
59221
59427
  */
59222
59428
  referToDestinationSheet : boolean;
59223
59429
  /**
@@ -59229,6 +59435,8 @@ export class CopyOptions {
59229
59435
  *
59230
59436
  * @remarks
59231
59437
  * The default value is false, it works as MS Excel.
59438
+ * For example: if copying a chart with the data source "sheet1!A1:B10" from worksheet "sheet1 to other worksheet "sheet2",
59439
+ * The data source will be changed as "sheet2!A1:B10"
59232
59440
  */
59233
59441
  setReferToDestinationSheet(value: boolean) : void;
59234
59442
  /**
@@ -61933,6 +62141,10 @@ export enum FileFormatType {
61933
62141
  * Xbase Data file
61934
62142
  */
61935
62143
  Dbf = 515,
62144
+ /**
62145
+ * Flat opc file
62146
+ */
62147
+ FlatOpc = 516,
61936
62148
  /**
61937
62149
  * Rrepesents XHtml file.
61938
62150
  */
@@ -76223,6 +76435,21 @@ export class OoxmlSaveOptions extends SaveOptions {
76223
76435
  * @param saveFormat - The file format. /// It should be one of following types: <see cref="SaveFormat.Xlsx"/>, <see cref="SaveFormat.Xltx"/>, /// <see cref="SaveFormat.Xlam"/>, <see cref="SaveFormat.Xlsm"/> or <see cref="SaveFormat.Xltm"/>, /// otherwise the saved format will be set as <see cref="SaveFormat.Xlsx"/> automatically.
76224
76436
  */
76225
76437
  constructor(saveFormat: SaveFormat);
76438
+ /**
76439
+ * @deprecated Please use the 'asFlatOpc' property instead.
76440
+ * Indicates whether saving as a flat opc file which can be generated by Open XML SDK.
76441
+ */
76442
+ getAsFlatOpc() : boolean;
76443
+ /**
76444
+ * Indicates whether saving as a flat opc file which can be generated by Open XML SDK.
76445
+ */
76446
+ asFlatOpc : boolean;
76447
+ /**
76448
+ * @deprecated Please use the 'asFlatOpc' property instead.
76449
+ * Indicates whether saving as a flat opc file which can be generated by Open XML SDK.
76450
+ * @param value - The value to set.
76451
+ */
76452
+ setAsFlatOpc(value: boolean) : void;
76226
76453
  /**
76227
76454
  * @deprecated Please use the 'exportCellName' property instead.
76228
76455
  * Indicates if export cell name to Excel2007 .xlsx (.xlsm, .xltx, .xltm) file.