com.groupdocs.viewer.converter.options

Class ProjectOptions



  • public class ProjectOptions
    extends Object

    The Microsoft Project documents rendering options.

    • Field Detail

      • PAGE_SIZE_DEFAULT

        public static final int PAGE_SIZE_DEFAULT

        The default page size.

        See Also:
        Constant Field Values
      • TIME_UNIT_DEFAULT

        public static final int TIME_UNIT_DEFAULT

        The default time unit.

        See Also:
        Constant Field Values
    • Constructor Detail

      • ProjectOptions

        public ProjectOptions()

        Initializes a new instance of the ProjectOptions class.

    • Method Detail

      • getEndDate

        public Date getEndDate()

        The maximal date to be included into the rendering.

        Note:
        Use this option when you need to render part of the project within specified time interval of the Gantt Chart View.
        Returns:
        The maximal date to be included into the rendering.
      • getPageSize

        public int getPageSize()

        The size of the output page.

        Returns:
        The size of the output page.
      • getStartDate

        public Date getStartDate()

        The minimal date to be included into the rendering.

        Note:
        Use this option when you need to render part of the project within specified time interval of the Gantt Chart View.
        Returns:
        The minimal date to be included into the rendering.
      • getTimeUnit

        public int getTimeUnit()

        The time unit to use as minimal point.

        Returns:
        The time unit to use as minimal point.
      • setEndDate

        public void setEndDate(Date value)

        The maximal date to be included into the rendering.

        Note:
        Use this option when you need to render part of the project within specified time interval of the Gantt Chart View.
        Parameters:
        value - The maximal date to be included into the rendering.
      • setPageSize

        public void setPageSize(int value)

        The size of the output page.

        Parameters:
        value - The size of the output page.
      • setStartDate

        public void setStartDate(Date value)

        The minimal date to be included into the rendering.

        Note:
        Use this option when you need to render part of the project within specified time interval of the Gantt Chart View.
        Parameters:
        value - The minimal date to be included into the rendering.
      • setTimeUnit

        public void setTimeUnit(int value)

        The time unit to use as minimal point.

        Parameters:
        value - The time unit to use as minimal point.