上下文菜单的Outlook 2010流畅用户界面控件标识符

时间:2016-11-25 17:24:03

标签: c# outlook vsto outlook-addin

使用VSTO Outlook 2010插件,以下文本案例的上下文菜单ID是什么;

  1. 电子邮件中有子弹点或编号
  2. 文本是Outlook已识别为链接的URL链接
  3. 用户从Excel复制并且它是一种表格。
  4. 我在Word中添加了以下ID,因为我认为我需要的ID来自单词列表。

    ContextMenuDropCap  contextMenu
    ContextMenuEndnote  contextMenu
    ContextMenuField    contextMenu
    ContextMenuFieldDisplay contextMenu
    ContextMenuFieldDisplayListNumbers  contextMenu
    ContextMenuFieldForm    contextMenu
    ContextMenuFootnote contextMenu
    ContextMenuFrame    contextMenu
    ContextMenuHeading  contextMenu
    ContextMenuHeadingLinked    contextMenu
    ContextMenuScriptAnchor contextMenu
    ContextMenuList contextMenu
    ContextMenuInlinePicture    contextMenu
    ContextMenuTable    contextMenu
    ContextMenuTableCell    contextMenu
    ContextMenuHeadingTable contextMenu
    ContextMenuListTable    contextMenu
    ContextMenuPictureTable contextMenu
    ContextMenuTextTable    contextMenu
    ContextMenuTableWhole   contextMenu
    ContextMenuTableWholeLinked contextMenu
    ContextMenuText contextMenu
    ContextMenuOfficePreviewHandlerWord contextMenu
    ContextMenuTextLinked   contextMenu
    ContextMenuRichTextFont contextMenu
    ContextMenuRichTextFontParagraph    contextMenu
    ContextMenuSpell    contextMenu
    ContextMenuGrammar  contextMenu
    ContextMenuGrammarReading   contextMenu
    ContextMenuRevision contextMenu
    ContextMenuFramesetBorder   contextMenu
    ContextMenuHyperlink    contextMenu
    ContextMenuFieldAutoSignatureList   contextMenu
    ContextMenuFieldAutoTextList    contextMenu
    ContextMenuNavigationPane   contextMenu
    ContextMenuDrawnObject  contextMenu
    ContextMenuCurve    contextMenu
    ContextMenuCurveNode    contextMenu
    ContextMenuCurveSegment contextMenu
    ContextMenuFloatingPicture  contextMenu
    ContextMenuCanvasClassic    contextMenu
    ContextMenuOleObject    contextMenu
    ContextMenuActiveXControl   contextMenu
    ContextMenuTextEffect   contextMenu
    ContextMenuComment  contextMenu
    ContextMenuOrganizationChart    contextMenu
    ContextMenuDiagram  contextMenu
    ContextMenuConnectorClassic contextMenu
    ContextMenuAddressBlock contextMenu
    ContextMenuGreetingLine contextMenu
    ContextMenuInlineActiveXControl contextMenu
    ContextMenuDocumentStructureNode    contextMenu
    ContextMenuXmlError contextMenu
    ContextMenuCoAuthoringState contextMenu
    ContextMenuInkComment   contextMenu
    ContextMenuInlineBusinessCard   contextMenu
    ContextMenuEquation contextMenu
    ContextMenuHeaderArea   contextMenu
    ContextMenuFooterArea   contextMenu
    ContextMenuReadOnlyMailText contextMenu
    ContextMenuReadOnlyMailTable    contextMenu
    ContextMenuReadOnlyMailTableCell    contextMenu
    ContextMenuReadOnlyMailListTable    contextMenu
    ContextMenuReadOnlyMailPictureTable contextMenu
    ContextMenuReadOnlyMailTextTable    contextMenu
    ContextMenuReadOnlyMailTableWhole   contextMenu
    ContextMenuReadOnlyMailList contextMenu
    ContextMenuReadOnlyMailHyperlink    contextMenu
    ContextMenuLockedReadingMode    contextMenu
    ContextMenuPageNumberingOptions contextMenu
    ContextMenuConflicts    contextMenu
    

1 个答案:

答案 0 :(得分:2)

对于任何来这里得到答案的人来说,有两件事需要理解,这有很多帮助。

(1)即使您在Outlook中执行此操作,当您在许多Outlook检查器(窗口)中编写和阅读文本时,它实际上与Word相关,因此Word的上下文菜单也适用。

(2)在更高级别上,Outlook中有两种上下文菜单。撰写菜单,然后只读取一些菜单,例如当您阅读电子邮件时。

专门回答我上面的问题。

仅阅读Outlook的部分内容

  1. 项目符号 - ContextMenuReadOnlyMailList
  2. url - ContextMenuReadOnlyMailHyperlink
  3. table - ContextMenuReadOnlyMailTable
  4. 撰写电子邮件,例如

    1. 项目符号 - ContextMenuList
    2. url - ContextMenuHyperlink
    3. table - ContextMenuTable
    4. 但我发现的最好的事情是this blog in Japanese.我也读不懂日语,但有一个例子here to download.只需在Word文档中键入所需的文本或项目,然后右键单击它即可上下文菜单类型显示在上下文菜单中。我一直在寻找这个。

      stackoverflow管理员中的某人确实需要考虑给予否定投票。它可以帮助没有评论的人知道这个人投票的原因。