Shape is missing after converting MS Word 2016 docx to pdf

After converting docx file (in attachment), made with MS Word 2016, barcode in the bottom-right corner in footer is not visible.

Barcode image was inserted into this file earlier with Aspose words.

If open this docx file with earlier version of MS Word and save it, the problem is gone.

Java-code to produce pdf:

final Document attachment = new Document(inputStream, null);
PdfSaveOptions saveOptions = new PdfSaveOptions();, saveOptions);

Test was performed with aspose-words-17.5-java

Hi there,

Thanks for your inquiry. We have noticed your reported issue with MS Word 2016. Even, we have rendered your document to PDF using Aspose.Words for Java and MS Word and still unable to notice the Barcode shape in resultant PDF document. However, when we set compatibility options for MS Word 2007 then it works as expected. Please check following code snippet for your reference.

Please share your input Word file and Barcode image along with sample code that you are using to insert the shape. We will investigate the issue at our end and will guide you accordingly.

Document attachment = new Document("D:/downloads/2016_docx_example.docx");
PdfSaveOptions saveOptions = new PdfSaveOptions();"E:/Data/2016_docx_example.pdf", saveOptions);

Best Regards,

Thank you, looks like it works!