public abstract class SaveOptions extends Object
This is an abstract base class for classes that allow the user to specify additional options when saving a project into a particular format.
Constructor and Description |
---|
SaveOptions() |
Modifier and Type | Method and Description |
---|---|
List<BarStyle> |
getBarStyles() |
boolean |
getDrawNonWorkingTime()
Draws non-working time (Default value is TRUE).
|
Date |
getEndDate() |
boolean |
getFitContent()
Increases row height to fit content if set to true.
|
List<Gridline> |
getGridlines() |
boolean |
getLegendOnEachPage()
Shows legend on each page (Default value is TRUE).
|
boolean |
getMarkCriticalTasks()
Display critical tasks in red color (Default value is FALSE).
|
Color |
getNonWorkingTimeColor() |
int |
getPageCount()
Gets the number of pages of project.
|
int |
getPageSize()
Specifies size of page to be rendered (Default value is PageSize.A4).
|
int |
getPresentationFormat()
Specifies the
PresentationFormat in which the document will be saved. |
boolean |
getRollUpGanttBars()
Marks subtasks on the summary task bar (Default value is FALSE).
|
int |
getSaveFormat()
Specifies the format in which the document will be saved if this save options object is used.
|
Date |
getStartDate() |
List<TextStyle> |
getTextStyles() |
int |
getTimescale()
The minimal time period to render.
|
ProjectView |
getView()
Stores a list of the view columns to render (
GanttChartColumn ). |
void |
setBarStyles(List<BarStyle> value) |
void |
setDrawNonWorkingTime(boolean value) |
void |
setEndDate(Date value) |
void |
setFitContent(boolean value) |
void |
setGridlines(List<Gridline> value) |
void |
setLegendOnEachPage(boolean value) |
void |
setMarkCriticalTasks(boolean value) |
void |
setNonWorkingTimeColor(Color value) |
void |
setPageSize(int value) |
void |
setPresentationFormat(int value) |
void |
setRollUpGanttBars(boolean value) |
void |
setStartDate(Date value) |
void |
setTextStyles(List<TextStyle> value) |
void |
setTimescale(int value) |
void |
setView(ProjectView value) |
public int getSaveFormat()
Specifies the format in which the document will be saved if this save options object is used.
public int getPresentationFormat()
Specifies the PresentationFormat
in which the document will be saved.
public void setPresentationFormat(int value)
public Date getStartDate()
public void setStartDate(Date value)
public Date getEndDate()
public void setEndDate(Date value)
public ProjectView getView()
Stores a list of the view columns to render (GanttChartColumn
).
If not set then task ids, task names, start and finish are rendered only.
public void setView(ProjectView value)
public int getPageCount()
Gets the number of pages of project.
public int getTimescale()
The minimal time period to render.
The default value is TimescaleDays
.
public void setTimescale(int value)
public boolean getFitContent()
Increases row height to fit content if set to true.
public void setFitContent(boolean value)
public int getPageSize()
Specifies size of page to be rendered (Default value is PageSize.A4).
public void setPageSize(int value)
public boolean getLegendOnEachPage()
Shows legend on each page (Default value is TRUE).
public void setLegendOnEachPage(boolean value)
public boolean getDrawNonWorkingTime()
Draws non-working time (Default value is TRUE).
public void setDrawNonWorkingTime(boolean value)
public Color getNonWorkingTimeColor()
public void setNonWorkingTimeColor(Color value)
public boolean getRollUpGanttBars()
Marks subtasks on the summary task bar (Default value is FALSE).
public void setRollUpGanttBars(boolean value)
public boolean getMarkCriticalTasks()
Display critical tasks in red color (Default value is FALSE).
public void setMarkCriticalTasks(boolean value)
Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.