public class CsvOptions extends SaveOptions
Allows to specify additional options when saving project to CSV.
Constructor and Description |
---|
CsvOptions()
Initializes a new instance of the
CsvOptions class which can be used to save project in csv format. |
Modifier and Type | Method and Description |
---|---|
int |
getDataCategory()
Returns a data category to be saved.
|
Charset |
getEncoding()
Returns charset to save csv with.
|
boolean |
getIncludeHeaders()
Specifies whether to include headers or not (default value is TRUE).
|
int |
getTextDelimiter()
Returns text delimiter.
|
void |
setDataCategory(int value)
Sets a data category to be saved.
|
void |
setEncoding(Charset value)
Sets charset to save csv with.
|
void |
setIncludeHeaders(boolean value)
Specifies whether to include headers or not (default value is TRUE).
|
void |
setTextDelimiter(int value)
Sets text delimiter.
|
getBarStyles, getDrawNonWorkingTime, getEndDate, getFitContent, getGridlines, getLegendOnEachPage, getMarkCriticalTasks, getNonWorkingTimeColor, getPageCount, getPageSize, getPresentationFormat, getRollUpGanttBars, getSaveFormat, getShowProjectSummaryTask, getStartDate, getTasksComparer, getTextStyles, getTimescale, getTimescaleTier, getUseGradientBrush, getView, setBarStyles, setDrawNonWorkingTime, setEndDate, setFitContent, setGridlines, setLegendOnEachPage, setMarkCriticalTasks, setNonWorkingTimeColor, setPageSize, setPresentationFormat, setRollUpGanttBars, setShowProjectSummaryTask, setStartDate, setTasksComparer, setTextStyles, setTimescale, setTimescaleTier, setUseGradientBrush, setView
public CsvOptions()
Initializes a new instance of the CsvOptions
class which can be used to save project in csv format.
public int getDataCategory()
Returns a data category to be saved.
DataCategory
).public void setDataCategory(int value)
Sets a data category to be saved.
value
- data category to save.public Charset getEncoding()
java.nio.charset.Charset
).public void setEncoding(Charset value)
value
- charset (java.nio.charset.Charset
).public boolean getIncludeHeaders()
Specifies whether to include headers or not (default value is TRUE).
public void setIncludeHeaders(boolean value)
Specifies whether to include headers or not (default value is TRUE).
value
- true if headers are to be included in saved csv format.public int getTextDelimiter()
Returns text delimiter.
CsvTextDelimiter
).public void setTextDelimiter(int value)
Sets text delimiter.
value
- text delimiter (CsvTextDelimiter
).Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.