Table of Contents

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 RtfDocument
parent 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

int

LIST_LEVEL_FOLLOW_SPACE

public const int LIST_LEVEL_FOLLOW_SPACE = 1

Field Value

int

LIST_LEVEL_FOLLOW_TAB

public const int LIST_LEVEL_FOLLOW_TAB = 0

Field Value

int

LIST_TYPE_ARABIC

public const int LIST_TYPE_ARABIC = 1000

Field Value

int

LIST_TYPE_ARABIC_LEADING_ZERO

public const int LIST_TYPE_ARABIC_LEADING_ZERO = 1022

Field Value

int

LIST_TYPE_BASE

public const int LIST_TYPE_BASE = 1000

Field Value

int

LIST_TYPE_BULLET

public const int LIST_TYPE_BULLET = 1023

Field Value

int

LIST_TYPE_CARDINAL_TEXT_NUMBER

public const int LIST_TYPE_CARDINAL_TEXT_NUMBER = 1006

Field Value

int

LIST_TYPE_LOWERCASE_LETTER

public const int LIST_TYPE_LOWERCASE_LETTER = 1004

Field Value

int

LIST_TYPE_LOWERCASE_ROMAN_NUMERAL

public const int LIST_TYPE_LOWERCASE_ROMAN_NUMERAL = 1002

Field Value

int

LIST_TYPE_LOWER_LETTERS

public const int LIST_TYPE_LOWER_LETTERS = 3

Field Value

int

LIST_TYPE_LOWER_ROMAN

public const int LIST_TYPE_LOWER_ROMAN = 5

Field Value

int

LIST_TYPE_NO_NUMBER

public const int LIST_TYPE_NO_NUMBER = 1255

Field Value

int

LIST_TYPE_NUMBERED

public const int LIST_TYPE_NUMBERED = 1

Field Value

int

LIST_TYPE_ORDINAL_NUMBER

public const int LIST_TYPE_ORDINAL_NUMBER = 1005

Field Value

int

LIST_TYPE_ORDINAL_TEXT_NUMBER

public const int LIST_TYPE_ORDINAL_TEXT_NUMBER = 1007

Field Value

int

LIST_TYPE_UNKNOWN

public const int LIST_TYPE_UNKNOWN = -1

Field Value

int

LIST_TYPE_UPPERCASE_LETTER

public const int LIST_TYPE_UPPERCASE_LETTER = 1003

Field Value

int

LIST_TYPE_UPPERCASE_ROMAN_NUMERAL

public const int LIST_TYPE_UPPERCASE_ROMAN_NUMERAL = 1001

Field Value

int

LIST_TYPE_UPPER_LETTERS

public const int LIST_TYPE_UPPER_LETTERS = 2

Field Value

int

LIST_TYPE_UPPER_ROMAN

public const int LIST_TYPE_UPPER_ROMAN = 4

Field Value

int

Methods

CorrectIndentation()

Correct the indentation of this level

protected void CorrectIndentation()

GetAlignment()

public int GetAlignment()

Returns

int

the alignment

GetBulletCharacter()

public string GetBulletCharacter()

Returns

string

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 int

the alignment to set

SetBulletCharacter(string)

public void SetBulletCharacter(string bulletCharacter)

Parameters

bulletCharacter string

the 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 int

the firstIndent to set

SetFontBullet(RtfFont)

public void SetFontBullet(RtfFont fontBullet)

Parameters

fontBullet RtfFont

the fontBullet to set

SetFontNumber(RtfFont)

public void SetFontNumber(RtfFont fontNumber)

Parameters

fontNumber RtfFont

the fontNumber to set

SetLeftIndent(int)

public void SetLeftIndent(int leftIndent)

Parameters

leftIndent int

the leftIndent to set

SetLegal(bool)

public void SetLegal(bool isLegal)

Parameters

isLegal bool

the isLegal to set

SetLevelFollowValue(int)

public void SetLevelFollowValue(int levelFollowValue)

Parameters

levelFollowValue int

the levelFollowValue to set

SetLevelTextNumber(int)

public void SetLevelTextNumber(int levelTextNumber)

Parameters

levelTextNumber int

the levelTextNumber to set

SetListLevel(int)

Sets the list level of this RtfList.

public void SetListLevel(int listLevel)

Parameters

listLevel int

The list level to set.

SetListLevelParent(RtfListLevel)

public void SetListLevelParent(RtfListLevel listLevelParent)

Parameters

listLevelParent RtfListLevel

the listLevelParent to set

SetListNoRestart(int)

public void SetListNoRestart(int listNoRestart)

Parameters

listNoRestart int

the listNoRestart to set

SetListStartAt(int)

public void SetListStartAt(int listStartAt)

Parameters

listStartAt int

the listStartAt to set

SetListType(int)

public void SetListType(int listType)

Parameters

listType int

the listType to set

SetParent(RtfList)

public void SetParent(RtfList parent)

Parameters

parent RtfList

the parent to set

SetRightIndent(int)

public void SetRightIndent(int rightIndent)

Parameters

rightIndent int

the rightIndent to set

SetSymbolIndent(int)

public void SetSymbolIndent(int symbolIndent)

Parameters

symbolIndent int

the symbolIndent to set

SetTentative(bool)

public void SetTentative(bool isTentative)

Parameters

isTentative bool

the 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 Stream

The 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 Stream

The 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 Stream

The Stream to write to