org.odftoolkit.simple.style
Class TOCStyle

java.lang.Object
  extended by 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
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TOCStyle

public TOCStyle()
Create an instance of TOCStyle

Parameters:
doc -
Method Detail

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 name
level - - 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.