public class TableWrapper extends Object implements IWrapElement
table
element.
Constructor and Description |
---|
TableWrapper() |
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.
|
com.itextpdf.layout.element.Table |
toTable(WaitingColgroupsHelper colgroupsHelper)
Renders all the rows to a Table object.
|
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 com.itextpdf.layout.element.Table toTable(WaitingColgroupsHelper colgroupsHelper)
Table
object.
colgroupsHelper
- the colgroups helper class
Copyright © 1998–2019 iText Group NV. All rights reserved.