月报导出--封面单独占用一页
This commit is contained in:
+4
@@ -886,6 +886,8 @@ public class LawsMonthlyReportWriteEOServiceImpl extends ServiceImpl<LawsMonthly
|
|||||||
false, false, "Blue Sky Noto Regular",null,null,flag);
|
false, false, "Blue Sky Noto Regular",null,null,flag);
|
||||||
WordUtil.exportWord(document, moth+"\r\n", null, ParagraphAlignment.CENTER, 0, 12,
|
WordUtil.exportWord(document, moth+"\r\n", null, ParagraphAlignment.CENTER, 0, 12,
|
||||||
false, true, "Blue Sky Noto Regular",null,null,flag);
|
false, true, "Blue Sky Noto Regular",null,null,flag);
|
||||||
|
//添加下一页
|
||||||
|
document.createParagraph().createRun().addBreak(BreakType.PAGE);
|
||||||
}
|
}
|
||||||
//封面
|
//封面
|
||||||
private void coverEn(List<LawsMonthlyReportWriteEO> lawsMonthlyReportWriteEOS,
|
private void coverEn(List<LawsMonthlyReportWriteEO> lawsMonthlyReportWriteEOS,
|
||||||
@@ -900,6 +902,8 @@ public class LawsMonthlyReportWriteEOServiceImpl extends ServiceImpl<LawsMonthly
|
|||||||
false, false, "Blue Sky Noto Regular",null,null,flag);
|
false, false, "Blue Sky Noto Regular",null,null,flag);
|
||||||
WordUtil.exportWord(document, moth+"\r\n", null, ParagraphAlignment.CENTER, 0, 12,
|
WordUtil.exportWord(document, moth+"\r\n", null, ParagraphAlignment.CENTER, 0, 12,
|
||||||
false, true, "Blue Sky Noto Regular",null,null,flag);
|
false, true, "Blue Sky Noto Regular",null,null,flag);
|
||||||
|
//添加下一页
|
||||||
|
document.createParagraph().createRun().addBreak(BreakType.PAGE);
|
||||||
}
|
}
|
||||||
private void wordContent(List<LawsMonthlyReportWriteEO> lawsMonthlyReportWriteEOS,
|
private void wordContent(List<LawsMonthlyReportWriteEO> lawsMonthlyReportWriteEOS,
|
||||||
List<LawsMonthlyReportTitleTemplateEO> lawsMonthlyReportTitleTemplateEOS,
|
List<LawsMonthlyReportTitleTemplateEO> lawsMonthlyReportTitleTemplateEOS,
|
||||||
|
|||||||
Reference in New Issue
Block a user