如何以编程方式从 MS Office 文件中删除元数据?

发布于 2024-09-27 22:30:20 字数 181 浏览 0 评论 0原文

我该从哪里开始呢?我怀疑保存文件格式是否已发布..或者... MS 没有转向 XML?或者你还能保存微软专有的东西吗?

实施独立程序会更容易,还是以某种方式将其与 MS Office 集成更容易?

我只是好奇。正在寻找一个新的爱好项目,但我认为它可能比我想象的要大。

那么,如何以及从哪里开始呢?谢谢

Where would I even start? I doubt that the save file formats are published .. or ... didn't MS move to XML? Or can you still save MS proprietary stuff?

Would it be easier to implement a stand-alone program, or somehow integrate it with MS office?

I am just curious. Looking for a new hobby project, but I think that it could turn out to be larger than I imagine.

So, how and where to start? Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

溺ぐ爱和你が 2024-10-04 22:30:21

对于较新的程序(例如 Word 2007/2010),您可以使用 MsoDocInspectorStatus 删除元数据:DocumentInspectors.Fix

例如,PowerPoint 中的演讲者注释为 DocumentInspectors(4)

Sub RemoveSpeakerNotes()
    Dim status As MsoDocInspectorStatus
    Dim results As String
    ActivePresentation.DocumentInspectors(4).Fix status, results
End Sub

With the newer programs, such as Word 2007/2010, you can use MsoDocInspectorStatus to remove meta-data with DocumentInspectors.Fix.

For example, speaker notes in PowerPoint is DocumentInspectors(4).

Sub RemoveSpeakerNotes()
    Dim status As MsoDocInspectorStatus
    Dim results As String
    ActivePresentation.DocumentInspectors(4).Fix status, results
End Sub
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文