用于上下文菜单的 Outlook 2010 Fluent 用户界面控件标识符
Posted
技术标签:
【中文标题】用于上下文菜单的 Outlook 2010 Fluent 用户界面控件标识符【英文标题】:Outlook 2010 Fluent User Interface Control Identifiers for Context Menu 【发布时间】:2017-04-10 03:32:28 【问题描述】:使用 VSTO Outlook 2010 添加以下文本案例的上下文菜单 ID;
-
电子邮件有项目符号或编号的地方
文本是 Outlook 已识别为链接的 URL 链接
用户从 Excel 复制的位置,它是一种表格。
我从 Word 中添加了以下 ID,因为我认为我需要的 ID 来自 Words 列表。
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】:对于任何来这里获得答案的人来说,有两件事需要理解,这有很大帮助。
(1) 即使您在 Outlook 中执行此操作,但当您在许多 Outlook 检查器(窗口)中编写和阅读文本时,它实际上与 Word 相关,因此适用 Word 的上下文菜单。
(2) 在更高级别上,Outlook 中有 2 种上下文菜单。撰写菜单,然后是 readOnly 菜单,例如当您阅读电子邮件时。
专门回答我上面的问题。
Outlook 的只读部分
-
要点 - ContextMenuReadOnlyMailList
url - ContextMenuReadOnlyMailHyperlink
表 - ContextMenuReadOnlyMailTable
例如撰写电子邮件
-
要点 - ContextMenuList
url - ContextMenuHyperlink
表格 - ContextMenuTable
但是我发现的最好的东西是this blog in Japanese.我也看不懂日语但是有一个例子here to download.只需在Word文档中输入你想要的文本或项目并右键单击它,上下文菜单类型是显示在上下文菜单中。找这个很久了。
*** 管理员中的某些人确实需要考虑投反对票。它可以帮助没有评论的人知道这个人为什么投票否决。
【讨论】:
那个日本博客是关键。以上是关于用于上下文菜单的 Outlook 2010 Fluent 用户界面控件标识符的主要内容,如果未能解决你的问题,请参考以下文章