List of usage examples for com.itextpdf.text.html.simpleparser TableWrapper createTable
public PdfPTable createTable()
From source file:com.masscustsoft.service.ToPdf.java
License:Open Source License
/** * Processes the Table.//from w w w . j a va 2s .c o m * @throws DocumentException * @since 5.0.6 */ public void processTable() throws DocumentException { TableWrapper table = (TableWrapper) stack.pop(); PdfPTable tb = table.createTable(); tb.setSplitRows(true); if (stack.empty()) document.add(tb); else ((TextElementArray) stack.peek()).add(tb); }