强制 MSWord 使用设定字体打开文档(忽略文件中的字体)
根据我之前的(未回答的问题),我正在探索一条不同的道路。
是否可以强制 MS Word 忽略文件中的字体大小并在打开文件时应用自己的字体大小?我知道这可能会变得混乱(注册表黑客等),但我想知道其可行性。
As per my previously (unanswered question) I'm exploring a different path.
Is it possible to force MS Word to ignore the font size within a file and apply its own when the file is being opened? I understand this could get messy (registry hacks etc) but I would like to know of its feasibility.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
ForEachLoop 的答案是正确的,没有办法以使其替换字体或任何其他格式的方式启动 word。您必须启动某种自动启动宏才能自动重新格式化文档。
ForEachLoop's answer is about right, there is no way to launch word in such a way as to cause it to replace fonts, or any other formatting. You'll have to launch an autostart macro of some sort to reformat the doc automatically.
将以下代码放入文档的代码模块中,或者将代码模块放入文档附加或打开的模板中:
Put the following code in a code module of the document, or code module in a template attached or opened by the document: