When merging the attached documents into the final document entitled 3322_Final.doc, the bullets lose their formatting. You can see in the individual documents that the bullets have the correct formatting, but when merged together using the code below they lose their formatting. We are using version 3.3.5.0 If I remove the "KeepSourceFormatting" option the bullets remain, but we really need that option to stay on.
Heres' the order the documents are merged together in:
3322_CoverPage.doc
3322_TOCPage.doc
ef216392-9502-4e31-8f50-2c674c3a05ee_HF.doc
90ee8b3f-6b6e-495c-80ed-a013959267f9_HF.doc
Here's the code we use to merge or append them together to produce the 3322_Final.doc:
'----- Set License
Dim license As License = New License
license.SetLicense("Aspose.Word.lic")
'----- Get the source Word doc
If Not File.Exists(SrcDocPath) Then Exit Sub
SrcDoc = New Aspose.Word.Document(SrcDocPath)
'----- Copy the section from SrcDoc to DestDoc
For x = 1 To SrcDoc.Sections.Count
DocSection = SrcDoc.Sections(x - 1)
TempSection = CType(DestDoc.ImportNode(DocSection, True, ImportFormatMode.KeepSourceFormatting), Aspose.Word.Section)
DestDoc.Sections.Add(TempSection)
Next
SrcDoc = Nothing