Ms word 自定义工具栏上的标准按钮不可见

Ms word 自定义工具栏上的标准按钮不可见,ms-word,customization,ribbon,Ms Word,Customization,Ribbon,在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">

在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中,我只能看到12个按钮中的5个。这里怎么了?我的id不正确吗?

显示了哪些按钮?这里涉及哪个版本的单词?(可用控件可能是特定于版本的)。请确保在“常规”部分的文件/Options/Advanced中激活了“显示加载项用户界面错误”,以便查看功能区XML触发的任何错误。我认为您对许多条目使用了错误的控件类型。例如,AlignLeft是一个切换按钮而不是按钮。谢谢Cindy!我根据Excel中的规范更改了XML(并不是所有内容都是按钮,duh)。所有按钮、图库和切换按钮现在都显示出来。只有按钮HyperlinkInsert一直丢失。我们使用Word365。