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 final ColumnInfo getColumnInfo()

        Gets column info.

        Returns:
        ColumnInfo instance
      • setColumnInfo

        public final void setColumnInfo(ColumnInfo value)

        Sets column info.

        Parameters:
        value - ColumnInfo instance
      • getFormatArray

        public final LevelFormat[] getFormatArray()

        Gets format array for table of contents.

        Returns:
        LevelFormat array
      • setFormatArray

        public final void setFormatArray(LevelFormat[] value)

        Sets format array for table of contents.

        Parameters:
        value - LevelFormat array
      • getFormatArrayLength

        public final int getFormatArrayLength()

        Gets format array length

        Returns:
        boolean value
      • setFormatArrayLength

        public final void setFormatArrayLength(int value)

        Sets format array length

        Parameters:
        value - boolean value
      • getTitle

        public final TextFragment getTitle()

        Gets table of contents title.

        Returns:
        TextFragment instance
      • setTitle

        public final void setTitle(TextFragment value)

        Sets table of contents title.

        Parameters:
        value - TextFragment instance
      • isCountTocPages

        public final boolean isCountTocPages()

        Gets is count or passed toc pages.

        Returns:
        boolean value
      • setCountTocPages

        public final void setCountTocPages(boolean value)

        Sets is count or passed toc pages.

        Parameters:
        value - boolean value
      • getPageNumbersPrefix

        public final String getPageNumbersPrefix()
        Gets is prefix before page number.
        Returns:
        String value
      • setPageNumbersPrefix

        public final void setPageNumbersPrefix(String value)
        Sets is prefix before page number.
        Parameters:
        value - String value
      • isShowPageNumbers

        public final boolean isShowPageNumbers()
        Gets is show page numbers at Toc.
        Returns:
        boolean value
      • setShowPageNumbers

        public final void setShowPageNumbers(boolean value)
        Sets is show page numbers at Toc.
        Parameters:
        value - boolean value
      • getLineDash

        public final int getLineDash()

        Gets or sets TOC line dash.

        Returns:
        TabLeaderType value
      • setLineDash

        public final void setLineDash(int value)

        Gets or sets TOC line dash.

        Parameters:
        value - TabLeaderType value
      • setLevelIndentation

        public void setLevelIndentation(int value)

        Set Level indentation

        Parameters:
        value - int value
      • getLevelIndentation

        public int getLevelIndentation()

        Get Level indentation

        Returns:
        int value