docx就是zip文件,解开随便改,然后在压缩回去就行了。去文档保护,也是直接改xml文件即可。
修改docx中的settings.xml文件,删除类似下面内容即可。
<w:documentProtection w:edit="forms" w:enforcement="1" w:cryptProviderType="rsaFull" w:cryptAlgorithmClass="hash" w:cryptAlgorithmType="typeAny" w:cryptAlgorithmSid="4" w:cryptSpinCount="0" w:hash="1rcpILAKtiIOwyTHUCaYsO5mWac=" w:salt="pVHXOmtrlYwgUZ4FIUzSpQ=="/>