com.lowagie.text.pdf
public class PdfPRow extends Object
Field Summary | |
---|---|
static float | BOTTOM_LIMIT the bottom limit (bottom right y) |
protected boolean | calculated |
int[] | canvasesPos |
protected PdfPCell[] | cells |
protected float | maxHeight |
protected float[] | widths |
Constructor Summary | |
---|---|
PdfPRow(PdfPCell[] cells)
Constructs a new PdfPRow with the cells in the array that was passed as a parameter. | |
PdfPRow(PdfPRow row)
Makes a copy of an existing row. |
Method Summary | |
---|---|
float | calculateHeights()
Calculates the heights of each cell in the row. |
PdfPCell[] | getCells()
Returns the array of cells in the row.
|
float[] | getEventWidth(float xPos) |
float | getMaxHeights()
Gets the maximum height of the row (i.e. of the 'highest' cell). |
boolean | isCalculated()
Checks if the dimensions of the columns were calculated. |
void | restoreCanvases(PdfContentByte[] canvases) |
void | saveAndRotateCanvases(PdfContentByte[] canvases, float a, float b, float c, float d, float e, float f) |
float | setColumn(ColumnText ct, float llx, float lly, float urx, float ury) |
void | setMaxHeights(float maxHeight)
Changes the maximum height of the row (to make it higher).
(added by Jin-Hsia Yang) |
boolean | setWidths(float[] widths)
Sets the widths of the columns in the row. |
PdfPRow | splitRow(float newHeight)
Splits a row to newHeight. |
void | writeBorderAndBackground(float xPos, float yPos, PdfPCell cell, PdfContentByte[] canvases)
Writes the border and background of one cell in the row. |
void | writeCells(int colStart, int colEnd, float xPos, float yPos, PdfContentByte[] canvases)
Writes a number of cells (not necessarily all cells). |
Parameters: cells
Parameters: row
Returns: the maximum height of the row.
Returns: an array of cells
Since: 2.1.1
Returns: the maximum height of the row
Returns: true if the dimensions of the columns were calculated
Parameters: maxHeight the new maximum height
Parameters: widths
Returns: true if everything went right
Parameters: newHeight the new height
Returns: the remainder row or null if the newHeight was so small that only an empty row would result
Parameters: xPos yPos cell canvases
Parameters: colStart colEnd xPos yPos canvases