I have an exported Word document that I am munging with a hierarchical object model.
The approach I have taken is to walk the model and do String replace at placeholders I put in the originally export sections of the document.
Now I come to the more difficult part. I have a stored filename for each image and in my object model a set of SVG annotations that appear over the top of that png ...