new JsonSaveOptions()

Creates options for saving json file.

Methods

getAlwaysExportAsJsonObject()

Indicates whether always exporting excel to json as object, even there is only a worksheet in the file.

getCachedFileFolder()

The cached file folder is used to store some large data.

getClearData()

Make the workbook empty after saving the file.

getCreateDirectory()

If true and the directory does not exist, the directory will be automatically created before saving the file. The default value is false.

getExportArea()

Gets or sets the exporting range.

getExportAsString()

Exports the string value of the cells to json.

getExportEmptyCells()

Indicates whether exporting empty cells as null.

getExportHyperlinkType()

Represents the type of exporting hyperlink to json. The value of the property is JsonExportHyperlinkType integer constant. The default value is JsonExportHyperlinkType.DISPLAY_STRING;

getExportNestedStructure()

Exported as parent-child hierarchy Json structure.

getIndent()

Indicates the indent. If the indent is null or empty, the exported json is not formatted.

getMergeAreas()

Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is false.

getRefreshChartCache()

Indicates whether refreshing chart cache data

getSaveFormat()

Gets the save file format. The value of the property is SaveFormat integer constant.

getSheetIndexes()

Represents the indexes of exported sheets.

getSkipEmptyRows()

Indicates whether skipping emtpy rows.

getSortExternalNames()

Indicates whether sorting external defined names before saving file.

getSortNames()

Indicates whether sorting defined names before saving file.

getToExcelStruct()

Indicates whether converting to json struct of the Excel file. Only for converting range to JSON.

getUpdateSmartArt()

Indicates whether updating smart art setting. The default value is false. Only effects after calling Shape.GetResultOfSmartArt() method and the cached shapes exist in the template file.

getValidateMergedAreas()

Indicates whether validate merged cells before saving the file. The default value is false.

getWarningCallback()

Gets or sets warning callback.

hasHeaderRow()

Indicates whether the range contains header row.

setAlwaysExportAsJsonObject()

Indicates whether always exporting excel to json as object, even there is only a worksheet in the file.

setCachedFileFolder()

The cached file folder is used to store some large data.

setClearData()

Make the workbook empty after saving the file.

setCreateDirectory()

If true and the directory does not exist, the directory will be automatically created before saving the file. The default value is false.

setExportArea()

Gets or sets the exporting range.

setExportAsString()

Exports the string value of the cells to json.

setExportEmptyCells()

Indicates whether exporting empty cells as null.

setExportHyperlinkType()

Represents the type of exporting hyperlink to json. The value of the property is JsonExportHyperlinkType integer constant. The default value is JsonExportHyperlinkType.DISPLAY_STRING;

setExportNestedStructure()

Exported as parent-child hierarchy Json structure.

setHasHeaderRow()

Indicates whether the range contains header row.

setIndent()

Indicates the indent. If the indent is null or empty, the exported json is not formatted.

setMergeAreas()

Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is false.

setRefreshChartCache()

Indicates whether refreshing chart cache data

setSheetIndexes()

Represents the indexes of exported sheets.

setSkipEmptyRows()

Indicates whether skipping emtpy rows.

setSortExternalNames()

Indicates whether sorting external defined names before saving file.

setSortNames()

Indicates whether sorting defined names before saving file.

setToExcelStruct()

Indicates whether converting to json struct of the Excel file. Only for converting range to JSON.

setUpdateSmartArt()

Indicates whether updating smart art setting. The default value is false. Only effects after calling Shape.GetResultOfSmartArt() method and the cached shapes exist in the template file.

setValidateMergedAreas()

Indicates whether validate merged cells before saving the file. The default value is false.

setWarningCallback()

Gets or sets warning callback.