I have attached a template which generates differently when converted to a PDF than it does in Word.
Essentially, here is my code:
var document = new Aspose.Words.Document(@"Header and Footer.dot"); document.Save(@"Header and Footer - Aspose.pdf", Aspose.Words.SaveFormat.Pdf);
Note how the header is repeated on pages 2, 3 and 4 with Aspose, but it is only generated once by Word on page 3 (odd section header with a different first page section header).
Header and Footer.zip (143.0 KB)