content
Deprecated.
the content of a Table.
Element, PdfPTableEvent, TextElementArrayprivate intprivate floatprivate floatprivate floatprivate floatbackgroundColor, 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, useVariableBordersALIGN_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, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, FOOTNOTE, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MODIFICATIONDATE, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE, YMARKbooleanTextElementArray.voidaddElement(SimpleCell element) PdfTable object based on this TableAttributes object.intfloatfloatfloatgetWidth()floatbooleanvoidsetAlignment(int alignment) voidsetCellpadding(float cellpadding) voidsetCellspacing(float cellspacing) voidsetWidth(float width) voidsetWidthpercentage(float widthpercentage) voidtableLayout(PdfPTable table,
float[][] widths,
float[] heights,
int headerRows,
int rowStart,
PdfContentByte[] canvases) inttype()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, 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, toStringelement - an object of type SimpleCell that will be added in the tableBadElementException - on errorTable objectBadElementException - on errorPdfTable object based on this TableAttributes object.PdfTable objectDocumentException - on errorPdfPTableEventPdfContentByte contained in
canvases.canvases are:
PdfPTable.BASECANVAS - the original PdfContentByte. Anything placed here
will be under the table.
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 table.
The widths and heights have the coordinates of the cells.
The size of the widths array is the number of rows.
Each sub-array in widths corresponds to the x column border positions where
the first element is the x coordinate of the left table border and the last
element is the x coordinate of the right table border.
If colspan is not used all the sub-arrays in widths
are the same.
For the heights the first element is the y coordinate of the top table border and the last
element is the y coordinate of the bottom table border.
tableLayout in interface PdfPTableEventtable - the PdfPTable in usewidths - an array of arrays with the cells' x positions. It has the length of the number of rowsheights - an array with the cells' y positions. It has a length of the number of rows + 1headerRows - the number of rows defined for the header.rowStart - the first row number after the headercanvases - an array of PdfContentBytecellpadding - The cellpadding to set.cellspacing - The cellspacing to set.alignment - The alignment to set.Rectanglewidth - The width to set.widthpercentage - The widthpercentage to set.RectangleElementisNestable in interface ElementisNestable in class RectangleTextElementArrayTextElementArray.add in interface TextElementArrayo - an object that has to be addedtrue if the addition succeeded; false otherwise