aspose.pdf
Class FormatArray

java.lang.Object
  extended by aspose.pdf.FormatArray

public class FormatArray
extends java.lang.Object

Represents a array which is used to set format for table of contents, list of figures and list of tables.


Constructor Summary
FormatArray()
          Constructor - initializes a new instance of the FormatArray class.
 
Method Summary
 void extend()
          Extend the FormatArray and reserve the old content.
 int getLength()
          Gets an int value that indicates the length of the ListLevelFormat array.
 ListLevelFormat getListLevelFormat(int index)
          Gets the specified value in terms of index.
 void setLength(int value)
          Sets an int value that indicates the length of the ListLevelFormat array.
 void setListLevelFormat(int index, ListLevelFormat value)
          Sets the specified value in terms of index.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatArray

public FormatArray()
Constructor - initializes a new instance of the FormatArray class.

Method Detail

getLength

public int getLength()
Gets an int value that indicates the length of the ListLevelFormat array. It should be equal to or greater than 1.

Returns:
An int value.

setLength

public void setLength(int value)
Sets an int value that indicates the length of the ListLevelFormat array. It should be equal to or greater than 1.

Parameters:
value - An int value.

getListLevelFormat

public ListLevelFormat getListLevelFormat(int index)
Gets the specified value in terms of index.

Parameters:
index - Index number.
Returns:
An ListLevelFormat object.

setListLevelFormat

public void setListLevelFormat(int index,
                               ListLevelFormat value)
Sets the specified value in terms of index.

Parameters:
index - Index number.
value - A ListLevelFormat object.

extend

public void extend()
Extend the FormatArray and reserve the old content.