We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Add Time Stamp in Footer of each Page in Word Document & Retain Header Link to Previous Section (C# .NET)

See the attached Zip for sample docs. We are using Aspose Word 19.7
Our code takes a supplied DOC or DOCX (call it 123.doc for example) and adds a TimeStamp in the Footer of each page. Then it saves the file to a new name in the form 123_Viewer.doc
In the original doc there are 2 sections and the header/footer of section 2 are set to be the Same as the Previous section

image.png (31.0 KB)

However in the saved document the Same as Previous is missing and so there is no Header in Section 2.

Am i doing something wrong or is this a bug in Aspose?QA07-06.zip (93.9 KB)


Please upgrade to the latest (21.6) version of Aspose.Words for .NET and see how it goes on your end? In case the problem still remains, then please also create a standalone simplified Console Application (source code without compilation errors) that helps us to reproduce this problem on our end and attach it here for testing. Please do not include Aspose.Words DLL files in it to reduce the file size. We will then investigate the issue further on our end and provide you more information.