I’ve noticed that when adding a word document with a continuous section break, the section break itself and the previous section break is changed.
Attached is a zip file with an example project which will generate 2 files, output_OK.doc and output_NOK.doc. In the output_NOK.doc the last document that is added has a continuous section break but after adding this last document, the section break changes to a next page section break and the previous section break changes from next page to continuous. In the output_OK.doc the last document doesn’t have a section break and it doesn’t display this behaviour.
When I added this last document (with a section break) directly via word I didn’t have this issue.
I’m using Aspose.Words 21.8.0.0WebApplicationTest.zip (491.4 KB)
output_NOK.docx (56.7 KB)
output_OK.docx (54.9 KB)