org.openinvoice.ubl4j.text.pdf
Class PDFInvoiceRenderer
java.lang.Object
org.openinvoice.ubl4j.text.pdf.PDFInvoiceRenderer
- All Implemented Interfaces:
- InvoiceRenderer
public class PDFInvoiceRenderer
- extends Object
- implements InvoiceRenderer
It renders the invoice information to PDF output.
- Since:
- \$Date: 2012/05/19 19:36:24 $
- Version:
- \$Revision: 4b0ab6d6e082 $
- Author:
- \$Author: javad $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PDFInvoiceRenderer
public PDFInvoiceRenderer(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType,
PDFInvoiceRendererBean invoiceRendererBean)
getOutputFormat
public OutputFormat getOutputFormat()
- Specified by:
getOutputFormat
in interface InvoiceRenderer
getTemplate
public com.plainsource.commons.text.template.Template getTemplate()
- Specified by:
getTemplate
in interface InvoiceRenderer
render
public void render(OutputStream documentOutputStream)
throws FailedToRenderException
- Specified by:
render
in interface InvoiceRenderer
- Throws:
FailedToRenderException
add
public void add(PDFTableWrapper pdfTableWrapper)
throws com.itextpdf.text.DocumentException
- Throws:
com.itextpdf.text.DocumentException
add
public void add(com.itextpdf.text.Element element)
throws com.itextpdf.text.DocumentException
- Throws:
com.itextpdf.text.DocumentException
getDocument
public com.itextpdf.text.Document getDocument()
setDocument
public void setDocument(com.itextpdf.text.Document document)
getInvoiceType
public oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType getInvoiceType()
setInvoiceType
public void setInvoiceType(oasis.names.specification.ubl.schema.xsd.invoice_2.InvoiceType invoiceType)
getLocale
public Locale getLocale()
setLocale
public void setLocale(Locale locale)
getInvoiceCurrency
public Currency getInvoiceCurrency()
getCurrencyCode
public String getCurrencyCode()
getCurrencySymbol
public String getCurrencySymbol()
getInvoiceRendererBean
public PDFInvoiceRendererBean getInvoiceRendererBean()
setInvoiceRendererBean
public void setInvoiceRendererBean(PDFInvoiceRendererBean invoiceRendererBean)
getPdfWriter
public com.itextpdf.text.pdf.PdfWriter getPdfWriter()
setPdfWriter
public void setPdfWriter(com.itextpdf.text.pdf.PdfWriter pdfWriter)
Copyright © 2011-2012 Plain Source. All Rights Reserved.