Hello,
I have a scenario where the behaviour is not the one I expect.
I have a master document, that contains a reference to a childDocument. So when my program find that reference, will add a node to it and replace ChildDoc with its content.
For some reason, The paragraph mark keeps the childDocument node rather than keep the parent one.
I tried to change styles but didn’t work.
See pictures:
MasterDocument.png (21.0 KB)
ChildDoc.png (1.1 KB)
How it should look.png (59.6 KB)
After replacing contents:
how it looks.png (33.4 KB)