com.aspose.pdf.elements
Class HeadingInfo

java.lang.Object
  extended by com.aspose.pdf.elements.HeadingInfo

public class HeadingInfo
extends java.lang.Object

Encapsulates heading info.


Field Summary
static int LEVEL_DEPTH
           
 
Constructor Summary
HeadingInfo()
          Initialized an object of class HeadingInfo.
HeadingInfo(int startNumber)
          Initialized an object of class HeadingInfo.
 
Method Summary
 java.lang.String getHeadingCaption(int headingLevel, int headingType, boolean isPrefixed)
          Gets the heading caption at a heading level.
 void resetNumber(int position)
          Resets all heading number after given position.
 void setStartNumber(int level, int startNumber)
          Set the start number at the level.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEVEL_DEPTH

public static final int LEVEL_DEPTH
See Also:
Constant Field Values
Constructor Detail

HeadingInfo

public HeadingInfo()
Initialized an object of class HeadingInfo.


HeadingInfo

public HeadingInfo(int startNumber)
Initialized an object of class HeadingInfo.

Method Detail

resetNumber

public void resetNumber(int position)
Resets all heading number after given position.

Parameters:
position - The given position.

setStartNumber

public void setStartNumber(int level,
                           int startNumber)
Set the start number at the level.


getHeadingCaption

public java.lang.String getHeadingCaption(int headingLevel,
                                          int headingType,
                                          boolean isPrefixed)
Gets the heading caption at a heading level.

Parameters:
headingLevel - The heading level.
headingType - The heading caption representation style.
isPrefixed - The form of the heading caption.
See Also:
HeadingType