We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to update inline content control using Java

contain control value replace with old + new value
step to reproduce

  1. in .docx file I change AUTO12345 to AUTO11111
  2. same .docx file I use in code for replacing contain control
  3. when I replace contain control value with a new value (AUTO9999).
  4. it’s replaced with AUTO999911111 value

but my expected output is it will replace with new value (AUTO9999)
Please give me a solution with the existing code.
PFA
test1.zip (35.8 KB)

A post was merged into an existing topic: Contain control font is changed when i replace contain control field with custom value