Class RtfListLevel
- Namespace
- iTextSharp.text.rtf.list
- Assembly
- iTextSharp.LGPLv2.Core.dll
The RtfListLevel is a listlevel object in a list. @author Howard Shank (hgshank@yahoo.com)
public class RtfListLevel : RtfElement, IRtfExtendedElement, IRtfBasicElement, IRtfElementInterface
- Inheritance
-
RtfListLevel
- Implements
- Inherited Members
Constructors
RtfListLevel(RtfDocument)
public RtfListLevel(RtfDocument doc)
Parameters
doc
RtfDocument
RtfListLevel(RtfDocument, RtfList)
public RtfListLevel(RtfDocument doc, RtfList parent)
Parameters
doc
RtfDocumentparent
RtfList
RtfListLevel(RtfListLevel)
public RtfListLevel(RtfListLevel ll)
Parameters
ll
RtfListLevel
Fields
LIST_LEVEL_FOLLOW_NOTHING
public const int LIST_LEVEL_FOLLOW_NOTHING = 2
Field Value
LIST_LEVEL_FOLLOW_SPACE
public const int LIST_LEVEL_FOLLOW_SPACE = 1
Field Value
LIST_LEVEL_FOLLOW_TAB
public const int LIST_LEVEL_FOLLOW_TAB = 0
Field Value
LIST_TYPE_ARABIC
public const int LIST_TYPE_ARABIC = 1000
Field Value
LIST_TYPE_ARABIC_LEADING_ZERO
public const int LIST_TYPE_ARABIC_LEADING_ZERO = 1022
Field Value
LIST_TYPE_BASE
public const int LIST_TYPE_BASE = 1000
Field Value
LIST_TYPE_BULLET
public const int LIST_TYPE_BULLET = 1023
Field Value
LIST_TYPE_CARDINAL_TEXT_NUMBER
public const int LIST_TYPE_CARDINAL_TEXT_NUMBER = 1006
Field Value
LIST_TYPE_LOWERCASE_LETTER
public const int LIST_TYPE_LOWERCASE_LETTER = 1004
Field Value
LIST_TYPE_LOWERCASE_ROMAN_NUMERAL
public const int LIST_TYPE_LOWERCASE_ROMAN_NUMERAL = 1002
Field Value
LIST_TYPE_LOWER_LETTERS
public const int LIST_TYPE_LOWER_LETTERS = 3
Field Value
LIST_TYPE_LOWER_ROMAN
public const int LIST_TYPE_LOWER_ROMAN = 5
Field Value
LIST_TYPE_NO_NUMBER
public const int LIST_TYPE_NO_NUMBER = 1255
Field Value
LIST_TYPE_NUMBERED
public const int LIST_TYPE_NUMBERED = 1
Field Value
LIST_TYPE_ORDINAL_NUMBER
public const int LIST_TYPE_ORDINAL_NUMBER = 1005
Field Value
LIST_TYPE_ORDINAL_TEXT_NUMBER
public const int LIST_TYPE_ORDINAL_TEXT_NUMBER = 1007
Field Value
LIST_TYPE_UNKNOWN
public const int LIST_TYPE_UNKNOWN = -1
Field Value
LIST_TYPE_UPPERCASE_LETTER
public const int LIST_TYPE_UPPERCASE_LETTER = 1003
Field Value
LIST_TYPE_UPPERCASE_ROMAN_NUMERAL
public const int LIST_TYPE_UPPERCASE_ROMAN_NUMERAL = 1001
Field Value
LIST_TYPE_UPPER_LETTERS
public const int LIST_TYPE_UPPER_LETTERS = 2
Field Value
LIST_TYPE_UPPER_ROMAN
public const int LIST_TYPE_UPPER_ROMAN = 4
Field Value
Methods
CorrectIndentation()
Correct the indentation of this level
protected void CorrectIndentation()
GetAlignment()
public int GetAlignment()
Returns
- int
the alignment
GetBulletCharacter()
public string GetBulletCharacter()
Returns
GetFirstIndent()
public int GetFirstIndent()
Returns
- int
the firstIndent
GetFontBullet()
public RtfFont GetFontBullet()
Returns
- RtfFont
the fontBullet
GetFontNumber()
public RtfFont GetFontNumber()
Returns
- RtfFont
the fontNumber
GetLeftIndent()
public int GetLeftIndent()
Returns
- int
the leftIndent
GetLevelFollowValue()
public int GetLevelFollowValue()
Returns
- int
the levelFollowValue
GetLevelTextNumber()
public int GetLevelTextNumber()
Returns
- int
the levelTextNumber
GetListLevel()
Gets the list level of this RtfList
public int GetListLevel()
Returns
- int
Returns the list level.
GetListLevelParent()
public RtfListLevel GetListLevelParent()
Returns
- RtfListLevel
the listLevelParent
GetListNoRestart()
public int GetListNoRestart()
Returns
- int
the listNoRestart
GetListStartAt()
public int GetListStartAt()
Returns
- int
the listStartAt
GetListType()
public int GetListType()
Returns
- int
the listType
GetParent()
public RtfList GetParent()
Returns
- RtfList
the parent
GetRightIndent()
public int GetRightIndent()
Returns
- int
the rightIndent
GetSymbolIndent()
public int GetSymbolIndent()
Returns
- int
the symbolIndent
IsLegal()
public bool IsLegal()
Returns
- bool
the isLegal
IsTentative()
public bool IsTentative()
Returns
- bool
the isTentative
SetAlignment(int)
public void SetAlignment(int alignment)
Parameters
alignment
intthe alignment to set
SetBulletCharacter(string)
public void SetBulletCharacter(string bulletCharacter)
Parameters
bulletCharacter
stringthe bulletCharacter to set
SetBulletChunk(Chunk)
@since 2.1.4
public void SetBulletChunk(Chunk bulletCharacter)
Parameters
bulletCharacter
Chunk
SetBulletFont(Font)
set the bullet font
public void SetBulletFont(Font f)
Parameters
f
Font
SetFirstIndent(int)
public void SetFirstIndent(int firstIndent)
Parameters
firstIndent
intthe firstIndent to set
SetFontBullet(RtfFont)
public void SetFontBullet(RtfFont fontBullet)
Parameters
fontBullet
RtfFontthe fontBullet to set
SetFontNumber(RtfFont)
public void SetFontNumber(RtfFont fontNumber)
Parameters
fontNumber
RtfFontthe fontNumber to set
SetLeftIndent(int)
public void SetLeftIndent(int leftIndent)
Parameters
leftIndent
intthe leftIndent to set
SetLegal(bool)
public void SetLegal(bool isLegal)
Parameters
isLegal
boolthe isLegal to set
SetLevelFollowValue(int)
public void SetLevelFollowValue(int levelFollowValue)
Parameters
levelFollowValue
intthe levelFollowValue to set
SetLevelTextNumber(int)
public void SetLevelTextNumber(int levelTextNumber)
Parameters
levelTextNumber
intthe levelTextNumber to set
SetListLevel(int)
Sets the list level of this RtfList.
public void SetListLevel(int listLevel)
Parameters
listLevel
intThe list level to set.
SetListLevelParent(RtfListLevel)
public void SetListLevelParent(RtfListLevel listLevelParent)
Parameters
listLevelParent
RtfListLevelthe listLevelParent to set
SetListNoRestart(int)
public void SetListNoRestart(int listNoRestart)
Parameters
listNoRestart
intthe listNoRestart to set
SetListStartAt(int)
public void SetListStartAt(int listStartAt)
Parameters
listStartAt
intthe listStartAt to set
SetListType(int)
public void SetListType(int listType)
Parameters
listType
intthe listType to set
SetParent(RtfList)
public void SetParent(RtfList parent)
Parameters
parent
RtfListthe parent to set
SetRightIndent(int)
public void SetRightIndent(int rightIndent)
Parameters
rightIndent
intthe rightIndent to set
SetSymbolIndent(int)
public void SetSymbolIndent(int symbolIndent)
Parameters
symbolIndent
intthe symbolIndent to set
SetTentative(bool)
public void SetTentative(bool isTentative)
Parameters
isTentative
boolthe isTentative to set
WriteContent(Stream)
unused
public override void WriteContent(Stream outp)
Parameters
outp
Stream
WriteDefinition(Stream)
public void WriteDefinition(Stream outp)
Parameters
outp
Stream
WriteIndentation(Stream)
Write the indentation values for this RtfList . @throws IOException On i/o errors.
public void WriteIndentation(Stream result)
Parameters
result
StreamThe Stream to write to.
WriteListBeginning(Stream)
Writes the initialization part of the RtfList @throws IOException On i/o errors.
public void WriteListBeginning(Stream result)
Parameters
result
StreamThe Stream to write to
WriteListNumbers(Stream)
Writes only the list number and list level number. @throws IOException On i/o errors.
protected void WriteListNumbers(Stream result)
Parameters
result
StreamThe Stream to write to