public final class TocInfo extends Object
Represents table of contents info.
Constructor and Description |
---|
TocInfo()
Initializes a new instance of the
TocInfo class. |
Modifier and Type | Method and Description |
---|---|
ColumnInfo |
getColumnInfo()
Gets column info.
|
LevelFormat[] |
getFormatArray()
Gets format array for table of contents.
|
int |
getFormatArrayLength()
Gets format array length
|
int |
getLevelIndentation()
Get Level indentation
|
int |
getLineDash()
Gets or sets TOC line dash.
|
String |
getPageNumbersPrefix()
Gets is prefix before page number.
|
TextFragment |
getTitle()
Gets table of contents title.
|
boolean |
isCountTocPages()
Gets is count or passed toc pages.
|
boolean |
isShowPageNumbers()
Gets is show page numbers at Toc.
|
void |
setColumnInfo(ColumnInfo value)
Sets column info.
|
void |
setCountTocPages(boolean value)
Sets is count or passed toc pages.
|
void |
setFormatArray(LevelFormat[] value)
Sets format array for table of contents.
|
void |
setFormatArrayLength(int value)
Sets format array length
|
void |
setLevelIndentation(int value)
Set Level indentation
|
void |
setLineDash(int value)
Gets or sets TOC line dash.
|
void |
setPageNumbersPrefix(String value)
Sets is prefix before page number.
|
void |
setShowPageNumbers(boolean value)
Sets is show page numbers at Toc.
|
void |
setTitle(TextFragment value)
Sets table of contents title.
|
public final ColumnInfo getColumnInfo()
Gets column info.
public final void setColumnInfo(ColumnInfo value)
Sets column info.
value
- ColumnInfo instancepublic final LevelFormat[] getFormatArray()
Gets format array for table of contents.
public final void setFormatArray(LevelFormat[] value)
Sets format array for table of contents.
value
- LevelFormat arraypublic final int getFormatArrayLength()
Gets format array length
public final void setFormatArrayLength(int value)
Sets format array length
value
- boolean valuepublic final TextFragment getTitle()
Gets table of contents title.
public final void setTitle(TextFragment value)
Sets table of contents title.
value
- TextFragment instancepublic final boolean isCountTocPages()
Gets is count or passed toc pages.
public final void setCountTocPages(boolean value)
Sets is count or passed toc pages.
value
- boolean valuepublic final String getPageNumbersPrefix()
public final void setPageNumbersPrefix(String value)
value
- String valuepublic final boolean isShowPageNumbers()
public final void setShowPageNumbers(boolean value)
value
- boolean valuepublic final int getLineDash()
Gets or sets TOC line dash.
public final void setLineDash(int value)
Gets or sets TOC line dash.
value
- TabLeaderType valuepublic void setLevelIndentation(int value)
Set Level indentation
value
- int valuepublic int getLevelIndentation()
Get Level indentation