public abstract class ChunkDrawer
extends java.lang.Object
implements com.itextpdf.text.pdf.PdfPTableEvent
PdfContentByte).
Those are scheduled for rendering and will be invoqued (renderImpl(com.itextpdf.text.Rectangle, com.itextpdf.text.pdf.PdfContentByte))
when iText is actually rendering the corresponding block.| Constructor and Description |
|---|
ChunkDrawer(PDFCustomBlocks customBlocks) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAbsoluteDrawer(PDFCustomBlocks.AbsoluteDrawer chunkDrawer) |
void |
render(com.itextpdf.text.Rectangle rectangle,
com.itextpdf.text.pdf.PdfContentByte dc) |
abstract void |
renderImpl(com.itextpdf.text.Rectangle rectangle,
com.itextpdf.text.pdf.PdfContentByte dc) |
void |
tableLayout(com.itextpdf.text.pdf.PdfPTable table,
float[][] widths,
float[] heights,
int headerRows,
int rowStart,
com.itextpdf.text.pdf.PdfContentByte[] canvases) |
public ChunkDrawer(PDFCustomBlocks customBlocks)
public void tableLayout(com.itextpdf.text.pdf.PdfPTable table,
float[][] widths,
float[] heights,
int headerRows,
int rowStart,
com.itextpdf.text.pdf.PdfContentByte[] canvases)
tableLayout in interface com.itextpdf.text.pdf.PdfPTableEventpublic final void render(com.itextpdf.text.Rectangle rectangle,
com.itextpdf.text.pdf.PdfContentByte dc)
public abstract void renderImpl(com.itextpdf.text.Rectangle rectangle,
com.itextpdf.text.pdf.PdfContentByte dc)
public void addAbsoluteDrawer(PDFCustomBlocks.AbsoluteDrawer chunkDrawer)