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

      • getDefaultFontName

        public String getDefaultFontName()
        Gets the default font for rendering.
        Returns:
        the default font for rendering.
      • setDefaultFontName

        public void setDefaultFontName(String value)
        Sets the default font for rendering.
        Parameters:
        value - the default font name for rendering.
      • getIncludeProjectNameInPageHeader

        public boolean getIncludeProjectNameInPageHeader()
        Gets a value indicating 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)

        Sets a value indicating whether to include project name in HTML page header.

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

        public boolean getIncludeProjectNameInTitle()

        Gets a value indicating 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)

        Sets a value indicating whether to include project name in HTML title.

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

        public List<Integer> getPages()

        Gets 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)

        Sets 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.
      • getReduceFooterGap

        public boolean getReduceFooterGap()
        Gets a value indicating whether a gap between last task and the footer must be reduced.
        Returns:
        value indicating whether a gap between last task and the footer must be reduced.
      • setReduceFooterGap

        public void setReduceFooterGap(boolean value)
        Sets a value indicating whether a gap between last task and the footer must be reduced.
        Parameters:
        value - value indicating whether a gap between last task and the footer must be reduced.
      • getUseGradientBrush

        public boolean getUseGradientBrush()

        Gets a value indicating 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:
        true if gradient brush will be used to render project layout; otherwise false.
      • setUseGradientBrush

        public void setUseGradientBrush(boolean value)

        Sets a value indicating 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.
      • getUseProjectDefaultFont

        public boolean getUseProjectDefaultFont()
        Gets a value indicating whether the default font must be used for rendering.
        Returns:
        a value indicating whether the default font must be used for rendering.
      • setUseProjectDefaultFont

        public void setUseProjectDefaultFont(boolean value)
        Sets a value indicating whether the default font must be used for rendering.
        Parameters:
        value - a value indicating whether the default font must be used for rendering.