- java.lang.Object
-
- com.itextpdf.text.Rectangle
-
- com.itextpdf.text.pdf.PdfTable
-
-
Field Summary
Fields Modifier and Type Field Description protected float[]positionsCached column widths.protected TabletableOriginal table used to build this object-
Fields inherited from class com.itextpdf.text.Rectangle
backgroundColor, border, borderColor, borderColorBottom, borderColorLeft, borderColorRight, borderColorTop, borderWidth, borderWidthBottom, borderWidthLeft, borderWidthRight, borderWidthTop, BOTTOM, BOX, LEFT, llx, lly, NO_BORDER, RIGHT, rotation, TOP, UNDEFINED, urx, ury, useVariableBorders
-
Fields inherited from interface com.itextpdf.text.Element
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, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE, YMARK
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetOffset()Gets the offset of this table.booleanhasToFitPageCells()Checks if the cells of thisTablehave to fit a page.booleanhasToFitPageTable()Checks if thisTablehas to fit a page.inttype()Gets the type of the text element.-
Methods inherited from class com.itextpdf.text.Rectangle
cloneNonPositionParameters, disableBorderSide, enableBorderSide, getBackgroundColor, getBorder, getBorderColor, getBorderColorBottom, getBorderColorLeft, getBorderColorRight, getBorderColorTop, getBorderWidth, getBorderWidthBottom, getBorderWidthLeft, getBorderWidthRight, getBorderWidthTop, getBottom, getBottom, getChunks, getGrayFill, getHeight, getLeft, getLeft, getRight, getRight, getRotation, getTop, getTop, getWidth, hasBorder, hasBorders, isContent, isNestable, isUseVariableBorders, normalize, process, rectangle, rotate, setBackgroundColor, setBorder, setBorderColor, setBorderColorBottom, setBorderColorLeft, setBorderColorRight, setBorderColorTop, setBorderWidth, setBorderWidthBottom, setBorderWidthLeft, setBorderWidthRight, setBorderWidthTop, setBottom, setGrayFill, setLeft, setRight, setTop, setUseVariableBorders, softCloneNonPositionParameters, toString
-
-
-
-
Field Detail
-
table
protected Table table
Original table used to build this object
-
positions
protected float[] positions
Cached column widths.
-
-
Method Detail
-
type
public int type()
Description copied from class:RectangleGets the type of the text element.- Specified by:
typein interfaceElement- Overrides:
typein classRectangle- Returns:
- a type
- See Also:
Element.type()
-
hasToFitPageTable
public final boolean hasToFitPageTable()
Checks if thisTablehas to fit a page.- Returns:
- true if the table may not be split
-
hasToFitPageCells
public final boolean hasToFitPageCells()
Checks if the cells of thisTablehave to fit a page.- Returns:
- true if the cells may not be split
-
getOffset
public float getOffset()
Gets the offset of this table.- Returns:
- the space between this table and the previous element.
-
-