feat: There is no way the,buss
This commit is contained in:
@@ -492,6 +492,7 @@ public class PoiWord {
|
|||||||
XWPFParagraph breakParagraph2 = doc.createParagraph();
|
XWPFParagraph breakParagraph2 = doc.createParagraph();
|
||||||
|
|
||||||
breakParagraph2.setAlignment(ParagraphAlignment.CENTER);
|
breakParagraph2.setAlignment(ParagraphAlignment.CENTER);
|
||||||
|
breakParagraph2.setPageBreak(true);
|
||||||
|
|
||||||
XWPFRun breakParagraphRun2 = breakParagraph2.createRun();
|
XWPFRun breakParagraphRun2 = breakParagraph2.createRun();
|
||||||
breakParagraphRun1.setText(object.getString("standEnName") == null ? "" : object.getString("standEnName"));
|
breakParagraphRun1.setText(object.getString("standEnName") == null ? "" : object.getString("standEnName"));
|
||||||
@@ -513,7 +514,6 @@ public class PoiWord {
|
|||||||
contentParagraphRun1.setFontSize(16);
|
contentParagraphRun1.setFontSize(16);
|
||||||
contentParagraphRun1.setFontFamily("黑体");
|
contentParagraphRun1.setFontFamily("黑体");
|
||||||
contentParagraphRun1.addCarriageReturn();
|
contentParagraphRun1.addCarriageReturn();
|
||||||
contentParagraph1.setPageBreak(true);
|
|
||||||
|
|
||||||
doc.write(out);
|
doc.write(out);
|
||||||
out.close();
|
out.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user