Commit 4955bed5 authored by 徐俊's avatar 徐俊

xujun

parent ab7472df
......@@ -226,6 +226,11 @@ public class ProjectInfoToPDF {
/**
* 项目基本信息
* @param document
* @param project
* @param bfChinese
* @param fsChinese
* @throws DocumentException
*/
private static void addProjectBasicTable(Document document, ComProjectDTO project, BaseFont bfChinese, BaseFont fsChinese) throws DocumentException {
Font labelFont = new Font(bfChinese, 12, Font.NORMAL);
......@@ -338,9 +343,15 @@ public class ProjectInfoToPDF {
document.add(mainTable);
}
/**
* 添加基本信息表格单元格
* @param table
* @param label
* @param value
* @param colspan
* @param labelFont
* @param valueFont
*/
private static void addBasicTableCell(PdfPTable table, String label, String value, int colspan, Font labelFont, Font valueFont) {
PdfPCell labelCell = new PdfPCell(new Phrase(label, labelFont));
......
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