说明本文是CSDN-问答模块,题主提问。问题描述:poi 设置允许西文在单词中间换行
一、问题描述
poi 设置允许西文在单词中间换行?
// 创建一个新的文档XWPFDocument document = new XWPFDocument();// 创建段落XWPFParagraph firstParagraph = document.createParagraph();firstParagraph.setSpacingBetween(1.5);firstParagraph.setStyle("1111");firstParagraph.setVerticalAlignment(TextAlignment.AUTO);// 创建文本XWPFRun run3 = firstParagraph.createRun();run3.setText(" " + "②网上办:");run3.setFontFamily("微软雅黑");run3.set