Aspose.Words Java check DOCX Protect Password always return False

when I used :
boolean b = doc.unprotect(protectPassword);
if fileType is doc: doc.unprotect(protectPassword) used ok!
if fileType is docx: doc.unprotect(protectPassword) always return fasle

@liweiWH,

Thanks for your inquiry. Have you tried the latest version of Aspose.Words for Java i.e. 19.12 on your end? In case the problem still remains, please ZIP and upload your sample input Word document and password string to un-protect Word document here for testing. We will then investigate the issue on our end and provide you more information.