Example usage for com.itextpdf.text Element ALIGN_CENTER

List of usage examples for com.itextpdf.text Element ALIGN_CENTER

Introduction

In this page you can find the example usage for com.itextpdf.text Element ALIGN_CENTER.

Prototype

int ALIGN_CENTER

To view the source code for com.itextpdf.text Element ALIGN_CENTER.

Click Source Link

Document

A possible value for paragraph alignment.

Usage

From source file:com.gp.cong.logisoft.lcl.report.LclVoyageNotificationPdfCreator.java

public PdfPTable unitInfo(LclUnitSs lclUnitSs) throws DocumentException, Exception {
    LclUnitSsImports lclUnitSsImports = lclUnitSs.getLclUnit().getLclUnitSsImportsList().get(0);
    StringBuilder cfsWarehs = new StringBuilder();
    if (lclUnitSsImports != null && lclUnitSsImports.getCfsWarehouseId() != null) {
        if (lclUnitSsImports.getCfsWarehouseId().getWarehouseName() != null) {
            cfsWarehs.append(lclUnitSsImports.getCfsWarehouseId().getWarehouseName()).append("-");
        }//from  ww w. java  2 s  .c o m
        if (lclUnitSsImports.getCfsWarehouseId().getWarehouseNo() != null) {
            cfsWarehs.append(lclUnitSsImports.getCfsWarehouseId().getWarehouseNo());
        }
    }
    LclUnitSsManifest lclUnitSsManifest = lclUnitSs.getLclUnit().getLclUnitSsManifestList().get(0);
    Font fontCompSub = FontFactory.getFont("Arial", 9f, Font.BOLD);
    Paragraph pHeading = null;
    table = new PdfPTable(1);
    table.setWidthPercentage(100f);
    PdfPCell cell1 = new PdfPCell();
    cell1.setBorder(0);
    cell1.setColspan(2);
    cell1.setBorderColor(new BaseColor(00, 51, 153));
    cell1.setBorderWidthBottom(3f);
    cell1.setBorderWidthLeft(3f);
    cell1.setBorderWidthRight(3f);
    cell1.setBorderWidthTop(10f);
    cell1.setPadding(0f);
    //Heading
    pHeading = new Paragraph(8f, "Unit Information", mainHeadingQuote);
    pHeading.setAlignment(Element.ALIGN_CENTER);
    cell1.addElement(pHeading);
    PdfPTable ntable1 = new PdfPTable(6);
    ntable1.setWidthPercentage(100f);
    ntable1.setWidths(new float[] { 0.1f, 1.15f, 0.09f, 4.09f, 1f, 2f });
    //company Name
    ntable1.addCell(createEmptyCell(0, 1f, 6));
    //unit No Cell
    ntable1.addCell(createEmptyCell(0, 1f, 0));
    ntable1.addCell(makeCellNoBorderValue("Unit No . . . . . . . . .", 0, 0f, 4f, fontCompSub));
    ntable1.addCell(makeCellNoBorderValue(":", 0, 0f, 4f, fontCompSub));
    ntable1.addCell(
            makeCellNoBorderValue(lclUnitSs.getLclUnit().getUnitNo().toUpperCase(), 4, 0f, 4f, fontgreenCont));
    //3
    ntable1.addCell(createEmptyCell(0, 1f, 0));
    ntable1.addCell(makeCellNoBorderValue("CFS(Devanning). . ", 0, 0f, 4f, fontCompSub));
    ntable1.addCell(makeCellNoBorderValue(":", 0, 0f, 4f, fontCompSub));
    ntable1.addCell(makeCellNoBorderValue(cfsWarehs.toString().toUpperCase(), 4, 0f, 4f, fontgreenCont));
    //
    ntable1.addCell(createEmptyCell(0, 1f, 0));
    ntable1.addCell(makeCellNoBorderValue("Master BL. . . . . . . ", 0, 0f, 4f, fontCompSub));
    ntable1.addCell(makeCellNoBorderValue(":", 0, 0f, 4f, fontCompSub));
    ntable1.addCell(
            makeCellNoBorderValue(lclUnitSsManifest.getMasterbl().toUpperCase(), 4, 0f, 4f, fontgreenCont));

    ntable1.addCell(createEmptyCell(0, 1f, 6));
    cell1.addElement(ntable1);
    table.addCell(cell1);
    return table;
}

From source file:com.gp.cong.logisoft.lcl.report.LclVoyageNotificationPdfCreator.java

public PdfPTable dispoInfo(LclUnitSs lclUnitSs) throws DocumentException, Exception {
    Paragraph pHeading = null;//from www . java 2 s. c om
    table = new PdfPTable(1);
    table.setWidthPercentage(100f);
    PdfPCell cell1 = null;
    cell1 = new PdfPCell();
    cell1.setBorder(0);
    cell1.setBorderColor(new BaseColor(00, 51, 153));
    cell1.setBorderWidthBottom(3f);
    cell1.setBorderWidthLeft(3f);
    cell1.setBorderWidthRight(3f);
    cell1.setBorderWidthTop(10f);
    cell1.setPadding(0f);
    //Heading
    pHeading = new Paragraph(8f, "Disposition Details", mainHeadingQuote);
    pHeading.setAlignment(Element.ALIGN_CENTER);
    cell1.addElement(pHeading);
    //company Name
    PdfPTable ntable1 = new PdfPTable(9);
    ntable1.setWidthPercentage(100f);
    ntable1.setWidths(new float[] { 0.2f, 2f, 0.25f, 1.5f, 0.25f, 4.5f, 1.5f, 5f, .5f });
    ntable1.addCell(createEmptyCell(0, 0.1f, 9));

    ntable1.addCell(createEmptyCell(0, 1f, 0));
    cell = new PdfPCell();
    cell.setBorder(0);
    cell.setBorderWidthBottom(0.06f);
    Chunk c1 = new Chunk("DATE", greenCourierFont9);
    cell.addElement(c1);
    ntable1.addCell(cell);

    ntable1.addCell(createEmptyCell(0, .5f, 0));

    cell = new PdfPCell();
    cell.setBorder(0);
    cell.setBorderWidthBottom(0.06f);
    c1 = new Chunk("TIME", greenCourierFont9);
    cell.addElement(c1);
    ntable1.addCell(cell);

    ntable1.addCell(createEmptyCell(0, .5f, 0));

    cell = new PdfPCell();
    cell.setBorder(0);
    cell.setBorderWidthBottom(0.06f);
    c1 = new Chunk("CONTAINER STATUS", greenCourierFont9);
    cell.addElement(c1);
    ntable1.addCell(cell);

    ntable1.addCell(createEmptyCell(0, .5f, 0));
    ntable1.addCell(createEmptyCell(0, .5f, 0));
    ntable1.addCell(createEmptyCell(0, .5f, 0));
    LclSsDetail lclSsDetail = lclUnitSs.getLclSsHeader().getVesselSsDetail();
    List<LclUnitSsDispo> dispositionList = new LclUnitSsDispoDAO()
            .getUnitDispoDetailsWithoutData(lclUnitSs.getLclUnit().getId(), lclSsDetail.getId());
    if (!dispositionList.isEmpty()) {
        for (int i = 0; i < dispositionList.size(); i++) {
            LclUnitSsDispo lclUnitSsDispo = (LclUnitSsDispo) dispositionList.get(i);
            String dateTimeV = DateUtils.formatDate(lclUnitSsDispo.getDispositionDatetime(),
                    "dd-MMM-yyyy hh:mm a");
            String[] dateTimeArray1 = dateTimeV.split(" ");
            ntable1.addCell(createEmptyCell(0, 1f, 0));
            cell = new PdfPCell();
            cell.setBorder(0);
            pHeading = new Paragraph(5f, "" + dateTimeArray1[0], greenCourierFont9);
            cell.addElement(pHeading);
            ntable1.addCell(cell);

            ntable1.addCell(createEmptyCell(0, .5f, 0));

            cell = new PdfPCell();
            cell.setBorder(0);
            pHeading = new Paragraph(5f, "" + dateTimeArray1[1] + " " + dateTimeArray1[2], greenCourierFont9);
            cell.addElement(pHeading);
            ntable1.addCell(cell);

            ntable1.addCell(createEmptyCell(0, .5f, 0));

            cell = new PdfPCell();
            cell.setBorder(0);
            if (lclUnitSsDispo.getDisposition() != null
                    && lclUnitSsDispo.getDisposition().getDescription() != null) {
                pHeading = new Paragraph(5f, "" + lclUnitSsDispo.getDisposition().getDescription(),
                        greenCourierFont9);
            } else {
                pHeading = new Paragraph(5f, "" + lclUnitSsDispo.getDisposition().getEliteCode(),
                        greenCourierFont9);
            }
            cell.addElement(pHeading);
            ntable1.addCell(cell);
            ntable1.addCell(createEmptyCell(0, .5f, 0));
            ntable1.addCell(createEmptyCell(0, .5f, 0));
            ntable1.addCell(createEmptyCell(0, .5f, 0));
        }
    }
    ntable1.addCell(createEmptyCell(0, 2f, 9));
    cell1.addElement(ntable1);
    table.addCell(cell1);
    return table;
}

From source file:com.gp.cong.logisoft.lcl.report.LclVoyageNotificationPdfCreator.java

public PdfPTable voyContent(String voyContent) throws DocumentException, Exception {
    Paragraph pHeading = null;//from  w w  w .j a  v  a  2s  .  c om
    table = new PdfPTable(1);
    table.setWidthPercentage(100f);
    PdfPCell cell1 = null;
    cell1 = new PdfPCell();
    cell1.setBorder(0);
    cell1.setBorderColor(new BaseColor(00, 51, 153));
    cell1.setBorderWidthBottom(3f);
    cell1.setBorderWidthLeft(3f);
    cell1.setBorderWidthRight(3f);
    cell1.setBorderWidthTop(10f);
    cell1.setPadding(0f);
    //Heading
    pHeading = new Paragraph(8f, "Voyage Comments", mainHeadingQuote);
    pHeading.setAlignment(Element.ALIGN_CENTER);
    cell1.addElement(pHeading);
    //company Name
    PdfPTable ntable1 = new PdfPTable(2);
    ntable1.setWidthPercentage(100f);
    ntable1.setWidths(new float[] { 0.1f, 5f });
    ntable1.addCell(createEmptyCell(0, 0.1f, 2));

    ntable1.addCell(createEmptyCell(0, 1f, 0));
    cell = new PdfPCell();
    cell.setBorder(0);
    pHeading = new Paragraph(8f, "" + voyContent.toUpperCase(), blackContentBoldFont);
    cell.addElement(pHeading);
    ntable1.addCell(cell);

    ntable1.addCell(createEmptyCell(0, 2f, 2));
    cell1.addElement(ntable1);
    table.addCell(cell1);
    return table;
}

From source file:com.gp.cong.logisoft.lcl.report.LclVoyageNotificationPdfCreator.java

public PdfPTable thankyouMsg(String contextPath) throws DocumentException, Exception {
    BaseFont palationRomanBase = BaseFont.createFont(contextPath + "/ttf/palabi.ttf", BaseFont.IDENTITY_H,
            BaseFont.EMBEDDED);/*from   ww  w  .  jav a 2 s. co m*/
    Font palatinoRomanSmallFont = new Font(palationRomanBase, 8.5f, Font.ITALIC, new BaseColor(00, 102, 12));
    table = new PdfPTable(1);
    table.setWidthPercentage(100f);
    table.addCell(createEmptyCell(0, 10f, 0));
    cell = new PdfPCell();
    cell.setBorder(0);
    Paragraph pContent = new Paragraph(8f,
            "Thank you for choosing Econocaribe Consolidators, Inc. for your international shipping needs. \n Please contact us if you have any questions at 1-866-ECONO-IT (866-326-6648) or visit us at www.econocaribe.com.",
            palatinoRomanSmallFont);
    pContent.setAlignment(Element.ALIGN_CENTER);
    cell.addElement(pContent);
    table.addCell(cell);
    return table;
}

From source file:com.gp.cong.logisoft.reports.DeliveryOrderPdfCreator.java

public PdfPTable lineTable(FclBl bl, String deliveryDate, String realPath) throws Exception {

    PdfPCell cell = new PdfPCell();
    PdfPCell celL = new PdfPCell();
    String path = LoadLogisoftProperties.getProperty("application.image.logo");
    String econoPath = LoadLogisoftProperties.getProperty("application.image.econo.logo");
    String companyCode = new SystemRulesDAO().getSystemRulesByCode("CompanyCode");
    PdfPTable table = new PdfPTable(4);
    table.setWidthPercentage(100);/*from ww w .  j  a  va 2 s.  com*/
    Paragraph p = null;
    cell = new PdfPCell();
    cell.setColspan(4);
    cell.setBorder(0);
    if (null != bl && bl.getBrand().equalsIgnoreCase("Econo") && ("03").equals(companyCode)) {
        Image img = Image.getInstance(realPath + econoPath);
        img.setAlignment(Element.ALIGN_CENTER);
        img.scalePercent(60);
        img.setAlignment(Element.ALIGN_TOP);
        cell.addElement(img);
    } else if (null != bl && bl.getBrand().equalsIgnoreCase("OTI") && ("02").equals(companyCode)) {
        Image img = Image.getInstance(realPath + econoPath);
        img.setAlignment(Element.ALIGN_CENTER);
        img.scalePercent(60);
        img.setAlignment(Element.ALIGN_TOP);
        cell.addElement(img);
    } else if (null != bl && bl.getBrand().equalsIgnoreCase("Ecu Worldwide")) {
        Image img = Image.getInstance(realPath + path);
        img.setAlignment(Element.ALIGN_CENTER);
        img.scalePercent(60);
        img.setAlignment(Element.ALIGN_TOP);
        cell.addElement(img);
    }
    table.addCell(cell);
    cell = new PdfPCell();
    cell.setColspan(4);
    cell.setBorder(0);
    p = new Paragraph("DELIVERY ORDER", blackBoldFontheading);
    p.setAlignment(Element.ALIGN_CENTER);
    cell.addElement(p);
    table.addCell(cell);

    cell = new PdfPCell();
    cell.setColspan(4);
    cell.setBorder(0);
    p = new Paragraph("DATE PRINTED : " + DateUtils.formatStringDateToAppFormatMMM(new Date()), blackFontForAR);
    p.setAlignment(Element.ALIGN_RIGHT);
    cell.addElement(p);
    table.addCell(cell);

    cell = new PdfPCell();
    cell.setBorderWidthBottom(0f);
    p = new Paragraph(8f, "CONSIGNEE NAME", blackFontForAR);
    cell.addElement(p);
    table.addCell(cell);

    cell = new PdfPCell();
    cell.setBorder(0);
    table.addCell(cell);

    cell = new PdfPCell();
    cell.setBorderWidthBottom(0f);
    p = new Paragraph(8f, "DATE:", blackFontForAR);
    cell.addElement(p);
    table.addCell(cell);

    cell = new PdfPCell();
    cell.setBorderWidthBottom(0f);
    p = new Paragraph(8f, "REF:", blackFontForAR);
    cell.addElement(p);
    table.addCell(cell);

    StringBuilder stringBuilder = new StringBuilder();
    stringBuilder.append(CommonUtils.isNotEmpty(bl.getConsigneeName()) ? bl.getConsigneeName() : "");
    stringBuilder.append("\n");
    stringBuilder.append(CommonUtils.isNotEmpty(bl.getConsigneeAddress()) ? bl.getConsigneeAddress() : "");

    cell = new PdfPCell();
    cell.setRowspan(2);
    cell.setBorderWidthTop(0f);
    p = new Paragraph(8f, stringBuilder.toString(), blackFont);
    cell.addElement(p);
    table.addCell(cell);

    cell = new PdfPCell();
    cell.setBorder(0);
    table.addCell(cell);

    cell = new PdfPCell();
    cell.setBorderWidthTop(0f);
    p = new Paragraph(8f, deliveryDate, blackFont);
    cell.addElement(p);
    table.addCell(cell);

    cell = new PdfPCell();
    cell.setBorderWidthTop(0f);
    p = new Paragraph(8f, "04-" + bl.getFileNo(), blackFont);
    cell.addElement(p);
    table.addCell(cell);

    cell = new PdfPCell();
    cell.setBorder(0);
    table.addCell(cell);

    cell = new PdfPCell();
    cell.setBorder(0);
    cell.setColspan(2);
    p = new Paragraph(8f, "THE MERCHANDISE DESCRIBED BELOW WILL BE ENTERED AND FORWARDED AS FOLLOWS:",
            blackFontForAR);
    p.setAlignment(Element.ALIGN_LEFT);
    cell.addElement(p);
    table.addCell(cell);

    return table;
}

From source file:com.gp.cong.logisoft.reports.LclExportVoyageNotificationPdf.java

public PdfPTable imageBlock(String realPath, String path)
        throws IOException, BadElementException, DocumentException {
    Font fontArialBold = FontFactory.getFont("Courier", 18f, Font.NORMAL);
    table = new PdfPTable(1);
    table.setWidths(new float[] { 5.9f });
    table.setWidthPercentage(100f);// w w  w  .  j av  a2  s.  com
    cell = new PdfPCell();
    cell.setBorder(0);
    cell.setPadding(0f);
    Image img = Image.getInstance(realPath + path);
    img.scalePercent(90);
    img.setAlignment(Element.ALIGN_CENTER);
    cell.addElement(img);
    table.addCell(cell);
    cell = new PdfPCell();
    cell.setBorder(0);
    cell.setPadding(0f);
    p = new Paragraph(12f, "    (866) 326-6648", fontArialBold);
    p.setAlignment(Element.ALIGN_CENTER);
    cell.addElement(p);
    table.addCell(cell);
    cell = new PdfPCell();
    cell.setBorder(0);
    cell.setPadding(0f);
    String companyWebsite = new PropertyDAO().getProperty(
            companyCode.equalsIgnoreCase("03") ? "application.ECU.website" : "application.OTI.website");
    p = new Paragraph(28f, "   " + companyWebsite, fontArialBold);
    p.setAlignment(Element.ALIGN_CENTER);
    cell.addElement(p);
    table.addCell(cell);
    return table;
}

From source file:com.gp.cong.logisoft.reports.LclExportVoyageNotificationPdf.java

public PdfPTable headerPage(String voyageHeading) throws DocumentException {
    table = new PdfPTable(1);
    table.setWidths(new float[] { 6.9f });
    table.setWidthPercentage(100f);/*from   www .  j av  a 2 s .c  om*/
    Font fontArialBold = FontFactory.getFont("Courier", 25f, Font.BOLD);
    cell = new PdfPCell();
    cell.setBorder(0);
    p = new Paragraph(32f, "" + voyageHeading, fontArialBold);
    p.setAlignment(Element.ALIGN_CENTER);
    cell.addElement(p);
    table.addCell(cell);
    cell = new PdfPCell();
    cell.setBorder(0);
    table.addCell(cell);
    cell = new PdfPCell();
    cell.setBorder(1);
    p = new Paragraph(25f, " ", fontArialBold);
    p.setAlignment(Element.ALIGN_LEFT);
    cell.addElement(p);
    table.addCell(cell);
    return table;
}

From source file:com.gp.cong.logisoft.reports.LclExportVoyageNotificationPdf.java

public PdfPTable footerBlock() throws IOException, BadElementException, DocumentException, Exception {
    table = new PdfPTable(3);
    table.setWidthPercentage(100f);/*  w w  w . ja  v a 2 s .com*/
    Font fontArialNormal = FontFactory.getFont("Courier", 10f, Font.NORMAL);
    cell = new PdfPCell();
    cell.setBorder(0);
    cell.setColspan(0);
    p = new Paragraph(9f, "Date:" + DateUtils.formatDate(new Date(), "MM/dd/yyyy"), fontArialNormal);
    p.setAlignment(Element.ALIGN_LEFT);
    cell.addElement(p);

    table.addCell(cell);
    cell = new PdfPCell();
    cell.setBorder(0);
    cell.setColspan(0);
    p = new Paragraph(9f, "End Of Report", fontArialNormal);
    p.setAlignment(Element.ALIGN_LEFT);
    cell.addElement(p);
    table.addCell(cell);

    cell = new PdfPCell();
    cell.setBorder(0);
    cell.setColspan(0);
    p = new Paragraph(9f, "Time :" + new Date().getHours() + ":" + new Date().getMinutes(), fontArialNormal);
    p.setAlignment(Element.ALIGN_CENTER);
    cell.addElement(p);
    table.addCell(cell);
    return table;
}

From source file:com.grant.report.BillPdf.java

private void createTable(Paragraph preface) throws BadElementException, DocumentException {
    addEmptyLine(preface, 1);/* ww  w .j  a  va 2 s  . co  m*/
    PdfPTable table = new PdfPTable(6);

    // t.setBorderColor(BaseColor.GRAY);
    // t.setPadding(4);
    // t.setSpacing(4);
    // t.setBorderWidth(1);
    PdfPCell c1 = new PdfPCell(new Phrase("Item Code"));
    c1.setHorizontalAlignment(Element.ALIGN_CENTER);
    table.addCell(c1);

    c1 = new PdfPCell(new Phrase("Description"));
    c1.setHorizontalAlignment(Element.ALIGN_CENTER);
    table.addCell(c1);

    c1 = new PdfPCell(new Phrase("Qty"));
    c1.setHorizontalAlignment(Element.ALIGN_CENTER);
    table.addCell(c1);

    c1 = new PdfPCell(new Phrase("Unit"));
    c1.setHorizontalAlignment(Element.ALIGN_CENTER);
    table.addCell(c1);

    c1 = new PdfPCell(new Phrase("Rate"));
    c1.setHorizontalAlignment(Element.ALIGN_CENTER);
    table.addCell(c1);

    c1 = new PdfPCell(new Phrase("Amount"));
    c1.setHorizontalAlignment(Element.ALIGN_CENTER);
    table.addCell(c1);

    table.setHeaderRows(1);
    float[] columnWidths = new float[] { 15f, 30f, 10f, 10f, 10f, 15f };
    table.setWidths(columnWidths);

    ItemDAO dao = new ItemDAO();

    String itemName;
    String itemNo;
    String description;
    String outwards;
    String unitPrice;
    String amount;
    String unit;

    Vector<Vector<String>> data;
    data = dao.getStockOutTbl(invoNo);
    String s = data.get(0).get(1);
    for (int i = 0; i < data.size(); i++) {
        Vector<String> data2 = data.get(i);

        itemName = data.get(i).get(0);
        description = data.get(i).get(3);
        outwards = data.get(i).get(5);
        itemNo = data.get(i).get(1);
        unit = data.get(i).get(6);
        unitPrice = data.get(i).get(8);
        amount = data.get(i).get(9);

        table.addCell(itemNo);
        table.addCell(description);
        table.addCell(outwards);
        table.addCell(unit);
        table.addCell(unitPrice);
        table.addCell(amount);
    }
    preface.add(table);
}

From source file:com.horizzon.inventerium.ExportPdf.java

private static void createTable(Section subCatPart) throws BadElementException {
    PdfPTable table = new PdfPTable(3);

    // t.setBorderColor(BaseColor.GRAY);
    // t.setPadding(4);
    // t.setSpacing(4);
    // t.setBorderWidth(1);

    PdfPCell c1 = new PdfPCell(new Phrase("Buy Date"));
    c1.setHorizontalAlignment(Element.ALIGN_CENTER);
    table.addCell(c1);// w  ww .ja  va2s  . co  m

    c1 = new PdfPCell(new Phrase("Shopkeeper Name"));
    c1.setHorizontalAlignment(Element.ALIGN_CENTER);
    table.addCell(c1);

    c1 = new PdfPCell(new Phrase("Quantity"));
    c1.setHorizontalAlignment(Element.ALIGN_CENTER);
    table.addCell(c1);

    c1 = new PdfPCell(new Phrase("Amount"));
    c1.setHorizontalAlignment(Element.ALIGN_CENTER);
    table.addCell(c1);

    c1 = new PdfPCell(new Phrase("Profit"));
    c1.setHorizontalAlignment(Element.ALIGN_CENTER);
    table.addCell(c1);

    c1 = new PdfPCell(new Phrase("Payment Status"));
    c1.setHorizontalAlignment(Element.ALIGN_CENTER);
    table.addCell(c1);
    table.setHeaderRows(1);

    for (int i = 0; i < transaction_list_export.size(); i++) {

        HashMap<String, String> transactionlist = new HashMap<String, String>();
        transactionlist = transaction_list_export.get(i);

        table.addCell("" + transactionlist.get(T_DATE));

        int pos = find_Shopkeeper_id(transactionlist.get(USER_ID), shopkeeper_id_export);
        table.addCell("" + shopkeeper_name_export.get(pos));
        table.addCell(transactionlist.get(T_QTY));

        int am = Integer.parseInt(transactionlist.get(T_UNIT_PRICE))
                * Integer.parseInt(transactionlist.get(T_QTY));
        table.addCell("" + am);

        table.addCell("" + Integer.parseInt(transactionlist.get(T_UNIT_PRICE)) / 2);

        table.addCell(transactionlist.get(T_PAYMENT_STATUS));

    }
    subCatPart.add(table);

}