JsonSaveOptions Class
Contents
[
Hide
]JsonSaveOptions class
Represents the options of saving the workbook as a json file.
type JsonSaveOptions struct {
ptr unsafe.Pointer
}
Constructors
| Method | Description |
|---|---|
| NewJsonSaveOptions | Creates options for saving json file. |
| NewJsonSaveOptions_SaveOptions | Constructs from a parent object. |
Methods
| Method | Description |
|---|---|
| IsNull | Checks whether the implementation object is nullptr. |
| GetExportStylePool | Indicates whether to export styles collectively or individually to each cell. |
| SetExportStylePool | Indicates whether to export styles collectively or individually to each cell. |
| GetExportHyperlinkType | Represents the type of exporting hyperlink to json. |
| SetExportHyperlinkType | Represents the type of exporting hyperlink to json. |
| GetSkipEmptyRows | Indicates whether skipping emtpy rows. |
| SetSkipEmptyRows | Indicates whether skipping emtpy rows. |
| GetSheetIndexes | Represents the indexes of exported sheets. |
| SetSheetIndexes | Represents the indexes of exported sheets. |
| GetSchemas | The original json schema of each worksheet. |
| SetSchemas | The original json schema of each worksheet. |
| GetExportArea | Gets or sets the exporting range. |
| SetExportArea | Gets or sets the exporting range. |
| GetHasHeaderRow | Indicates whether the range contains header row. |
| SetHasHeaderRow | Indicates whether the range contains header row. |
| GetExportAsString | Exports the string value of the cells to json. |
| SetExportAsString | Exports the string value of the cells to json. |
| GetIndent | Indicates the indent. |
| SetIndent | Indicates the indent. |
| GetExportNestedStructure | Exported as parent-child hierarchy Json structure. |
| SetExportNestedStructure | Exported as parent-child hierarchy Json structure. |
| GetExportEmptyCells | Indicates whether exporting empty cells as null. |
| SetExportEmptyCells | Indicates whether exporting empty cells as null. |
| GetAlwaysExportAsJsonObject | Indicates whether always exporting excel to json as object, even there is only a worksheet in the file. |
| SetAlwaysExportAsJsonObject | Indicates whether always exporting excel to json as object, even there is only a worksheet in the file. |
| GetToExcelStruct | Indicates whether converting to json struct of the Excel file. |
| SetToExcelStruct | Indicates whether converting to json struct of the Excel file. |
| GetSaveFormat | Gets the save file format. |
| GetClearData | Make the workbook empty after saving the file. |
| SetClearData | Make the workbook empty after saving the file. |
| GetCachedFileFolder | The folder for temporary files that may be used as data cache. |
| SetCachedFileFolder | The folder for temporary files that may be used as data cache. |
| GetValidateMergedAreas | Indicates whether validate merged cells before saving the file. |
| SetValidateMergedAreas | Indicates whether validate merged cells before saving the file. |
| GetMergeAreas | Indicates whether merge the areas of conditional formatting and validation before saving the file. |
| SetMergeAreas | Indicates whether merge the areas of conditional formatting and validation before saving the file. |
| GetCreateDirectory | If true and the directory does not exist, the directory will be automatically created before saving the file. |
| SetCreateDirectory | If true and the directory does not exist, the directory will be automatically created before saving the file. |
| GetSortNames | Indicates whether sorting defined names before saving file. |
| SetSortNames | Indicates whether sorting defined names before saving file. |
| GetSortExternalNames | Indicates whether sorting external defined names before saving file. |
| SetSortExternalNames | Indicates whether sorting external defined names before saving file. |
| GetRefreshChartCache | Indicates whether refreshing chart cache data |
| SetRefreshChartCache | Indicates whether refreshing chart cache data |
| GetCheckExcelRestriction | Whether check restriction of excel file when user modify cells related objects.For example, excel does not allow inputting string value longer than 32K.When you input a value longer than 32K, it will be truncated. |
| SetCheckExcelRestriction | Whether check restriction of excel file when user modify cells related objects.For example, excel does not allow inputting string value longer than 32K.When you input a value longer than 32K, it will be truncated. |
| GetUpdateSmartArt | Indicates whether updating smart art setting.The default value is false. |
| SetUpdateSmartArt | Indicates whether updating smart art setting.The default value is false. |
| GetEncryptDocumentProperties | Indicates whether encrypt document properties when saving as .xls file.The default value is true. |
| SetEncryptDocumentProperties | Indicates whether encrypt document properties when saving as .xls file.The default value is true. |