AcceptAllRevisions() removed the document's header

Hi,


We had a word document and when calling AcceptAllRevisions(), the document’s header will be removed.

When you open the document, if you cannot see the header, please first click View, then click Outline, then click Close Outline View, you will be able to see the header.

The original file and the file after calling AcceptAllRevisions() are attached.

Thanks,
Caifang

Hi Caifang,


This is the expected behavior. Please open “TestFile.doc” with MS Word 2016, go to “Review” tab, and choose “Accept all changes” option (see attached screenshot). This produces an output similar to Aspose.Words.

Best regards,