Standard buttons on custom toolbar not visible

空扰寡人 提交于 2019-12-11 17:23:48

问题


In the customUI tool I created the following XML:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
        <ribbon>
        <tabs>
      <tab idMso="TabHome">
        <group idMso="GroupFont" visible="false" />
        <group idMso="GroupParagraph" visible="false" />
        <group id="CustGrp1" label="MyGroup" insertBeforeMso="GroupStyles">
            <button idMso="TableInsertDialogWord" showLabel="false" />
            <button idMso="ConvertTextToTable" showLabel="false" />
            <button idMso="SpellingAndGrammar" showLabel="false" />
            <button idMso="AlignLeft" showLabel="false" />
            <button idMso="AlignCenter" showLabel="false" />
            <button idMso="Superscript" showLabel="false" />
            <button idMso="HyperlinkInsert" showLabel="false" />
            <button idMso="BookmarkInsert" showLabel="false" />
            <button idMso="AutoTextInsert" showLabel="false" />
            <button idMso="ReviewNewComment" showLabel="false" />
            <button idMso="SymbolsDialog" showLabel="false" />
            <button idMso="ParagraphMarks" showLabel="false" />
        </group>
      </tab>
    </tabs>
  </ribbon>
</customUI>

I hide two groups and add one custom group. In this custom group I add only standard buttons using the proper idMSO (downloaded from MS). In Word I can only see five of the twelve buttons. What's wrong here? Are my id's incorrect?

来源:https://stackoverflow.com/questions/51955731/standard-buttons-on-custom-toolbar-not-visible

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!