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