在 Word 插件内创建 Intellisense

发布于 2024-07-30 04:29:50 字数 202 浏览 0 评论 0原文

我在 MSWord 中有一个插件。 用户与其交互的方式之一要求用户在Word文档中键入“命令”以及他们自己的用户定义的“数据元素”。 我想为用户提供一些智能感知来帮助他们输入这些命令和数据元素。 有没有人做过类似的事情(我想这涉及到捕获用户针对Word的击键,并在将击键传递给Word之前对它们进行一些处理,但如果有人找到了更简单的方法,那就太好了)。 哦,是的,我用 C# 编程。

I have an add-in in MSWord. One of the ways in which users interact with it requires a user to type into a Word document "commands" and also their own user-defined "data elements". I would like to provide the user with some Intellisense to help them type these commands and data elements. Has anyone done anything like that (I guess it involves trapping user key-strokes destined for Word and to do something with them before handing the key-stroke on to Word, but it would be nice if someone had found an easier way). Oh, yes, I program in C#.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文