【问题标题】:Office Add-In icon does not show on Desktop ApplicationsOffice 加载项图标不显示在桌面应用程序上
【发布时间】:2020-02-12 01:46:41
【问题描述】:

我使用 Yeoman 生成器创建了一个单词插件来创建我的插件。我的加载项运行良好,但我想在工具栏上显示我的加载项图标。如果我在网络上使用 office,则图标显示没有任何问题。如果我在桌面上使用 Word (2016)(version:16.0.4939),我无法在任何功能区工具栏(主页、插入、设计、布局、参考等....)中显示图标.

这是清单的一部分。

 <!-- Control. It can be of type "Button" or "Menu". -->
                <Control xsi:type="Button" id="TaskpaneButton">
                  <Label resid="TaskpaneButton.Label" />
                  <Supertip>
                    <!-- ToolTip title. resid must point to a ShortString resource. -->
                    <Title resid="TaskpaneButton.Label" />
                    <!-- ToolTip description. resid must point to a LongString resource. -->
                    <Description resid="TaskpaneButton.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16x16" />
                    <bt:Image size="32" resid="Icon.32x32" />
                    <bt:Image size="80" resid="Icon.80x80" />
                  </Icon>

                  <!-- This is what happens when the command is triggered (E.g. click on the Ribbon). Supported actions are ExecuteFunction or ShowTaskpane. -->
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>ButtonId1</TaskpaneId>
                    <!-- Provide a url resource id for the location that will be displayed on the task pane. -->
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>

我错过了什么?桌面上的 Word 是否不显示图标?如何在桌面上显示加载项图标以方便用户访问?

【问题讨论】:

    标签: office-js


    【解决方案1】:

    您似乎正在使用永久许可证 Word 2016。加载项命令仅在永久许可证 Office 2016 中的 Outlook 中受支持。请参阅Add-in Commands Requirement Sets

    【讨论】:

    • 插件被添加到word中,它打开它并且工作,但图标在插入> 我的插件的下拉列表下,它没有添加到工具栏。
    • 有哪些选项可以在功能区工具栏上显示图标?
    • 我可以编辑 RibbonXML 来启动一个 javascript 插件吗?
    猜你喜欢
    • 2020-07-18
    • 1970-01-01
    • 1970-01-01
    • 2019-03-22
    • 1970-01-01
    • 2020-04-08
    • 2021-06-15
    • 2015-06-20
    • 2019-10-29
    相关资源
    最近更新 更多