制度导入,识别段落中的相关文件**
This commit is contained in:
parent
0e266fcd27
commit
99ea8b5565
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user