2013年12月17日星期二

poi word to set the row height

XWPFParagraph paragraph = doc.createParagraph ();
paragraph.setSpacingLineRule (LineSpacingRule.AUTO);

XWPFRun run = paragraph.createRun ();
run.setText (text);
run.setFontSize (16);
run.setFontFamily (" bold" ) ;
run.setBold (true);

help how to set the paragraph line height ? API looked , could not find the line properties can be set high .
http://poi.apache.org/apidocs/index.html
------ Solution --------------------- -----------------------
poi operating word, reference http://wenku.baidu.com/view/f798d009a6c30c2259019e8b.html
- ----- For reference only ---------------------------------------

here is operating table , I need is plain text , or thank you.

没有评论:

发表评论