org.openinvoice.ubl4j.text.pdf
Class PDFInvoiceRendererBeanFactory

java.lang.Object
  extended by org.openinvoice.ubl4j.text.pdf.PDFInvoiceRendererBeanFactory

public class PDFInvoiceRendererBeanFactory
extends Object

Creates an instance of the PDFInvoiceRendererBean based on a pre-defined property file.

Since:
\$Date: 2012/05/19 19:36:24 $
Version:
\$Revision: 4b0ab6d6e082 $
Author:
\$Author: javad $

Field Summary
static String UBL4J_PDF_INV_CFG_FILE
           
static String UBL4J_PDF_INV_FILE_SYS_KEY
           
static String VALUE_DELIMITER
           
 
Method Summary
static PDFInvoiceRendererBean createPDFInvoiceRendererBean()
           
static PDFBaseColorWrapper getBaseColor(String key)
           
static PDFBaseColorWrapper getCustomerFontBaseColor()
           
static String getCustomerFontFamily()
           
static int getCustomerFontSize()
           
static int getCustomerFontStyle()
           
static List<TextLabel> getCustomerLabelsToDisplay()
           
static int getCustomerLogoHorizontalAlignment()
           
static float getCustomerLogoScalePercent()
           
static float getCustomerLogoSpacingAfter()
           
static float getCustomerTableCellBorderBottom()
           
static PDFBaseColorWrapper getCustomerTableCellBorderColor()
           
static float getCustomerTableCellBorderLeft()
           
static float getCustomerTableCellBorderRight()
           
static float getCustomerTableCellBorderTop()
           
static int getCustomerTableCellHorizontalAlignment()
           
static float getCustomerTableCellPaddingBottom()
           
static float getCustomerTableCellPaddingLeft()
           
static float getCustomerTableCellPaddingRight()
           
static float getCustomerTableCellPaddingTop()
           
static float[] getCustomerTableColumnWidths()
           
static int getCustomerTableHorizontalAlignment()
           
static float getCustomerTableSpacingAfter()
           
static int getFontStyle(String key)
           
static PDFInvoiceRendererBeanFactory getInstance()
           
static String getInvoiceDateAndNumberDatePattern()
           
static PDFBaseColorWrapper getInvoiceDateAndNumberFontBaseColor()
           
static String getInvoiceDateAndNumberFontFamily()
           
static int getInvoiceDateAndNumberFontSize()
           
static int getInvoiceDateAndNumberFontStyle()
           
static List<TextLabel> getInvoiceDateAndNumberLabelsToDisplay()
           
static PDFBaseColorWrapper getInvoiceDateAndNumberTableCellBorderBaseColor()
           
static float getInvoiceDateAndNumberTableCellBorderBottom()
           
static float getInvoiceDateAndNumberTableCellBorderLeft()
           
static float getInvoiceDateAndNumberTableCellBorderRight()
           
static float getInvoiceDateAndNumberTableCellBorderTop()
           
static float getInvoiceDateAndNumberTableCellPaddingBottom()
           
static float getInvoiceDateAndNumberTableCellPaddingLeft()
           
static float getInvoiceDateAndNumberTableCellPaddingRight()
           
static float getInvoiceDateAndNumberTableCellPaddingTop()
           
static float[] getInvoiceDateAndNumberTableColumnWidths()
           
static int getInvoiceDateAndNumberTableHorizontalAlignment()
           
static float getInvoiceDateAndNumberTableSpacingAfter()
           
static PDFBaseColorWrapper getInvoiceLineFontBaseColor()
           
static String getInvoiceLineFontFamily()
           
static int getInvoiceLineFontSize()
           
static int getInvoiceLineFontStyle()
           
static List<TextLabel> getInvoiceLineLabelsToDisplay()
           
static PDFBaseColorWrapper getInvoiceLinesTableCellHeaderBorderColor()
           
static float getInvoiceLinesTableHeaderCellPaddingLeft()
           
static float getInvoiceLinesTableHeaderCellPaddingRight()
           
static float getInvoiceLinesTableHeaderCellPaddingTop()
           
static PDFBaseColorWrapper getInvoiceLineTableCellBorderBaseColor()
           
static float getInvoiceLineTableCellBorderBottom()
           
static float getInvoiceLineTableCellBorderLeft()
           
static float getInvoiceLineTableCellBorderRight()
           
static float getInvoiceLineTableCellBorderTop()
           
static float getInvoiceLineTableCellPaddingBottom()
           
static float getInvoiceLineTableCellPaddingLeft()
           
static float getInvoiceLineTableCellPaddingRight()
           
static float getInvoiceLineTableCellPaddingTop()
           
static float[] getInvoiceLineTableColumnWidths()
           
static InvoiceLineTable.CurrencyDisplay getInvoiceLineTableCurrencyDisplay()
           
static float getInvoiceLineTableHeaderCellBorderBottom()
           
static float getInvoiceLineTableHeaderCellBorderLeft()
           
static float getInvoiceLineTableHeaderCellBorderRight()
           
static float getInvoiceLineTableHeaderCellBorderTop()
           
static float getInvoiceLineTableHeaderCellPaddingBottom()
           
static InvoiceLineTable.CurrencyDisplay getInvoiceLineTableHeaderCurrencyDisplay()
           
static int getInvoiceLineTableHorizontalAlignment()
           
static float getInvoiceLineTableSpacingAfter()
           
static PDFBaseColorWrapper getInvoiceLineTotalFontBaseColor()
           
static String getInvoiceLineTotalFontFamily()
           
static int getInvoiceLineTotalFontSize()
           
static int getInvoiceLineTotalFontStyle()
           
static PDFBaseColorWrapper getLabelFontBaseColor()
           
static int getLabelFontSize()
           
static int getLabelFontStyle()
           
static List<TextLabel> getLabelsToDisplay(String sectionKey)
           
static String getLabelValueSeparator()
           
static PDFBaseColorWrapper getPaymentTermsFontBaseColor()
           
static String getPaymentTermsFontFamily()
           
static int getPaymentTermsFontSize()
           
static int getPaymentTermsFontStyle()
           
static List<TextLabel> getPaymentTermsLabelsToDisplay()
           
static float getPaymentTermsLogoScalePercent()
           
static float getPaymentTermsTableCellBorderBottom()
           
static PDFBaseColorWrapper getPaymentTermsTableCellBorderColor()
           
static float getPaymentTermsTableCellBorderLeft()
           
static float getPaymentTermsTableCellBorderRight()
           
static float getPaymentTermsTableCellBorderTop()
           
static int getPaymentTermsTableCellHorizontalAlignment()
           
static float getPaymentTermsTableCellPaddingBottom()
           
static float getPaymentTermsTableCellPaddingLeft()
           
static float getPaymentTermsTableCellPaddingRight()
           
static float getPaymentTermsTableCellPaddingTop()
           
static float[] getPaymentTermsTableColumnWidths()
           
static int getPaymentTermsTableHorizontalAlignment()
           
static float getPaymentTermsTableSpacingAfter()
           
static Properties getProperties()
           
static PDFBaseColorWrapper getSupplierBankDetailsFontBaseColor()
           
static String getSupplierBankDetailsFontFamily()
           
static int getSupplierBankDetailsFontSize()
           
static int getSupplierBankDetailsFontStyle()
           
static List<TextLabel> getSupplierBankDetailsLabelsToDisplay()
           
static float getSupplierBankDetailsLogoScalePercent()
           
static float getSupplierBankDetailsTableCellBorderBottom()
           
static PDFBaseColorWrapper getSupplierBankDetailsTableCellBorderColor()
           
static float getSupplierBankDetailsTableCellBorderLeft()
           
static float getSupplierBankDetailsTableCellBorderRight()
           
static float getSupplierBankDetailsTableCellBorderTop()
           
static int getSupplierBankDetailsTableCellHorizontalAlignment()
           
static float getSupplierBankDetailsTableCellPaddingBottom()
           
static float getSupplierBankDetailsTableCellPaddingLeft()
           
static float getSupplierBankDetailsTableCellPaddingRight()
           
static float getSupplierBankDetailsTableCellPaddingTop()
           
static float[] getSupplierBankDetailsTableColumnWidths()
           
static int getSupplierBankDetailsTableHorizontalAlignment()
           
static float getSupplierBankDetailsTableSpacingAfter()
           
static PDFBaseColorWrapper getSupplierFontBaseColor()
           
static String getSupplierFontFamily()
           
static int getSupplierFontSize()
           
static int getSupplierFontStyle()
           
static List<TextLabel> getSupplierLabelsToDisplay()
           
static int getSupplierLogoHorizontalAlignment()
           
static float getSupplierLogoScalePercent()
           
static float getSupplierLogoSpacingAfter()
           
static float getSupplierTableCellBorderBottom()
           
static PDFBaseColorWrapper getSupplierTableCellBorderColor()
           
static float getSupplierTableCellBorderLeft()
           
static float getSupplierTableCellBorderRight()
           
static float getSupplierTableCellBorderTop()
           
static int getSupplierTableCellHorizontalAlignment()
           
static float getSupplierTableCellPaddingBottom()
           
static float getSupplierTableCellPaddingLeft()
           
static float getSupplierTableCellPaddingRight()
           
static float getSupplierTableCellPaddingTop()
           
static float[] getSupplierTableColumnWidths()
           
static int getSupplierTableHorizontalAlignment()
           
static float getSupplierTableSpacingAfter()
           
static int getTableCellBorder()
           
static int getTableHorizontalAlignment()
           
static PDFBaseColorWrapper getValueFontBaseColor()
           
static int getValueFontSize()
           
static int getValueFontStyle()
           
static void setProperties(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UBL4J_PDF_INV_FILE_SYS_KEY

public static final String UBL4J_PDF_INV_FILE_SYS_KEY
See Also:
Constant Field Values

UBL4J_PDF_INV_CFG_FILE

public static final String UBL4J_PDF_INV_CFG_FILE

VALUE_DELIMITER

public static final String VALUE_DELIMITER
See Also:
Constant Field Values
Method Detail

getInstance

public static PDFInvoiceRendererBeanFactory getInstance()

createPDFInvoiceRendererBean

public static PDFInvoiceRendererBean createPDFInvoiceRendererBean()

getSupplierBankDetailsLabelsToDisplay

public static List<TextLabel> getSupplierBankDetailsLabelsToDisplay()

getSupplierLabelsToDisplay

public static List<TextLabel> getSupplierLabelsToDisplay()

getCustomerLabelsToDisplay

public static List<TextLabel> getCustomerLabelsToDisplay()

getPaymentTermsLabelsToDisplay

public static List<TextLabel> getPaymentTermsLabelsToDisplay()

getInvoiceDateAndNumberLabelsToDisplay

public static List<TextLabel> getInvoiceDateAndNumberLabelsToDisplay()

getInvoiceLineLabelsToDisplay

public static List<TextLabel> getInvoiceLineLabelsToDisplay()

getLabelsToDisplay

public static List<TextLabel> getLabelsToDisplay(String sectionKey)

getValueFontSize

public static int getValueFontSize()

getValueFontBaseColor

public static PDFBaseColorWrapper getValueFontBaseColor()

getValueFontStyle

public static int getValueFontStyle()

getLabelFontSize

public static int getLabelFontSize()

getLabelValueSeparator

public static String getLabelValueSeparator()

getLabelFontBaseColor

public static PDFBaseColorWrapper getLabelFontBaseColor()

getLabelFontStyle

public static int getLabelFontStyle()

getTableHorizontalAlignment

public static int getTableHorizontalAlignment()

getTableCellBorder

public static int getTableCellBorder()

getInvoiceLineFontFamily

public static String getInvoiceLineFontFamily()

getInvoiceLineFontSize

public static int getInvoiceLineFontSize()

getInvoiceLineFontBaseColor

public static PDFBaseColorWrapper getInvoiceLineFontBaseColor()

getInvoiceLineFontStyle

public static int getInvoiceLineFontStyle()

getInvoiceLineTotalFontFamily

public static String getInvoiceLineTotalFontFamily()

getInvoiceLineTotalFontSize

public static int getInvoiceLineTotalFontSize()

getInvoiceLineTotalFontBaseColor

public static PDFBaseColorWrapper getInvoiceLineTotalFontBaseColor()

getInvoiceLineTotalFontStyle

public static int getInvoiceLineTotalFontStyle()

getInvoiceLineTableCurrencyDisplay

public static InvoiceLineTable.CurrencyDisplay getInvoiceLineTableCurrencyDisplay()

getInvoiceLineTableCellPaddingLeft

public static float getInvoiceLineTableCellPaddingLeft()

getInvoiceLineTableCellPaddingRight

public static float getInvoiceLineTableCellPaddingRight()

getInvoiceLineTableCellPaddingTop

public static float getInvoiceLineTableCellPaddingTop()

getInvoiceLineTableCellPaddingBottom

public static float getInvoiceLineTableCellPaddingBottom()

getInvoiceLinesTableHeaderCellPaddingLeft

public static float getInvoiceLinesTableHeaderCellPaddingLeft()

getInvoiceLinesTableHeaderCellPaddingRight

public static float getInvoiceLinesTableHeaderCellPaddingRight()

getInvoiceLinesTableHeaderCellPaddingTop

public static float getInvoiceLinesTableHeaderCellPaddingTop()

getInvoiceLineTableHeaderCellPaddingBottom

public static float getInvoiceLineTableHeaderCellPaddingBottom()

getInvoiceLineTableCellBorderTop

public static float getInvoiceLineTableCellBorderTop()

getInvoiceLineTableCellBorderBottom

public static float getInvoiceLineTableCellBorderBottom()

getInvoiceLineTableCellBorderLeft

public static float getInvoiceLineTableCellBorderLeft()

getInvoiceLineTableCellBorderRight

public static float getInvoiceLineTableCellBorderRight()

getInvoiceLineTableHeaderCurrencyDisplay

public static InvoiceLineTable.CurrencyDisplay getInvoiceLineTableHeaderCurrencyDisplay()

getInvoiceLineTableHeaderCellBorderLeft

public static float getInvoiceLineTableHeaderCellBorderLeft()

getInvoiceLineTableHeaderCellBorderRight

public static float getInvoiceLineTableHeaderCellBorderRight()

getInvoiceLineTableHeaderCellBorderTop

public static float getInvoiceLineTableHeaderCellBorderTop()

getInvoiceLineTableHeaderCellBorderBottom

public static float getInvoiceLineTableHeaderCellBorderBottom()

getInvoiceLinesTableCellHeaderBorderColor

public static PDFBaseColorWrapper getInvoiceLinesTableCellHeaderBorderColor()

getInvoiceLineTableCellBorderBaseColor

public static PDFBaseColorWrapper getInvoiceLineTableCellBorderBaseColor()

getInvoiceLineTableHorizontalAlignment

public static int getInvoiceLineTableHorizontalAlignment()

getInvoiceLineTableSpacingAfter

public static float getInvoiceLineTableSpacingAfter()

getInvoiceLineTableColumnWidths

public static float[] getInvoiceLineTableColumnWidths()

getInvoiceDateAndNumberFontFamily

public static String getInvoiceDateAndNumberFontFamily()

getInvoiceDateAndNumberFontSize

public static int getInvoiceDateAndNumberFontSize()

getInvoiceDateAndNumberFontBaseColor

public static PDFBaseColorWrapper getInvoiceDateAndNumberFontBaseColor()

getInvoiceDateAndNumberFontStyle

public static int getInvoiceDateAndNumberFontStyle()

getInvoiceDateAndNumberTableCellBorderBaseColor

public static PDFBaseColorWrapper getInvoiceDateAndNumberTableCellBorderBaseColor()

getInvoiceDateAndNumberTableHorizontalAlignment

public static int getInvoiceDateAndNumberTableHorizontalAlignment()

getInvoiceDateAndNumberTableSpacingAfter

public static float getInvoiceDateAndNumberTableSpacingAfter()

getInvoiceDateAndNumberTableCellPaddingLeft

public static float getInvoiceDateAndNumberTableCellPaddingLeft()

getInvoiceDateAndNumberTableCellPaddingRight

public static float getInvoiceDateAndNumberTableCellPaddingRight()

getInvoiceDateAndNumberTableCellPaddingTop

public static float getInvoiceDateAndNumberTableCellPaddingTop()

getInvoiceDateAndNumberTableCellPaddingBottom

public static float getInvoiceDateAndNumberTableCellPaddingBottom()

getInvoiceDateAndNumberTableCellBorderTop

public static float getInvoiceDateAndNumberTableCellBorderTop()

getInvoiceDateAndNumberTableCellBorderBottom

public static float getInvoiceDateAndNumberTableCellBorderBottom()

getInvoiceDateAndNumberTableCellBorderLeft

public static float getInvoiceDateAndNumberTableCellBorderLeft()

getInvoiceDateAndNumberTableCellBorderRight

public static float getInvoiceDateAndNumberTableCellBorderRight()

getInvoiceDateAndNumberDatePattern

public static String getInvoiceDateAndNumberDatePattern()

getInvoiceDateAndNumberTableColumnWidths

public static float[] getInvoiceDateAndNumberTableColumnWidths()

getSupplierLogoHorizontalAlignment

public static int getSupplierLogoHorizontalAlignment()

getSupplierLogoSpacingAfter

public static float getSupplierLogoSpacingAfter()

getSupplierFontFamily

public static String getSupplierFontFamily()

getSupplierFontSize

public static int getSupplierFontSize()

getSupplierFontBaseColor

public static PDFBaseColorWrapper getSupplierFontBaseColor()

getSupplierFontStyle

public static int getSupplierFontStyle()

getSupplierTableHorizontalAlignment

public static int getSupplierTableHorizontalAlignment()

getSupplierTableCellHorizontalAlignment

public static int getSupplierTableCellHorizontalAlignment()

getSupplierTableSpacingAfter

public static float getSupplierTableSpacingAfter()

getSupplierLogoScalePercent

public static float getSupplierLogoScalePercent()

getSupplierTableCellPaddingLeft

public static float getSupplierTableCellPaddingLeft()

getSupplierTableCellPaddingRight

public static float getSupplierTableCellPaddingRight()

getSupplierTableCellPaddingTop

public static float getSupplierTableCellPaddingTop()

getSupplierTableCellPaddingBottom

public static float getSupplierTableCellPaddingBottom()

getSupplierTableCellBorderTop

public static float getSupplierTableCellBorderTop()

getSupplierTableCellBorderBottom

public static float getSupplierTableCellBorderBottom()

getSupplierTableCellBorderLeft

public static float getSupplierTableCellBorderLeft()

getSupplierTableCellBorderRight

public static float getSupplierTableCellBorderRight()

getSupplierTableCellBorderColor

public static PDFBaseColorWrapper getSupplierTableCellBorderColor()

getSupplierTableColumnWidths

public static float[] getSupplierTableColumnWidths()

getCustomerLogoHorizontalAlignment

public static int getCustomerLogoHorizontalAlignment()

getCustomerLogoSpacingAfter

public static float getCustomerLogoSpacingAfter()

getCustomerFontFamily

public static String getCustomerFontFamily()

getCustomerFontSize

public static int getCustomerFontSize()

getCustomerFontBaseColor

public static PDFBaseColorWrapper getCustomerFontBaseColor()

getCustomerFontStyle

public static int getCustomerFontStyle()

getCustomerTableHorizontalAlignment

public static int getCustomerTableHorizontalAlignment()

getCustomerTableCellHorizontalAlignment

public static int getCustomerTableCellHorizontalAlignment()

getCustomerTableColumnWidths

public static float[] getCustomerTableColumnWidths()

getCustomerTableSpacingAfter

public static float getCustomerTableSpacingAfter()

getCustomerLogoScalePercent

public static float getCustomerLogoScalePercent()

getCustomerTableCellPaddingLeft

public static float getCustomerTableCellPaddingLeft()

getCustomerTableCellPaddingRight

public static float getCustomerTableCellPaddingRight()

getCustomerTableCellPaddingTop

public static float getCustomerTableCellPaddingTop()

getCustomerTableCellPaddingBottom

public static float getCustomerTableCellPaddingBottom()

getCustomerTableCellBorderTop

public static float getCustomerTableCellBorderTop()

getCustomerTableCellBorderBottom

public static float getCustomerTableCellBorderBottom()

getCustomerTableCellBorderLeft

public static float getCustomerTableCellBorderLeft()

getCustomerTableCellBorderRight

public static float getCustomerTableCellBorderRight()

getCustomerTableCellBorderColor

public static PDFBaseColorWrapper getCustomerTableCellBorderColor()

getPaymentTermsFontFamily

public static String getPaymentTermsFontFamily()

getPaymentTermsFontSize

public static int getPaymentTermsFontSize()

getPaymentTermsFontBaseColor

public static PDFBaseColorWrapper getPaymentTermsFontBaseColor()

getPaymentTermsFontStyle

public static int getPaymentTermsFontStyle()

getPaymentTermsTableHorizontalAlignment

public static int getPaymentTermsTableHorizontalAlignment()

getPaymentTermsTableCellHorizontalAlignment

public static int getPaymentTermsTableCellHorizontalAlignment()

getPaymentTermsTableColumnWidths

public static float[] getPaymentTermsTableColumnWidths()

getPaymentTermsTableSpacingAfter

public static float getPaymentTermsTableSpacingAfter()

getPaymentTermsLogoScalePercent

public static float getPaymentTermsLogoScalePercent()

getPaymentTermsTableCellPaddingLeft

public static float getPaymentTermsTableCellPaddingLeft()

getPaymentTermsTableCellPaddingRight

public static float getPaymentTermsTableCellPaddingRight()

getPaymentTermsTableCellPaddingTop

public static float getPaymentTermsTableCellPaddingTop()

getPaymentTermsTableCellPaddingBottom

public static float getPaymentTermsTableCellPaddingBottom()

getPaymentTermsTableCellBorderTop

public static float getPaymentTermsTableCellBorderTop()

getPaymentTermsTableCellBorderBottom

public static float getPaymentTermsTableCellBorderBottom()

getPaymentTermsTableCellBorderLeft

public static float getPaymentTermsTableCellBorderLeft()

getPaymentTermsTableCellBorderRight

public static float getPaymentTermsTableCellBorderRight()

getPaymentTermsTableCellBorderColor

public static PDFBaseColorWrapper getPaymentTermsTableCellBorderColor()

getSupplierBankDetailsFontFamily

public static String getSupplierBankDetailsFontFamily()

getSupplierBankDetailsFontSize

public static int getSupplierBankDetailsFontSize()

getSupplierBankDetailsFontBaseColor

public static PDFBaseColorWrapper getSupplierBankDetailsFontBaseColor()

getSupplierBankDetailsFontStyle

public static int getSupplierBankDetailsFontStyle()

getSupplierBankDetailsTableHorizontalAlignment

public static int getSupplierBankDetailsTableHorizontalAlignment()

getSupplierBankDetailsTableCellHorizontalAlignment

public static int getSupplierBankDetailsTableCellHorizontalAlignment()

getSupplierBankDetailsTableColumnWidths

public static float[] getSupplierBankDetailsTableColumnWidths()

getSupplierBankDetailsTableSpacingAfter

public static float getSupplierBankDetailsTableSpacingAfter()

getSupplierBankDetailsLogoScalePercent

public static float getSupplierBankDetailsLogoScalePercent()

getSupplierBankDetailsTableCellPaddingLeft

public static float getSupplierBankDetailsTableCellPaddingLeft()

getSupplierBankDetailsTableCellPaddingRight

public static float getSupplierBankDetailsTableCellPaddingRight()

getSupplierBankDetailsTableCellPaddingTop

public static float getSupplierBankDetailsTableCellPaddingTop()

getSupplierBankDetailsTableCellPaddingBottom

public static float getSupplierBankDetailsTableCellPaddingBottom()

getSupplierBankDetailsTableCellBorderTop

public static float getSupplierBankDetailsTableCellBorderTop()

getSupplierBankDetailsTableCellBorderBottom

public static float getSupplierBankDetailsTableCellBorderBottom()

getSupplierBankDetailsTableCellBorderLeft

public static float getSupplierBankDetailsTableCellBorderLeft()

getSupplierBankDetailsTableCellBorderRight

public static float getSupplierBankDetailsTableCellBorderRight()

getSupplierBankDetailsTableCellBorderColor

public static PDFBaseColorWrapper getSupplierBankDetailsTableCellBorderColor()

getFontStyle

public static int getFontStyle(String key)

getBaseColor

public static PDFBaseColorWrapper getBaseColor(String key)

getProperties

public static Properties getProperties()

setProperties

public static void setProperties(Properties properties)


Copyright © 2011-2012 Plain Source. All Rights Reserved.