法规月报导出--设置主页面脚本字体
This commit is contained in:
@@ -251,6 +251,10 @@ public class WordUtil {
|
|||||||
paragraph.setAlignment(ParagraphAlignment.CENTER);
|
paragraph.setAlignment(ParagraphAlignment.CENTER);
|
||||||
XWPFRun run = paragraph.createRun();
|
XWPFRun run = paragraph.createRun();
|
||||||
run.setText("NIO Internal");
|
run.setText("NIO Internal");
|
||||||
|
run.setFontSize(18);
|
||||||
|
run.setFontFamily("Blue Sky Standard Regular");
|
||||||
|
// run.setFontFamily("Blue Sky Noto Regular");
|
||||||
|
run.setBold(true);
|
||||||
|
|
||||||
|
|
||||||
CTSectPr sectPr = document.getDocument().getBody().getSectPr();
|
CTSectPr sectPr = document.getDocument().getBody().getSectPr();
|
||||||
|
|||||||
Reference in New Issue
Block a user