修订记录左对齐代码提交
This commit is contained in:
parent
dde2f7df96
commit
f67cd46f23
@ -670,7 +670,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