JsonSaveOptions Class

JsonSaveOptions class

Represents the options of saving the workbook as a json file.


type JsonSaveOptions struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewJsonSaveOptionsCreates options for saving json file.
NewJsonSaveOptions_SaveOptionsConstructs from a parent object.

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetExportHyperlinkTypeRepresents the type of exporting hyperlink to json.
SetExportHyperlinkTypeRepresents the type of exporting hyperlink to json.
GetSkipEmptyRowsIndicates whether skipping emtpy rows.
SetSkipEmptyRowsIndicates whether skipping emtpy rows.
GetExportAreaGets or sets the exporting range.
SetExportAreaGets or sets the exporting range.
GetHasHeaderRowIndicates whether the range contains header row.
SetHasHeaderRowIndicates whether the range contains header row.
GetExportAsStringExports the string value of the cells to json.
SetExportAsStringExports the string value of the cells to json.
GetIndentIndicates the indent.
SetIndentIndicates the indent.
GetExportNestedStructureExported as parent-child hierarchy Json structure.
SetExportNestedStructureExported as parent-child hierarchy Json structure.
GetExportEmptyCellsIndicates whether exporting empty cells as null.
SetExportEmptyCellsIndicates whether exporting empty cells as null.
GetAlwaysExportAsJsonObjectIndicates whether always exporting excel to json as object, even there is only a worksheet in the file.
SetAlwaysExportAsJsonObjectIndicates whether always exporting excel to json as object, even there is only a worksheet in the file.
GetToExcelStructIndicates whether converting to json struct of the Excel file.
SetToExcelStructIndicates whether converting to json struct of the Excel file.
GetSaveFormatGets the save file format.
GetClearDataMake the workbook empty after saving the file.
SetClearDataMake the workbook empty after saving the file.
GetCachedFileFolderThe cached file folder is used to store some large data.
SetCachedFileFolderThe cached file folder is used to store some large data.
GetValidateMergedAreasIndicates whether validate merged cells before saving the file.
SetValidateMergedAreasIndicates whether validate merged cells before saving the file.
GetMergeAreasIndicates whether merge the areas of conditional formatting and validation before saving the file.
SetMergeAreasIndicates whether merge the areas of conditional formatting and validation before saving the file.
GetCreateDirectoryIf true and the directory does not exist, the directory will be automatically created before saving the file.
SetCreateDirectoryIf true and the directory does not exist, the directory will be automatically created before saving the file.
GetSortNamesIndicates whether sorting defined names before saving file.
SetSortNamesIndicates whether sorting defined names before saving file.
GetSortExternalNamesIndicates whether sorting external defined names before saving file.
SetSortExternalNamesIndicates whether sorting external defined names before saving file.
GetRefreshChartCacheIndicates whether refreshing chart cache data
SetRefreshChartCacheIndicates whether refreshing chart cache data
GetCheckExcelRestrictionWhether 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.
SetCheckExcelRestrictionWhether 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.
GetUpdateSmartArtIndicates whether updating smart art setting.The default value is false.
SetUpdateSmartArtIndicates whether updating smart art setting.The default value is false.
GetEncryptDocumentPropertiesIndicates whether encrypt document properties when saving as .xls file.The default value is true.
SetEncryptDocumentPropertiesIndicates whether encrypt document properties when saving as .xls file.The default value is true.