com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class TocInfo



  • public final class TocInfo
    extends Object

    Represents table of contents info.

    • Constructor Detail

      • TocInfo

        public TocInfo()

        Initializes a new instance of the TocInfo class.

    • Method Detail

      • getColumnInfo

        public ColumnInfo getColumnInfo()

        Gets column info.

        Returns:
        ColumnInfo object
      • setColumnInfo

        public void setColumnInfo(ColumnInfo value)

        Sets column info.

        Parameters:
        value - ColumnInfo object
      • getFormatArray

        public LevelFormat[] getFormatArray()

        Gets format array for table of contents.

        Returns:
        array of LevelFormat values
      • setFormatArray

        public void setFormatArray(LevelFormat[] value)

        Set format array for table of contents.

        Parameters:
        value - array of LevelFormat values
      • getFormatArrayLength

        public int getFormatArrayLength()

        Get format array length

        Returns:
        int value
      • setFormatArrayLength

        public void setFormatArrayLength(int value)

        Set format array length

        Parameters:
        value - int value
      • getTitle

        public TextFragment getTitle()

        Get table of contents title.

        Returns:
        TextFragment object
      • setTitle

        public void setTitle(TextFragment value)

        Set table of contents title.

        Parameters:
        value - TextFragment object
      • isCountTocPages

        public boolean isCountTocPages()

        Gets is count or passed toc pages.

        Returns:
        boolean velue
      • setCountTocPages

        public void setCountTocPages(boolean value)

        Sets is count or passed toc pages.

        Parameters:
        value - boolean value
      • isShowPageNumbers

        public boolean isShowPageNumbers()
        Gets or sets is show page numbers at Toc.
        Returns:
        boolean velue
      • setShowPageNumbers

        public void setShowPageNumbers(boolean value)
        Gets or sets is show page numbers at Toc.
        Parameters:
        value - boolean value
      • getLineDash

        public int getLineDash()

        Gets or sets TOC line dash.

        Returns:
        TabLeaderType element
      • setLineDash

        public void setLineDash(int value)

        Gets or sets TOC line dash.

        Parameters:
        value - TabLeaderType element
      • setLevelIndentation

        public void setLevelIndentation(int value)

        Set Level indentation

        Parameters:
        value - int value
      • getLevelIndentation

        public int getLevelIndentation()

        Get Level indentation

        Returns:
        int value