public final class DelimitedTextSaveOptions extends Object implements ISaveOptions
Contains options for generating and saving text-based Spreadsheet documents (CSV, Tab-based etc.), that use a separator (delimiter)
Constructor and Description |
---|
DelimitedTextSaveOptions(String separator)
Creates an instance of options class for delimited text with mandatory
separator (delimiter)
|
Modifier and Type | Method and Description |
---|---|
Charset |
getEncoding()
Allows to set an encoding for the text-based Spreadsheet document.
|
com.aspose.ms.System.Text.Encoding |
getEncodingInternal() |
boolean |
getKeepSeparatorsForBlankRow()
Indicates whether separators should be output for blank row.
|
String |
getSeparator()
Allows to specify a string separator (delimiter) for text-based
Spreadsheet documents
|
boolean |
getTrimLeadingBlankRowAndColumn()
Indicates whether leading blank rows and columns should be trimmed like
what MS Excel does
|
void |
setEncoding(Charset value)
Allows to set an encoding for the text-based Spreadsheet document.
|
void |
setEncodingInternal(com.aspose.ms.System.Text.Encoding value) |
void |
setKeepSeparatorsForBlankRow(boolean value)
Indicates whether separators should be output for blank row.
|
void |
setSeparator(String value)
Allows to specify a string separator (delimiter) for text-based
Spreadsheet documents
|
void |
setTrimLeadingBlankRowAndColumn(boolean value)
Indicates whether leading blank rows and columns should be trimmed like
what MS Excel does
|
public DelimitedTextSaveOptions(String separator)
Creates an instance of options class for delimited text with mandatory separator (delimiter)
separator
- String separator (delimiter) for text-based Spreadsheet
documentspublic final Charset getEncoding()
Allows to set an encoding for the text-based Spreadsheet document. By default (and if not specified) is UTF8.
public com.aspose.ms.System.Text.Encoding getEncodingInternal()
public final boolean getKeepSeparatorsForBlankRow()
Indicates whether separators should be output for blank row. Default value is false which means the content for blank row will be empty.
public final String getSeparator()
Allows to specify a string separator (delimiter) for text-based Spreadsheet documents
public final boolean getTrimLeadingBlankRowAndColumn()
Indicates whether leading blank rows and columns should be trimmed like what MS Excel does
public final void setEncoding(Charset value)
Allows to set an encoding for the text-based Spreadsheet document. By default (and if not specified) is UTF8.
value
- public void setEncodingInternal(com.aspose.ms.System.Text.Encoding value)
public final void setKeepSeparatorsForBlankRow(boolean value)
Indicates whether separators should be output for blank row. Default value is false which means the content for blank row will be empty.
value
- public final void setSeparator(String value)
Allows to specify a string separator (delimiter) for text-based Spreadsheet documents
value
- public final void setTrimLeadingBlankRowAndColumn(boolean value)
Indicates whether leading blank rows and columns should be trimmed like what MS Excel does
value
- Copyright © 2020. All rights reserved.