Office js 桌面应用程序上不显示Office加载项图标
我使用Yeoman生成器创建了一个word外接程序来创建我的外接程序。我的外接程序工作正常,但我想在工具栏上显示外接程序的图标。如果我在网上使用office,图标显示时不会出现任何问题。如果我在桌面上使用单词(2016)(版本:16.0.4939),我无法在任何功能区工具栏(主页、插入、设计、布局、参考等)中显示图标 这是舱单的一部分Office js 桌面应用程序上不显示Office加载项图标,office-js,Office Js,我使用Yeoman生成器创建了一个word外接程序来创建我的外接程序。我的外接程序工作正常,但我想在工具栏上显示外接程序的图标。如果我在网上使用office,图标显示时不会出现任何问题。如果我在桌面上使用单词(2016)(版本:16.0.4939),我无法在任何功能区工具栏(主页、插入、设计、布局、参考等)中显示图标 这是舱单的一部分 <!-- Control. It can be of type "Button" or "Menu". --> &l
<!-- 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>
按钮1
我错过了什么?桌面上的Word是否不显示图标?如何在桌面上显示外接程序图标以方便用户访问?您似乎正在使用永久许可证Word 2016。只有永久许可证Office 2016中的Outlook才支持外接程序命令。请参阅。外接程序已添加到word,它会打开并工作,但图标位于“插入”>“我的外接程序”的下拉列表下。它未添加到工具栏。我必须在功能区工具栏上显示图标的哪些选项?我可以编辑RibbonXML以启动javascript外接程序吗?