by jason » Thu Nov 16, 2017 7:43 pm
Hi James, there is no support for "\b" in org.docx4j.toc.switches right now.
We'd be happy to accept a pull request though if you were to add it.
I guess the way to do it would be to say "if there's a \b" first get that portion of the document, otherwise apply to whole document. So the first thing we need is some code to grab the contents of a bookmark.