Hi, I tried converting .doc / .mht file to .docx file format using Aspose library in java. While converting it removes header & footer along with other background image.
Attached the sample .doc and .mht file for your reference.
Java Version :8 (JDK : 1.8.0_351)
Aspose jar version: aspose-words-23.1.jar
Code snippet:docsample.zip (2.5 MB)
com.aspose.words.Document doc = new com.aspose.words.Document("docsample.doc");
doc.save("outpu.docx", SaveFormat.DOCX);
Sample file attached
docsample.zip (2.5 MB)
@jaibabu
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): WORDSNET-25507
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
@alexey.noskov
Is this option available in paid product of aspose-words.jar? or this is a know issue?
@jaibabu We have logged the reported problem as WORDSNET-25507 defect. Currently it is in the queue for analysis. Once analysis is doe we will be able to provide you more information.