XlsxOptions

Inheritance: java.lang.Object, com.aspose.tasks.SimpleSaveOptions

public class XlsxOptions extends SimpleSaveOptions

Allows to specify additional options when rendering project pages to XLSX.

Constructors

ConstructorDescription
XlsxOptions()Initializes a new instance of the XlsxOptions class that can be used to save project in XLSX format.

Methods

MethodDescription
getAssignmentView()Gets a list of the assignments view columns to render (AssignmentViewColumn).
getEncoding()Gets the encoding of the resulting XLSX file.
getResourceView()Gets a list of the resource view columns to render (ResourceViewColumn).
getView()Gets a list of the view columns (GanttChartColumn) to save to XLSX format.
setAssignmentView(ProjectView value)Sets a list of the assignments view columns to render (AssignmentViewColumn).
setEncoding(Charset value)Sets the encoding of the resulting XLSX file.
setResourceView(ProjectView value)Sets a list of the resource view columns to render (ResourceViewColumn).
setView(ProjectView value)Sets a list of the view columns (GanttChartColumn) to save to XLSX format.

XlsxOptions()

public XlsxOptions()

Initializes a new instance of the XlsxOptions class that can be used to save project in XLSX format.

getAssignmentView()

public final ProjectView getAssignmentView()

Gets a list of the assignments view columns to render (AssignmentViewColumn).

Returns: ProjectView - a list of the assignments view columns to render (AssignmentViewColumn).

getEncoding()

public final Charset getEncoding()

Gets the encoding of the resulting XLSX file. The default value is java.nio.charset.StandardCharsets#UTF_8.UTF_8.

Returns: java.nio.charset.Charset - the encoding of the resulting XLSX file.

getResourceView()

public final ProjectView getResourceView()

Gets a list of the resource view columns to render (ResourceViewColumn).

Returns: ProjectView - a list of the resource view columns to render (ResourceViewColumn).

getView()

public final ProjectView getView()

Gets a list of the view columns (GanttChartColumn) to save to XLSX format. If not set then default columns are saved.

Returns: ProjectView - a list of the view columns (GanttChartColumn) to save to XLSX format.

setAssignmentView(ProjectView value)

public final void setAssignmentView(ProjectView value)

Sets a list of the assignments view columns to render (AssignmentViewColumn).

Parameters:

ParameterTypeDescription
valueProjectViewa list of the assignments view columns to render (AssignmentViewColumn).

setEncoding(Charset value)

public final void setEncoding(Charset value)

Sets the encoding of the resulting XLSX file. The default value is java.nio.charset.StandardCharsets#UTF_8.UTF_8.

Parameters:

ParameterTypeDescription
valuejava.nio.charset.Charsetthe encoding of the resulting XLSX file.

setResourceView(ProjectView value)

public final void setResourceView(ProjectView value)

Sets a list of the resource view columns to render (ResourceViewColumn).

Parameters:

ParameterTypeDescription
valueProjectViewa list of the resource view columns to render (ResourceViewColumn).

setView(ProjectView value)

public final void setView(ProjectView value)

Sets a list of the view columns (GanttChartColumn) to save to XLSX format. If not set then default columns are saved.

Parameters:

ParameterTypeDescription
valueProjectViewa list of the view columns (GanttChartColumn) to save to XLSX format.