by jason » Wed Jan 25, 2012 10:43 am
By "set its values" you mean replace the contents of the bookmark?
You can find bookmarks using TraversalUtils or XPath.
Altering the contents depends a bit on where the bookmark starts and finishes, but assuming the start and end is in a single paragraph, it is just a matter of replacing content in that paragraph's content list.