Dear Support,
in our .Net (4.0) Application we use the latest version of Aspose (14.6).
I’m currently trying to perform a mail merge inside a content control. The issue is that after the merge is done the resulting text is not inside the control, but in a run parallel to the control. This happens if the content control is not located at the start a paragraph.
Example word document ([] = content control):
{{TableStart:MyObject}}
[{{MyProperty}}] // the content will be placed inside the content control which is correct
Problem: [{{MyProperty}}] // the content will be placed in separate run, outside of the control
{{TableEnd:MyObject}}
The output would look like this:
[MyPropertyValue]
[]MyPropertyValue
I also attached a sample word document.
Hi Ulrich,
Thanks for your inquiry.
While using the latest version of Aspose.Words i.e. 14.7.0, I managed to reproduce this issue on my side. I have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-10585. Your thread has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.
Best regards,