Word "same as previous" option on header / footer supported?

We are using the latest version of Aspose.Words for .NET. Word has a (new?) feature to copy headers between sections of documents (“Same as previous”). We modify the headers by adding a watermark. When we do this, Aspose.Words does not seem to respect the original setting of “same as previous,” and it does not continue the headers across sections. We have a work-around by copying the header from the previous section manually, but our users are complaining that in the resulting file, when they edit the header in section 1, their changes are not showing up in the headers in other sections.

Are there plans to support “same as previous” for headers and footers in Aspose.Words?

image.png (5.7 KB)

@timwestover

Aspose.Words does support this feature. You can use HeaderFooterCollection.LinkToPrevious method (Boolean) to link or unlink all headers and footers to the corresponding headers and footers in the previous section.

The HeaderFooterCollection.LinkToPrevious method (HeaderFooterType, Boolean) links or unlinks the specified header or footer to the corresponding header or footer in the previous section.

Please check the code example shared in the following article. Hope this helps you.
Controlling How Header and Footers Appear