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,
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.