I have two (related?) issues, I am trying to use InsertDocument to merge a document into a document I am creating.
However, my first issue is that I lose styling on the inserted document, and also styles appear to "bleed" into the other document.
In particular, bullet points are lost. If I run the following code with the attached test.docx then the result is the attached testOut.docx. These documents are clearly different, but they shouldn't really be that different.:
using (var stream = new MemoryStream())
var newdoc = Novacode.DocX.Create(stream);
var doc = Novacode.DocX.Load(@"c:\test.docx");
I am also trying to insert a document into another (I can't provide these for data sensitivity reasons), and with those documents I actually get an error when trying to load the documents in Word, and opening Word/document.xml it appears that the xml tags no
longer even match up.