public class PDFTableWrapper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LABEL_VAL_SEP |
Constructor and Description |
---|
PDFTableWrapper(int noOfColumns) |
Modifier and Type | Method and Description |
---|---|
void |
addCell(PDFCellWrapper cellWrapper) |
void |
addCell(PDFPhraseWrapper phraseWrapper) |
void |
addKeyValueCell(String key,
String value) |
void |
addLabelCell(String label) |
void |
addLabelCell(String label,
PDFFontWrapper pdfFontWrapper) |
void |
addLabelHeaderCell(String label) |
void |
addLabelValueCell(String label,
String value,
PDFFontWrapper pdfFontWrapper) |
void |
addTotalLabelHeaderCell(String label) |
void |
addValueCell(com.plainsource.commons.text.CurrencyDecimal value,
boolean totalSum,
PDFFontWrapper pdfFontWrapper) |
void |
addValueCell(com.plainsource.commons.text.CurrencyDecimal value,
PDFFontWrapper pdfFontWrapper) |
void |
addValueCell(com.plainsource.commons.text.NumberWrapper value,
PDFFontWrapper pdfFontWrapper) |
void |
addValueCell(String value) |
void |
addValueCell(String value,
PDFFontWrapper pdfFontWrapper) |
void |
addValueCell(String value,
PDFFontWrapper pdfFontWrapper,
com.itextpdf.text.pdf.PdfAction pdfAction) |
List<PDFCellWrapper> |
createLabelValueCells(String label,
String value,
PDFFontWrapper pdfFontWrapper) |
void |
decorateCell(PDFCellWrapper cellWrapper) |
void |
decorateTable() |
com.itextpdf.text.pdf.PdfPCell |
getDefaultCell() |
int |
getHorizontalAlignment() |
String |
getLabelValueSeparator() |
int |
getNumberOfColumns() |
com.itextpdf.text.pdf.PdfPTable |
getTable() |
void |
setHorizontalAlignment(int horizontalAlignment) |
void |
setLabelValueSeparator(String labelValueSeparator) |
void |
setSpacingAfter(float f) |
void |
setTable(com.itextpdf.text.pdf.PdfPTable table) |
void |
setTotalWidth(float width) |
void |
setTotalWidth(float[] widths) |
public static final String LABEL_VAL_SEP
public int getNumberOfColumns()
public void addLabelCell(String label)
public void addLabelCell(String label, PDFFontWrapper pdfFontWrapper)
public void addLabelHeaderCell(String label)
public void addTotalLabelHeaderCell(String label)
public void addValueCell(com.plainsource.commons.text.CurrencyDecimal value, PDFFontWrapper pdfFontWrapper)
public void addValueCell(com.plainsource.commons.text.CurrencyDecimal value, boolean totalSum, PDFFontWrapper pdfFontWrapper)
public void addValueCell(com.plainsource.commons.text.NumberWrapper value, PDFFontWrapper pdfFontWrapper)
public void addValueCell(String value)
public void addValueCell(String value, PDFFontWrapper pdfFontWrapper, com.itextpdf.text.pdf.PdfAction pdfAction)
public void addValueCell(String value, PDFFontWrapper pdfFontWrapper)
public void addCell(PDFPhraseWrapper phraseWrapper)
public void addCell(PDFCellWrapper cellWrapper)
public List<PDFCellWrapper> createLabelValueCells(String label, String value, PDFFontWrapper pdfFontWrapper)
public void addLabelValueCell(String label, String value, PDFFontWrapper pdfFontWrapper)
public void decorateCell(PDFCellWrapper cellWrapper)
public void decorateTable()
public com.itextpdf.text.pdf.PdfPTable getTable()
public void setTable(com.itextpdf.text.pdf.PdfPTable table)
public int getHorizontalAlignment()
public void setHorizontalAlignment(int horizontalAlignment)
public void setSpacingAfter(float f)
public void setTotalWidth(float[] widths)
public void setTotalWidth(float width)
public com.itextpdf.text.pdf.PdfPCell getDefaultCell()
public String getLabelValueSeparator()
public void setLabelValueSeparator(String labelValueSeparator)
Copyright © 2011-2013 Plain Source. All Rights Reserved.