TocInfo

Overview

TocInfo is a class in Aspose.PDF FOSS for Java.

Represents Table of Contents information for a PDF document.

This class provides 7 methods for working with TocInfo objects in Java programs. Available methods include: TocInfo, getFormatArray, getFormatArrayLength, getTitle, setFormatArray, setFormatArrayLength, setTitle. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: formatArray, formatArrayLength, title.

Properties

NameTypeAccessDescription
titleTextFragmentReadReturns the title text fragment for the table of contents.
formatArrayLengthintReadReturns the number of levels in the format array.
formatArrayLevelFormat[]ReadReturns the array of level-specific format settings.

Methods

SignatureDescription
TocInfo()Creates a TocInfo with default settings.
getTitle()TextFragmentReturns the title text fragment for the table of contents.
setTitle(title: TextFragment)Sets the title text fragment for the table of contents.
getFormatArrayLength()intReturns the number of levels in the format array.
setFormatArrayLength(formatArrayLength: int)Sets the number of levels in the format array.
getFormatArray()LevelFormat[]Returns the array of level-specific format settings.
setFormatArray(formatArray: LevelFormat[])Sets the format array directly.

See Also

 English