20180521232139820.zip (116.5 KB)
Please look at the attached document.
If I open it with Word, I can see 4 sections
- Footers for section 1 and 2 are linked
- Footers for section 3 and 4 are linked
If I open the document with Aspose.Words, section 4 has no footers anyway.
When I add content from another file (using doc.AppendDocument
), all new appended sections do not have the desired footers, even if I call LinkToPrevious(true), using code like this
doc.LastSection.LinkToPrevious(true)
BTW, the document to be appended have just one section, so doc.LastSection refers to the new section appended from the other document)
Or is the shape in the footer the problem? As it looks like the pagenumber field is actually present in the footer of the appended section…
Any hints?