|
|
@@ -218,7 +218,7 @@ public class PDFSelfUtil {
|
|
|
try {
|
|
|
// 不同字体(这里定义为同一种字体:包含不同字号、不同style)
|
|
|
BaseFont bfChinese = BaseFont.createFont("STSong-Light", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED);
|
|
|
- titlefont = new Font(bfChinese, 16, Font.BOLD);
|
|
|
+ titlefont = new Font(bfChinese, 16, Font.NORMAL);
|
|
|
headfont = new Font(bfChinese, 14, Font.BOLD);
|
|
|
keyfont = new Font(bfChinese, 10, Font.BOLD);
|
|
|
namefont = new Font(bfChinese, 12, Font.BOLD);
|
|
|
@@ -297,7 +297,7 @@ public class PDFSelfUtil {
|
|
|
calendar.setTime(date);
|
|
|
// 表格
|
|
|
PdfPTable table = createTable(new float[] { 80, 80, 80, 80, 80, 80 ,80,80});
|
|
|
- table.addCell(createCell("客 户 自 提 委 托 书", centry, Element.ALIGN_CENTER, 8, false));
|
|
|
+ table.addCell(createCell("客 户 自 提 委 托 书", titlefont, Element.ALIGN_CENTER, 8, false));
|
|
|
|
|
|
|
|
|
/* PdfPTable table = createTable(new float[] { 160, 60, 60,60});
|
|
|
@@ -315,7 +315,7 @@ public class PDFSelfUtil {
|
|
|
"受托(提货)人:姓名: "+receivingNote.getBeentrustName()+" 身份证号码: "+receivingNote.getbId()+" 车牌: "+receivingNote.getCarNumber()+"\n\n"+
|
|
|
" 委托人委托受托人于 "+calendar.get(Calendar.YEAR)+" 年 "+(calendar.get(Calendar.MONTH)+1)+" 月 "+calendar.get(Calendar.DATE)+" 日 "+" 来贵司提取交货单号为 "+receivingNote.getDeliveryNumber()+"\n\n"+
|
|
|
" 上所载明的货物。 \n\n"+
|
|
|
- "特此委托!\n\n\n\n"
|
|
|
+ "特此委托!\n\n\n"
|
|
|
, centry, Element.ALIGN_LEFT, 7, false));
|
|
|
document.add(paragraph1);
|
|
|
/* table.addCell(createCell(" \n " +
|