- java.lang.Object
-
- com.itextpdf.text.pdf.PdfDocument.RenderingContext
-
- Enclosing class:
- PdfDocument
protected static class PdfDocument.RenderingContext extends java.lang.ObjectThis is a helper class for adding a Table to a document.- Since:
- 2.0.8 (PdfDocument was package-private before)
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRenderingContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcellRendered(PdfCell cell, int pageNumber)intconsumeRowspan(PdfCell c)Consumes the rowspanintcurrentRowspan(PdfCell c)Looks at the current rowspan.booleanisCellRenderedOnPage(PdfCell cell, int pageNumber)intnumCellRendered(PdfCell cell)
-
-
-
Field Detail
-
table
public PdfTable table
A PdfPTable
-
-
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)
-
-