Constructor Summary |
---|
TxtSaveOptions()
Creates text file save options. |
TxtSaveOptions(format)
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 only quote values when needed(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 | getEnableHTTPCompression() | |
method | setEnableHTTPCompression(value) | |
Indicates if http compression is to be used in user's IIS. | ||
method | getEncoding() | |
method | setEncoding(value) | |
Gets and sets the default encoding. | ||
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 which means the content for blank row will be empty. | ||
method | getLightCellsDataProvider() | |
method | setLightCellsDataProvider(value) | |
The Data provider to provide cells data 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 | getPdfExportImagesFolder() | |
method | setPdfExportImagesFolder(value) | |
The physical folder where images will be saved when exporting a workbook to Aspose.Pdf XML format. Default is an empty string. | ||
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 the a string value as separator. | ||
method | getSortNames() | |
method | setSortNames(value) | |
Indicates whether sorting defined names before saving file. | ||
method | getTrimLeadingBlankRowAndColumn() | |
method | setTrimLeadingBlankRowAndColumn(value) | |
Indicates whether leading blank rows and columns should be trimmed like what ms excel does. | ||
method | getValidateMergedAreas() | |
method | setValidateMergedAreas(value) | |
Indicates whether validate merged cells before saving the file. |
Constructor Detail |
---|
TxtSaveOptions()
TxtSaveOptions(format)
format: int
- A Property Getters/Setters Detail |
---|
getSeparator/setSeparator : char | |
char getSeparator() / setSeparator(value) |
getSeparatorString/setSeparatorString : String | |
String getSeparatorString() / setSeparatorString(value) |
getEncoding/setEncoding : Encoding | |
Encoding getEncoding() / setEncoding(value) |
getAlwaysQuoted/setAlwaysQuoted : boolean | |
boolean getAlwaysQuoted() / setAlwaysQuoted(value) |
getQuoteType/setQuoteType : int | |
int getQuoteType() / setQuoteType(value) |
getFormatStrategy/setFormatStrategy : int | |
int getFormatStrategy() / setFormatStrategy(value) |
getLightCellsDataProvider/setLightCellsDataProvider : LightCellsDataProvider | |
LightCellsDataProvider getLightCellsDataProvider() / setLightCellsDataProvider(value) |
getTrimLeadingBlankRowAndColumn/setTrimLeadingBlankRowAndColumn : boolean | |
boolean getTrimLeadingBlankRowAndColumn() / setTrimLeadingBlankRowAndColumn(value) |
getKeepSeparatorsForBlankRow/setKeepSeparatorsForBlankRow : boolean | |
boolean getKeepSeparatorsForBlankRow() / setKeepSeparatorsForBlankRow(value) |
getSaveFormat : int | |
int getSaveFormat() |
getClearData/setClearData : boolean | |
boolean getClearData() / setClearData(value) |
getCachedFileFolder/setCachedFileFolder : String | |
String getCachedFileFolder() / setCachedFileFolder(value) |
getValidateMergedAreas/setValidateMergedAreas : boolean | |
boolean getValidateMergedAreas() / setValidateMergedAreas(value) |
getMergeAreas/setMergeAreas : boolean | |
boolean getMergeAreas() / setMergeAreas(value) |
getCreateDirectory/setCreateDirectory : boolean | |
boolean getCreateDirectory() / setCreateDirectory(value) |
getSortNames/setSortNames : boolean | |
boolean getSortNames() / setSortNames(value) |
getRefreshChartCache/setRefreshChartCache : boolean | |
boolean getRefreshChartCache() / setRefreshChartCache(value) |
getPdfExportImagesFolder/setPdfExportImagesFolder : String | |
String getPdfExportImagesFolder() / setPdfExportImagesFolder(value) |
getEnableHTTPCompression/setEnableHTTPCompression : boolean | |
boolean getEnableHTTPCompression() / setEnableHTTPCompression(value) |