修订记录列宽调整
This commit is contained in:
parent
1a8848a390
commit
b4451c23c5
Binary file not shown.
@ -437,7 +437,7 @@ public class OutputWordUtil {
|
|||||||
//添加表格
|
//添加表格
|
||||||
Table table = section.addTable(true);
|
Table table = section.addTable(true);
|
||||||
table.resetCells(data.length + 1, header.length);
|
table.resetCells(data.length + 1, header.length);
|
||||||
table.autoFit(AutoFitBehaviorType.Auto_Fit_To_Window);
|
//table.autoFit(AutoFitBehaviorType.Auto_Fit_To_Window);
|
||||||
TableRow row = table.getRows().get(0);
|
TableRow row = table.getRows().get(0);
|
||||||
row.isHeader(true);
|
row.isHeader(true);
|
||||||
row.setHeightType(TableRowHeightType.Exactly);
|
row.setHeightType(TableRowHeightType.Exactly);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user