public class TxtSaveOptions
Constructor Summary |
---|
TxtSaveOptions()
Creates text file save options. |
TxtSaveOptions(intformat)
Creates text file save options. |
Property Getters/Setters Summary | ||
---|---|---|
boolean | getAlwaysQuoted() | |
void | setAlwaysQuoted(booleanvalue) | |
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. | ||
java.lang.String | getCachedFileFolder() | |
void | setCachedFileFolder(java.lang.Stringvalue) | |
The cached file folder is used to store some large data. | ||
boolean | getClearData() | |
void | setClearData(booleanvalue) | |
Make the workbook empty after saving the file. | ||
boolean | getCreateDirectory() | |
void | setCreateDirectory(booleanvalue) | |
If true and the directory does not exist, the directory will be automatically created before saving the file. | ||
boolean | getEnableHTTPCompression() | |
void | setEnableHTTPCompression(booleanvalue) | |
Indicates if http compression is to be used in user's IIS. | ||
com.aspose.cells.Encoding | getEncoding() | |
void | setEncoding(com.aspose.cells.Encodingvalue) | |
Gets and sets the default encoding. | ||
int | getFormatStrategy() | |
void | setFormatStrategy(intvalue) | |
Gets and sets the format strategy when exporting the cell value as string. The value of the property is CellValueFormatStrategy integer constant. | ||
boolean | getKeepSeparatorsForBlankRow() | |
void | setKeepSeparatorsForBlankRow(booleanvalue) | |
Indicates whether separators should be output for blank row. Default value is false which means the content for blank row will be empty. | ||
LightCellsDataProvider | getLightCellsDataProvider() | |
void | ||
The Data provider to provide cells data for saving workbook in light mode. | ||
boolean | getMergeAreas() | |
void | setMergeAreas(booleanvalue) | |
Indicates whether merge the areas of conditional formatting and validation before saving the file. | ||
java.lang.String | getPdfExportImagesFolder() | |
void | setPdfExportImagesFolder(java.lang.Stringvalue) | |
The physical folder where images will be saved when exporting a workbook to Aspose.Pdf XML format. Default is an empty string. | ||
int | getQuoteType() | |
void | setQuoteType(intvalue) | |
Gets or sets how to quote values in the exported text file. The value of the property is TxtValueQuoteType integer constant. | ||
boolean | getRefreshChartCache() | |
void | setRefreshChartCache(booleanvalue) | |
Indicates whether refreshing chart cache data | ||
int | getSaveFormat() | |
Gets the save file format.
The value of the property is SaveFormat integer constant. |
||
char | getSeparator() | |
void | setSeparator(charvalue) | |
Gets and sets char Delimiter of text file. | ||
java.lang.String | getSeparatorString() | |
void | setSeparatorString(java.lang.Stringvalue) | |
Gets and sets the a string value as separator. | ||
boolean | getSortNames() | |
void | setSortNames(booleanvalue) | |
Indicates whether sorting defined names before saving file. | ||
boolean | getTrimLeadingBlankRowAndColumn() | |
void | setTrimLeadingBlankRowAndColumn(booleanvalue) | |
Indicates whether leading blank rows and columns should be trimmed like what ms excel does. | ||
boolean | getValidateMergedAreas() | |
void | setValidateMergedAreas(booleanvalue) | |
Indicates whether validate merged cells before saving the file. | ||
IWarningCallback | getWarningCallback() | |
void | ||
Gets or sets warning callback. |
public TxtSaveOptions()
public TxtSaveOptions(int format)
format
- A public char getSeparator() / public void setSeparator(char value)
public java.lang.String getSeparatorString() / public void setSeparatorString(java.lang.String value)
public com.aspose.cells.Encoding getEncoding() / public void setEncoding(com.aspose.cells.Encoding value)
public boolean getAlwaysQuoted() / public void setAlwaysQuoted(boolean value)
public int getQuoteType() / public void setQuoteType(int value)
public int getFormatStrategy() / public void setFormatStrategy(int value)
public LightCellsDataProvider getLightCellsDataProvider() / public void setLightCellsDataProvider(LightCellsDataProvider value)
public boolean getTrimLeadingBlankRowAndColumn() / public void setTrimLeadingBlankRowAndColumn(boolean value)
public boolean getKeepSeparatorsForBlankRow() / public void setKeepSeparatorsForBlankRow(boolean value)
public int getSaveFormat()
public boolean getClearData() / public void setClearData(boolean value)
public java.lang.String getCachedFileFolder() / public void setCachedFileFolder(java.lang.String value)
public boolean getValidateMergedAreas() / public void setValidateMergedAreas(boolean value)
public boolean getMergeAreas() / public void setMergeAreas(boolean value)
public boolean getCreateDirectory() / public void setCreateDirectory(boolean value)
public boolean getSortNames() / public void setSortNames(boolean value)
public boolean getRefreshChartCache() / public void setRefreshChartCache(boolean value)
public java.lang.String getPdfExportImagesFolder() / public void setPdfExportImagesFolder(java.lang.String value)
public boolean getEnableHTTPCompression() / public void setEnableHTTPCompression(boolean value)
public IWarningCallback getWarningCallback() / public void setWarningCallback(IWarningCallback value)