Class SubtitleTemplate


  • public final class SubtitleTemplate
    extends java.lang.Object
    Specifies the configuration used for the subtitle template in an exported file. The template can include a subtitle's starting position and text style.
    Since:
    2.3.0
    • Constructor Detail

      • SubtitleTemplate

        public SubtitleTemplate()
    • Method Detail

      • getDataTemplate

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

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

        public boolean isSubtitleExported()
        Returns the true if the subtitle is exported in an Excel file.
      • setSubtitleExported

        public void setSubtitleExported​(boolean subtitleExported)
        Sets whether the subtitle is exported in an Excel file.
      • getSubtitle

        public java.lang.String getSubtitle()
        Returns the subtitle which will be exported in an Excel file.
      • setSubtitle

        public void setSubtitle​(java.lang.String subtitle)
        Sets the subtitle which will be exported in an Excel file.