修订记录左对齐代码提交
This commit is contained in:
parent
e1fc03901f
commit
b35860647a
@ -666,7 +666,11 @@ public class OutputWordUtil {
|
||||
for (int z= 0; z < rows.getCells().get(j).getParagraphs().getCount();z++){
|
||||
Paragraph p = rows.getCells().get(j).getParagraphs().get(z);
|
||||
p.getFormat().setLineSpacing(12f);//设置边距为1.0
|
||||
p.getFormat().setHorizontalAlignment(Center);
|
||||
if(j==7 && i !=0){
|
||||
p.getFormat().setHorizontalAlignment(Left);
|
||||
}else{
|
||||
p.getFormat().setHorizontalAlignment(Center);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user