public class TOCStyle extends Object
| Constructor and Description |
|---|
TOCStyle()
Create an instance of TOCStyle
|
| Modifier and Type | Method and Description |
|---|---|
void |
addStyle(String styleName,
int level)
Add an additional paragraph style to the style list that you want to include in the TOC.
|
HashMap<Integer,String> |
getStyle() |
String |
toString() |
public void addStyle(String styleName, int level)
styleName - - the style namelevel - - the outline level of this style, level value is: [1,10]Copyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.