Skip to content

Commit db73f85

Browse files
committed
Aspose.Cells for JavaScript via C++ v25.9 Api Reference
1 parent 262b752 commit db73f85

File tree

11 files changed

+158
-1
lines changed

11 files changed

+158
-1
lines changed

english/javascript-cpp/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ is_root: true
638638
| [GridlineType](./gridlinetype) | Enumerates grid line Type. |
639639
| [HeaderFooterCommandType](./headerfootercommandtype) | Represents the command type of header and footer. |
640640
| [HtmlCrossType](./htmlcrosstype) | Represents five types of html cross string. |
641+
| [HtmlEmbeddedFontType](./htmlembeddedfonttype) | Represents the embedded font type in html. |
641642
| [HtmlExportDataOptions](./htmlexportdataoptions) | Represents the options for exporting html data. |
642643
| [HtmlFormatHandlingType](./htmlformathandlingtype) | Specifies how to handle formatting from the HTML source |
643644
| [HtmlHiddenColDisplayType](./htmlhiddencoldisplaytype) | Represents two types of showing the hidden columns in html. |
@@ -747,6 +748,7 @@ is_root: true
747748
| [ResourceLoadingType](./resourceloadingtype) | Represents how to loading the linked resource. |
748749
| [RevisionActionType](./revisionactiontype) | Represents the type of revision action. |
749750
| [RevisionType](./revisiontype) | Represents the revision type. |
751+
| [SaveElementType](./saveelementtype) | Represents what kind of elements should be saved. |
750752
| [SaveFormat](./saveformat) | Represents the format in which the workbook is saved. |
751753
| [SelectionType](./selectiontype) | The selection type of list box. |
752754
| [SensitivityLabelAssignmentType](./sensitivitylabelassignmenttype) | Represents the assignment method for the sensitivity label. |

english/javascript-cpp/copyoptions/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,6 @@ referToDestinationSheet : boolean;
120120
121121
**Remarks**
122122
123-
The default value is false, it works as MS Excel.
123+
The default value is false, it works as MS Excel. For example: if copying a chart with the data source "sheet1!A1:B10" from worksheet "sheet1 to other worksheet "sheet2", The data source will be changed as "sheet2!A1:B10"
124124
125125

english/javascript-cpp/docxsaveoptions/_index.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ class DocxSaveOptions extends PaginatedSaveOptions;
2929
| --- | --- | --- |
3030
| [saveAsEditableShaps](#saveAsEditableShaps--)| boolean | Save all drawing objecgts as editable shapes in word file.So you can edit them in Word. |
3131
| [saveAsEditableShapes](#saveAsEditableShapes--)| boolean | Save all drawing objects as editable shapes in the word file, so you can edit them in Word. |
32+
| [embedXlsxAsChartDataSource](#embedXlsxAsChartDataSource--)| boolean | Indicates whether embedding an xlsx file as data source of the chart. |
33+
| [asFlatOpc](#asFlatOpc--)| boolean | Indicates whether saving as a flat opc file which can be generated by Open XML SDK |
34+
| [saveElementType](#saveElementType--)| SaveElementType | Indicates which elements should be saved. |
3235
| [asNormalView](#asNormalView--)| boolean | Exporting Excel file to docx fiel as normal view. If this property is true , one Area will be output, and no scale will take effect. The default value is false. |
3336
| [saveFormat](#saveFormat--)| SaveFormat | Readonly. Gets the save file format. |
3437
| [clearData](#clearData--)| boolean | Make the workbook empty after saving the file. |
@@ -126,6 +129,37 @@ saveAsEditableShapes : boolean;
126129

127130
Only for charts.
128131

132+
### embedXlsxAsChartDataSource {#embedXlsxAsChartDataSource--}
133+
134+
Indicates whether embedding an xlsx file as data source of the chart.
135+
136+
```javascript
137+
embedXlsxAsChartDataSource : boolean;
138+
```
139+
140+
141+
**Remarks**
142+
143+
The default value is true.
144+
145+
### asFlatOpc {#asFlatOpc--}
146+
147+
Indicates whether saving as a flat opc file which can be generated by Open XML SDK
148+
149+
```javascript
150+
asFlatOpc : boolean;
151+
```
152+
153+
154+
### saveElementType {#saveElementType--}
155+
156+
Indicates which elements should be saved.
157+
158+
```javascript
159+
saveElementType : SaveElementType;
160+
```
161+
162+
129163
### asNormalView {#asNormalView--}
130164

131165
Exporting Excel file to docx fiel as normal view. If this property is true , one Area will be output, and no scale will take effect. The default value is false.

english/javascript-cpp/ebooksaveoptions/_index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ class EbookSaveOptions extends HtmlSaveOptions;
107107
| [enableCssCustomProperties](#enableCssCustomProperties--)| boolean | Optimize the output of html by using CSS custom properties. For example, for the scenario that there are multiple occurences for one base64 image, with custom property the image data only needs to be saved once so the performance of the resultant html can be improved. The default value is false. |
108108
| [htmlVersion](#htmlVersion--)| HtmlVersion | Specifies version of HTML standard that should be used when saving the HTML format. Default value is HtmlVersion.Default. |
109109
| [sheetSet](#sheetSet--)| SheetSet | Gets or sets the sheets to render. Default is all visible sheets in the workbook: [Aspose.Cells.Rendering.SheetSet.Visible](../aspose.cells.rendering.sheetset.visible/). |
110+
| [embeddedFontType](#embeddedFontType--)| HtmlEmbeddedFontType | Gets or sets the type of font that embedded in html. Default value is [HtmlEmbeddedFontType.None](../htmlembeddedfonttype.none/) which indicates that it will not embed font in html. |
110111

111112

112113
### constructor() {#constructor--}
@@ -920,4 +921,13 @@ sheetSet : SheetSet;
920921
```
921922

922923

924+
### embeddedFontType {#embeddedFontType--}
925+
926+
Gets or sets the type of font that embedded in html. Default value is [HtmlEmbeddedFontType.None](../htmlembeddedfonttype.none/) which indicates that it will not embed font in html.
927+
928+
```javascript
929+
embeddedFontType : HtmlEmbeddedFontType;
930+
```
931+
932+
923933

english/javascript-cpp/fileformattype/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ Represents the file format types.
8080
| Json | `513` | Json |
8181
| SqlScript | `514` | Sql |
8282
| Dbf | `515` | Xbase Data file |
83+
| FlatOpc | `516` | Flat opc file |
8384
| XHtml | `771` | Rrepesents XHtml file. |
8485
| OneNote | `772` | Rrepesents One Note file. |
8586
| MicrosoftCabinet | `773` | Rrepesents Microsoft Cabinet file. |
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: HtmlEmbeddedFontType
3+
second_title: Aspose.Cells for JavaScript via C++ API Reference
4+
description: Represents the embedded font type in html.
5+
type: docs
6+
url: /javascript-cpp/htmlembeddedfonttype/
7+
---
8+
9+
## HtmlEmbeddedFontType enumeration
10+
Represents the embedded font type in html.
11+
### Values
12+
| Name | Value | Description |
13+
| --- | --- | --- |
14+
| None | `0` | Not embed font. |
15+
| Woff | `1` | Embed WOFF font. |
16+

english/javascript-cpp/htmlsaveoptions/_index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ class HtmlSaveOptions extends SaveOptions;
9494
| [enableCssCustomProperties](#enableCssCustomProperties--)| boolean | Optimize the output of html by using CSS custom properties. For example, for the scenario that there are multiple occurences for one base64 image, with custom property the image data only needs to be saved once so the performance of the resultant html can be improved. The default value is false. |
9595
| [htmlVersion](#htmlVersion--)| HtmlVersion | Specifies version of HTML standard that should be used when saving the HTML format. Default value is HtmlVersion.Default. |
9696
| [sheetSet](#sheetSet--)| SheetSet | Gets or sets the sheets to render. Default is all visible sheets in the workbook: [Aspose.Cells.Rendering.SheetSet.Visible](../aspose.cells.rendering.sheetset.visible/). |
97+
| [embeddedFontType](#embeddedFontType--)| HtmlEmbeddedFontType | Gets or sets the type of font that embedded in html. Default value is [HtmlEmbeddedFontType.None](../htmlembeddedfonttype.none/) which indicates that it will not embed font in html. |
9798
| [saveFormat](#saveFormat--)| SaveFormat | Readonly. Gets the save file format. |
9899
| [clearData](#clearData--)| boolean | Make the workbook empty after saving the file. |
99100
| [cachedFileFolder](#cachedFileFolder--)| string | The folder for temporary files that may be used as data cache. |
@@ -779,6 +780,15 @@ sheetSet : SheetSet;
779780
```
780781

781782

783+
### embeddedFontType {#embeddedFontType--}
784+
785+
Gets or sets the type of font that embedded in html. Default value is [HtmlEmbeddedFontType.None](../htmlembeddedfonttype.none/) which indicates that it will not embed font in html.
786+
787+
```javascript
788+
embeddedFontType : HtmlEmbeddedFontType;
789+
```
790+
791+
782792
### saveFormat {#saveFormat--}
783793

784794
Readonly. Gets the save file format.

english/javascript-cpp/markdownsaveoptions/_index.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ class MarkdownSaveOptions extends SaveOptions;
3535
| [imageOptions](#imageOptions--)| ImageOrPrintOptions | Readonly. Get the ImageOrPrintOptions object before exporting |
3636
| [exportImagesAsBase64](#exportImagesAsBase64--)| boolean | Specifies whether images are saved in Base64 format to Markdown. The default value is true. |
3737
| [calculateFormula](#calculateFormula--)| boolean | Indicates whether to calculate formulas before saving markdown file. |
38+
| [exportHyperlinkAsReference](#exportHyperlinkAsReference--)| boolean | Exports hyperlink using reference definitions instead of inline format. The default value is false. |
39+
| [alignColumnPadding](#alignColumnPadding--)| string | Indicates whether column alignment is enabled for generated Markdown tables. When enabled, columns are aligned by padding cell content with the specified character(typically ' ' for spaces). Set to '\0' to disable column alignment (default). |
3840
| [saveFormat](#saveFormat--)| SaveFormat | Readonly. Gets the save file format. |
3941
| [clearData](#clearData--)| boolean | Make the workbook empty after saving the file. |
4042
| [cachedFileFolder](#cachedFileFolder--)| string | The folder for temporary files that may be used as data cache. |
@@ -165,6 +167,24 @@ calculateFormula : boolean;
165167

166168
The default value is false.
167169

170+
### exportHyperlinkAsReference {#exportHyperlinkAsReference--}
171+
172+
Exports hyperlink using reference definitions instead of inline format. The default value is false.
173+
174+
```javascript
175+
exportHyperlinkAsReference : boolean;
176+
```
177+
178+
179+
### alignColumnPadding {#alignColumnPadding--}
180+
181+
Indicates whether column alignment is enabled for generated Markdown tables. When enabled, columns are aligned by padding cell content with the specified character(typically ' ' for spaces). Set to '\0' to disable column alignment (default).
182+
183+
```javascript
184+
alignColumnPadding : string;
185+
```
186+
187+
168188
### saveFormat {#saveFormat--}
169189

170190
Readonly. Gets the save file format.

english/javascript-cpp/ooxmlsaveoptions/_index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class OoxmlSaveOptions extends SaveOptions;
2727

2828
| Property | Type | Description |
2929
| --- | --- | --- |
30+
| [asFlatOpc](#asFlatOpc--)| boolean | Indicates whether saving as a flat opc file which can be generated by Open XML SDK. |
3031
| [exportCellName](#exportCellName--)| boolean | Indicates if export cell name to Excel2007 .xlsx (.xlsm, .xltx, .xltm) file. If the output file may be accessed by SQL Server DTS, this value must be true. Setting the value to false will highly increase the performance and reduce the file size when creating large file. Default value is true. |
3132
| [lightCellsDataProvider](#lightCellsDataProvider--)| LightCellsDataProvider | The data provider for saving workbook in light mode. |
3233
| [updateZoom](#updateZoom--)| boolean | Indicates whether update scaling factor before saving the file if the PageSetup.FitToPagesWide and PageSetup.FitToPagesTall properties control how the worksheet is scaled. |
@@ -84,6 +85,15 @@ constructor(saveFormat: SaveFormat);
8485
| --- | --- | --- |
8586
| saveFormat | [SaveFormat](../saveformat/) | The file format. /// It should be one of following types: [SaveFormat.Xlsx](../saveformat.xlsx/), [SaveFormat.Xltx](../saveformat.xltx/), /// [SaveFormat.Xlam](../saveformat.xlam/), [SaveFormat.Xlsm](../saveformat.xlsm/) or [SaveFormat.Xltm](../saveformat.xltm/), /// otherwise the saved format will be set as [SaveFormat.Xlsx](../saveformat.xlsx/) automatically. |
8687

88+
### asFlatOpc {#asFlatOpc--}
89+
90+
Indicates whether saving as a flat opc file which can be generated by Open XML SDK.
91+
92+
```javascript
93+
asFlatOpc : boolean;
94+
```
95+
96+
8797
### exportCellName {#exportCellName--}
8898

8999
Indicates if export cell name to Excel2007 .xlsx (.xlsm, .xltx, .xltm) file. If the output file may be accessed by SQL Server DTS, this value must be true. Setting the value to false will highly increase the performance and reduce the file size when creating large file. Default value is true.

english/javascript-cpp/pptxsaveoptions/_index.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ class PptxSaveOptions extends PaginatedSaveOptions;
2828
| Property | Type | Description |
2929
| --- | --- | --- |
3030
| [ignoreHiddenRows](#ignoreHiddenRows--)| boolean | Inidicates whether ignoring hidden rows when converting Excel to PowerPoint. |
31+
| [saveAsEditableShapes](#saveAsEditableShapes--)| boolean | Save all drawing objects as editable shapes in the pptx file, so you can edit them in PowerPoint. |
32+
| [embedXlsxAsChartDataSource](#embedXlsxAsChartDataSource--)| boolean | Indicates whether embedding an xlsx file as data source of the chart. |
3133
| [adjustFontSizeForRowType](#adjustFontSizeForRowType--)| AdjustFontSizeForRowType | Represents what type of line needs to be adjusted size of font if height of row is small. |
3234
| [exportViewType](#exportViewType--)| SlideViewType | Gets and sets the display type when exporting to PowerPoint. The default exporting type is working as printing. |
35+
| [asFlatOpc](#asFlatOpc--)| boolean | Indicates whether saving as a flat opc file which can be generated by Open XML SDK |
3336
| [saveFormat](#saveFormat--)| SaveFormat | Readonly. Gets the save file format. |
3437
| [clearData](#clearData--)| boolean | Make the workbook empty after saving the file. |
3538
| [cachedFileFolder](#cachedFileFolder--)| string | The folder for temporary files that may be used as data cache. |
@@ -109,6 +112,32 @@ ignoreHiddenRows : boolean;
109112
```
110113

111114

115+
### saveAsEditableShapes {#saveAsEditableShapes--}
116+
117+
Save all drawing objects as editable shapes in the pptx file, so you can edit them in PowerPoint.
118+
119+
```javascript
120+
saveAsEditableShapes : boolean;
121+
```
122+
123+
124+
**Remarks**
125+
126+
Only for charts.
127+
128+
### embedXlsxAsChartDataSource {#embedXlsxAsChartDataSource--}
129+
130+
Indicates whether embedding an xlsx file as data source of the chart.
131+
132+
```javascript
133+
embedXlsxAsChartDataSource : boolean;
134+
```
135+
136+
137+
**Remarks**
138+
139+
The default value is true.
140+
112141
### adjustFontSizeForRowType {#adjustFontSizeForRowType--}
113142

114143
Represents what type of line needs to be adjusted size of font if height of row is small.
@@ -127,6 +156,15 @@ exportViewType : SlideViewType;
127156
```
128157

129158

159+
### asFlatOpc {#asFlatOpc--}
160+
161+
Indicates whether saving as a flat opc file which can be generated by Open XML SDK
162+
163+
```javascript
164+
asFlatOpc : boolean;
165+
```
166+
167+
130168
### saveFormat {#saveFormat--}
131169

132170
Readonly. Gets the save file format.

0 commit comments

Comments
 (0)