问题描述
我有一个使用Excel DNA用C#编写的现有xll Excel加载项,它具有一个自定义功能区,我想与现有的React Office加载项共享该功能区。我已经设法使用共享的名称空间和选项卡上的idQ属性在2个xll插件之间共享功能区,但是我无法使其在xll插件和JS插件之间正常工作。
<customUI xmlns='http://schemas.microsoft.com/office/2009/07/customui' xmlns:nsMyCustomNamespace="MyCustomNamespace" loadImage='LoadImage' onLoad='OnLoad'>
<ribbon>
<tabs>
<tab idQ='nsMyCustomNamespace:nsMyCustomTab' label ='MyTab'>
在我的JS插件中,我试图将其显示为XLL功能区上的按钮,我有以下内容:
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xmlns:nsMyCustomNamespace="MyCustomNamespace" xsi:type="TaskPaneApp">
...
<ExtensionPoint xsi:type="PrimaryCommandSurface">
<CustomTab id='nsVisionExcel:tabVisionTab'>
...
<Label resid="MyTab.TabLabel" />
</CustomTab>
</ExtensionPoint>
...
<Resources>
...
<bt:ShortStrings>
<bt:String id="MyTab.TabLabel" DefaultValue="MyTab" />
</bt:ShortStrings>
...
</OfficeApp>
有人知道如何使它正常工作吗?
谢谢。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)