【修改】 word字体倾斜判断更正
This commit is contained in:
@@ -124,7 +124,6 @@ public class WpsWordUtils {
|
||||
} else {
|
||||
String function = wpsWordReqDto.getFunction();
|
||||
String chineseName = wpsWordReqDto.getName();
|
||||
|
||||
WpsWordJudgementDto judgement = new WpsWordJudgementDto();
|
||||
// 1-1、创建新的数据组
|
||||
XmlCursor wpCursor = cursor.newCursor();
|
||||
@@ -135,6 +134,9 @@ public class WpsWordUtils {
|
||||
judgement.setContent(function + "-/true");
|
||||
} else {
|
||||
String value = wpCursor.getTextValue();
|
||||
if (wpsWordReqDto.getName().contains("倾斜")) {
|
||||
value = value == "0" ? "否" : "是";
|
||||
}
|
||||
value = getValueType(wpsWordReqDto, value);
|
||||
judgement.setContentIn(chineseName + value);
|
||||
judgement.setContent(function + "-/" + value);
|
||||
|
Reference in New Issue
Block a user