WordprocessingMLPackage.save not saving bindings -

2019-09-16 16:37发布

问题:

I am trying to set text/images to content controls in a docx. BindingHandler.applyBindings seems to apply the bindings to the main doc part. I can see the value being changed on debug. But when I save it using WordprocessingMLPackage.save or Docx4J.save, I dont see the newly bound text/image in the output document. What could possibly be the reason?