Word,Excel和PowerPoint 2016(16.0.6366.2036)后台视图的图像和回调不再有效

时间:2015-12-17 16:08:17

标签: office365 office-addins office-2016

在最新版本的Word,Excel和PowerPoint 2016(16.0.6366.2036)(桌面版)中,不再显示CustomUI中为后台视图定义的图像。在以下配置文件中,应用程序将显示HappyFace或任何指定的图像本身。

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="OnRibbonLoaded" loadImage="getImages">
    <backstage>
        <tab idMso="TabRecent">
            <firstColumn>
                <taskFormGroup idMso="GroupOpenPlaces">
                    <category idMso="ButtonCategoryRecentDocuments">
                        <task id="task1" label="My main task" insertAfterMso="ButtonTaskRecentDocuments" imageMso="HappyFace">
                        </task>
                    </category>
                </taskFormGroup>
            </firstColumn>
        </tab>
    </backstage>
</customUI>

也是回调,例如不会调用为后台视图中的组定义的getLabel和getHelperText等。请参阅下面的示例。回调&#34; getGroupLabel&#34;和&#34; getGroupHelperText&#34;没有被召唤。

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="OnRibbonLoaded" loadImage="getImages">
    <backstage>
        <tab idMso="TabInfo">
            <firstColumn>
                <group id="group1" getLabel="getGroupLabel" getHelperText="getGroupHelperText" insertBeforeMso="GroupPermissions">
                </group>
            </firstColumn>
        </tab>
    </backstage>
</customUI>

这些在Office 2016的早期版本中工作。请告知是否有解决方法,如果这是设计的。感谢。

0 个答案:

没有答案