org.odftoolkit.simple.style
Class TOCStyle
java.lang.Object
org.odftoolkit.simple.style.TOCStyle
public class TOCStyle
- extends Object
This class represents the additional paragraph styles list that you want to
include in the TOC.
- Since:
- 0.8.6
Constructor Summary |
TOCStyle()
Create an instance of TOCStyle |
TOCStyle
public TOCStyle()
- Create an instance of TOCStyle
- Parameters:
doc
-
addStyle
public void addStyle(String styleName,
int level)
- Add an additional paragraph style to the style list that you want to
include in the TOC.
- Parameters:
styleName
- - the style namelevel
- - the outline level of this style, level value is: [1,10]
getStyle
public HashMap<Integer,String> getStyle()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2010-2017 The Apache Software Foundation. All Rights Reserved.