diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/utils/StudyFormFillUtil.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/utils/StudyFormFillUtil.java index c8a0b72..a0c233e 100644 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/utils/StudyFormFillUtil.java +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/utils/StudyFormFillUtil.java @@ -417,7 +417,7 @@ public class StudyFormFillUtil { float y = document.bottom() - 20; // 在每一页都重新计算,确保位置准确 - String pageText =language.equals("zh")? (signText+ " 第 " + currentPage + " 页 / 共 "):(signText+ " page " + currentPage + " / "); + String pageText =language.equals("zh")? (signText+ " 页 " + currentPage + " / "):(signText+ " page " + currentPage + " of "); BaseFont baseFont = footerFont.getBaseFont(); // 计算页面文本宽度 @@ -440,10 +440,10 @@ public class StudyFormFillUtil { cb.addTemplate(total, startX + pageTextWidth, y); // 写入"页"字 - if(language.equals("zh")){ - ColumnText.showTextAligned(cb, Element.ALIGN_LEFT, - new Phrase(" 页", footerFont), startX + pageTextWidth + totalWidth-10, y, 0); - } +// if(language.equals("zh")){ +// ColumnText.showTextAligned(cb, Element.ALIGN_LEFT, +// new Phrase(" 页", footerFont), startX + pageTextWidth + totalWidth-10, y, 0); +// } // PdfContentByte content = writer.getDirectContentUnder(); // 在水印层添加 //