-
com.grapecity.documents.excel
-
- AsyncCustomFunction
- BaseCellType
- ButtonCellType
- CalcReference
- CancellationToken
- CancellationTokenSource
- CellColorSortField
- CellDecoration
- CellDecorationIcon
- CellInfo
- CellPadding
- CheckBoxCellType
- CheckBoxListCellType
- Color
- ColorUtilities
- ComboBoxCellItem
- ComboBoxCellType
- CornerFold
- CsvOpenOptions
- CsvParseContext
- CsvParseResult
- CsvSaveOptions
- CustomBorderStyle
- CustomFunction
- DataImportOptions
- DataImportResult
- DataValidationJsonError
- DateInfo
- DeserializationOptions
- DocumentProperties
- Event
- EventArgs
- FindOptions
- FontColorSortField
- FontInfo
- FormulaJsonError
- HyperLinkCellType
- IconSortField
- ImageSaveOptions
- ImageSource
- JsonError
- Margin
- OpenOptionsBase
- PageContentInfo
- PageInfo
- PagePrintedEventArgs
- PagePrintEventArgs
- PagePrintingEventArgs
- PageSettings
- Parameter
- PasteOption
- PdfSaveOptions
- PdfSecurityOptions
- PivotFilterOptions
- Point
- PrintManager
- RadioButtonListCellType
- RangeEventArgs
- RangeFindReplace
- RangeFindReplace.FindReplaceImpl
- RangePartialClasses
- RangePartialClasses.FindReplaceImpl
- RangeTemplateCellType
- Rectangle
- RepeatSetting
- ReplaceOptions
- SaveOptionsBase
- SelectFieldItem
- SerializationOptions
- SheetEventArgs
- SignatureDetails
- Size
- SjsOpenOptions
- SjsSaveOptions
- SortFieldBase
- SpecialCellsValue
- TableStyleFactory
- TextFormatInfo
- Theme
- Themes
- ThemeStorage
- ValueSortField
- WebRequestResult
- Workbook
- WorkbookOptions
- WriteProtection
- XlsmOpenOptions
- XlsmSaveOptions
- XlsxOpenOptions
- XlsxSaveOptions
- XltxOpenOptions
- XltxSaveOptions
-
- com.grapecity.documents.excel.drawing
- com.grapecity.documents.excel.expressions
- com.grapecity.documents.excel.forms
- com.grapecity.documents.excel.template
- com.grapecity.documents.excel.template.DataSource
(Showing Draft Content)
CsvSaveOptions
Class CsvSaveOptions
java.lang.Object
com.grapecity.documents.excel.SaveOptionsBase
com.grapecity.documents.excel.CsvSaveOptions
Option class for saving csv file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal charGets cell separator.final StringGets column separator.final StringGets the default encoding, default is utf-8.final int[]Get the columns that are specified to be quoted.final StringGets row separator.final StringDeprecated.getSeparatorString is deprecated, use getColumnSeparator.final booleanGets a boolean value indicating whether leading blank rows and columns should be trimmed like what ms excel does, defalut is true.final ValueQuoteTypeGets how to quote values in the exported text file.final voidsetCellSeparator(char value) Sets a string value as cell separator.final voidsetColumnSeparator(String value) Sets a string value as column separator.final voidsetEncoding(String value) Sets the default encoding.final voidsetQuoteColumns(int[] value) Specify some columns to be quoted, while the remaining columns not to be quoted.final voidsetRowSeparator(String value) Sets a string value as row separator.final voidsetSeparatorString(String value) Deprecated.setSeparatorString is deprecated, use setColumnSeparator.final voidsetTrimLeadingBlankRowAndColumn(boolean value) Sets a boolean value indicating whether leading blank rows and columns should be trimmed like what ms excel does, defalut is true.final voidsetValueQuoteType(ValueQuoteType value) Sets how to quote values in the exported text file.toString()Methods inherited from class com.grapecity.documents.excel.SaveOptionsBase
getFileFormat, setFileFormat
-
Constructor Details
-
CsvSaveOptions
public CsvSaveOptions()Constructor.
-
-
Method Details
-
getColumnSeparator
Gets column separator. -
setColumnSeparator
Sets a string value as column separator. -
getRowSeparator
Gets row separator. -
setRowSeparator
Sets a string value as row separator. -
getCellSeparator
public final char getCellSeparator()Gets cell separator. -
setCellSeparator
public final void setCellSeparator(char value) Sets a string value as cell separator. -
setSeparatorString
Deprecated.setSeparatorString is deprecated, use setColumnSeparator.Sets a string value as column separator. -
getSeparatorString
Deprecated.getSeparatorString is deprecated, use getColumnSeparator.Gets column separator. -
getEncoding
Gets the default encoding, default is utf-8. -
setEncoding
Sets the default encoding. -
getValueQuoteType
Gets how to quote values in the exported text file. -
setValueQuoteType
Sets how to quote values in the exported text file. -
getTrimLeadingBlankRowAndColumn
public final boolean getTrimLeadingBlankRowAndColumn()Gets a boolean value indicating whether leading blank rows and columns should be trimmed like what ms excel does, defalut is true. -
setTrimLeadingBlankRowAndColumn
public final void setTrimLeadingBlankRowAndColumn(boolean value) Sets a boolean value indicating whether leading blank rows and columns should be trimmed like what ms excel does, defalut is true. -
setQuoteColumns
public final void setQuoteColumns(int[] value) Specify some columns to be quoted, while the remaining columns not to be quoted. Column numbers start from 0, and specifying invalid column has no effect. -
getQuoteColumns
public final int[] getQuoteColumns()Get the columns that are specified to be quoted. -
toString
-