|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hwpf.model.ListLevel
@Internal public final class ListLevel
"The LVL structure contains formatting information about a specific level in a list. When a paragraph is formatted as part of this level, each placeholder in xst is replaced with the inherited level number of the most recent or current paragraph in the same list that is in the zero-based level specified by that placeholder. The level number that replaces a placeholder is formatted according to the lvlf.nfc of the LVL structure that corresponds to the level that the placeholder specifies, unless the lvlf.fLegal of this LVL structure is nonzero." -- Page 388 of 621 -- [MS-DOC] -- v20110315 Word (.doc) Binary File Format
Constructor Summary | |
---|---|
ListLevel(byte[] buf,
int startOffset)
Deprecated. |
|
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[] |
getGrpprlChpx()
|
byte[] |
getGrpprlPapx()
|
byte[] |
getLevelNumberingPlaceholderOffsets()
Array which specifies the character offsets of the level numbers in a level numbering string. |
byte[] |
getLevelProperties()
|
int |
getNumberFormat()
"Number format code (see anld.nfc for a list of options)" |
java.lang.String |
getNumberText()
|
short |
getRestart()
An unsigned integer that specifies the first (most-significant) zero-based level after which the number sequence of this level does not restart. |
int |
getSizeInBytes()
|
int |
getStartAt()
|
byte |
getTypeOfCharFollowingTheNumber()
"The type of character following the number text for the paragraph: 0 == tab, 1 == space, 2 == nothing." |
int |
hashCode()
|
boolean |
isLegalNumbering()
Determines if the number formatting shall be overridden by msonfcArabic ; unless it originally was msonfcArabicLZ
in which case it is preserved. |
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()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public ListLevel(byte[] buf, int startOffset)
public ListLevel(int level, boolean numbered)
public ListLevel(int startAt, int numberFormatCode, int alignment, byte[] numberProperties, byte[] entryProperties, java.lang.String numberText)
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int getAlignment()
public byte[] getGrpprlChpx()
public byte[] getGrpprlPapx()
public byte[] getLevelProperties()
public int getNumberFormat()
public java.lang.String getNumberText()
public int getSizeInBytes()
public int getStartAt()
public byte getTypeOfCharFollowingTheNumber()
public short getRestart()
see [MS-DOC], v20140721, 2.9.150
0
is the most significant) level after which
the numbering does not restart or -1
if no restart is applicablepublic boolean isLegalNumbering()
msonfcArabic
; unless it originally was msonfcArabicLZ
in which case it is preserved.
see [MS-DOC], v20140721, 2.9.150 and [MS-OSHARED], v20140721, 2.2.1.3
true
if the level numbering of this and all more
significant levels must be overridden; false
otherwisepublic byte[] getLevelNumberingPlaceholderOffsets()
see [MS-DOC], v20140721, 2.9.150
0
-terminated array, unless it is fullpublic void setAlignment(int alignment)
public void setLevelProperties(byte[] grpprl)
public void setNumberFormat(int numberFormatCode)
public void setNumberProperties(byte[] grpprl)
public void setStartAt(int startAt)
public void setTypeOfCharFollowingTheNumber(byte value)
public byte[] toByteArray()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |