From 6818b048f0c728786e086e18f1202849e99c8762 Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Tue, 7 Apr 2026 15:13:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/hxhq/business/utils/StudyFormFillUtil.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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(); // 在水印层添加 //