com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class HtmlSaveOptions



  • public class HtmlSaveOptions
    extends SaveOptions

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

    • Constructor Detail

      • HtmlSaveOptions

        public HtmlSaveOptions()

        Initializes a new instance of the HtmlSaveOptions class.

    • Method Detail

      • getPages

        public List<Integer> getPages()

        A list of page numbers to save when rendering project layout. All project pages will be saved if this list is empty.

        Returns:
        a list of page numbers to save when rendering project layout.
      • setPages

        public void setPages(List<Integer> value)

        A list of page numbers to save when rendering project layout. All project pages will be saved if this list is empty.

        Parameters:
        value - a list of page numbers to save when rendering project layout.
      • getUseGradientBrush

        public boolean getUseGradientBrush()

        Determines whether to use gradient brush when rendering project layout. Currently using of gradient brush is not supported when rendering to HTML.

        Overrides:
        getUseGradientBrush in class SaveOptions
        Returns:
        a flag which determines whether to use gradient brush when rendering project layout.
      • setUseGradientBrush

        public void setUseGradientBrush(boolean value)

        Determines whether to use gradient brush when rendering project layout. Currently using of gradient brush is not supported when rendering to HTML.

        Overrides:
        setUseGradientBrush in class SaveOptions
        Parameters:
        value - a flag which determines whether to use gradient brush when rendering project layout.
      • getIncludeProjectNameInTitle

        public boolean getIncludeProjectNameInTitle()

        Determines whether to include project name in HTML title.

        Returns:
        a flag which determines whether to include project name in HTML title.
      • setIncludeProjectNameInTitle

        public void setIncludeProjectNameInTitle(boolean value)

        Determines whether to include project name in HTML title.

        Parameters:
        value - a flag which determines whether to include project name in HTML title.
      • getIncludeProjectNameInPageHeader

        public boolean getIncludeProjectNameInPageHeader()

        Determines whether to include project name in HTML page header.

        Returns:
        a flag which determines whether to include project name in HTML page header.
      • setIncludeProjectNameInPageHeader

        public void setIncludeProjectNameInPageHeader(boolean value)

        Determines whether to include project name in HTML page header.

        Parameters:
        value - a flag which determines whether to include project name in HTML page header.