如何检测受轨道变化影响的变化“开启”? [英] How to detect changes affected by track change "ON"?

查看:120
本文介绍了如何检测受轨道变化影响的变化“开启”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我在c#中使用VSTO 2010创建一个Word加载项。这是基于模板的加载项。我想知道如何检测任何项目(如表格)的变化,
文本按跟踪更改"开启"。如何跟踪活动Word文档的更改,如删除表格或文本以及插入文本或图像以及
他们的  删除....
或任何短缺的变化。它必须能够在我的按钮调用中跟踪。

In am creating a Word add-in using VSTO 2010 in c#. which is template based add-in. I want to know how to detect changes on any item like table, text by track changes "ON". How to track the changes to an Active Word Document like deletion of table or text and insertion of text or images and their deletion.... or any short of change. it must be able to track in my button call.

谢谢,

Anil

推荐答案

Hello Anil,

Hello Anil,

不幸的是,Word对象模型不提供跟踪文档更改的任何事件。请在以下文章中阅读更多相关信息:

Unfortunately the Word Object Model doesn't provide any events for tracking changes in the document. Please read more about this in the following articles:

Word对象模型概述

从.NET开发人员的角度理解Word对象模型

使用Office对象模型自动化应用程序


这篇关于如何检测受轨道变化影响的变化“开启”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆