I am creating a new docx by cloning from another docx or docm which has tracking enabled and password protected.
The resulting new document has inherited the tracking state and locked state but the password has changed.
Looking into the new file its seems that new docx has a slightly different version of:-
<w:documentProtection w:edit=“trackedChanges” w:enforcement=“1” w:cryptProviderType=“rsaAES”
w:cryptAlgorithmClass=“hash” w:cryptAlgorithmType=“typeAny” w:cryptAlgorithmSid=“14”
Any ideas what this is?
(I am using Aspose.Words.jdk16.jar)