From 99ea8b55655f12313a1eb31ce2f4f01ed0104f89 Mon Sep 17 00:00:00 2001 From: lihongyu <504404568@qq.com> Date: Tue, 23 Aug 2022 19:25:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=B6=E5=BA=A6=E5=AF=BC=E5=85=A5=EF=BC=8C?= =?UTF-8?q?=E8=AF=86=E5=88=AB=E6=AE=B5=E8=90=BD=E4=B8=AD=E7=9A=84=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E6=96=87=E4=BB=B6**?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../coe/pal/datamigration/util/readword/WordUtilXWPF.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/com.actionsoft.apps.coe.pal.datamigration/src/com/actionsoft/apps/coe/pal/datamigration/util/readword/WordUtilXWPF.java b/com.actionsoft.apps.coe.pal.datamigration/src/com/actionsoft/apps/coe/pal/datamigration/util/readword/WordUtilXWPF.java index 2bb3e62d..3c6757df 100644 --- a/com.actionsoft.apps.coe.pal.datamigration/src/com/actionsoft/apps/coe/pal/datamigration/util/readword/WordUtilXWPF.java +++ b/com.actionsoft.apps.coe.pal.datamigration/src/com/actionsoft/apps/coe/pal/datamigration/util/readword/WordUtilXWPF.java @@ -313,6 +313,7 @@ public class WordUtilXWPF { islast = true; } if ("相关文件**".equals(para.getParagraphText())) { + System.err.println("========相关文件========"); islast = true; isend = true; } @@ -328,6 +329,11 @@ public class WordUtilXWPF { richSbuild.append(DocToHtml.getHtml(0, para.getParagraphText())); } if (strb.length() > 0 && islast) { + if("相关文件**".equals( para.getParagraphText())) { + isend = true; + lastislast = true; + break; + } String shapeId1 = UUIDGener.getObjectId(); //System.out.println("段落内容===" + para.getParagraphText());//段落内容 lastindex = onlinedata.size() - 1;