com.lowagie.text.rtf.list
public class RtfListLevel extends RtfElement implements RtfExtendedElement
Since: 2.1.3
Version: $Id:$
| Field Summary | |
|---|---|
| int | alignment
The alignment of this RtfList |
| String | bulletCharacter
The text to use as the bullet character |
| int | firstIndent
The first indentation of this RtfList |
| RtfFont | fontBullet
The RtfFont for bulleted lists |
| RtfFont | fontNumber
The RtfFont for numbered lists |
| boolean | isLegal
Flag to indicate if the levellegal control word should be emitted.
true if any list numbers from previous levels should be converted to Arabic numbers;
false if they should be left with the format specified by their own level definition. |
| boolean | isTentative
Flag to indicate if the tentative control word should be emitted. |
| int | leftIndent
The left indentation of this RtfList |
| int | levelFollowValue |
| int | levelPicture
Which picture bullet from the \listpicture destination should be applied |
| int | levelTextNumber |
| int | listLevel
The level of this RtfListLevel |
| RtfListLevel | listLevelParent |
| int | listNoRestart
Does the list restart numbering each time a super ordinate level is incremented |
| int | listStartAt
The number to start counting at |
| int | listType
Whether this RtfList is numbered |
| static byte[] | LIST_LEVEL
Constant for list level |
| static byte[] | LIST_LEVEL_ALIGNMENT
Constant for list level alignment old |
| static byte[] | LIST_LEVEL_ALIGNMENT_NEW
Constant for list level alignment new |
| static byte[] | LIST_LEVEL_FIRST_INDENT
Constant for the first indentation |
| static int | LIST_LEVEL_FOLLOW_NOTHING |
| static int | LIST_LEVEL_FOLLOW_SPACE |
| static int | LIST_LEVEL_FOLLOW_TAB |
| static byte[] | LIST_LEVEL_FOLOW
Constant which specifies which character follows the level text |
| static byte[] | LIST_LEVEL_INDENT
Constant which specifies the levelindent control word |
| static byte[] | LIST_LEVEL_LEGAL
Constant which specifies (1) if list numbers from previous levels should be converted
to Arabic numbers; (0) if they should be left with the format specified by their
own level's definition. |
| static byte[] | LIST_LEVEL_NO_RESTART
Constant which specifies
(1) if this level does/does not restart its count each time a super ordinate level is incremented
(0) if this level does not restart its count each time a super ordinate level is incremented. |
| static byte[] | LIST_LEVEL_NUMBERS_BEGIN
Constant for the beginning of the list level numbers |
| static byte[] | LIST_LEVEL_NUMBERS_END
Constant for the end of the list level numbers |
| static byte[] | LIST_LEVEL_NUMBERS_NUMBERED
Constant for the list level numbers |
| static byte[] | LIST_LEVEL_PICTURE
Constant for the levelpictureN control word |
| static byte[] | LIST_LEVEL_SPACE
Constant which specifies the levelspace controlword |
| static byte[] | LIST_LEVEL_START_AT
Constant for list level start at |
| static byte[] | LIST_LEVEL_STYLE_BULLETED_BEGIN
Constant for the beginning of the list level bulleted style |
| static byte[] | LIST_LEVEL_STYLE_BULLETED_END
Constant for the end of the list level bulleted style |
| static byte[] | LIST_LEVEL_STYLE_NUMBERED_BEGIN
Constant for the beginning of the list level numbered style |
| static byte[] | LIST_LEVEL_STYLE_NUMBERED_END
Constant for the end of the list level numbered style |
| static byte[] | LIST_LEVEL_SYMBOL_INDENT
Constant for the symbol indentation |
| static byte[] | LIST_LEVEL_TEMPLATE_ID
Constant for list level |
| static byte[] | LIST_LEVEL_TENTATIVE
Constant for the lvltentative control word |
| static byte[] | LIST_LEVEL_TEXT
Constant for list level text |
| static byte[] | LIST_LEVEL_TYPE
Constant for list level style old |
| static byte[] | LIST_LEVEL_TYPE_NEW
Constant for list level style new |
| static int | LIST_TYPE_ARABIC |
| static int | LIST_TYPE_ARABIC_LEADING_ZERO |
| static int | LIST_TYPE_BASE |
| static int | LIST_TYPE_BULLET |
| static int | LIST_TYPE_CARDINAL_TEXT_NUMBER |
| static int | LIST_TYPE_LOWERCASE_LETTER |
| static int | LIST_TYPE_LOWERCASE_ROMAN_NUMERAL |
| static int | LIST_TYPE_LOWER_LETTERS |
| static int | LIST_TYPE_LOWER_ROMAN |
| static int | LIST_TYPE_NO_NUMBER |
| static int | LIST_TYPE_NUMBERED |
| static int | LIST_TYPE_ORDINAL_NUMBER |
| static int | LIST_TYPE_ORDINAL_TEXT_NUMBER |
| static int | LIST_TYPE_UNKNOWN |
| static int | LIST_TYPE_UPPERCASE_LETTER |
| static int | LIST_TYPE_UPPERCASE_ROMAN_NUMERAL |
| static int | LIST_TYPE_UPPER_LETTERS |
| static int | LIST_TYPE_UPPER_ROMAN |
| RtfList | parent
Parent list object |
| int | rightIndent
The right indentation of this RtfList |
| int | symbolIndent
The symbol indentation of this RtfList |
| int | templateID |
| Constructor Summary | |
|---|---|
| RtfListLevel(RtfDocument doc) | |
| RtfListLevel(RtfDocument doc, RtfList parent) | |
| RtfListLevel(RtfListLevel ll) | |
| Method Summary | |
|---|---|
| protected void | correctIndentation()
Correct the indentation of this level |
| int | getAlignment() |
| String | getBulletCharacter() |
| int | getFirstIndent() |
| RtfFont | getFontBullet() |
| RtfFont | getFontNumber() |
| int | getLeftIndent() |
| int | getLevelFollowValue() |
| int | getLevelTextNumber() |
| int | getListLevel()
Gets the list level of this RtfList
|
| RtfListLevel | getListLevelParent() |
| int | getListNoRestart() |
| int | getListStartAt() |
| int | getListType() |
| RtfList | getParent() |
| int | getRightIndent() |
| int | getSymbolIndent() |
| boolean | isLegal() |
| boolean | isTentative() |
| void | setAlignment(int alignment) |
| void | setBulletCharacter(String bulletCharacter) |
| void | setBulletFont(Font f)
set the bullet font |
| void | setFirstIndent(int firstIndent) |
| void | setFontBullet(RtfFont fontBullet) |
| void | setFontNumber(RtfFont fontNumber) |
| void | setLeftIndent(int leftIndent) |
| void | setLegal(boolean isLegal) |
| void | setLevelFollowValue(int levelFollowValue) |
| void | setLevelTextNumber(int levelTextNumber) |
| void | setListLevel(int listLevel)
Sets the list level of this RtfList.
|
| void | setListLevelParent(RtfListLevel listLevelParent) |
| void | setListNoRestart(int listNoRestart) |
| void | setListStartAt(int listStartAt) |
| void | setListType(int listType) |
| void | setParent(RtfList parent) |
| void | setRightIndent(int rightIndent) |
| void | setSymbolIndent(int symbolIndent) |
| void | setTentative(boolean isTentative) |
| void | writeContent(OutputStream result)
unused |
| void | writeDefinition(OutputStream result) |
| void | writeIndentation(OutputStream result)
Write the indentation values for this RtfList.
|
| void | writeListBeginning(OutputStream result)
Writes the initialization part of the RtfList
|
| protected void | writeListNumbers(OutputStream result)
Writes only the list number and list level number.
|
Returns: the alignment
Returns: the firstIndent
Returns: the fontBullet
Returns: the fontNumber
Returns: the leftIndent
Returns: the levelFollowValue
Returns: the levelTextNumber
Returns: Returns the list level.
Returns: the listLevelParent
Returns: the listNoRestart
Returns: the listStartAt
Returns: the listType
Returns: the parent
Returns: the rightIndent
Returns: the symbolIndent
Returns: the isLegal
Returns: the isTentative
Parameters: alignment the alignment to set
Parameters: bulletCharacter the bulletCharacter to set
Parameters: f
Parameters: firstIndent the firstIndent to set
Parameters: fontBullet the fontBullet to set
Parameters: fontNumber the fontNumber to set
Parameters: leftIndent the leftIndent to set
Parameters: isLegal the isLegal to set
Parameters: levelFollowValue the levelFollowValue to set
Parameters: levelTextNumber the levelTextNumber to set
Parameters: listLevel The list level to set.
Parameters: listLevelParent the listLevelParent to set
Parameters: listNoRestart the listNoRestart to set
Parameters: listStartAt the listStartAt to set
Parameters: listType the listType to set
Parameters: parent the parent to set
Parameters: rightIndent the rightIndent to set
Parameters: symbolIndent the symbolIndent to set
Parameters: isTentative the isTentative to set
RtfList.
Parameters: result The OutputStream to write to.
Throws: IOException On i/o errors.
Parameters: result The OutputStream to write to
Throws: IOException On i/o errors.
Parameters: result The OutputStream to write to
Throws: IOException On i/o errors.