Package org.docx4j.samples
Class BookmarksReplaceWithText
java.lang.Object
org.docx4j.samples.BookmarksReplaceWithText
Replace text between w:bookmarkStarts and corresponding w:bookmarkEnds
with specified data, matching on bookmark's @w:name
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static booleanprivate static ObjectFactoryprotected static org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprivate voidreplaceBookmarkContents(List<Object> paragraphs, Map<DataFieldName, String> data)
-
Field Details
-
log
protected static org.slf4j.Logger log -
DELETE_BOOKMARK
private static boolean DELETE_BOOKMARK -
factory
-
-
Constructor Details
-
BookmarksReplaceWithText
public BookmarksReplaceWithText()
-
-
Method Details