1 #region 判断是否处于 修订模式? 若是,则显示最终状态 add by whl 20141218 2 if (_doc.Application.ActiveDocument.TrackRevisions == true) 3 { 4 _doc.Application.ActiveDocument.ActiveWindow.View.RevisionsView = Microsoft.Office.Interop.Word.WdRevisionsView.wdRevisionsViewFinal; 5 _doc.Application.ActiveDocument.ActiveWindow.View.ShowRevisionsAndComments = false; 6 _doc.Application.Visible = true; 7 } 8 #endregion
1 if (_plugIn.GetApplication().CesApplication.Application.ActiveDocument.TrackRevisions == true)//设置修订查看是最终状态; 2 { 3 _plugIn.GetApplication().CesApplication.Application.ActiveDocument.ActiveWindow.View.RevisionsView = Microsoft.Office.Interop.Word.WdRevisionsView.wdRevisionsViewFinal; 4 }