Package com.lowagie.text.pdf
Class PdfDocument.RenderingContext
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description (package private) PdfContentByte
cellGraphics
(package private) float
lostTableBottom
(package private) float
maxCellBottom
(package private) float
maxCellHeight
(package private) float
oldHeight
(package private) java.util.Map<java.lang.Integer,java.util.Set<PdfCell>>
pageCellSetMap
(package private) java.util.Map<PdfCell,java.lang.Integer>
pageMap
(package private) float
pagetop
(package private) java.util.Map<PdfCell,java.lang.Integer>
rowspanMap
PdfTable
table
A PdfPTable
-
Constructor Summary
Constructors Modifier Constructor Description protected
RenderingContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
cellRendered(PdfCell cell, int pageNumber)
int
consumeRowspan(PdfCell c)
Consumes the rowspanint
currentRowspan(PdfCell c)
Looks at the current rowspan.boolean
isCellRenderedOnPage(PdfCell cell, int pageNumber)
int
numCellRendered(PdfCell cell)
-
-
-
Field Detail
-
table
public PdfTable table
A PdfPTable
-
pagetop
float pagetop
-
oldHeight
float oldHeight
-
cellGraphics
PdfContentByte cellGraphics
-
lostTableBottom
float lostTableBottom
-
maxCellBottom
float maxCellBottom
-
maxCellHeight
float maxCellHeight
-
rowspanMap
java.util.Map<PdfCell,java.lang.Integer> rowspanMap
-
pageMap
java.util.Map<PdfCell,java.lang.Integer> pageMap
-
pageCellSetMap
java.util.Map<java.lang.Integer,java.util.Set<PdfCell>> pageCellSetMap
-
-
Method Detail
-
consumeRowspan
public int consumeRowspan(PdfCell c)
Consumes the rowspan- Parameters:
c
- pdf cell- Returns:
- a rowspan.
-
currentRowspan
public int currentRowspan(PdfCell c)
Looks at the current rowspan.- Parameters:
c
- cell- 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)
-
-