开发者

Disable contextual tabs MS Word 2010

开发者 https://www.devze.com 2023-02-03 10:28 出处:网络
Is it possible to disable contextual tabs in MS Word using CustomUI xml? I added the following to customui XML but without any effect

Is it possible to disable contextual tabs in MS Word using CustomUI xml? I added the following to customui XML but without any effect

 <mso:contextualTabs>
  <mso:tabSet idMso="TabSetSmartArtTools" visible="false" />
  <mso:tabSet idMso="TabSetChartTools" visible="false" />
  <mso:tabSet idMso="TabSetTextBoxTools" visible="false"开发者_如何学Go />
  <mso:tabSet idMso="TabSetDrawingTools" visible="false" />
  <mso:tabSet idMso="TabSetDrawingToolsClassic" visible="false" />
  <mso:tabSet idMso="TabSetWordArtTools" visible="false" />
  <mso:tabSet idMso="TabSetDiagramTools" visible="false" />
  <mso:tabSet idMso="TabSetOrganizationChartTools" visible="false" />
  <mso:tabSet idMso="TabSetPictureTools" visible="false" />
  <mso:tabSet idMso="TabSetPictureToolsClassic" visible="false" />
  <mso:tabSet idMso="TabSetTableTools" visible="false" />
  <mso:tabSet idMso="TabSetHeaderAndFooterTools" visible="false" />
  <mso:tabSet idMso="TabSetEquationTools" visible="false" />
  <mso:tabSet idMso="TabSetInkTools" visible="false" />
</mso:contextualTabs>


You can either try to use the getVisible property. See MSDN

<mso:tabSet idMso="TabSetSmartArtTools" getVisible="false" />

Or try to start from scratch. See here

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号