Hi,
I'm recently using the docx4j and i'm trying to set a bookmark on a Word document (it's my template file).
I already see the manual but i don't find the answer :S
I'm using version 2.8.1 and i'm getting a Bookmark based on the code available
http://www.docx4java.org/forums/docx-java-f6/bookmarks-and-templates-advice-t681.html.
My code is:
PbookmarkedParagraphInPart = findBookmarkedParagraphInPart(documentPart, "bookmarktest");
// 3. copy the found paragraph to keep styling correct
P copy = (P) XmlUtils.deepCopy(bookmarkedParagraphInPart);
String ptext = "Testing"; ...