public class TableWrapper extends Object implements IWrapElement
table
element.
Constructor and Description |
---|
TableWrapper() |
TableWrapper(boolean isRtl) |
Modifier and Type | Method and Description |
---|---|
void |
addCell(com.itextpdf.layout.element.Cell cell)
Adds a new cell to the body rows.
|
void |
addFooterCell(com.itextpdf.layout.element.Cell cell)
Adds a new cell to the footer rows.
|
void |
addHeaderCell(com.itextpdf.layout.element.Cell cell)
Adds a new cell to the header rows.
|
int |
getRowsSize()
Gets the number of rows.
|
void |
newFooterRow()
Adds a new footer row.
|
void |
newHeaderRow()
Adds a new header row.
|
void |
newRow()
Adds a new body row.
|
void |
setCaption(com.itextpdf.layout.element.Div caption)
Sets the table's caption.
|
com.itextpdf.layout.element.Table |
toTable(WaitingColgroupsHelper colgroupsHelper)
Renders all the rows to a Table object.
|
public TableWrapper()
public TableWrapper(boolean isRtl)
public int getRowsSize()
public void newRow()
public void newHeaderRow()
public void newFooterRow()
public void addHeaderCell(com.itextpdf.layout.element.Cell cell)
cell
- the cell
public void addFooterCell(com.itextpdf.layout.element.Cell cell)
cell
- the cell
public void addCell(com.itextpdf.layout.element.Cell cell)
cell
- the cell
public void setCaption(com.itextpdf.layout.element.Div caption)
caption
- the caption to be set
public com.itextpdf.layout.element.Table toTable(WaitingColgroupsHelper colgroupsHelper)
Table
object.
colgroupsHelper
- the colgroups helper class
Copyright © 1998–2019 iText Group NV. All rights reserved.