Commit 4736fdb5 authored by liaoanyuan's avatar liaoanyuan

PC端我的方案导出功能-pdfUtil工具类

parent 260d22b8
...@@ -48,6 +48,7 @@ public class PdfUtil implements Serializable { ...@@ -48,6 +48,7 @@ public class PdfUtil implements Serializable {
// 生成PDF文件 // 生成PDF文件
public void generatePDF(Document document, List<Volunteer> list) throws Exception { public void generatePDF(Document document, List<Volunteer> list) throws Exception {
// 表格 // 表格
PdfPTable table = createTable(new float[] { 40,80,80, 80, 80, 80, 80, 80, 40, 40, 40 }); PdfPTable table = createTable(new float[] { 40,80,80, 80, 80, 80, 80, 80, 40, 40, 40 });
table.addCell(createCell("普通类", headfont, Element.ALIGN_CENTER, 11, false)); table.addCell(createCell("普通类", headfont, Element.ALIGN_CENTER, 11, false));
......
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