Note (2021-05-08 23:43)

Please be advised that the following was written or last updated a while ago and may therefore contain outdated information or opinions I no longer hold. 请知悉下文自写作或上次更新已届相当时限,或包含过时信息及已摒弃观点。

如果搜 word document password removal,十个搜索结果里九个是卖软件的 但是如果到 OOXML 文档里搜一下,他会直接告诉你,不想要密码对吧,第一步,到 settings.xml 里把 documentProtection 的 enforcement 改成 false。 第二步,没有第二步了 而且,“This protection is not intended as a security feature” (那请问你设计这个密码功能是干什么的,用来搞笑的吗 (ECMA-376-1:2016 §17.15.1.29)