org.apache.poi.hwpf.model
Class ListLevel

java.lang.Object
  extended by org.apache.poi.hwpf.model.ListLevel

@Internal
public final class ListLevel
extends java.lang.Object

"List LeVeL (on File) (LVLF)" See page 170 for details.


Constructor Summary
ListLevel(byte[] buf, int originalOffset)
           
ListLevel(int level, boolean numbered)
           
ListLevel(int startAt, int numberFormatCode, int alignment, byte[] numberProperties, byte[] entryProperties, java.lang.String numberText)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getAlignment()
          "Alignment (left, right, or centered) of the paragraph number."
 byte[] getLevelProperties()
           
 int getNumberFormat()
          "Number format code (see anld.nfc for a list of options)"
 java.lang.String getNumberText()
           
 int getSizeInBytes()
           
 int getStartAt()
           
 byte getTypeOfCharFollowingTheNumber()
          "The type of character following the number text for the paragraph: 0 == tab, 1 == space, 2 == nothing."
 void setAlignment(int alignment)
           
 void setLevelProperties(byte[] grpprl)
           
 void setNumberFormat(int numberFormatCode)
           
 void setNumberProperties(byte[] grpprl)
           
 void setStartAt(int startAt)
           
 void setTypeOfCharFollowingTheNumber(byte value)
           
 byte[] toByteArray()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListLevel

public ListLevel(byte[] buf,
                 int originalOffset)

ListLevel

public ListLevel(int level,
                 boolean numbered)

ListLevel

public ListLevel(int startAt,
                 int numberFormatCode,
                 int alignment,
                 byte[] numberProperties,
                 byte[] entryProperties,
                 java.lang.String numberText)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getAlignment

public int getAlignment()
"Alignment (left, right, or centered) of the paragraph number."


getLevelProperties

public byte[] getLevelProperties()

getNumberFormat

public int getNumberFormat()
"Number format code (see anld.nfc for a list of options)"


getNumberText

public java.lang.String getNumberText()

getSizeInBytes

public int getSizeInBytes()

getStartAt

public int getStartAt()

getTypeOfCharFollowingTheNumber

public byte getTypeOfCharFollowingTheNumber()
"The type of character following the number text for the paragraph: 0 == tab, 1 == space, 2 == nothing."


setAlignment

public void setAlignment(int alignment)

setLevelProperties

public void setLevelProperties(byte[] grpprl)

setNumberFormat

public void setNumberFormat(int numberFormatCode)

setNumberProperties

public void setNumberProperties(byte[] grpprl)

setStartAt

public void setStartAt(int startAt)

setTypeOfCharFollowingTheNumber

public void setTypeOfCharFollowingTheNumber(byte value)

toByteArray

public byte[] toByteArray()


Copyright 2011 The Apache Software Foundation or its licensors, as applicable.