com.lowagie.text.pdf
Class PdfDocument.RenderingContext

java.lang.Object
  extended by com.lowagie.text.pdf.PdfDocument.RenderingContext
Enclosing class:
PdfDocument

protected static class PdfDocument.RenderingContext
extends java.lang.Object

This is a helper class for adding a Table to a document.

Since:
2.0.8 (PdfDocument was package-private before)

Field Summary
 PdfTable table
          A PdfPTable
 
Constructor Summary
protected PdfDocument.RenderingContext()
           
 
Method Summary
 int cellRendered(PdfCell cell, int pageNumber)
           
 int consumeRowspan(PdfCell c)
          Consumes the rowspan
 int currentRowspan(PdfCell c)
          Looks at the current rowspan.
 boolean isCellRenderedOnPage(PdfCell cell, int pageNumber)
           
 int numCellRendered(PdfCell cell)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

public PdfTable table
A PdfPTable

Constructor Detail

PdfDocument.RenderingContext

protected PdfDocument.RenderingContext()
Method Detail

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

cellRendered

public int cellRendered(PdfCell cell,
                        int pageNumber)

numCellRendered

public int numCellRendered(PdfCell cell)

isCellRenderedOnPage

public boolean isCellRenderedOnPage(PdfCell cell,
                                    int pageNumber)


iText 2.1.7