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.
format - A SaveFormat value. The save format of the text file.
Property Getters/Setters Detail
getSeparator/setSeparator
public char getSeparator() / public void setSeparator(char value)
Gets and sets char Delimiter of text file.
getSeparatorString/setSeparatorString
public java.lang.String getSeparatorString() / public void setSeparatorString(java.lang.String value)
Gets and sets a string value as separator.
getEncoding/setEncoding
public com.aspose.cells.Encoding getEncoding() / public void setEncoding(com.aspose.cells.Encoding value)
Gets and sets the default encoding.
getAlwaysQuoted/setAlwaysQuoted
public boolean getAlwaysQuoted() / public void setAlwaysQuoted(boolean 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.
NOTE: This member is now obsolete. Instead,
please use QuoteType property instead.
This property will be removed 12 months later since August 2012.
Aspose apologizes for any inconvenience you may have experienced.
getQuoteType/setQuoteType
public int getQuoteType() / public void setQuoteType(int value)
Gets or sets how to quote values in the exported text file.
The value of the property is TxtValueQuoteType integer constant.
getFormatStrategy/setFormatStrategy
public int getFormatStrategy() / public void setFormatStrategy(int value)
Gets and sets the format strategy when exporting the cell value as string.
The value of the property is CellValueFormatStrategy integer constant.
public boolean getTrimLeadingBlankRowAndColumn() / public void setTrimLeadingBlankRowAndColumn(boolean value)
Indicates whether leading blank rows and columns should be trimmed like what ms excel does.
Default is true.
Same with the rule in ms excel, a row/column will not be taken as blank if it has custom style,
even if it contains no cell data.
When saving with LightCells mode, this option takes no effect.
User should control the output range by the implementation of LightCellsDataProvider
or by speicifing ExportArea
getTrimTailingBlankCells/setTrimTailingBlankCells
public boolean getTrimTailingBlankCells() / public void setTrimTailingBlankCells(boolean value)
Indicates whether tailing blank cells in one row should be trimmed. Default is false.
When saving with LightCells mode and the ExportArea has not been specified,
this option takes no effect and one row will be extended to just the last cell provided by
the implementation LightCellsDataProvider
public boolean getUpdateSmartArt() / public void setUpdateSmartArt(boolean value)
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.