Class TitleTemplate


  • public final class TitleTemplate
    extends java.lang.Object
    Specifies the configuration used for the title template in the exported file, such as title's starting position and text style.
    Since:
    2.3.0
    • Constructor Summary

      Constructors 
      Constructor Description
      TitleTemplate()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DataTemplate getDataTemplate()
      Returns the DataTemplate instance to represent the title template in the Excel file.
      java.lang.String getTitle()
      Returns the title which will be exported in the Excel file.
      boolean isTitleExported()
      Returns true if the title is included in the Excel file export.
      void setDataTemplate​(DataTemplate dataTemplate)
      Sets the DataTemplate instance to represent the title template in the Excel file.
      void setTitle​(java.lang.String title)
      Sets the title which will be exported in the Excel file.
      void setTitleExported​(boolean titleExported)
      Sets whether the title is exported in the Excel file.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TitleTemplate

        public TitleTemplate()
    • Method Detail

      • getDataTemplate

        public DataTemplate getDataTemplate()
        Returns the DataTemplate instance to represent the title template in the Excel file. The template can include the starting position and text style.
      • setDataTemplate

        public void setDataTemplate​(DataTemplate dataTemplate)
        Sets the DataTemplate instance to represent the title template in the Excel file. The template can include the starting position and text style.
      • isTitleExported

        public boolean isTitleExported()
        Returns true if the title is included in the Excel file export.
      • setTitleExported

        public void setTitleExported​(boolean titleExported)
        Sets whether the title is exported in the Excel file.
      • getTitle

        public java.lang.String getTitle()
        Returns the title which will be exported in the Excel file.
      • setTitle

        public void setTitle​(java.lang.String title)
        Sets the title which will be exported in the Excel file.