String htmlText = sqnrth;
//添加段落并写入HTML文本
Paragraph paragraph = new Paragraph(doc);
Section section = doc.getLastSection();
paragraph = section.addParagraph();
paragraph.appendText("1111");
paragraph.appendHTML(htmlText);
TextBodyPart table_bodyPart = new TextBodyPart(doc);
table_bodyPart.getBodyItems().add(paragraph);
bookmarksNavigator.moveToBookmark(sqmc); //使用表格替换原书签的内容
bookmarksNavigator.replaceBookmarkContent(table_bodyPart, true); //保存文档