I have a docx file that contains an altchunk. We’ll call it Main.docx. While inspecting the open xml package of the Main.docx, I can see there is an afchunk2.docx inside of it. This, of course, is the document that will replace the altchunk section. The afchunk2.docx contains a header and footer. Main.docx does not contain a header or footer.
When opening Main.docx in Word, we can see the header and footer from the chunk document appearing in Word. This is what we expect.
When going through Aspose by doing Document doc = new Document(“main.docx”) and then doc.Save(), the resulting document does not include the header and footer. Inspecting the ‘doc’ object does not see a header or footer on any of the sections.
Is this just how Aspose handles altchunks versus Word or is there something I may be missing? The LoadOptions don’t seem to cover any altchunk handling. We are using version 18. Thanks.