com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class SaveOptions

    • Method Detail

      • getBarStyles

        public final List<BarStyle> getBarStyles()

        Gets the list of the instances of the BarStyle class that appear in project view.

        Returns:
        the list of the instances of the BarStyle class that appear in project view.
      • setBarStyles

        public final void setBarStyles(List<BarStyle> value)

        Sets the list of the instances of the BarStyle class that appear in project view.

        Parameters:
        value - the list of the instances of the BarStyle class that appear in project view.
      • getDrawNonWorkingTime

        public final boolean getDrawNonWorkingTime()

        Gets a value indicating whether non-working time should be drawn (Default value is TRUE).

        Returns:
        a value indicating whether non-working time should be drawn (Default value is TRUE).
      • setDrawNonWorkingTime

        public final void setDrawNonWorkingTime(boolean value)

        Sets a value indicating whether non-working time should be drawn (Default value is TRUE).

        Parameters:
        value - a value indicating whether non-working time should be drawn (Default value is TRUE).
      • getEndDate

        public final Date getEndDate()

        Gets a date to finish rendering to.

        Returns:
        a date to finish rendering to.
      • setEndDate

        public final void setEndDate(Date value)

        Sets a date to finish rendering to.

        Parameters:
        value - a date to finish rendering to.
      • getFitContent

        public final boolean getFitContent()

        Gets a value indicating whether row height should be increased to fit content.

        Returns:
        a value indicating whether row height should be increased to fit content.
      • setFitContent

        public final void setFitContent(boolean value)

        Sets a value indicating whether row height should be increased to fit content.

        Parameters:
        value - a value indicating whether row height should be increased to fit content.
      • getGridlines

        public final List<Gridline> getGridlines()

        Gets a list of Gridline that appear in project view.

        Returns:
        a list of Gridline that appear in project view.
      • setGridlines

        public final void setGridlines(List<Gridline> value)

        Sets a list of Gridline that appear in project view.

        Parameters:
        value - a list of Gridline that appear in project view.
      • getLegendOnEachPage

        public final boolean getLegendOnEachPage()

        Gets a value indicating whether legend should be shown on each page (Default value is TRUE).

        Returns:
        a value indicating whether legend should be shown on each page (Default value is TRUE).
      • setLegendOnEachPage

        public final void setLegendOnEachPage(boolean value)

        Sets a value indicating whether legend should be shown on each page (Default value is TRUE).

        Parameters:
        value - a value indicating whether legend should be shown on each page (Default value is TRUE).
      • getMarkCriticalTasks

        public final boolean getMarkCriticalTasks()

        Gets a value indicating whether critical tasks should be displayed in red color (Default value is FALSE).

        Returns:
        a value indicating whether critical tasks should be displayed in red color (Default value is FALSE).
      • setMarkCriticalTasks

        public final void setMarkCriticalTasks(boolean value)

        Sets a value indicating whether critical tasks should be displayed in red color (Default value is FALSE).

        Parameters:
        value - a value indicating whether critical tasks should be displayed in red color (Default value is FALSE).
      • getNonWorkingTimeColor

        public final Color getNonWorkingTimeColor()

        Gets the non-working time color.

        Returns:
        the non-working time color.
      • setNonWorkingTimeColor

        public final void setNonWorkingTimeColor(Color value)

        Sets the non-working time color.

        Parameters:
        value - the non-working time color.
      • getPageCount

        public final int getPageCount()

        Gets the number of pages of project.

        Returns:
        the number of pages of project.
      • getPageSize

        public final int getPageSize()

        Gets the size of page to be rendered (Default value is PageSize.A4).

        Returns:
        the size of page to be rendered (Default value is PageSize.
      • setPageSize

        public final void setPageSize(int value)

        Sets the size of page to be rendered (Default value is PageSize.A4).

        Parameters:
        value - the size of page to be rendered (Default value is PageSize.
      • getRollUpGanttBars

        public final boolean getRollUpGanttBars()

        Gets a value indicating whether subtasks on the summary task bar should be marked (Default value is FALSE).

        Returns:
        a value indicating whether subtasks on the summary task bar should be marked (Default value is FALSE).
      • setRollUpGanttBars

        public final void setRollUpGanttBars(boolean value)

        Sets a value indicating whether subtasks on the summary task bar should be marked (Default value is FALSE).

        Parameters:
        value - a value indicating whether subtasks on the summary task bar should be marked (Default value is FALSE).
      • getSaveFormat

        public final int getSaveFormat()

        Gets the format in which the document will be saved if this save options object is used.

        Returns:
        the format in which the document will be saved if this save options object is used.
      • getShowProjectSummaryTask

        public final boolean getShowProjectSummaryTask()

        Gets a value indicating whether project summary task if set to true.

        Returns:
        a value indicating whether project summary task if set to true.
      • setShowProjectSummaryTask

        public final void setShowProjectSummaryTask(boolean value)

        Sets a value indicating whether project summary task if set to true.

        Parameters:
        value - a value indicating whether project summary task if set to true.
      • getStartDate

        public final Date getStartDate()

        Gets the date to start rendering from.

        Returns:
        the date to start rendering from.
      • setStartDate

        public final void setStartDate(Date value)

        Sets the date to start rendering from.

        Parameters:
        value - the date to start rendering from.
      • getTasksComparer

        public final Comparator<Task> getTasksComparer()

        Gets the comparer to sort tasks on Gantt Chart.

        Returns:
        the comparer to sort tasks on Gantt Chart.
      • setTasksComparer

        public final void setTasksComparer(Comparator<Task> value)

        Sets the comparer to sort tasks on Gantt Chart.

        Parameters:
        value - the comparer to sort tasks on Gantt Chart.
      • getTextStyles

        public final List<TextStyle> getTextStyles()

        Gets the list of the instances of the TextStyle class that appear in project view.

        Returns:
        the list of the instances of the TextStyle class that appear in project view.
      • setTextStyles

        public final void setTextStyles(List<TextStyle> value)

        Sets the list of the instances of the TextStyle class that appear in project view.

        Parameters:
        value - the list of the instances of the TextStyle class that appear in project view.
      • getTimescale

        public final int getTimescale()

        Gets the minimal time period to render. The default value is TimescaleDays(getTimescale()/setTimescale(int)).

        Returns:
        the minimal time period to render.
      • setTimescale

        public final void setTimescale(int value)

        Sets the minimal time period to render. The default value is TimescaleDays(getTimescale()/setTimescale(int)).

        Parameters:
        value - the minimal time period to render.
      • getTimescaleTier

        public final TimescaleTier getTimescaleTier()

        Gets the timescale tier of the Gantt Chart view. The default value is null.

        Returns:
        the timescale tier of the Gantt Chart view.
      • setTimescaleTier

        public final void setTimescaleTier(TimescaleTier value)

        Sets the timescale tier of the Gantt Chart view. The default value is null.

        Parameters:
        value - the timescale tier of the Gantt Chart view.
      • getUseGradientBrush

        public boolean getUseGradientBrush()

        Gets a value indicating whether gradient brush should be used when rendering Gantt Chart.

        Returns:
        a value indicating whether gradient brush should be used when rendering Gantt Chart.
      • setUseGradientBrush

        public void setUseGradientBrush(boolean value)

        Sets a value indicating whether gradient brush should be used when rendering Gantt Chart.

        Parameters:
        value - a value indicating whether gradient brush should be used when rendering Gantt Chart.
      • getView

        public final ProjectView getView()

        Gets a list of the view columns to render (GanttChartColumn). If not set then task ids, task names, start and finish are rendered only.

        Returns:
        a list of the view columns to render (GanttChartColumn).
      • setView

        public final void setView(ProjectView value)

        Sets a list of the view columns to render (GanttChartColumn). If not set then task ids, task names, start and finish are rendered only.

        Parameters:
        value - a list of the view columns to render (GanttChartColumn).