解决方案发现是创建一个标准的VSTO插件,添加功能区(XML),然后使用命令节点禁用按钮。对于的idMso的列表,请参阅本download.
<?xml version="1.0" encoding="UTF-8"?>
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" onLoad="Ribbon_Load">
<commands>
<command idMso="Bold" enabled="false"/>
<command idMso="Font" enabled="false"/>
<command idMso="FontSize" enabled="false"/>
<command idMso="Italic" enabled="false"/>
<command idMso="Underline" enabled="false"/>
<command idMso="Shadow" enabled="false"/>
<command idMso="Strikethrough" enabled="false"/>
<command idMso="ChangeCaseGallery" enabled="false"/>
<command idMso="CharacterSpacingGallery" enabled="false"/>
<command idMso="FontColorPicker" enabled="false"/>
<command idMso="FontColorMoreColorsDialogPowerPoint" enabled="false"/>
<command idMso="FontDialogPowerPoint" enabled="false"/>
<command idMso="GroupParagraph" enabled="false"/>
<command idMso="BulletsGallery" enabled="false"/>
</commands>
<ribbon startFromScratch="false">
<tabs>
<tab idMso="TabAddIns">
<group id="MyGroup"
label="My Group">
</group>
</tab>
</tabs>
</ribbon>
像往常一样,当我张贴的问题,我开始取得进展。找到GPO /注册表设置的这个列表:http://technet.microsoft.com/en-us/library/cc179081.aspx这不太适合。 – 2009-07-07 13:56:14