Skip to content

Presale payment confirm — generate this PDF with Java (Template)

JQuick-PdfSupply-chain Demos

Template1 页 A4 · 32 KB

Presale housing payment receipt / balance settlement confirmation.

Download the PDFView raw template fileBack to all demos

Presale payment confirm — Template
Rendered output

Output specs

PDF pages
1
Chart type
Template
Template lines
183
Source lines
213

Java source · JQuickBiz184PresalePaymentConfirm.java

This is the complete test class that produced the PDF above — copy it and run as-is; see the quick-start section for the Maven dependency.

/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Copyright (c) [2025-2099] Martin ([email protected])
 */
package com.github.paohaijiao.biz.supply;

import com.github.paohaijiao.config.JPdfConfig;
import com.github.paohaijiao.executor.JQuickPdfFactory;

import java.io.File;
import java.io.IOException;
import java.math.BigDecimal;
import java.nio.file.Files;
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * 单据 184:预售房款收款单 / 尾款结算确认单(supply 领域第 5 项)。
 *
 * <p>本类为独立可运行 Demo:自带 {@code main} 方法、不依赖任何公共工具类或实体类,
 * 数据以 key-value 形式通过 {@link JQuickPdfFactory#bindAll(Map)} 注入,
 * 版式全部落在模板文件 {@code demo/biz/supply/184_presale_payment_confirm.txt} 中。</p>
 *
 * <p>视觉主题「橄榄·厚框·典式」:主色 #549632、辅色 #3C2791、浅底 #F3F6F1;
 * 版式为 classic 抬头 + grid2 信息区 + solid 明细表 + right 签章区 + plain 落款,
 * 与同领域其它单据互不重样。</p>
 *
 * <p>预售房款收款单 / 尾款结算确认单:预售许可证与项目房号、房屋总价与面积,</p>
 * <p>逐笔款项(应收、实收、日期、方式)与结算合计、资金监管账户与三方签字栏。</p>
 *
 * <p>运行后输出:{@code D:/test/pdf/184_presale_payment_confirm.pdf}。</p>
 *
 * @author Martin
 * @version 1.0.0
 */
public class JQuickBiz184PresalePaymentConfirm {

    private static final String PDF_DIR = "D:/test/pdf/";
    private static final String OUT_FILE = PDF_DIR + "184_presale_payment_confirm.pdf";
    private static final String TEMPLATE = "demo/biz/supply/184_presale_payment_confirm.txt";

    /** 模板固定明细行数,不足时补空行,避免占位符原样输出。 */
    private static final int ITEM_ROWS = 6;

    public static void main(String[] args) throws IOException {
        new File(PDF_DIR).mkdirs();

        // ---------- 1. 数据(无实体类,直接 bind)----------
        String[][] items = {
                {"1", "定金", "100000.00", "100000.00", "2026-08-12", "银行转账", "已收"},
                {"2", "首付款(一期)", "460000.00", "460000.00", "2026-08-26", "银行转账", "已收"},
                {"3", "首付款(二期)", "300000.00", "300000.00", "2026-09-18", "POS 刷卡", "已收"},
                {"4", "按揭贷款放款", "1700000.00", "1700000.00", "2026-10-12", "银行放款", "已收"},
                {"5", "尾款 / 面积补差", "300000.00", "300000.00", "2026-10-20", "银行转账", "已收"},
                {"6", "维修基金与税费", "0.00", "0.00", "—", "另行缴纳", "待缴"}
        };

        Map<String, Object> data = new LinkedHashMap<String, Object>();
        data.put("receiptNo", "PRE-20261020-007712");
        data.put("receiveDate", "2026年10月20日");
        data.put("devName", "××房地产开发有限公司");
        data.put("presaleNo", "××房预字第〔2026〕088 号");
        data.put("projectInfo", "××花园 3 期 / 8 幢 1 单元 1802 室");
        data.put("buyerInfo", "崔行知 / 3201××××××××××××××");
        data.put("areaInfo", "128.60 ㎡ / 106.42 ㎡");
        data.put("totalPrice", "¥2,860,000.00");
        data.put("downPayment", "¥860,000.00");
        data.put("loanAmount", "¥1,700,000.00");
        data.put("balanceAmount", "¥300,000.00");
        data.put("superviseAccount", "××银行××支行 3201 8877 6655 0012(预售资金监管专户)");
        data.put("payInfo", "POS 刷卡 + 按揭放款 / REC-20261020-0033");
        data.put("settleResult", "房款已全额结清,具备办理不动产登记条件");
        data.put("remark", "预售资金须全额存入监管账户并专项用于本项目建设;房款结清后由开发企业协助办理不动产权证。");
        data.put("devSign", "××房地产开发有限公司");
        data.put("cashier", "沈亦舟");
        data.put("buyerSign", "崔行知");

        // 明细逐格展开,并累计金额
        BigDecimal itemTotal = BigDecimal.ZERO;
        for (int i = 0; i < ITEM_ROWS; i++) {
            int n = i + 1;
            if (i >= items.length) {
                data.put("itemName" + n, "—");
                data.put("itemSpec" + n, "—");
                data.put("itemUnit" + n, "—");
                data.put("itemQty" + n, "—");
                data.put("itemPrice" + n, "—");
                data.put("itemAmount" + n, "—");
                data.put("itemTax" + n, "—");
                continue;
            }
            data.put("itemName" + n, items[i][0]);
            data.put("itemSpec" + n, items[i][1]);
            itemTotal = itemTotal.add(new BigDecimal(items[i][2]));
            data.put("itemUnit" + n, items[i][2]);
            data.put("itemQty" + n, items[i][3]);
            data.put("itemPrice" + n, items[i][4]);
            data.put("itemAmount" + n, items[i][5]);
            data.put("itemTax" + n, items[i][6]);
        }

        data.put("totalAmount", itemTotal.setScale(2, BigDecimal.ROUND_HALF_UP).toPlainString());
        data.put("totalAmountInWords", toChineseAmount(itemTotal));

        data.put("receivedTotal", itemTotal.setScale(2, BigDecimal.ROUND_HALF_UP).toPlainString());

        data.put("totalLine", "房款应收合计(大写)" + toChineseAmount(itemTotal) + "  (小写)¥" + itemTotal.setScale(2, BigDecimal.ROUND_HALF_UP).toPlainString());

        data.put("settleLine", "已收房款合计 ¥" + itemTotal.setScale(2, BigDecimal.ROUND_HALF_UP).toPlainString() + "  欠款 ¥0.00  房款已全额结清");

        // ---------- 2. 渲染 ----------
        JPdfConfig config = new JPdfConfig();
        config.getLayoutConfig().setFlexLayout(true);
        config.getDoc().setMargins(Arrays.asList(36, 36, 36, 36));
        config.getFontConfig().setDefaultFontName("Noto Sans CJK SC");
        config.getHeaderConfig().setEnabled(true);
        config.getHeaderConfig().setText("××房地产开发有限公司 预售房款收款 / 尾款结算确认单 PRE-20261020-007712");
        config.getHeaderConfig().setFontSize(8f);
        config.getHeaderConfig().setHeight(28);
        config.getFooterConfig().setEnabled(true);
        config.getFooterConfig().setFontSize(8);
        config.getFooterConfig().setPageNumberFormat("— %d —");

        JQuickPdfFactory factory = new JQuickPdfFactory(config);
        factory.bindAll(data);
        byte[] pdf = factory.executeResource(TEMPLATE);
        Files.write(new File(OUT_FILE).toPath(), pdf);
        System.out.println("已生成:" + OUT_FILE + "(" + pdf.length + " 字节)");
    }

    /** 人民币金额转票据大写(元角分,末尾补「整」)。 */
    private static String toChineseAmount(BigDecimal amount) {
        String[] digits = {"零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"};
        String[] units = {"", "拾", "佰", "仟"};
        String[] sections = {"", "万", "亿", "万亿"};
        long cents = amount.setScale(2, BigDecimal.ROUND_HALF_UP)
                .movePointRight(2).longValue();
        if (cents == 0) {
            return "零元整";
        }
        long yuan = cents / 100;
        int jiao = (int) (cents % 100 / 10);
        int fen = (int) (cents % 10);
        StringBuilder sb = new StringBuilder();
        if (yuan > 0) {
            sb.append(toChineseSection(yuan, digits, units, sections)).append("元");
        }
        if (jiao == 0 && fen == 0) {
            sb.append("整");
        } else {
            if (jiao > 0) {
                sb.append(digits[jiao]).append("角");
            } else if (yuan > 0) {
                sb.append("零");
            }
            if (fen > 0) {
                sb.append(digits[fen]).append("分");
            }
        }
        return sb.toString();
    }

    /** 整数部分按四位分节转大写。 */
    private static String toChineseSection(long value, String[] digits, String[] units, String[] sections) {
        StringBuilder sb = new StringBuilder();
        int sectionIndex = 0;
        boolean needZero = false;
        while (value > 0) {
            int section = (int) (value % 10000);
            StringBuilder part = new StringBuilder();
            int unitIndex = 0;
            boolean zeroInSection = false;
            int temp = section;
            while (temp > 0) {
                int digit = temp % 10;
                if (digit == 0) {
                    zeroInSection = true;
                } else {
                    if (zeroInSection || (needZero && part.length() == 0 && sb.length() > 0)) {
                        part.insert(0, digits[0]);
                    }
                    part.insert(0, units[unitIndex]);
                    part.insert(0, digits[digit]);
                    zeroInSection = false;
                    needZero = false;
                }
                unitIndex++;
                temp /= 10;
            }
            if (part.length() > 0) {
                part.append(sections[sectionIndex]);
            }
            sb.insert(0, part);
            needZero = section < 1000 && section > 0;
            value /= 10000;
            sectionIndex++;
        }
        return sb.toString();
    }
}

Minimal invocation (3 lines)

Skip the full test class — the core is these three lines: bind the chart SVG, execute the template, get the PDF bytes. Copy them straight into your project.

// config 可省略;svg 来自 JChartRendererFactory.renderChart(...),见下方完整源码
byte[] pdf = new JQuickPdfFactory(config).executeResource("demo/biz/supply/184_presale_payment_confirm.txt");

Template file · 184_presale_payment_confirm.txt

An HTML-like template with inline CSS that renders to PDF once bound to data. The full template is below — copy it or download the raw file.

<pdf>
<body>
  // 184 预售房款收款单 / 尾款结算确认单(supply 领域第 5 项) 视觉主题:橄榄·厚框·典式
  // 版式组合:抬头=classic 信息区=grid2 明细表=solid 段落=box 签章=right 落款=plain
  // 主色 #549632 辅色 #3C2791 浅底 #F3F6F1
  // 预售房款收款单与尾款结算确认单:定金首付按揭尾款、监管账户与结清确认。

  // 抬头:classic
  <h1 style="fontSize:18pt; bold:true; color:#387719; textAlignment:center; characterSpacing:6pt">'预售房款收款单 / 尾款结算确认单'</h1>
  <p style="fontSize:7.5pt; color:#78838C; textAlignment:center; marginBottom:3px">'收款单号 '${receiptNo}'  收款日期 '${receiveDate}'  开发企业 '${devName}</p>
  <lineSeparator style="color:#549632; thickness:1.5f; marginBottom:8px"></lineSeparator>

  // 信息区:grid2
  <table style="width:100%; fontSize:8.5pt; marginBottom:8px">
    <tr>
      <td style="width:16%; padding:4px; backgroundColor:#F3F6F1; bold:true; border:1px solid #C7D5C1">'收款单号 / NO.'</td>
      <td style="width:34%; padding:4px; border:1px solid #C7D5C1">${receiptNo}</td>
      <td style="width:16%; padding:4px; backgroundColor:#F3F6F1; bold:true; border:1px solid #C7D5C1">'收款日期 / DATE'</td>
      <td style="padding:4px; border:1px solid #C7D5C1">${receiveDate}</td>
    </tr>
    <tr>
      <td style="width:16%; padding:4px; backgroundColor:#F3F6F1; bold:true; border:1px solid #C7D5C1">'房地产开发企业'</td>
      <td style="width:34%; padding:4px; border:1px solid #C7D5C1">${devName}</td>
      <td style="width:16%; padding:4px; backgroundColor:#F3F6F1; bold:true; border:1px solid #C7D5C1">'预售许可证号'</td>
      <td style="padding:4px; border:1px solid #C7D5C1">${presaleNo}</td>
    </tr>
    <tr>
      <td style="width:16%; padding:4px; backgroundColor:#F3F6F1; bold:true; border:1px solid #C7D5C1">'项目名称 / 楼栋房号'</td>
      <td style="width:34%; padding:4px; border:1px solid #C7D5C1">${projectInfo}</td>
      <td style="width:16%; padding:4px; backgroundColor:#F3F6F1; bold:true; border:1px solid #C7D5C1">'买受人 / 证件号码'</td>
      <td style="padding:4px; border:1px solid #C7D5C1">${buyerInfo}</td>
    </tr>
    <tr>
      <td style="width:16%; padding:4px; backgroundColor:#F3F6F1; bold:true; border:1px solid #C7D5C1">'建筑面积 / 套内面积'</td>
      <td style="width:34%; padding:4px; border:1px solid #C7D5C1">${areaInfo}</td>
      <td style="width:16%; padding:4px; backgroundColor:#F3F6F1; bold:true; border:1px solid #C7D5C1">'房屋总价'</td>
      <td style="padding:4px; border:1px solid #C7D5C1">${totalPrice}</td>
    </tr>
    <tr>
      <td style="width:16%; padding:4px; backgroundColor:#F3F6F1; bold:true; border:1px solid #C7D5C1">'定金 / 首付款'</td>
      <td style="width:34%; padding:4px; border:1px solid #C7D5C1">${downPayment}</td>
      <td style="width:16%; padding:4px; backgroundColor:#F3F6F1; bold:true; border:1px solid #C7D5C1">'按揭贷款金额'</td>
      <td style="padding:4px; border:1px solid #C7D5C1">${loanAmount}</td>
    </tr>
    <tr>
      <td style="width:16%; padding:4px; backgroundColor:#F3F6F1; bold:true; border:1px solid #C7D5C1">'尾款金额'</td>
      <td style="width:34%; padding:4px; border:1px solid #C7D5C1">${balanceAmount}</td>
      <td style="width:16%; padding:4px; backgroundColor:#F3F6F1; bold:true; border:1px solid #C7D5C1">'资金监管账户'</td>
      <td style="padding:4px; border:1px solid #C7D5C1">${superviseAccount}</td>
    </tr>
    <tr>
      <td style="width:16%; padding:4px; backgroundColor:#F3F6F1; bold:true; border:1px solid #C7D5C1">'收款方式 / 收据号'</td>
      <td style="width:34%; padding:4px; border:1px solid #C7D5C1">${payInfo}</td>
      <td style="width:16%; padding:4px; backgroundColor:#F3F6F1; bold:true; border:1px solid #C7D5C1">'结算结论'</td>
      <td style="padding:4px; border:1px solid #C7D5C1">${settleResult}</td>
    </tr>
  </table>

  <p style="fontSize:10.5pt; bold:true; color:#387719; marginBottom:4px">'房款收款与结算明细'</p>
  <table style="width:100%; fontSize:8pt; marginBottom:8px">
    <tr>
      <th style="width:7%; padding:4px; backgroundColor:#549632; color:white; bold:true; textAlign:center; border:1px solid #549632">'序号'</th>
      <th style="width:18%; padding:4px; backgroundColor:#549632; color:white; bold:true; textAlign:center; border:1px solid #549632">'款项性质'</th>
      <th style="width:16%; padding:4px; backgroundColor:#549632; color:white; bold:true; textAlign:center; border:1px solid #549632">'应收金额'</th>
      <th style="width:16%; padding:4px; backgroundColor:#549632; color:white; bold:true; textAlign:center; border:1px solid #549632">'实收金额'</th>
      <th style="width:15%; padding:4px; backgroundColor:#549632; color:white; bold:true; textAlign:center; border:1px solid #549632">'收款日期'</th>
      <th style="width:14%; padding:4px; backgroundColor:#549632; color:white; bold:true; textAlign:center; border:1px solid #549632">'收款方式'</th>
      <th style="padding:4px; backgroundColor:#549632; color:white; bold:true; textAlign:center; border:1px solid #549632">'状态'</th>
    </tr>
    <tr>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemName1}</td>
      <td style="padding:4px; textAlign:left; border:1px solid #C7D5C1">${itemSpec1}</td>
      <td style="padding:4px; textAlign:right; border:1px solid #C7D5C1">${itemUnit1}</td>
      <td style="padding:4px; textAlign:right; border:1px solid #C7D5C1">${itemQty1}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemPrice1}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemAmount1}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemTax1}</td>
    </tr>
    <tr>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemName2}</td>
      <td style="padding:4px; textAlign:left; border:1px solid #C7D5C1">${itemSpec2}</td>
      <td style="padding:4px; textAlign:right; border:1px solid #C7D5C1">${itemUnit2}</td>
      <td style="padding:4px; textAlign:right; border:1px solid #C7D5C1">${itemQty2}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemPrice2}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemAmount2}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemTax2}</td>
    </tr>
    <tr>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemName3}</td>
      <td style="padding:4px; textAlign:left; border:1px solid #C7D5C1">${itemSpec3}</td>
      <td style="padding:4px; textAlign:right; border:1px solid #C7D5C1">${itemUnit3}</td>
      <td style="padding:4px; textAlign:right; border:1px solid #C7D5C1">${itemQty3}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemPrice3}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemAmount3}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemTax3}</td>
    </tr>
    <tr>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemName4}</td>
      <td style="padding:4px; textAlign:left; border:1px solid #C7D5C1">${itemSpec4}</td>
      <td style="padding:4px; textAlign:right; border:1px solid #C7D5C1">${itemUnit4}</td>
      <td style="padding:4px; textAlign:right; border:1px solid #C7D5C1">${itemQty4}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemPrice4}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemAmount4}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemTax4}</td>
    </tr>
    <tr>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemName5}</td>
      <td style="padding:4px; textAlign:left; border:1px solid #C7D5C1">${itemSpec5}</td>
      <td style="padding:4px; textAlign:right; border:1px solid #C7D5C1">${itemUnit5}</td>
      <td style="padding:4px; textAlign:right; border:1px solid #C7D5C1">${itemQty5}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemPrice5}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemAmount5}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemTax5}</td>
    </tr>
    <tr>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemName6}</td>
      <td style="padding:4px; textAlign:left; border:1px solid #C7D5C1">${itemSpec6}</td>
      <td style="padding:4px; textAlign:right; border:1px solid #C7D5C1">${itemUnit6}</td>
      <td style="padding:4px; textAlign:right; border:1px solid #C7D5C1">${itemQty6}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemPrice6}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemAmount6}</td>
      <td style="padding:4px; textAlign:center; border:1px solid #C7D5C1">${itemTax6}</td>
    </tr>
    <tr>
      <td style="padding:4px; bold:true; backgroundColor:#F3F6F1; textAlign:center; border:1px solid #549632">'房款结算合计'</td>
      <td style="padding:4px; backgroundColor:#F3F6F1; border:1px solid #549632">'—'</td>
      <td style="padding:4px; bold:true; backgroundColor:#F3F6F1; textAlign:right; border:1px solid #549632">'¥'${totalAmount}</td>
      <td style="padding:4px; bold:true; backgroundColor:#F3F6F1; textAlign:right; border:1px solid #549632">'¥'${receivedTotal}</td>
      <td style="padding:4px; backgroundColor:#F3F6F1; border:1px solid #549632">'—'</td>
      <td style="padding:4px; backgroundColor:#F3F6F1; border:1px solid #549632">'—'</td>
      <td style="padding:4px; backgroundColor:#F3F6F1; border:1px solid #549632">'—'</td>
    </tr>
  </table>

  // 段落:box
  <table style="width:100%; marginBottom:6px">
    <tr>
      <td style="width:150px; padding:5px; backgroundColor:#F3F6F1; bold:true; fontSize:9.5pt; color:#387719; border:1px solid #C7D5C1">'房款应收合计'</td>
      <td style="padding:5px; fontSize:9pt; border:1px solid #C7D5C1">${totalLine}</td>
    </tr>
  </table>
  <table style="width:100%; marginBottom:6px">
    <tr>
      <td style="width:150px; padding:5px; backgroundColor:#F3F6F1; bold:true; fontSize:9.5pt; color:#387719; border:1px solid #C7D5C1">'结算结果'</td>
      <td style="padding:5px; fontSize:9pt; border:1px solid #C7D5C1">${settleLine}</td>
    </tr>
  </table>
  <table style="width:100%; marginBottom:6px">
    <tr>
      <td style="width:150px; padding:5px; backgroundColor:#F3F6F1; bold:true; fontSize:9.5pt; color:#387719; border:1px solid #C7D5C1">'备注 / REMARKS'</td>
      <td style="padding:5px; fontSize:9pt; border:1px solid #C7D5C1">${remark}</td>
    </tr>
  </table>

  // 签章区:right
  <!-- 签章占位区:后续加盖电子公章 / 骑缝章 / 打印二维码 -->
  <table style="width:100%; fontSize:8pt; marginBottom:8px">
    <tr>
      <td style="width:32%; padding:5px; backgroundColor:#F3F6F1; fontSize:7.5pt; color:#78838C; border:1px solid #C7D5C1">'本联次加盖印章后有效,扫码可验真'</td>
      <td style="padding:3px; textAlign:center; color:#549632; border:1px dashed #549632">'(企业公章 / 合同专用章占位)' '(骑缝章 / 二维码占位)'</td>
    </tr>
    <tr>
      <td style="width:32%%; padding:4px">' '</td>
      <td style="padding:3px; textAlign:center; color:#78838C; border:1px dashed #549632">'单位名称:'${devName} '骑缝章沿右边线骑缝加盖'</td>
    </tr>
    <tr>
      <td style="width:32%%; padding:4px">' '</td>
      <td style="padding:3px; textAlign:center; color:#78838C; border:1px dashed #549632">'单据日期:'${receiveDate} '二维码打印于右上角方框内'</td>
    </tr>
  </table>

  // 落款:plain
  <!-- 落款栏 -->
  <table style="width:100%; fontSize:9pt; marginTop:6px">
    <tr>
      <td style="width:33%; padding:4px; color:#387719; borderBottom:1px solid #C7D5C1">'开发企业签章:'${devSign}</td>
      <td style="width:33%; padding:4px; color:#387719; borderBottom:1px solid #C7D5C1">'收款人:'${cashier}</td>
      <td style="padding:4px; color:#387719; borderBottom:1px solid #C7D5C1">'买受人签收:'${buyerSign}</td>
    </tr>
  </table>
</body>
</pdf>

More demos in this group

The PDF, preview image, template and source code on this page were all produced by a real JQuick-Pdf run and are free to copy into your own project.