【问题标题】:What is the idMso for the spelling/grammar context menu?拼写/语法上下文菜单的 idMso 是什么?
【发布时间】:2016-04-22 09:39:58
【问题描述】:

我正在为 microsoft word 2010 中的上下文菜单寻找一个 idMso id。
我要查找的上下文菜单 ID 包含以下几项:
-“全部忽略”
-“添加到字典”
-“编辑超链接”
-“删除超链接”

我已经搜索了 MS-office 及其所有 idMso 的文档,并尝试了其中的一些。尽管如此,我似乎无法找到此上下文菜单的正确 idMso。我对此上下文菜单的最佳描述是:
-“当用户点击拼写错误的超链接时显示的上下文菜单”

idMso's 我已经试过了:
-ContextMenuText
-ContextMenuTextEdit
-ContextMenuTextEffect
-ContextMenuTextLinked
-ContextMenuTextTable
-拼写
-拼写和语法
-SpellingHideErrors
-拼写菜单
-SpellingRecheckDocument
-ContextMenuGrammar
-ContextMenuGrammarReading
-ContextMenuHyperlink

上下文菜单的屏幕截图(它是荷兰语,ms-word 不允许我更改语言)

【问题讨论】:

    标签: ms-word ms-office office-addins word-2010


    【解决方案1】:

    idMso 应该是ContextMenuSpell。我也会为ContextMenuGrammar做这件事

    所有控件标识符都在这里

    Office 2010

    Office 2013

    Office 2016

    【讨论】:

    • 直到今天我才进行更改。但它似乎工作正常。实现的代码是:<contextMenu idMso="ContextMenuSpell"> <button idMso="HyperlinkEdit" getVisible="HideNormalLink" /> <button id="ButtonAlterLink_02" label="Bewerk link" insertBeforeMso="HyperlinkOpen" imageMso="HyperlinkOpenExcel" onAction="AlterLink" getVisible="VisibleContextAlter"/> </contextMenu>
    猜你喜欢
    • 2016-03-14
    • 1970-01-01
    • 2012-02-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多