首页 > 解决方案 > 自定义工具栏上的标准按钮不可见

问题描述

在 customUI 工具中,我创建了以下 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>

我隐藏了两组并添加了一个自定义组。在这个自定义组中,我使用正确的 idMSO(从 MS 下载)仅添加标准按钮。在 Word 中,我只能看到十二个按钮中的五个。这里有什么问题?我的id不正确吗?

标签: ms-wordcustomizationribbon

解决方案


推荐阅读