com.lowagie.text.pdf

Class PdfDocument.RenderingContext

private static class PdfDocument.RenderingContext extends Object

This is a helper class for adding a Table to a document.
Field Summary
PdfContentBytecellGraphics
floatlostTableBottom
floatmaxCellBottom
floatmaxCellHeight
floatoldHeight
MappageMap
floatpagetop
MaprowspanMap
PdfTabletable
A PdfPTable
Method Summary
intcellRendered(PdfCell cell, int pageNumber)
intconsumeRowspan(PdfCell c)
Consumes the rowspan
intcurrentRowspan(PdfCell c)
Looks at the current rowspan.
booleanisCellRenderedOnPage(PdfCell cell, int pageNumber)
intnumCellRendered(PdfCell cell)

Field Detail

cellGraphics

PdfContentByte cellGraphics

lostTableBottom

float lostTableBottom

maxCellBottom

float maxCellBottom

maxCellHeight

float maxCellHeight

oldHeight

float oldHeight

pageMap

Map pageMap

pagetop

float pagetop

rowspanMap

Map rowspanMap

table

public PdfTable table
A PdfPTable

Method Detail

cellRendered

public int cellRendered(PdfCell cell, int pageNumber)

consumeRowspan

public int consumeRowspan(PdfCell c)
Consumes the rowspan

Parameters: c

Returns: a rowspan.

currentRowspan

public int currentRowspan(PdfCell c)
Looks at the current rowspan.

Parameters: c

Returns: the current rowspan

isCellRenderedOnPage

public boolean isCellRenderedOnPage(PdfCell cell, int pageNumber)

numCellRendered

public int numCellRendered(PdfCell cell)