ms-word - 自定义工具栏上的标准按钮不可见
问题描述
在 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不正确吗?
解决方案
推荐阅读
- vb.net - 在 VB.NET 中执行应该溢出的 UInt32 添加的最佳方法
- jsf - 如何从 bean 设置 ap:calendar 无效?
- laravel - Laravel 8 view()->嵌套使用
- php - 如何根据当前 URL 返回结果并定义 URL
- git - 通过更新父分支从子分支 PR 中删除更改
- appium - 带有 Android 模拟器的 SauceLabs 隧道无法正常工作
- java - 将此格式 20210526T150239 的时间转换为此格式 2021-05-26T12:56:21.826
- javascript - 对消息中缺少 ID 的表情符号做出反应
- apache-kafka - 来自 kafka AdminClient 的警告消息
- css - 如何删除 Firefox 89+(Proton)中复选框/单选按钮周围的焦点可见样式?