Not able to retain Headers and Footer while conversion

Not able to find the header and footer content during conversion docx to txt file
Using aspose-words-18.11
File is attached for reference (Both the files are attached , the docx and the converted txt file)

TestBatch.zip (58.7 KB)

@rabinintig,

I have already replied a similar query in your other forum thread. Please follow your other thread for any further proceedings. I am also copying the Java code here for your reference:

Document doc = new Document("C:\\Temp\\TestBatch\\DemoText.docx");

TxtSaveOptions txtSaveOptions = new TxtSaveOptions();
txtSaveOptions.setExportHeadersFootersMode(TxtExportHeadersFootersMode.ALL_AT_END);

doc.save("C:\\Temp\\TestBatch\\awjava-20.11.txt", txtSaveOptions);