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