提供“粘贴链接” C# Winforms 应用程序中的功能

发布于 2024-09-02 06:53:52 字数 274 浏览 1 评论 0原文

我想向应用程序添加复制粘贴链接功能。该应用程序取代了复杂的 Excel 工作簿。我希望能够从应用程序复制表格、文本和图表,并在 MS Word 中使用粘贴链接。

对于没有经验的人:
对于 Excel,当您对表格、文本、图表等使用“粘贴链接”时,当您在 Excel 中更改项目时,Word 中的项目也会更新。

有谁确定这是否可行(这是 MS Word-Excel 的某些专有功能)吗?如果没有,任何人都可以向我指出一些有帮助的资源(可以执行此操作的应用程序或教程/文章)。

谢谢!

I would like to add Copy-Paste Link functionality to an application. The application replaces a complex Excel workbook. I would like to be able to copy tables, text, and charts from the application and use Paste Link in MS Word.

For the uninitiated:
With Excel, when you use Paste Link for the tables, text, charts, etc. the items update in Word when you change them in Excel.

Does anyone know for sure if this is/is not possible (is it some proprietary feature of MS Word-Excel)? If not, can anyone point me to some resources that will help (either an app that does this or a tutorial/write-up).

Thanks!

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

っ左 2024-09-09 06:53:56

我正在尝试做同样的事情。
我最终使用 OpenXML sdk 2.0 在 Word 中添加内容控件并将图表粘贴到这些位置,就像这位博主所做的那样。 http://www.dotblogs.com.tw/angus /archive/2010/05/19/15332.aspx

您可以在这里分享您的代码吗?我真的很想学习 OLE DB 方式。欣赏它!

I'm trying to the exact same thing.
I eventually went for OpenXML sdk 2.0 to add content controls in Word and paste the charts to those spots, like what this blogger does. http://www.dotblogs.com.tw/angus/archive/2010/05/19/15332.aspx

Could you share your code here? I'd really like to learn the OLE DB way. Appreciate it!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文