教程如下

修改docx后缀为zip,然后解压,解压后得到的文件:

│ [Content_Types].xml
│ _rels.docx

├─docProps
│ app.xml
│ core.xml
│ custom.xml

├─word
│ │ document.xml
│ │ endnotes.xml
│ │ fontTable.xml
│ │ footer1.xml
│ │ footer2.xml
│ │ footer3.xml
│ │ footnotes.xml
│ │ header1.xml
│ │ header2.xml
│ │ header3.xml
│ │ settings.xml
│ │ styles.xml
│ │ webSettings.xml
│ │
│ ├─theme
│ │ theme1.xml
│ │
│ └─_rels
│ document.xml.rels

└─_rels
.rels

word下有个settings.xml,这里就是需要修改的地方:

<w:documentProtection w:edit="readOnly" w:enforcement="1" w:cryptProviderType="rsaAES" w:cryptAlgorithmClass="hash" w:cryptAlgorithmType="typeAny" w:cryptAlgorithmSid="14" w:cryptSpinCount="100000" w:hash="0SwG20V+DkTI6JW0IvQ0Gd8RQhsRXhFPwzatyH2KEqdmC9OTYmon48qoY9BkIBxjcwX7oK9oAJ5J45nCy8OxAw==" w:salt="PE1oBwGXGyHzib8jk1CyPA=="/>

我们需要把上面这几行去掉,然后重新打包为zip,再修改文件后缀名为docx即可解除保护。

历史上的今天
01月
4
    抱歉,历史上的今天作者很懒,什么都没写!
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。