fix:
1.合同签章合同盖章
This commit is contained in:
parent
a7738dbc3a
commit
5ac851a07d
@ -30,6 +30,7 @@ public class ContactSignUtils {
|
||||
|
||||
public static List<CTBookmark> getFileBookMarks(InputStream in) {
|
||||
List<CTBookmark> list = new ArrayList<>();
|
||||
try {
|
||||
try (XWPFDocument doc = new XWPFDocument(in)) {
|
||||
for (XWPFParagraph paragraph : doc.getParagraphs()) {
|
||||
list.addAll(paragraph.getCTP().getBookmarkStartList());
|
||||
@ -37,6 +38,9 @@ public class ContactSignUtils {
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}catch (Exception e ){
|
||||
throw new KDBizException("无法解析文件 ");
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user