|
|
@@ -184,18 +184,19 @@ public class PdfUtil {
|
|
|
|
|
|
public static void dealEduBody(Document document, PdfPTable table, Font tableFont, Map<String, Object> data) throws Exception {
|
|
|
//第一行
|
|
|
- createPDFCell(tableFont, table, "时间", Element.ALIGN_MIDDLE, 1, 1);
|
|
|
- createPDFCell(tableFont, table, data.get("time").toString(), Element.ALIGN_LEFT, 2, 1);
|
|
|
+
|
|
|
createPDFCell(tableFont, table, "单位名称", Element.ALIGN_MIDDLE, 1, 1);
|
|
|
createPDFCell(tableFont, table, data.get("address").toString(), Element.ALIGN_MIDDLE, 2, 1);
|
|
|
+ createPDFCell(tableFont, table, "地点", Element.ALIGN_MIDDLE, 1, 1);
|
|
|
+ createPDFCell(tableFont, table, data.get("site").toString(), Element.ALIGN_MIDDLE, 2, 1);
|
|
|
//第二行
|
|
|
createPDFCell(tableFont, table, "主持人", Element.ALIGN_MIDDLE, 1, 1);
|
|
|
createPDFCell(tableFont, table, data.get("hostName").toString(), Element.ALIGN_MIDDLE, 2, 1);
|
|
|
createPDFCell(tableFont, table, "记录人", Element.ALIGN_MIDDLE, 1, 1);
|
|
|
createPDFCell(tableFont, table, data.get("recorderName").toString(), Element.ALIGN_MIDDLE, 2, 1);
|
|
|
|
|
|
- createPDFCell(tableFont, table, "地点", Element.ALIGN_MIDDLE, 1, 1);
|
|
|
- createPDFCell(tableFont, table, data.get("site").toString(), Element.ALIGN_LEFT, 5, 1);
|
|
|
+ createPDFCell(tableFont, table, "时间", Element.ALIGN_MIDDLE, 1, 1);
|
|
|
+ createPDFCell(tableFont, table, data.get("time").toString(), Element.ALIGN_LEFT, 5, 1);
|
|
|
|
|
|
//内容
|
|
|
createPDFCell(tableFont, table, "内容", Element.ALIGN_MIDDLE, 1, 1);
|