修订记录列宽调整

This commit is contained in:
zhal 2023-09-06 10:36:45 +08:00
parent 1a8848a390
commit b4451c23c5
2 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ public class OutputWordUtil {
//添加表格
Table table = section.addTable(true);
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);
row.isHeader(true);
row.setHeightType(TableRowHeightType.Exactly);