修改相关/支持文件显示
This commit is contained in:
parent
e13ace8423
commit
11d759b1b2
Binary file not shown.
@ -789,7 +789,9 @@ public class OutputWordUtil {
|
||||
//关键控制点风险矩阵 结束
|
||||
|
||||
//相关文件 R_relevant_flies
|
||||
JSONArray relevant_flies = new JSONArray(); //组织职责Table
|
||||
|
||||
|
||||
/*JSONArray relevant_flies = new JSONArray(); //组织职责Table
|
||||
List<DesignerShapeRelationModel> relationList2 = DesignerShapeRelationCache.getListByAttrId(repositoryModel.getId(), "", "related_files");
|
||||
relationList2.sort(Comparator.comparing(DesignerShapeRelationModel::getShapeText));
|
||||
|
||||
@ -912,7 +914,7 @@ public class OutputWordUtil {
|
||||
|
||||
Paragraph paragraph_blank = section.addParagraph();
|
||||
|
||||
}
|
||||
}*/
|
||||
int extercount = 0;
|
||||
//外部相关文件
|
||||
JSONArray ExternalCorrelationFileArray = new JSONArray(); //外部相关文件Table
|
||||
@ -1048,8 +1050,6 @@ public class OutputWordUtil {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//String name = model.getName();
|
||||
JSONObject tmp = new JSONObject();
|
||||
tmp.put("name", name);
|
||||
tmp.put("desc", index);
|
||||
@ -1064,7 +1064,7 @@ public class OutputWordUtil {
|
||||
Paragraph paragraph2 = section.addParagraph();
|
||||
ParagraphFormat paragraphFormat2 = paragraph2.getFormat();
|
||||
paragraphFormat2.setHorizontalAlignment(Left);
|
||||
TextRange tr2 = paragraph2.appendText("支持文件");
|
||||
TextRange tr2 = paragraph2.appendText("相关/支持文件");
|
||||
tr2.getCharacterFormat().setBold(true);
|
||||
tr2.getCharacterFormat().setFontName("宋体");
|
||||
tr2.getCharacterFormat().setFontSize(12f);
|
||||
@ -1099,9 +1099,6 @@ public class OutputWordUtil {
|
||||
row.setHeightType(TableRowHeightType.Auto);
|
||||
for (int i = 0; i < header.length; i++) {
|
||||
row.getCells().get(i).getCellFormat().setVerticalAlignment(VerticalAlignment.Middle);
|
||||
//设置固定列宽
|
||||
//row.getCells().get(0).setWidth(150);
|
||||
//row.getCells().get(1).setWidth(500);
|
||||
Paragraph p = row.getCells().get(i).addParagraph();
|
||||
p.getFormat().setHorizontalAlignment(Center);
|
||||
TextRange txtRange = p.appendText(header[i]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user