Commit 94fff477 authored by wangxl's avatar wangxl

1

parent 5b9c6449
......@@ -929,7 +929,11 @@ public class TaskInfoToPDFUtil {
}
private static void addProjectKPITable(Document document, ComProjectTaskDTO dto, BaseFont bfChinese, BaseFont fsChinese) throws DocumentException {
document.newPage();
Font titleFont = new Font(bfChinese, 14f, Font.BOLD);
Font normalFont = new Font(bfChinese, 12f, Font.NORMAL);
// 添加标题
addSection(document, "八、项目绩效目标表", titleFont);
}
private static void addFileTable(Document document, ComProjectTaskDTO dto, BaseFont bfChinese, BaseFont fsChinese) throws DocumentException {
......@@ -951,7 +955,7 @@ public class TaskInfoToPDFUtil {
addCell(fileTable, "附件名称", null, null, labelFont, 40f, Element.ALIGN_CENTER, Element.ALIGN_MIDDLE);
addCell(fileTable, "份数", null, null, labelFont, 40f, Element.ALIGN_CENTER, Element.ALIGN_MIDDLE);
addCell(fileTable, "备注", null, null, labelFont, 40f, Element.ALIGN_CENTER, Element.ALIGN_MIDDLE);
// 附件列表内容
String[][] attachments = {
{"1", "项目申请书", "1", ""},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment