public class AbstractPDFGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.lowagie.text.Document |
document |
static int |
LARGE_FONT |
protected OutputStream |
out |
| Constructor and Description |
|---|
AbstractPDFGenerator(OutputStream out,
String type) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRow(com.lowagie.text.pdf.PdfPTable table,
boolean needsBorder,
com.lowagie.text.Paragraph... elements) |
protected com.lowagie.text.Paragraph |
centerPara(float fontSize,
Object value) |
protected com.lowagie.text.Paragraph |
centerPara(Object value) |
protected com.lowagie.text.Font |
getUnderlinedFont() |
protected com.lowagie.text.Paragraph |
makePara(float size,
Object value) |
protected com.lowagie.text.Paragraph |
makePara(Object value) |
protected com.lowagie.text.Paragraph |
makePara(Object value,
int alignment) |
protected com.lowagie.text.Paragraph |
makeParaWithFont(float fontSize,
Object value) |
protected com.lowagie.text.Paragraph |
makeParaWithFont(float fontSize,
Object value,
int alignment) |
protected com.lowagie.text.Paragraph |
rightPara(float size,
Object value) |
protected com.lowagie.text.Paragraph |
rightPara(Object value) |
protected com.lowagie.text.Paragraph |
spacer() |
String |
toCurrency(double money) |
String |
toCurrency(org.egov.infra.persistence.entity.component.Money money) |
public static final int LARGE_FONT
protected com.lowagie.text.Document document
protected final OutputStream out
public AbstractPDFGenerator(OutputStream out, String type)
protected void addRow(com.lowagie.text.pdf.PdfPTable table,
boolean needsBorder,
com.lowagie.text.Paragraph... elements)
protected com.lowagie.text.Paragraph spacer()
protected com.lowagie.text.Paragraph makePara(Object value, int alignment)
protected com.lowagie.text.Paragraph makeParaWithFont(float fontSize,
Object value,
int alignment)
protected com.lowagie.text.Paragraph makePara(Object value)
protected com.lowagie.text.Paragraph makeParaWithFont(float fontSize,
Object value)
protected com.lowagie.text.Paragraph makePara(float size,
Object value)
protected com.lowagie.text.Paragraph centerPara(Object value)
protected com.lowagie.text.Paragraph centerPara(float fontSize,
Object value)
protected com.lowagie.text.Paragraph rightPara(Object value)
protected com.lowagie.text.Paragraph rightPara(float size,
Object value)
protected com.lowagie.text.Font getUnderlinedFont()
public String toCurrency(org.egov.infra.persistence.entity.component.Money money)
public String toCurrency(double money)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.