Hi all,
I have a requirement to parse a docx file, looking for user-supplied tags and substitute images or text.
As noted in the getting started guide, searching for text is problematic because the text could be broken across multiple runs.
I'm wondering if there's a way to (using Word) insert some sort of tag that's easy to parse for in the XML (using docx4j).
One possible solution I found: Insert a hidden HTML element. ...