When I append a first document to the end of a second document and the first document has bullet points or numbering in the body, the bullets points (or numbering) disappears. I have tried the Sections.Item(x).AppendContent function and adding the first document one section at a time. Is this a bug in Aspose.Word, or my code? I have Aspose.Word.Dll version 1.7.4.0 on my computer. Below is the code snippets I am testing with.
Dim word As Word = New Word
Dim doc As Document = word.Open("C:\doc1.doc")
Dim doc2 As Document = word.Open("C:\doc2.doc")
While doc.Sections.Count > 0
Dim mySection As Section = doc.Sections(0)
doc.Sections.RemoveAt(0)
doc2.Sections.Add(mySection)
End While
doc2.Save("C:\EndTest.doc", SaveFormat.FormatDocument)