Constructor Summary |
---|
TxtSaveOptions()
Creates text file save options. |
TxtSaveOptions(saveFormat)
Creates text file save options. |
Property Getters/Setters Summary | ||
---|---|---|
function | getAlwaysQuoted() | |
function | setAlwaysQuoted(value) | |
Indicates whether always adding '"' for each field. If true then all values will be quoted; If false then values will only be quoted when needed(for example, when values contain special characters such as '"' , '\n' or separator character). Default is false. | ||
function | getCachedFileFolder() | |
function | setCachedFileFolder(value) | |
The cached file folder is used to store some large data. | ||
function | getClearData() | |
function | setClearData(value) | |
Make the workbook empty after saving the file. | ||
function | getCreateDirectory() | |
function | setCreateDirectory(value) | |
If true and the directory does not exist, the directory will be automatically created before saving the file. | ||
function | getEncoding() | |
function | setEncoding(value) | |
Gets and sets the default encoding. | ||
function | getExportAllSheets() | |
function | setExportAllSheets(value) | |
Indicates whether exporting all sheets to the text file. If it is false, only export the activesheet, just like MS Excel. | ||
function | getExportArea() | |
function | setExportArea(value) | |
The range of cells to be exported. | ||
function | getExportQuotePrefix() | |
function | setExportQuotePrefix(value) | |
Indicates whether the single quote sign should be exported as part of the value of one cell
when |
||
function | getFormatStrategy() | |
function | setFormatStrategy(value) | |
Gets and sets the format strategy when exporting the cell value as string. The value of the property is CellValueFormatStrategy integer constant. | ||
function | getKeepSeparatorsForBlankRow() | |
function | setKeepSeparatorsForBlankRow(value) | |
Indicates whether separators should be output for blank row. Default value is false so by default the content for blank row will be empty. | ||
function | getLightCellsDataProvider() | |
function | setLightCellsDataProvider(value) | |
The data provider for saving workbook in light mode. | ||
function | getMergeAreas() | |
function | setMergeAreas(value) | |
Indicates whether merge the areas of conditional formatting and validation before saving the file. | ||
function | getQuoteType() | |
function | setQuoteType(value) | |
Gets or sets how to quote values in the exported text file. The value of the property is TxtValueQuoteType integer constant. | ||
function | getRefreshChartCache() | |
function | setRefreshChartCache(value) | |
Indicates whether refreshing chart cache data | ||
function | getSaveFormat() | |
Gets the save file format.
The value of the property is SaveFormat integer constant. |
||
function | getSeparator() | |
function | setSeparator(value) | |
Gets and sets char Delimiter of text file. | ||
function | getSeparatorString() | |
function | setSeparatorString(value) | |
Gets and sets a string value as separator. | ||
function | getSortExternalNames() | |
function | setSortExternalNames(value) | |
Indicates whether sorting external defined names before saving file. | ||
function | getSortNames() | |
function | setSortNames(value) | |
Indicates whether sorting defined names before saving file. | ||
function | getTrimLeadingBlankRowAndColumn() | |
function | ||
Indicates whether leading blank rows and columns should be trimmed like what ms excel does. Default is true. | ||
function | getTrimTailingBlankCells() | |
function | setTrimTailingBlankCells(value) | |
Indicates whether tailing blank cells in one row should be trimmed. Default is false. | ||
function | getUpdateSmartArt() | |
function | setUpdateSmartArt(value) | |
Indicates whether updating smart art setting. The default value is false. | ||
function | getValidateMergedAreas() | |
function | setValidateMergedAreas(value) | |
Indicates whether validate merged cells before saving the file. |
function TxtSaveOptions()
function TxtSaveOptions(saveFormat)
saveFormat: Number
- A function getSeparator() / function setSeparator(value)
function getSeparatorString() / function setSeparatorString(value)
function getEncoding() / function setEncoding(value)
function getAlwaysQuoted() / function setAlwaysQuoted(value)
function getQuoteType() / function setQuoteType(value)
function getFormatStrategy() / function setFormatStrategy(value)
function getLightCellsDataProvider() / function setLightCellsDataProvider(value)
function getTrimLeadingBlankRowAndColumn() / function setTrimLeadingBlankRowAndColumn(value)
function getTrimTailingBlankCells() / function setTrimTailingBlankCells(value)
function getKeepSeparatorsForBlankRow() / function setKeepSeparatorsForBlankRow(value)
function getExportArea() / function setExportArea(value)
function getExportQuotePrefix() / function setExportQuotePrefix(value)
function getExportAllSheets() / function setExportAllSheets(value)
function getSaveFormat()
function getClearData() / function setClearData(value)
function getCachedFileFolder() / function setCachedFileFolder(value)
function getValidateMergedAreas() / function setValidateMergedAreas(value)
function getMergeAreas() / function setMergeAreas(value)
function getCreateDirectory() / function setCreateDirectory(value)
function getSortNames() / function setSortNames(value)
function getSortExternalNames() / function setSortExternalNames(value)
function getRefreshChartCache() / function setRefreshChartCache(value)
function getUpdateSmartArt() / function setUpdateSmartArt(value)