开发者

Apache POI for Microsoft Word: columns

Does anybody know how to write text in two columns?

I tried XWPFRun.addBreak(BreakType.COLUMN), but didn't work - the result was the 开发者_C百科same as XWPFRun.addBreak().

EDIT: here is the code

 XWPFRun paragraphTenRunOne = paragraphTen.createRun();
        paragraphTenRunOne.setText("this text must be in the first column");
        paragraphTenRunOne.addBreak(BreakType.COLUMN);
        paragraphTenRunOne.setText("this text must be in the second column");
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜