I am using Aspose words for java v10. Usually when the password protected document is opened in MSWord, the password will be asked twice. I am trying to clone a password protected document using the following code,
doc = new Document(“content.doc”,new LoadOptions(pass));
shapeDoc = (Document)doc.deepClone(false);
When i open the Output.doc in MSWord, its asking the password just one time. Why is it so?. Correct me if am wrong anywhere. I need a cloned document with password settings. Is there any method to set the cloned document as password protected? Please help me.