Office 2010 的插件应将选项 GUI 放在哪里? (以及如何?)

发布于 2024-08-23 18:11:33 字数 365 浏览 6 评论 0原文

在 Office 2007 之前,外接程序通常会向主选项对话框(工具|选项)添加选项卡页,用户可以在其中配置外接程序的设置。 但它的实现方式似乎是一个向后兼容的离合器,类似于新功能区上的“COM-Addins”选项卡,其中以前版本中的按钮会放置在工具栏上:

虽然这在 Office 2010 中基本上仍然有效, 要进入加载项的选项页面,您现在必须转到文件|选项,然后切换到加载项页面并查找“加载项选项”按钮,单击它,然后选择相关加载项的选项卡。我很难相信事情就是这样的,不是吗?当然应该有某种方法可以将我的插件选项直接放在文件|选项对话框上?

在哪里可以找到描述外接程序开发人员最佳实践的文档,该文档解释了在 Office 2010 中将外接程序的选项页面放置在何处(以及如何放置)?

Up until Office 2007 it was common for addins to add a tab page to the main Options dialog (Tools|Options) where users could configure the addin's settings. While this essentially still works in Office 2010 the way it is implemented seems like a backwards-compatibility clutch similar to the "COM-Addins" tab on the new ribbon where buttons went that in previous versions would have been placed on a toolbar:

In order to get at an addin's Options page you now have to go to Files|Options then switch to the Add-ins page and look for the "Add-In Options" button, click it and then select the relevant addin's tab. I find it hard to believe that this is the way things are supposed to be, or is it? Surely there should be some way to put my addin options directly on the File|Options dialog?

Where can I find a document describing best-practices for addin developers that explains where to put my addin's Options page (and how) in Office 2010?

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

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

发布评论

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

评论(2

生死何惧 2024-08-30 18:11:33

我现在在 “扩展 Outlook 2010 中的用户界面”中找到了以下引用 MSDN 上的文章,链接到 “What's New for Developers in Outlook 2010”-文档:

“考虑自定义后台视图
替换属性页
可以访问的扩展
您单击“工具”,然后单击“选项”
Outlook 的早期版本。”

I now found the following quote in the "Extending the User Interface in Outlook 2010" article on MSDN which was linked to from the "What's New for Developers in Outlook 2010"-document:

"Consider customizing Backstage view
to replace the property page
extensions that were accessible when
you clicked Tools and then Options in
earlier versions of Outlook."

第几種人 2024-08-30 18:11:33

我将直接将我的添加到 Office 2010 的后台视图中,这是功能区的姊妹技术。

I'll be adding mine straight to the Backstage View in Office 2010, which is a sister technology to the Ribbon.

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