Office 2007/2010 自定义功能区导出

发布于 2024-09-19 15:33:54 字数 138 浏览 2 评论 0原文

我已经阅读了有关如何使用 Visual Studio 创建自定义功能区的教程。我看到您可以导出功能区 XML。是否可以将此功能区与其他文档一起使用?此时您是否必须使用 Visual Studio,或者是否有办法将自定义功能区嵌入到另一个文档中? (无 VSTO)

I've gone through the tutorials on how to create a custom ribbon with Visual Studio. I see that you can export your Ribbon XML. Is it possible to utilize this ribbon with another document? Do you have to use Visual Studio at that point or is there a way to embed the custom ribbons into another document? (without VSTO)

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

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

发布评论

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

评论(1

最丧也最甜 2024-09-26 15:33:54

好吧……经过越来越多的挖掘。我已经想出了一些答案。

您不需要执行完整的 VSTO (Visual Studio 2008/2010) Office 文档来修改功能区 (Fluent UI)。您可以创建自定义 XML(如果您使用 Visual Studio 中的功能区设计器,这非常容易)并将其注入 Office 文档中。为了使它变得非常简单,有一个工具可以为您执行此操作: 自定义Microsoft Office 的 UI 编辑器

此网站上也有很好的参考:http://www.rondebruin.nl/ 例如:http://www.rondebruin.nl/ribbonx20072010.htm

Ok... After doing more and more digging. I've come up with some answers.

You do NOT need to do a full-blown VSTO (Visual Studio 2008/2010) Office document to modify the Ribbon (Fluent UI). You can create custom XML (which is real easy if you use the Ribbon designer in Visual Studio) and inject it into the Office document. To make it real simple there is a tool out there that does this for you: Custom UI Editor for Microsoft Office.

Also there are great references on this site: http://www.rondebruin.nl/ for instance: http://www.rondebruin.nl/ribbonx20072010.htm

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文