content
the content of the Cell.
Element
, PdfPCellEvent
, TextElementArray
static final boolean
private boolean
private int
private int
private float
private float
private float
private float
static final boolean
private float
private float
private float
private float
protected boolean
protected boolean
protected boolean
private int
private float
private float
backgroundColor, border, borderColor, borderColorBottom, borderColorLeft, borderColorRight, borderColorTop, borderWidth, borderWidthBottom, borderWidthLeft, borderWidthRight, borderWidthTop, BOTTOM, BOX, LEFT, llx, lly, NO_BORDER, offsetToTop, RIGHT, rotation, TOP, UNDEFINED, urx, ury, useVariableBorders
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CHAPTER, CHUNK, CREATIONDATE, CREATOR, FOOTNOTE, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MODIFICATIONDATE, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, SECTION, SUBJECT, TABLE, TITLE, YMARK
SimpleCell(boolean row)
boolean
TextElementArray
.void
addElement(Element element)
void
cellLayout(PdfPCell cell,
Rectangle position,
PdfContentByte[] canvases)
createCell(SimpleCell rowAttributes)
createPdfPCell(SimpleCell rowAttributes)
int
int
float
float
float
float
float
float
float
float
int
float
getWidth()
float
boolean
boolean
boolean
boolean
void
setCellgroup(boolean cellgroup)
void
setColspan(int colspan)
void
setHorizontalAlignment(int horizontalAlignment)
void
setPadding(float padding)
void
setPadding_bottom(float padding_bottom)
void
setPadding_left(float padding_left)
void
setPadding_right(float padding_right)
void
setPadding_top(float padding_top)
void
setSpacing(float spacing)
void
setSpacing_bottom(float spacing)
void
setSpacing_left(float spacing)
void
setSpacing_right(float spacing)
void
setSpacing_top(float spacing)
void
setUseAscender(boolean useAscender)
void
setUseBorderPadding(boolean useBorderPadding)
void
setUseDescender(boolean useDescender)
void
setVerticalAlignment(int verticalAlignment)
void
setWidth(float width)
void
setWidthpercentage(float widthpercentage)
int
type()
cloneNonPositionParameters, disableBorderSide, enableBorderSide, getBackgroundColor, getBorder, getBorderColor, getBorderColorBottom, getBorderColorLeft, getBorderColorRight, getBorderColorTop, getBorderWidth, getBorderWidthBottom, getBorderWidthLeft, getBorderWidthRight, getBorderWidthTop, getBottom, getBottom, getChunks, getGrayFill, getHeight, getLeft, getLeft, getRelativeTop, getRight, getRight, getRotation, getTop, getTop, hasBorder, hasBorders, isContent, isNestable, isUseVariableBorders, normalize, process, rectangle, rotate, setBackgroundColor, setBorder, setBorderColor, setBorderColorBottom, setBorderColorLeft, setBorderColorRight, setBorderColorTop, setBorderWidth, setBorderWidthBottom, setBorderWidthLeft, setBorderWidthRight, setBorderWidthTop, setBottom, setGrayFill, setLeft, setRelativeTop, setRight, setRotation, setTop, setUseVariableBorders, softCloneNonPositionParameters, toString
row
- only true if the CellAttributes object represents a row.element
- an object of type Element
that you want to add to the cellBadElementException
- on errorrowAttributes
- an object of type SimpleCell
whose attributes are to be used to create new cellBadElementException
- on errorrowAttributes
- an object of type SimpleCell
whose attributes are to be used to create new cellPdfPCellEvent
PdfContentByte
contained in
canvases
.canvases
are:
PdfPTable.BASECANVAS
- the original PdfContentByte
. Anything placed here
will be under the cell.
PdfPTable.BACKGROUNDCANVAS
- the layer where the background goes to.
PdfPTable.LINECANVAS
- the layer where the lines go to.
PdfPTable.TEXTCANVAS
- the layer where the text go to. Anything placed here
will be over the cell.
cellLayout
in interface PdfPCellEvent
cell
- the cellposition
- the coordinates of the cellcanvases
- an array of PdfContentByte
padding
- padding that will be setcolspan
- The colspan to set.padding_bottom
- The padding_bottom to set.padding_left
- The padding_left to set.padding_right
- The padding_right to set.padding_top
- The padding_top to set.spacing
- The spacing to set.spacing
- The spacing to set.spacing
- The spacing to set.spacing
- The spacing to set.spacing
- The spacing to set.cellgroup
- The cellgroup to set.horizontalAlignment
- The horizontalAlignment to set.verticalAlignment
- The verticalAligment to set.Rectangle
width
- The width to set.widthpercentage
- The widthpercentage to set.useAscender
- The useAscender to set.useBorderPadding
- The useBorderPadding to set.useDescender
- The useDescender to set.TextElementArray
TextElementArray
.add
in interface TextElementArray
o
- an object that has to be addedtrue
if the addition succeeded; false
otherwiseRectangle