TocInfo
Overview
TocInfo is a class in Aspose.Pdf FOSS for Java.
Represents Table of Contents information for a PDF document.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
title | TextFragment | Read | Returns the title text fragment for the table of contents. |
formatArrayLength | int | Read | Returns the number of levels in the format array. |
formatArray | LevelFormat[] | Read | Returns the array of level-specific format settings. |
Methods
| Signature | Description |
|---|---|
TocInfo() | Creates a TocInfo with default settings. |
getTitle() → TextFragment | Returns the title text fragment for the table of contents. |
setTitle(title: TextFragment) | Sets the title text fragment for the table of contents. |
getFormatArrayLength() → int | Returns 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. |