C# Class iTextSharp.text.pdf.PdfPTable

Inheritance: ILargeElement, ISpaceable
Show file Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Protected Properties

Property Type Description
absoluteWidths float[]
complete bool
currentColIdx int
currentRow PdfPCell[]
defaultCell PdfPCell
headerRows int
isColspan bool
loopCheck bool
relativeWidths float[]
rowCompleted bool
rows List
runDirection int
spacingAfter float
spacingBefore float
tableEvent IPdfPTableEvent
totalHeight float
totalWidth float
widthPercentage float

Public Methods

Method Description
AddCell ( Image image ) : void
AddCell ( PdfPCell cell ) : void
AddCell ( PdfPTable table ) : void
AddCell ( Phrase phrase ) : void
AddCell ( String text ) : void
BeginWritingRows ( PdfContentByte canvas ) : iTextSharp.text.pdf.PdfContentByte[]
CalculateHeights ( ) : float
CompleteRow ( ) : void
DeleteBodyRows ( ) : void
DeleteLastRow ( ) : bool
DeleteRow ( int rowNumber ) : bool
EndWritingRows ( PdfContentByte canvases ) : void
FlushContent ( ) : void
GetRow ( int idx ) : PdfPRow
GetRowHeight ( int idx ) : float
GetRows ( int start, int end ) : List
GetRowspanHeight ( int rowIndex, int cellIndex ) : float
HasRowspan ( int rowIdx ) : bool
IsContent ( ) : bool
IsExtendLastRow ( bool newPageFollows ) : bool
IsNestable ( ) : bool
KeepRowsTogether ( int rows ) : void
KeepRowsTogether ( int start, int end ) : void
NormalizeHeadersFooters ( ) : void
PdfPTable ( PdfPTable table ) : System
PdfPTable ( float relativeWidths ) : System
PdfPTable ( int numColumns ) : System
Process ( IElementListener listener ) : bool
ResetColumnCount ( int newColCount ) : void
SetBreakPoints ( int breakPoints ) : void
SetExtendLastRow ( bool extendLastRows, bool extendFinalRow ) : void
SetTotalWidth ( float columnWidth ) : void
SetWidthPercentage ( float columnWidth, Rectangle pageSize ) : void
SetWidths ( float relativeWidths ) : void
SetWidths ( int relativeWidths ) : void
ShallowCopy ( PdfPTable table ) : PdfPTable
WriteSelectedRows ( int rowStart, int rowEnd, float xPos, float yPos, PdfContentByte canvases ) : float
WriteSelectedRows ( int colStart, int colEnd, int rowStart, int rowEnd, float xPos, float yPos, PdfContentByte canvases ) : float
WriteSelectedRows ( int colStart, int colEnd, int rowStart, int rowEnd, float xPos, float yPos, PdfContentByte canvases, bool reusable ) : float
getLastCompletedRowIndex ( ) : int

Protected Methods

Method Description
AdjustCellsInRow ( int start, int end ) : PdfPRow
CalculateWidths ( ) : void
CopyFormat ( PdfPTable sourceTable ) : void
GetRowHeight ( int idx, bool firsttime ) : float
PdfPTable ( ) : System

Private Methods

Method Description
CellAt ( int row, int col ) : PdfPCell
GetEventWidths ( float xPos, int firstRow, int lastRow, bool includeHeaders ) : float[][]
RowSpanAbove ( int currRow, int currCol ) : bool
SkipColsWithRowspanAbove ( ) : void

Method Details

AddCell() public method

public AddCell ( Image image ) : void
image Image
return void

AddCell() public method

public AddCell ( PdfPCell cell ) : void
cell PdfPCell
return void

AddCell() public method

public AddCell ( PdfPTable table ) : void
table PdfPTable
return void

AddCell() public method

public AddCell ( Phrase phrase ) : void
phrase iTextSharp.text.Phrase
return void

AddCell() public method

public AddCell ( String text ) : void
text String
return void

AdjustCellsInRow() protected method

protected AdjustCellsInRow ( int start, int end ) : PdfPRow
start int
end int
return PdfPRow

BeginWritingRows() public static method

public static BeginWritingRows ( PdfContentByte canvas ) : iTextSharp.text.pdf.PdfContentByte[]
canvas PdfContentByte
return iTextSharp.text.pdf.PdfContentByte[]

CalculateHeights() public method

public CalculateHeights ( ) : float
return float

CalculateWidths() protected method

protected CalculateWidths ( ) : void
return void

CompleteRow() public method

public CompleteRow ( ) : void
return void

CopyFormat() protected method

protected CopyFormat ( PdfPTable sourceTable ) : void
sourceTable PdfPTable
return void

DeleteBodyRows() public method

public DeleteBodyRows ( ) : void
return void

DeleteLastRow() public method

public DeleteLastRow ( ) : bool
return bool

DeleteRow() public method

public DeleteRow ( int rowNumber ) : bool
rowNumber int
return bool

EndWritingRows() public static method

public static EndWritingRows ( PdfContentByte canvases ) : void
canvases PdfContentByte
return void

FlushContent() public method

public FlushContent ( ) : void
return void

GetRow() public method

public GetRow ( int idx ) : PdfPRow
idx int
return PdfPRow

GetRowHeight() public method

public GetRowHeight ( int idx ) : float
idx int
return float

GetRowHeight() protected method

protected GetRowHeight ( int idx, bool firsttime ) : float
idx int
firsttime bool
return float

GetRows() public method

public GetRows ( int start, int end ) : List
start int
end int
return List

GetRowspanHeight() public method

public GetRowspanHeight ( int rowIndex, int cellIndex ) : float
rowIndex int
cellIndex int
return float

HasRowspan() public method

public HasRowspan ( int rowIdx ) : bool
rowIdx int
return bool

IsContent() public method

public IsContent ( ) : bool
return bool

IsExtendLastRow() public method

public IsExtendLastRow ( bool newPageFollows ) : bool
newPageFollows bool
return bool

IsNestable() public method

public IsNestable ( ) : bool
return bool

KeepRowsTogether() public method

public KeepRowsTogether ( int rows ) : void
rows int
return void

KeepRowsTogether() public method

public KeepRowsTogether ( int start, int end ) : void
start int
end int
return void

NormalizeHeadersFooters() public method

public NormalizeHeadersFooters ( ) : void
return void

PdfPTable() protected method

protected PdfPTable ( ) : System
return System

PdfPTable() public method

public PdfPTable ( PdfPTable table ) : System
table PdfPTable
return System

PdfPTable() public method

public PdfPTable ( float relativeWidths ) : System
relativeWidths float
return System

PdfPTable() public method

public PdfPTable ( int numColumns ) : System
numColumns int
return System

Process() public method

public Process ( IElementListener listener ) : bool
listener IElementListener
return bool

ResetColumnCount() public method

public ResetColumnCount ( int newColCount ) : void
newColCount int
return void

SetBreakPoints() public method

public SetBreakPoints ( int breakPoints ) : void
breakPoints int
return void

SetExtendLastRow() public method

public SetExtendLastRow ( bool extendLastRows, bool extendFinalRow ) : void
extendLastRows bool
extendFinalRow bool
return void

SetTotalWidth() public method

public SetTotalWidth ( float columnWidth ) : void
columnWidth float
return void

SetWidthPercentage() public method

public SetWidthPercentage ( float columnWidth, Rectangle pageSize ) : void
columnWidth float
pageSize Rectangle
return void

SetWidths() public method

public SetWidths ( float relativeWidths ) : void
relativeWidths float
return void

SetWidths() public method

public SetWidths ( int relativeWidths ) : void
relativeWidths int
return void

ShallowCopy() public static method

public static ShallowCopy ( PdfPTable table ) : PdfPTable
table PdfPTable
return PdfPTable

WriteSelectedRows() public method

public WriteSelectedRows ( int rowStart, int rowEnd, float xPos, float yPos, PdfContentByte canvases ) : float
rowStart int
rowEnd int
xPos float
yPos float
canvases PdfContentByte
return float

WriteSelectedRows() public method

public WriteSelectedRows ( int colStart, int colEnd, int rowStart, int rowEnd, float xPos, float yPos, PdfContentByte canvases ) : float
colStart int
colEnd int
rowStart int
rowEnd int
xPos float
yPos float
canvases PdfContentByte
return float

WriteSelectedRows() public method

public WriteSelectedRows ( int colStart, int colEnd, int rowStart, int rowEnd, float xPos, float yPos, PdfContentByte canvases, bool reusable ) : float
colStart int
colEnd int
rowStart int
rowEnd int
xPos float
yPos float
canvases PdfContentByte
reusable bool
return float

getLastCompletedRowIndex() public method

public getLastCompletedRowIndex ( ) : int
return int

Property Details

absoluteWidths protected property

protected float[] absoluteWidths
return float[]

complete protected property

protected bool complete
return bool

currentColIdx protected property

protected int currentColIdx
return int

currentRow protected property

protected PdfPCell[] currentRow
return PdfPCell[]

defaultCell protected property

protected PdfPCell defaultCell
return PdfPCell

headerRows protected property

protected int headerRows
return int

isColspan protected property

protected bool isColspan
return bool

loopCheck protected property

protected bool loopCheck
return bool

relativeWidths protected property

protected float[] relativeWidths
return float[]

rowCompleted protected property

protected bool rowCompleted
return bool

rows protected property

protected List rows
return List

runDirection protected property

protected int runDirection
return int

spacingAfter protected property

protected float spacingAfter
return float

spacingBefore protected property

protected float spacingBefore
return float

tableEvent protected property

protected IPdfPTableEvent tableEvent
return IPdfPTableEvent

totalHeight protected property

protected float totalHeight
return float

totalWidth protected property

protected float totalWidth
return float

widthPercentage protected property

protected float widthPercentage
return float