[Solved] Warning with OLE objects

Hi Aspose team,
I came accross the following problem during the use of your product.
When saving a document in doc format there is a warning raised by the IWarningCallBack, whereas in docx no warning is raised.
It is quite similar to the problem <a href="https://forum.aspose.com/t/63095 except that it is an other kind of OLE object.

To reproduce:
Document d = new Document(inputPath);
DocSaveOptions options = (DocSaveOptions) SaveOptions.createSaveOptions(SaveFormat.DOC);
options.setWarningCallback(new IWarningCallback(){
@Override
public void warning(WarningInfo arg0) throws Exception {
System.out.println(arg0.getDescription());
}
});
options.setPrettyFormat(true);
d.save(outputPathDoc, options);
//
OoxmlSaveOptions options = (OoxmlSaveOptions) SaveOptions.createSaveOptions(SaveFormat.DOCX);
options.setCompliance(OoxmlCompliance.ISO_29500_2008_TRANSITIONAL);
options.setWarningCallback(new IWarningCallback(){
@Override
public void warning(WarningInfo arg0) throws Exception {
System.out.println(arg0.getDescription());
}
});
options.setPrettyFormat(true);
d.save(outputPathDocx, options);

The source document is attached with this message.

Hi Edith,

Thanks for your inquiry. We tested the scenario and have managed to reproduce the same problem. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-11301. Our development team will further look into the details of this problem and we will keep you updated on the status of correction. We apologize for your inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSNET-11301) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.