Exception while loading encrypted docx file

using aspose 18.4 ,throw com.aspose.words.UnsupportedFileFormatException: Unknown file format: Unknown. password is “123456”.

try
{
    LoadOptions loadOptions = new LoadOptions();
    loadOptions.setLoadFormat(LoadFormat.DOCX);
    loadOptions.setPassword(password);
    Document doc = new Document(srcFilePath, loadOptions);
    doc.removeMacros();
    doc.unprotect();
    doc.save(dstFilePath, SaveFormat.DOCX);
}
catch (Exception e)
{
    //System.out.println(e);
    return -1;
}

test.zip (10.8 KB)

@dropin,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-17059. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Is this issue resolved? thanks.

@dropin,

We have good news for you i.e. WORDSNET-17059 has now been resolved and the fix of this issue will be integrated in next release of Aspose.Words i.e. 18.7. We will inform you via this thread as soon as 18.7 release of Aspose.Words will be published at the start of next month.

The issues you have found earlier (filed as WORDSNET-17059) have been fixed in this Aspose.Words for .NET 18.7 update and this Aspose.Words for Java 18.7 update.