Метод | Описание | |
---|---|---|
TableOfContents ( ) : System | ||
TableOfContents ( List |
||
addSection ( |
Adds the given Resources to the TableOfContents at the location specified by the pathElements. Example: Calling this method with a Resource and new String[] {"chapter1", "paragraph1"} will result in the following:
|
|
addSection ( |
Adds the given Resources to the TableOfContents at the location specified by the pathElements. Example: Calling this method with a Resource and new int[] {0, 0} will result in the following:
|
|
addSection ( |
Calls addTOCReferenceAtLocation after splitting the path using the DEFAULT_PATH_SEPARATOR.
|
|
addSection ( |
Calls addTOCReferenceAtLocation after splitting the path using the given pathSeparator.
|
|
addTOCReference ( |
||
calculateDepth ( ) : int | ||
getAllUniqueResources ( ) : List |
All unique references (unique by href) in the order in which they are referenced to in the table of contents.
|
|
getTocReferences ( ) : List |
||
setTocReferences ( List |
||
size ( ) : int |
The total number of references in this table of contents.
|
Метод | Описание | |
---|---|---|
calculateDepth ( List |
||
createSectionTitle ( int pathElements, int pathPos, int lastPos, string sectionPrefix, string sectionNumberSeparator ) : string | ||
findTocReferenceByTitle ( string title, List |
Finds the first TOCReference in the given list that has the same title as the given Title.
|
|
getAllUniqueResources ( List |
||
getTotalSize ( List |
||
paddTOCReferences ( List |
public TableOfContents ( List |
||
tocReferences | List |
|
Результат | System |
public addSection ( |
||
resource | ||
pathElements | String | |
Результат |
public addSection ( |
||
resource | ||
pathElements | int | |
sectionTitlePrefix | string | |
sectionNumberSeparator | string | |
Результат |
public addSection ( |
||
resource | ||
path | string | |
Результат |
public addSection ( |
||
resource | ||
path | string | |
pathSeparator | string | |
Результат |
public addTOCReference ( |
||
tocReference | ||
Результат |
public setTocReferences ( List |
||
tocReferences | List |
|
Результат | void |