C# Class iTextSharp.text.List

A List contains several ListItems.
Inheritance: ITextElementArray, IIndentable
ファイルを表示 Open project: red-gate/iTextSharp-4.1.6 Class Usage Examples

Protected Properties

Property Type Description
alignindent bool
autoindent bool
first int
indentationLeft float
indentationRight float
lettered bool
list ArrayList
lowercase bool
numbered bool
postSymbol String
preSymbol String
symbol Chunk
symbolIndent float

Public Methods

Method Description
Add ( Object o ) : bool

Adds an Object to the List.

IsContent ( ) : bool
IsEmpty ( ) : bool
IsNestable ( ) : bool
List ( ) : System
List ( bool numbered ) : System
List ( bool numbered, bool lettered ) : System
List ( bool numbered, bool lettered, float symbolIndent ) : System

Constructs a List.

List ( bool numbered, float symbolIndent ) : System

Constructs a List.

the parameter symbolIndent is important for instance when generating PDF-documents; it indicates the indentation of the listsymbol.

List ( float symbolIndent ) : System
NormalizeIndentation ( ) : void
Process ( IElementListener listener ) : bool

Processes the element by adding it (or the different parts) to an IElementListener.

SetListSymbol ( string symbol ) : void

Sets the listsymbol.

This is a shortcut for SetListSymbol(Chunk symbol).

getPostSymbol ( ) : String

Method Details

Add() public method

Adds an Object to the List.
public Add ( Object o ) : bool
o Object the object to add
return bool

IsContent() public method

public IsContent ( ) : bool
return bool

IsEmpty() public method

public IsEmpty ( ) : bool
return bool

IsNestable() public method

public IsNestable ( ) : bool
return bool

List() public method

public List ( ) : System
return System

List() public method

public List ( bool numbered ) : System
numbered bool
return System

List() public method

public List ( bool numbered, bool lettered ) : System
numbered bool
lettered bool
return System

List() public method

Constructs a List.
public List ( bool numbered, bool lettered, float symbolIndent ) : System
numbered bool a bool
lettered bool a bool
symbolIndent float the indentation that has to be used for the listsymbol
return System

List() public method

Constructs a List.
the parameter symbolIndent is important for instance when generating PDF-documents; it indicates the indentation of the listsymbol.
public List ( bool numbered, float symbolIndent ) : System
numbered bool a bool
symbolIndent float the indentation that has to be used for the listsymbol
return System

List() public method

public List ( float symbolIndent ) : System
symbolIndent float
return System

NormalizeIndentation() public method

public NormalizeIndentation ( ) : void
return void

Process() public method

Processes the element by adding it (or the different parts) to an IElementListener.
public Process ( IElementListener listener ) : bool
listener IElementListener an IElementListener
return bool

SetListSymbol() public method

Sets the listsymbol.
This is a shortcut for SetListSymbol(Chunk symbol).
public SetListSymbol ( string symbol ) : void
symbol string a string
return void

getPostSymbol() public method

public getPostSymbol ( ) : String
return String

Property Details

alignindent protected_oe property

protected bool alignindent
return bool

autoindent protected_oe property

protected bool autoindent
return bool

first protected_oe property

This variable indicates the first number of a numbered list.
protected int first
return int

indentationLeft protected_oe property

The indentation of this list on the left side.
protected float indentationLeft
return float

indentationRight protected_oe property

The indentation of this list on the right side.
protected float indentationRight
return float

lettered protected_oe property

protected bool lettered
return bool

list protected_oe property

This is the ArrayList containing the different ListItems.
protected ArrayList list
return ArrayList

lowercase protected_oe property

protected bool lowercase
return bool

numbered protected_oe property

protected bool numbered
return bool

postSymbol protected_oe property

protected String postSymbol
return String

preSymbol protected_oe property

protected String preSymbol
return String

symbol protected_oe property

This is the listsymbol of a list that is not numbered.
protected Chunk,iTextSharp.text symbol
return Chunk

symbolIndent protected_oe property

The indentation of the listitems.
protected float symbolIndent
return float