Package com.aspose.tasks
Class SimpleSaveOptions
- java.lang.Object
-
- com.aspose.tasks.SimpleSaveOptions
-
- Direct Known Subclasses:
CsvOptions,MPPSaveOptions,PrimaveraSaveOptions,PrimaveraXmlSaveOptions,SaveOptions,Spreadsheet2003SaveOptions,XlsxOptions
public abstract class SimpleSaveOptions extends Object
This is an abstract base class that allow the user to specify basic options when saving a project into a particular format.
-
-
Constructor Summary
Constructors Constructor Description SimpleSaveOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetSaveFormat()Gets the format in which the document will be saved if this save options object is used.Comparator<Task>getTasksComparer()Gets the comparer to sort tasks on Gantt chart and Task Sheet chart.ICondition<Task>getTasksFilter()Gets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts.voidsetTasksComparer(Comparator<Task> value)Sets the comparer to sort tasks on Gantt chart and Task Sheet chart.voidsetTasksFilter(ICondition<Task> value)Sets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts.
-
-
-
Method Detail
-
getSaveFormat
public final int getSaveFormat()
Gets the format in which the document will be saved if this save options object is used.
- Returns:
- the
SaveFileFormatin which the document will be saved.
-
getTasksComparer
public final Comparator<Task> getTasksComparer()
Gets the comparer to sort tasks on Gantt chart and Task Sheet chart.
- Returns:
- the comparer to sort tasks on Gantt chart and Task Sheet chart.
-
setTasksComparer
public final void setTasksComparer(Comparator<Task> value)
Sets the comparer to sort tasks on Gantt chart and Task Sheet chart.
- Parameters:
value- the comparer to sort tasks on Gantt chart and Task Sheet chart.
-
getTasksFilter
public final ICondition<Task> getTasksFilter()
Gets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts.
If value is not specified the default filter is used which removes non-visible tasks -- i.e. descendant tasks of collapsed tasks.- Returns:
- the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts.
-
setTasksFilter
public final void setTasksFilter(ICondition<Task> value)
Sets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts.
If value is not specified the default filter is used which removes non-visible tasks -- i.e. descendant tasks of collapsed tasks.- Parameters:
value- the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts.
-
-