public class ExtendedPdfPTable extends com.lowagie.text.pdf.PdfPTable implements IITextContainer
absoluteWidths, BACKGROUNDCANVAS, BASECANVAS, complete, currentRow, currentRowIdx, defaultCell, headerRows, isColspan, LINECANVAS, relativeWidths, rowCompleted, rows, runDirection, spacingAfter, spacingBefore, tableEvent, TEXTCANVAS, totalHeight, totalWidth, widthPercentageALIGN_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| Constructor and Description |
|---|
ExtendedPdfPTable(int numColumns) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCell(com.lowagie.text.Image image) |
void |
addCell(com.lowagie.text.pdf.PdfPCell cell) |
void |
addCell(com.lowagie.text.pdf.PdfPTable table) |
void |
addCell(com.lowagie.text.Phrase phrase) |
void |
addCell(java.lang.String text) |
void |
addElement(com.lowagie.text.Element element) |
void |
finishRow()
Add last row to rows if not already present.
|
com.lowagie.text.Element |
getElement() |
IITextContainer |
getITextContainer() |
float |
getRowHeight(int idx) |
float |
getRowHeight(int idx,
boolean firsttime)
Gets the height of a particular row.
|
boolean |
isEmpty() |
void |
setITextContainer(IITextContainer container) |
void |
setPadding(float padding)
Sets the padding of the contents in the cell (space between content and border).
|
void |
setPaddingBottom(float paddingBottom)
Setter for property paddingBottom.
|
void |
setPaddingLeft(float paddingLeft)
Setter for property paddingLeft.
|
void |
setPaddingRight(float paddingRight)
Setter for property paddingRight.
|
void |
setPaddingTop(float paddingTop)
Setter for property paddingTop.
|
adjustCellsInRow, beginWritingRows, calculateHeights, calculateHeightsFast, calculateWidths, completeRow, copyFormat, deleteBodyRows, deleteLastRow, deleteRow, endWritingRows, flushContent, getAbsoluteWidths, getChunks, getDefaultCell, getFooterHeight, getFooterRows, getHeaderHeight, getHeaderRows, getHorizontalAlignment, getKeepTogether, getNumberOfColumns, getRow, getRows, getRows, getRowspanHeight, getRunDirection, getTableEvent, getTotalHeight, getTotalWidth, getWidthPercentage, isComplete, isContent, isExtendLastRow, isHeadersInEvent, isLockedWidth, isNestable, isSkipFirstHeader, isSkipLastFooter, isSplitLate, isSplitRows, process, setComplete, setExtendLastRow, setFooterRows, setHeaderRows, setHeadersInEvent, setHorizontalAlignment, setKeepTogether, setLockedWidth, setRunDirection, setSkipFirstHeader, setSkipLastFooter, setSpacingAfter, setSpacingBefore, setSplitLate, setSplitRows, setTableEvent, setTotalWidth, setTotalWidth, setWidthPercentage, setWidthPercentage, setWidths, setWidths, shallowCopy, size, spacingAfter, spacingBefore, type, writeSelectedRows, writeSelectedRows, writeSelectedRows, writeSelectedRowspublic void addElement(com.lowagie.text.Element element)
addElement in interface IITextContainerpublic IITextContainer getITextContainer()
getITextContainer in interface IITextElementpublic void setITextContainer(IITextContainer container)
setITextContainer in interface IITextElementpublic float getRowHeight(int idx)
getRowHeight in class com.lowagie.text.pdf.PdfPTablepublic float getRowHeight(int idx,
boolean firsttime)
getRowHeight in class com.lowagie.text.pdf.PdfPTableidx - the row index (starts at 0)firsttime - is this the first time the row heigh is calculated?public void addCell(com.lowagie.text.Image image)
addCell in class com.lowagie.text.pdf.PdfPTablepublic void addCell(com.lowagie.text.pdf.PdfPCell cell)
addCell in class com.lowagie.text.pdf.PdfPTablepublic void addCell(com.lowagie.text.pdf.PdfPTable table)
addCell in class com.lowagie.text.pdf.PdfPTablepublic void addCell(com.lowagie.text.Phrase phrase)
addCell in class com.lowagie.text.pdf.PdfPTablepublic void addCell(java.lang.String text)
addCell in class com.lowagie.text.pdf.PdfPTablepublic void finishRow()
public boolean isEmpty()
public void setPadding(float padding)
padding - public void setPaddingLeft(float paddingLeft)
paddingLeft - New value of property paddingLeft.public void setPaddingRight(float paddingRight)
paddingRight - New value of property paddingRight.public void setPaddingBottom(float paddingBottom)
paddingBottom - New value of property paddingBottom.public void setPaddingTop(float paddingTop)
paddingTop - New value of property paddingTop.public com.lowagie.text.Element getElement()
Copyright © 2022. All Rights Reserved.