if(paragraph.getStyleID() != null) {
XWPFStyle style = styles.getStyle(
paragraph.getStyleID()
);
TagAndStyle tas = WordExtractor.buildParagraphTagAndStyle(
style.getName(), paragraph.getPartType() == BodyType.TABLECELL
);
tag = tas.getTag();
styleClass = tas.getStyleClass();
}
for (CTBookmark bookmark : paragraph.getCTP().getBookmarkStartList()) {
xhtml.element("p", bookmark.getName());
}