HiraokaHyperTools.iTextSharp-LGPL  0.2.5
iTextSharp.text.Row Class Reference

A Row is part of a Table and contains some Cells. More...

Inheritance diagram for iTextSharp.text.Row:
iTextSharp.text.IElement

Public Member Functions

bool Process (IElementListener listener)
 Processes the element by adding it (or the different parts) to a IElementListener. More...
 
bool IsContent ()
 
bool IsNestable ()
 
Object GetCell (int column)
 Gets a Cell or Table from a certain column. More...
 
bool IsEmpty ()
 Checks if the row is empty. More...
 
override string ToString ()
 Gets the content of the text element. More...
 

Static Public Attributes

static int NULL = 0
 id of a null element in a Row More...
 
static int CELL = 1
 id of the Cell element in a Row More...
 
static int TABLE = 2
 id of the Table element in a Row More...
 

Protected Attributes

int columns
 This is the number of columns in the Row. More...
 
int currentColumn
 This is a valid position the Row. More...
 
bool[] reserved
 This is the array that keeps track of reserved cells. More...
 
Object[] cells
 This is the array of Objects (Cell or Table). More...
 
int horizontalAlignment
 This is the horizontal alignment. More...
 

Properties

int Type [get]
 Gets the type of the text element. More...
 
ArrayList Chunks [get]
 Gets all the chunks in this element. More...
 
int Columns [get]
 Gets the number of columns. More...
 
int HorizontalAlignment [get, set]
 Gets the horizontal Element. More...
 
- Properties inherited from iTextSharp.text.IElement
int Type [get]
 Gets the type of the text element. More...
 
ArrayList Chunks [get]
 Gets all the chunks in this element. More...
 

Detailed Description

A Row is part of a Table and contains some Cells.

All Rows are constructed by a Table-object. You don't have to construct any Row yourself. In fact you can't construct a Row outside the package.

Since a Cell can span several rows and/or columns a row can contain reserved space without any content.

See also
T:iTextSharp.text.Element, T:iTextSharp.text.Cell, T:iTextSharp.text.Table

Member Function Documentation

◆ GetCell()

Object iTextSharp.text.Row.GetCell ( int  column)

Gets a Cell or Table from a certain column.

Parameters
columnthe column the Cell/Table is in.
Returns
the Cell,Table or Object if the column was reserved or null if empty.

◆ IsContent()

bool iTextSharp.text.Row.IsContent ( )
See also
com.lowagie.text.Element::isContent()
Since
iText 2.0.8

Implements iTextSharp.text.IElement.

◆ IsEmpty()

bool iTextSharp.text.Row.IsEmpty ( )

Checks if the row is empty.

Returns
true if none of the columns is reserved.

◆ IsNestable()

bool iTextSharp.text.Row.IsNestable ( )
See also
com.lowagie.text.Element::isNestable()
Since
iText 2.0.8

Implements iTextSharp.text.IElement.

◆ Process()

bool iTextSharp.text.Row.Process ( IElementListener  listener)

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

Parameters
listeneran IElementListener
Returns
true if the element was processed successfully

Implements iTextSharp.text.IElement.

◆ ToString()

override string iTextSharp.text.Row.ToString ( )

Gets the content of the text element.

Returns
the content of the text element

Implements iTextSharp.text.IElement.

Member Data Documentation

◆ CELL

int iTextSharp.text.Row.CELL = 1
static

id of the Cell element in a Row

◆ cells

Object [] iTextSharp.text.Row.cells
protected

This is the array of Objects (Cell or Table).

◆ columns

int iTextSharp.text.Row.columns
protected

This is the number of columns in the Row.

◆ currentColumn

int iTextSharp.text.Row.currentColumn
protected

This is a valid position the Row.

◆ horizontalAlignment

int iTextSharp.text.Row.horizontalAlignment
protected

This is the horizontal alignment.

◆ NULL

int iTextSharp.text.Row.NULL = 0
static

id of a null element in a Row

◆ reserved

bool [] iTextSharp.text.Row.reserved
protected

This is the array that keeps track of reserved cells.

◆ TABLE

int iTextSharp.text.Row.TABLE = 2
static

id of the Table element in a Row

Property Documentation

◆ Chunks

ArrayList iTextSharp.text.Row.Chunks
get

Gets all the chunks in this element.

an ArrayList

◆ Columns

int iTextSharp.text.Row.Columns
get

Gets the number of columns.

a value

◆ HorizontalAlignment

int iTextSharp.text.Row.HorizontalAlignment
getset

Gets the horizontal Element.

a value

◆ Type

int iTextSharp.text.Row.Type
get

Gets the type of the text element.

a type


The documentation for this class was generated from the following file: