1.合同签章合同盖章
This commit is contained in:
ljw 2024-11-18 15:21:40 +08:00
parent a7738dbc3a
commit 5ac851a07d

View File

@ -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;
}