|
|
|
@ -278,8 +278,10 @@ public class StudyFormFillUtil { |
|
|
|
for (JsonNode node : jsonArray) { |
|
|
|
if (node.get("name") != null) { |
|
|
|
String name = node.get("name").asText(); |
|
|
|
String value = node.get("value") != null ? node.get("value").asText() : ""; |
|
|
|
result.add(name + ":" + value); |
|
|
|
if(!name.equals("url")&&!name.equals("oldUrl")){ |
|
|
|
String value = node.get("value") != null ? node.get("value").asText() : ""; |
|
|
|
result.add(name + ":" + value); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -291,8 +293,10 @@ public class StudyFormFillUtil { |
|
|
|
for (JsonNode node : jsonArray) { |
|
|
|
if (node.get("name") != null) { |
|
|
|
String name = node.get("name").asText(); |
|
|
|
String value = node.get("value") != null ? node.get("value").asText() : ""; |
|
|
|
result.add(name + ":" + value); |
|
|
|
if(!name.equals("url")&&!name.equals("oldUrl")){ |
|
|
|
String value = node.get("value") != null ? node.get("value").asText() : ""; |
|
|
|
result.add(name + ":" + value); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -430,7 +434,7 @@ public class StudyFormFillUtil { |
|
|
|
// 计算起始位置 |
|
|
|
float totalTextWidth = pageTextWidth + totalWidth + |
|
|
|
baseFont.getWidthPoint(language.equals("zh")? " 页":" page", footerFont.getSize()); |
|
|
|
float startX = (document.getPageSize().getWidth() - totalTextWidth) ; |
|
|
|
float startX = (document.getPageSize().getWidth() - totalTextWidth)+(language.equals("zh")?Float.parseFloat("0.0"):Float.parseFloat("10.0")) ; |
|
|
|
|
|
|
|
// 写入当前页信息 |
|
|
|
ColumnText.showTextAligned(cb, Element.ALIGN_LEFT, |
|
|
|
|